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
IDCategoryReq.Element Action
5arrayyes$zz_conf Main configuration variables. To be set in table scripts or central configuration file. Most variables will have a reasonable default.Show
237stringno$zz_conf['access'] deprecated, use $zz['access'] instead

Relations: $zz['access']; FORM; LIST

Show
243string: filenameno$zz_conf['action_dir'] Directory where included scripts from $zz['extra_action'] reside

Relations: $zz['extra_action']; ACTION

Show
236mixedno$zz_conf['add'] Add or do not add data. Can be an array to allow adding of records whith specific values already set. Format: - `type`: Title, as in Add new ... - `field_name`: field_name for which value will already be set when adding a new record - `value`: value to field_name which will be set - `title`: title-attribute to explain add link further - `explanation`: (optional) will be written behind the link

Relations: FORM; LIST

Show
346booleanno$zz_conf['add_link'] add new record link will be shown (true) or not (false); normally this needs not to be set, because it's the same as $zz_conf['add']

Relations: LIST; OUTPUT

Show
775booleanno$zz_conf['always_show_empty_detail_record'] show always empty detail record if min_records is set to 0

Relations: subtable

Show
284arrayno$zz_conf['breadcrumbs']

Relations: OUTPUT; brick_forms()

Show
783booleanno$zz_conf['cancel_link'] shows/hides cancel linkShow
874booleanno$zz_conf['character_set_db_multiple'] if db uses multiple character sets (latin1, utf8 etc.), this variable should be set to true to get correct character set from database/script config for fields

Relations: $zz_conf['character_set']

Show
45stringno$zz_conf['character_set'] Character encoding which is used to serve pages, convert text to filenames and more.

Relations: GLOBAL

Show
795booleanno$zz_conf['check_referential_integrity'] bool; if set to true, will check referential integrity with relations table (useful for tables who do not support referential integrity like MyISAM)

Relations: $zz_conf['relations_table']

Show
776booleanno$zz_conf['copy'] allows to copy a record (add new record with the data of the old record as a basis)Show
250resourceno$zz_conf['db_connection'] resource of MySQL connection (open connection will be used, therefore this value can be set to true as well)

Relations: GLOBAL

Show
876string: SQLyes$zz_conf['db_name_local'] local (development) database name for website

Relations: $zz_setting['local_access']; $zz_conf['db_name']

Show
251stringyes$zz_conf['db_name'] database name

Relations: GLOBAL

Show
287booleanno$zz_conf['debug_time'] Logs the processing time that was used by certain functions into the zzform error handling

Relations: debug.inc.php; OUTPUT

Show
91booleanno$zz_conf['debug'] Turns debugging in zzform on or off; debugging mode, shows several debugging outputs directly in the html output

Relations: debug.inc.php; OUTPUT

Show
903stringno$zz_conf['decimal_point'] Decimal point for numbers, depending on languageShow
826arrayno$zz_conf['default_language_for'] for not existing language files, use a different default than 'en'

Relations: $zz_conf['language']

Show
213booleanno$zz_conf['delete'] delete records possible or not

Relations: FORM; LIST

Show

119 records total

in