Jump to content

Relation Flags

From NusaATK
Revision as of 04:05, 11 September 2014 by Wayneh (talk | contribs) (Created page with "==Intro== Most relations have a $flags param in the constructor. You can pass multiple flags by concatenating them with a pipe symbol (|). Example: <php> $rel = &new atkOn...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Intro

Most relations have a $flags param in the constructor. You can pass multiple flags by concatenating them with a pipe symbol (|).

Example:

 $rel = &new atkOneToManyRelation("notes","node.notes","note_related_id", AF_HIDE_LIST);