Technical Documentation

Show a record

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

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.

Example
Array
(
    [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]
Relation
Updated 26 Jun 2011 23:41:37
ID Category Req. Element Action
365 container no zz_fieldtypes Allowed values for `$zz['field'][n]['type']`

Relations: $zz['fields'][n]['type']

387 value no calculated

Relations: $zz['fields'][n]['calculation_fields']; $zz['fields'][n]['calculation']

373 value no date
406 value no datetime MySQL DATETIME field, will be checked if valid
380 value no detail_key inserts in field id_field from different detail_record

Relations: $zz['fields'][n]['detail_key_index']

400 value no display field for display only, not editable

Relations: $zz['fields'][n]['display_field']

403 value no foreign foreign ... (not in use currently) -> add_foreign ??
378 value no foreign_key Field is foreign_key (only possible for subtables), must be set once for each subtable (unless it's a translation subtable)

Relations: subtable

853 value no geo_point SQL POINT field with latitude and longitude as binary

Relations: $zz['fields'][n]['geo_format']; $zz['fields'][n]['text_field']; $zz['fields'][n]['list_concat_fields']

389 value no hidden hidden field

Relations: $zz['fields'][n]['value']; $zz['fields'][n]['function']

370 value yes id unique ID field of record

Relations: $zz['fields'][n]['show_id']

368 value no identifier textual identifier for a record, unique, will be put together from 'fields'

Relations: $zz['fields'][n]['conf_identifier']; $zz['fields'][n]['fields']

393 value no image displays an image

Relations: $zz['fields'][n]['path']; $zz['fields'][n]['default_image']

908 value no ip Stores IPv4 and IPv6 addresses in a VARBINARY(16) field
382 value no ipv4
905 value no list_function display field; list_function will be called for display with parameters $field, $value and $line
385 value no mail email address, will be checked for validity and hyperlinked in list
715 value no mail+name Validates input of e. g. "Master X" <x@example.org> and allows input of multiple e-mail addresses, separated by comma or semicolon

Relations: mail

372 value no memo Will show textarea (multiple lines)

Relations: $zz['fields'][n]['format']; $zz['fields'][n]['rows']; $zz['fields'][n]['cols']; $zz['fields'][n]['rows_max']; $zz['fields'][n]['list_format']

367 value no number Number, will be checked for validity. Basic calculation is allowed, e. g. `4+5` will save `9` into the database (+, -, \, *). Decimal commas are replaced (if unambiguous) with dots

Relations: $zz['fields'][n]['number_type']; $zz['fields'][n]['unit']; $zz['fields'][n]['factor']; $zz['fields'][n]['auto_value']

Export (CSV Excel)

34 records total

in