| 1 | <?php |
||
| 7 | class Children extends ObjectModel |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * Constructor |
||
| 11 | * |
||
| 12 | * @param array $data |
||
| 13 | */ |
||
| 14 | public function __construct($data = array()) |
||
| 23 | |||
| 24 | /** |
||
| 25 | * Add childModel to collection |
||
| 26 | * |
||
| 27 | * @param ModelChild|array $childModel |
||
| 28 | * |
||
| 29 | * @return Children |
||
| 30 | */ |
||
| 31 | public function add($childModel) |
||
| 41 | |||
| 42 | /** |
||
| 43 | * Retrieve the collection property |
||
| 44 | * |
||
| 45 | * @return Children |
||
| 46 | */ |
||
| 47 | public function getAll() |
||
| 51 | } |
||
| 52 |