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