Technical Documentation

Show a record

 
Submit data …
ID 668
Category array
Required no
Element $ops['return']
Description

interface: for each database operation this array returns numerically indexed information about the database operation: 'table' = name of database table; 'id_field_name': field name of field with PRIMARY KEY, 'id_value': ID of record, 'action': database action, one of 'insert', 'update', 'delete'

Description de

Schnittstelle: für jede Datenbankoperation gibt dieses Array numerisch indiziert Informationen über die Operation zurück: 'table' = Name der Datenbanktabelle; 'id_field_name': Feldname des Feldes mit dem Primärschlüssel (PRIMARY KEY), 'id_value': ID des Datensatzes, 'action': Aktion in der Datenbank, eins aus: 'insert', 'update', 'delete'

Example
Array
(
    [0] => Array
        (
            [table] => dateien_zeitabschnitte
            [id_field_name] => zeitabschnitt_id
            [id_value] => 7
            [action] => update
        )

)
Default value
Mother ID $ops | [735]
Relation
Updated 26 Jun 2011 23:36:26
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']

Show
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

in