Doctrine_Node
public class Doctrine_Node
www.doctrine-project.org| Field Summary | |
|---|---|
| protected unknown_type | The tree to which the node belongs.. |
| protected mixed | . |
| protected mixed | . |
| protected mixed | . |
| protected mixed | . |
| Constructor Summary | |
|---|---|
Doctrine_Node(object record, array options) contructor, creates node with reference to record and any options. |
|
| Method Summary | |
|---|---|
| static Doctrine_Node | factory(object record, string implName, array options) Factory method for creating a Node. |
| void | getIterator(string type, array options) get iterator. |
| Doctrine_Record | getter for record attribute. |
| void | setIteratorOptions(mixed options, int ) sets node's iterator options. |
| void | setIteratorType(mixed type, int ) sets node's iterator type. |
| void | setRecord(object record) setter for record attribute. |
| void | traverse(string type, array options) convenience function for getIterator. |
protected unknown_type $_tree
The tree to which the node belongs.
protected mixed $iteratorOptions
protected mixed $iteratorType
protected mixed $options
protected mixed $record
public Doctrine_Node(object record, array options)
contructor, creates node with reference to record and any options
public static Doctrine_Node factory(object record, string implName, array options)
Factory method for creating a Node.
This is a factory method that returns node instance based upon chosen implementation.
public void getIterator(string type, array options)
get iterator
public Doctrine_Record getRecord()
getter for record attribute
public void setIteratorOptions(mixed options, int )
sets node's iterator options
public void setIteratorType(mixed type, int )
sets node's iterator type
public void setRecord(object record)
setter for record attribute
public void traverse(string type, array options)
convenience function for getIterator
Doctrine_Node