Jump to content

AtkManyToOneRelation

From NusaATK
Revision as of 10:08, 28 December 2006 by bahtiar (talk | contribs)

atkManyToOneRelation

function atkManyToOneRelation($name, $destination, $flags=0)
  • $name The name of the attribute.
  • $destination The node we have a relationship with.


Example

Projects all have one coordinator (node B), but one coordinator can have multiple projects (node A). So in the project class, there's a atkManyToOneRelation to a coordinator.