| 1 | <?php |
||
| 18 | class RelationNode extends BaseNode |
||
| 19 | { |
||
| 20 | /** |
||
| 21 | * @var EE_Base_Class |
||
| 22 | */ |
||
| 23 | protected $mainEntity; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @var int |
||
| 27 | */ |
||
| 28 | protected $count; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @var \EE_Model_Relation_Base |
||
| 32 | */ |
||
| 33 | protected $relation; |
||
| 34 | |||
| 35 | |||
| 36 | protected $itemNodes; |
||
| 37 | |||
| 38 | public function __construct($mainEntity, $relation) |
||
| 43 | |||
| 44 | |||
| 45 | |||
| 46 | protected function work($work_to_do){ |
||
| 58 | |||
| 59 | /** |
||
| 60 | * Whether this item has already been initialized |
||
| 61 | */ |
||
| 62 | public function isDiscovered() |
||
| 66 | |||
| 67 | /** |
||
| 68 | * @since $VID:$ |
||
| 69 | * @return boolean |
||
| 70 | */ |
||
| 71 | public function isComplete() |
||
| 75 | |||
| 76 | public function discover() |
||
| 80 | } |
||
| 81 | // End of file RelationNode.php |
||
| 83 |