Jump to content

Node Flags V8: Difference between revisions

From NusaATK
mNo edit summary
mNo edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
=== Node Flags ATK V8+ ===
=== Node Flags ATK V8+ ===


{| bord=1
{| border=1
| CLASS || FLAG || COMMENT
! CLASS !! FLAG !! COMMENT
|-
|-
| atknode || NF_NO_ADD || No new records may be added
| atknode || NF_NO_ADD || No new records may be added
Line 24: Line 24:
| atknode || NF_AUTOSELECT || If this flag is set and only one record is present on a selectpage, atk automagically selects it and moves on to the target
| atknode || NF_AUTOSELECT || If this flag is set and only one record is present on a selectpage, atk automagically selects it and moves on to the target
|-
|-
| atknode || NF_TRACK_CHANGES || If set, atk stores the old values of a record as [atkorgrec] in the $rec that
| atknode || NF_TRACK_CHANGES || If set, atk stores the old values of a record as [atkorgrec] in the $rec that gets passed to the postUpdate
|-
|  ||  ||  gets passed to the postUpdate
|-
|-
| atknode || NF_NO_SECURITY || Quick way to disable accessright checking for an entire node. (Everybody may access this node)
| atknode || NF_NO_SECURITY || Quick way to disable accessright checking for an entire node. (Everybody may access this node)
Line 50: Line 48:
| atknode || NF_CACHE_RECORDLIST || Makes a node cache it's recordlist
| atknode || NF_CACHE_RECORDLIST || Makes a node cache it's recordlist
|-
|-
| atknode || NF_ADDAFTERADD || After adding a new record add another one instantaniously.
| atknode || NF_ADDAFTERADD || After adding a new record add another one.
|-
|-
| atknode || NF_NO_SORT || No sorting possible.
| atknode || NF_NO_SORT || No sorting possible.
Line 60: Line 58:
| atknode || NF_EDITAFTERCOPY || Records may be copied and open for editing
| atknode || NF_EDITAFTERCOPY || Records may be copied and open for editing
|-
|-
| atknode || NF_MRA || #NAME?
| atknode || NF_MRA ||Alias for NF_MULTI_RECORD_ACTIONS flag (shortcut)
|-
|  ||  || Alias for NF_MULTI_RECORD_ACTIONS flag (shortcut)
|-
| atknode || NF_MULTILANGUAGE || #NAME?
|-
|  ||  || Alias for NF_ML flag (typed out)
|-
|-
| atknode || NF_READONLY || = NF_NO_ADD | NF_NO_DELETE | NF_NO_EDIT
| atknode || NF_MULTILANGUAGE || Alias for NF_ML flag
|-
|-
| || || Aggregate flag to quickly create readonly nodes
| atknode || NF_READONLY || <nowiki>= NF_NO_ADD | NF_NO_DELETE | NF_NO_EDIT</nowiki> Aggregate flag to quickly create readonly nodes
|-
|-
| atktreenode || NF_TREE_NO_ROOT_DELETE || No root elements can be deleted
| atktreenode || NF_TREE_NO_ROOT_DELETE || No root elements can be deleted

Latest revision as of 04:20, 18 December 2015

Node Flags ATK V8+

CLASS FLAG COMMENT
atknode NF_NO_ADD No new records may be added
atknode NF_NO_EDIT Records may not be edited
atknode NF_NO_DELETE Records may not be deleted
atknode NF_EDITAFTERADD Immediately after you add a new record you get the editpage for that record
atknode NF_NO_SEARCH Records may not be searched
atknode NF_NO_FILTER Ignore addFilter filters
atknode NF_ADD_LINK Doesn't show an add form on the admin page but a link to the form
atknode NF_NO_VIEW Records may not be viewed
atknode NF_COPY Records / trees may be copied
atknode NF_AUTOSELECT If this flag is set and only one record is present on a selectpage, atk automagically selects it and moves on to the target
atknode NF_TRACK_CHANGES If set, atk stores the old values of a record as [atkorgrec] in the $rec that gets passed to the postUpdate
atknode NF_NO_SECURITY Quick way to disable accessright checking for an entire node. (Everybody may access this node)
atknode NF_NO_EXTENDED_SEARCH Extended search feature is turned off
atknode NF_MULTI_RECORD_ACTIONS Multi-selection of records is turned on
atknode NF_MRPA Multi-priority-selection of records is turned on
atknode NF_LOCK Add locking support to node, if one user is editing a record, no one else may edit it.
atknode NF_ML Multi-language support
atknode NF_IMPORT Quick way to enable the csv import feature
atknode NF_EXPORT Add CSV export ability to the node.
atknode NF_NO_IMPORT Disable csv import feature @deprecated since ATK 5.2
atknode NF_EXT_SORT Enable extended sorting (multicolumn sort)
atknode NF_CACHE_RECORDLIST Makes a node cache it's recordlist
atknode NF_ADDAFTERADD After adding a new record add another one.
atknode NF_NO_SORT No sorting possible.
atknode NF_ADD_DIALOG Use the dialog popup box when adding a new record for this node.
atknode NF_ADDORCOPY_DIALOG Use the dialog add-or-copy popup box when adding a new record for this node.
atknode NF_EDITAFTERCOPY Records may be copied and open for editing
atknode NF_MRA Alias for NF_MULTI_RECORD_ACTIONS flag (shortcut)
atknode NF_MULTILANGUAGE Alias for NF_ML flag
atknode NF_READONLY = NF_NO_ADD | NF_NO_DELETE | NF_NO_EDIT Aggregate flag to quickly create readonly nodes
atktreenode NF_TREE_NO_ROOT_DELETE No root elements can be deleted
atktreenode NF_TREE_NO_ROOT_COPY No root elements can be copied
atktreenode NF_TREE_NO_ROOT_ADD No root elements can be added
atktreenode NF_TREE_AUTO_EXPAND The tree is initially fully expanded