Technical Documentation

Show a record

Submit data …
ID 670
Category array
Required no
Element $ops['record_old']

In some cases, old record will be queried, it can be found here. It does not have exactly the same fields as record_new but a few more, depending on SQL query for this record. The old record won't be saved in case $zz_conf['get_old_record'] is false or there's no upload field or no write_once field.

Description de

Manchmal wird der alte Datensatz abgefragt, dann kann hier auf ihn zugegriffen werden. Da diese Daten auf der SQL-Abfrage für den Datensatz beruhen, können ein paar zusätzliche Felder gegenüber record_new in diesem Array stehen. Der alte Datensatz wird hier nicht gespeichert, falls $zz_conf['get_old_record'] false ist, es kein Hochladefeld gibt oder kein write-once-Feld.

    [0] => Array
            [documentation_id] => 670
            [type] => variable
            [required] => no
            [element] => $zz['record_old']
            [description] => In some cases, old record ...
            [description_de] => Manchmal wird der ...
            [todo] => 
            [example] => 
            [default_value] => 
            [mother_documentation_id] => 6
            [author_login_id] => 1
            [projects] => 
            [last_update] => 2010-07-05 11:11:38

    [1] => Array
            [dd_id] => 530
            [related_documentation_id] => 669
            [author_login_id] => 1
            [last_update] => 2010-07-05 11:11:38

Default value
Mother ID $ops | [735]
Updated 26 Jun 2011 23:41:37
IDCategoryReq.Element Action
508arrayno$zz_var INTERNAL variable, for development onlyShow
686stringno$zz_var['action'] INTERNAL: what to do (POST): insert | update | delete | reviewShow
660string: HTMLno$zz_var['class_add'] Show
511stringno$zz_var['extraGET'] extra GET valuesShow
931arrayno$zz_var['filters'] filters set, = tested and corrected values of $_GET['filter']

Relations: $zz['filter']

671string: HTMLno$zz_var['formhead'] H2 heading in front of form elementShow
659booleanno$zz_var['horizontal_table_head'] Show
651arrayno$zz_var['id'] Show
653stringno$zz_var['id']['field_name'] Show
777integerno$zz_var['id']['source_value'] add in combination with source_idShow
652integerno$zz_var['id']['value'] Show
739arrayno$zz_var['integrity'] List with keys 'text' and 'fields'; if there are values, it means that the test for referential integrity were not passed and so deletion of a record is impossibleShow
731booleanno$zz_var['record_action'] Show
733arrayno$zz_var['save_old_record'] Show
666arrayno$zz_var['subtables'] Show
657arrayno$zz_var['unique_fields'] Show
732booleanno$zz_var['upload_form'] false: no upload, true: upload possibleShow
656arrayno$zz_var['where_condition'] Show
655booleanno$zz_var['where_with_unique_id'] Show
509arrayno$zz_var['where'] Show

22 records total