Node Flags
online meridia ultram online free free ringtones funny ringtones diethylpropion online free qwest ringtones free real ringtones cheap lipitor cheap ultracet tramadol online cialis online sony ericsson ringtones free funny ringtones zoloft online free music ringtones cheap carisoprodol zanaflex online free nokia ringtones but lortab motorola ringtones samsung ringtones free alltel ringtones sharp ringtones soma online mtv ringtones cheap levitra pharmacy online online real ringtones cheap ambien cheap diethylpropion xanax online lorazepam free real ringtones punk ringtones albuterol online xanax online fioricet didrex online verizon ringtones buy ultracet tracfone ringtones clomid online ativan buy xanax buy nexium free sonyericsson ringtones cheap clomid cheap adipex cialis online hydrocodone online levitra online midi ringtones lisinopril online free wwe ringtones phentermine online tracfone ringtones sildenafil online verizon ringtones midi ringtones phentermine online rivotril online online vicodin celexa online funny ringtones flexeril online hoodia online cheap tenuate buy prozac sprint ringtones order norco meridia sprint ringtones diazepam online fioricet mp3 ringtones paxil online buy zanaflex cheap alprazolam soma online diazepam online free wwe ringtones but zoloft lorazepam online norco free ringtones carisoprodol online qwest ringtones clonazepam online cheap celexa clonazepam online buy lipitor free nokia ringtones cheap lisinopril propecia online nokia ringtones free punk ringtones carisoprodol online ultram online sony ericsson ringtones tracfone ringtones zyban online hoodia online cheap tramadol cingular ringtones jazz ringtones alltel ringtones cheap flexeril free nextel ringtones kyocera ringtones samsung ringtones motorola ringtones meridia online cheap xenical free sony ringtones paxil online sagem ringtones ativan online rivotril online ortho online cheap celexa sharp ringtones adipex online cheap ortho but hydrocodone cheap propecia cingular ringtones nextel ringtones sagem ringtones adipex online free punk ringtones buy didrex free sonyericsson ringtones didrex online diazepam online samsung ringtones sharp ringtones order meridia free mono ringtones cheap valium buy hgh nextel ringtones funny ringtones cheap lortab but ultracet buy viagra albuterol cheap vicodin free motorola ringtones cheap lorazepam free ericsson ringtones mp3 ringtones sonyericsson ringtones viagra online cheap cyclobenzaprine but vigrx free wwe ringtones cheap zoloft clomid online cheap fioricet free samsung ringtones albuterol online buy tramadol order xenical alprazolam online cheap clonazepam free mp3 ringtones cheap norco xanax online mtv ringtones qwest ringtones valium online sildenafil online zyban online order alprazolam levitra cheap soma cheap ortho cheap xenical zyban online free polyphonic ringtones free motorola ringtones lisinopril online free sagem ringtones free music ringtones ativan online free jazz ringtones cool ringtones ericsson ringtones free tracfone ringtones but norco viagra online free sony ericsson ringtones cheap nexium cheap paxil free cool ringtones cheap vicodin kyocera ringtones free jazz ringtones sprint ringtones cheap cialis ==Intro==
The atkNode class has a $flags param in the constructor. You can pass multiple flags by concatting them with a pipe symbol (|).
Example:
$this->atkNode("employees", NF_ADD_LINK|NF_TRACK_CHANGES);
Available flags
This is a list of flags that you can use:
NF_ADD_LINK
The add-screen is accessed by an 'Add' link instead of embedded directly in the admin screen.
NF_EDITAFTERADD
When this flag is set, the add page is immediately followed by the edit page of the newly added record. This can be used when there are attributes (like atkOneToManyRelation) that can only be changed once the record is added, and you want to give the user the opportunity to edit them right after the record has been stored.
NF_ADDAFTERADD
When this flag is set, the user can add new records repeatedly.
NF_TRACK_CHANGES
When this flag is set, the postUpdate trigger is passed both the original and the new record, so you can compare the values. The original record is part of the passed $record parameter, it's stored under the 'atkorgrec' key, for example: var_dump($record[["atkorgrec"]);
NF_READONLY
The node is readonly. Add, edit and delete links are no longer present.
NF_COPY
Enable the record copy functionality. With this flag, users with 'add' privilege can copy records.
NF_IMPORT
Enable CSV import functionality. With this flag, users with 'add' privilege can import records from CSV files.
NF_EXPORT
Enable CSV export functionality. With this flag, users with 'view' privilege can export records to a CSV file.
NF_NO_ADD
Turn off add-functionality for this node
NF_NO_DELETE
Turn off delete-functionality for this node
NF_NO_EDIT
Turn off edit-functionality for this node
NF_NO_VIEW
Turn off view-functionality for this node
NF_NO_SEARCH
Turn off search-functionality for this node completely.
NF_NO_EXTENDED_SEARCH
Turn off extended search for this node. Searching through the search bar is still enabled.
NF_NO_FILTER
Setting this flag will cause the node to ignore any addFilter and ?atkfilter= calls.
NF_NO_SECURITY
This flag disables all security checks, meaning that any user can do anything to this node. (So be careful with this flag.)
NF_LOCK
Turn on record locking for this node. When this is flag, only a single user can edit a record. Other users see a lock icon and will get an error message if someone tries to edit the record anyway. Locks will automatically expire after a certain amount of inactivity. See for usage example Record_locking
NF_MULTI_RECORD_ACTIONS or NF_MRA
With this flag disabled, some actions (like the delete action or custom actions) are allowed to operate on multiple records at once, from the admin view of the node. The flag adds a column of checkboxes to the recordlist, so the user can select which records to perform the action on.
NF_CACHE_RECORDLIST
This is a performance speedup flag. When this is set, the html output of the recordlist is cached so the records do not have to be loaded on each subsequent page request. The cache is cleared automatically when records are modified/added or deleted.
NF_AUTOSELECT
If this flag is set and the node's 'select' page is used (for example in an AF_LARGE screen for selecting a record in a relationship), then the record is autoselected if there is only one to choose from.