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
489containerno$zz_conf UPLOAD $zz_conf-variables for upload moduleShow
19booleanno$zz_conf['backup'] Do a backup of old files?

Relations: upload.inc.php; ACTION

Show
270string: filenameno$zz_conf['backup_dir'] directory where old files shall be backed up to

Relations: upload.inc.php; ACTION

Show
277arrayno$zz_conf['exif_supported'] filetypes that support exif.

Relations: upload.inc.php; ACTION

Show
275arrayno$zz_conf['file_types'] Known filetypes, array with array for each file_type ('filetype', 'ext_old', 'ext', 'mime', 'desc')

Relations: upload.inc.php; ACTION

Show
271stringno$zz_conf['graphics_library'] graphics library used for image manipulation (imagemagick is default, gd is also possible, others are currently not supported)

Relations: upload.inc.php; GLOBAL

Show
273arrayno$zz_conf['imagemagick_paths'] paths where zzform looks for imagemagick binary

Relations: upload.inc.php; GLOBAL

Show
274arrayno$zz_conf['image_types'] Image filetypes, supported by PHP, should only be changed if PHP supports more.

Relations: upload.inc.php; GLOBAL

Show
747string: filenameno$zz_conf['imagemagick_path_unchecked'] Single path for imagemagick commands, path won't be checked

Relations: $zz_conf['imagemagick_paths']

Show
276arrayno$zz_conf['mime_types_rewritten'] array('unwanted_mimetype' => 'wanted_mimetype') e. g. for image/pjpeg = image/jpeg

Relations: upload.inc.php; GLOBAL

Show
222string: filenameno$zz_conf['tmp_dir'] Directory; temporary folder for file uploads, should only be set if it has to be different from PHP temp dir

Relations: upload.inc.php; GLOBAL

Show
644booleanno$zz_conf['upload_copy_for_rename'] let's you use copy and unlink instead of rename if system has a problem with renaming files (e. g. over partitions)Show
597arrayno$zz_conf['upload_destination_filetype'] Value of arrays ('tiff' => 'png') that tells zzform how to convert a non-web-image into a web image.

Relations: upload.inc.php; $zz['fields'][n]['image'][n]['input_filetypes']

Show
820arrayno$zz_conf['upload_filetype_map'] Assigns different file extensions to a common filetypeShow
927arrayno$zz_conf['upload_imagick_options_for'] Options for Imagemagick, will be put into imagemagick call 1:1; here: depending on source filetype

Relations: $zz_conf['upload_imagick_options']

Show
713stringno$zz_conf['upload_imagick_options'] Options for Imagemagick, will be put into imagemagick call 1:1Show
595arrayno$zz_conf['upload_iptc_fields'] Assignment of IPTC field indexes to readable field names

Relations: upload.inc.php

Show
926string: filenameno$zz_conf['upload_log'] If set, will log all upload related exec functions into this file.Show
272integerno$zz_conf['upload_MAX_FILE_SIZE'] in bytes

Relations: upload.inc.php; GLOBAL

Show
624arrayno$zz_conf['upload_multipage_images'] Defines multipage images, here, we'll consider only page 1 or layer 1

Relations: upload.inc.php

Show

30 records total

in