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
519containerno$zz_conf INTERNAL Show
766arrayno$zz_conf['int'] Internal variables, will be unset after exitting zzform()Show
736arrayno$zz_conf['int']['allowed_params'] Show
871stringno$zz_conf['int']['character_set_db'] Character set of active db connection, will be read from databaseShow
612stringno$zz_conf['int']['db_current'] Database that was selected before zzform() started and will be selected again after finishing

Relations: $zz_conf['db_name']

Show
613stringno$zz_conf['int']['db_main'] main database normally is the same db that zzform() uses for its operations, but if you use several databases, this is the one which is the main db, i. e. the one that will be used if no other database name is specified

Relations: $zz_conf['db_name']

Show
805arrayno$zz_conf['int']['error'] saved mail errors from zz_error()

Relations: $zz_conf['error_handling']

Show
796string: functionno$zz_conf['int']['export_script'] string; name of custom export function/script

Relations: $zz_conf['export']

Show
524integerno$zz_conf['int']['group_field_no'] Field number of group fieldShow
792booleanno$zz_conf['int']['hash_id'] true: hashed ID will sent as 'zzhash' to check if id is allowed in URL ($zz_conf['access'] = 'edit_only' or 'add_only')

Relations: $zz_conf['access']; $zz_conf['int']['hash']

Show
793stringno$zz_conf['int']['hash'] Show
887arrayno$zz_conf['int']['invalid_filters'] List of invalid filters in REQUEST URIShow
543stringno$zz_conf['int']['referer_esc'] = $zz_conf['referer'], & escaped to &Show
794stringno$zz_conf['int']['secret_key'] secret key, made out of ID and hash for table definition, to check, whether access for an add_only or edit_only or add_then_edit-record should be granted

Relations: $zz_var['id']['value']; $zz_conf['int']['hash']

Show
801booleanno$zz_conf['int']['text_included'] true: Translated text is already included, false: it's not includedShow
540integerno$zz_conf['int']['this_limit'] internal value, current range which records are shownShow
767arrayno$zz_conf['int']['url'] URL of scriptShow
510stringno$zz_conf['int']['url']['?&'] ? or &Show
770stringno$zz_conf['int']['url']['base'] base url, i. e. scheme and hostnameShow
769stringno$zz_conf['int']['url']['full'] Show

26 records total

in