| 1 | <?php |
||
| 6 | class Group implements ElementItem, ElementContainer |
||
| 7 | { |
||
| 8 | |||
| 9 | /** |
||
| 10 | * |
||
| 11 | * @var Schema |
||
| 12 | */ |
||
| 13 | protected $schema; |
||
| 14 | |||
| 15 | protected $doc; |
||
| 16 | |||
| 17 | protected $name; |
||
| 18 | |||
| 19 | protected $elements = array(); |
||
| 20 | |||
| 21 | 39 | public function __construct(Schema $schema, $name) |
|
| 26 | |||
| 27 | 39 | public function getName() |
|
| 31 | |||
| 32 | public function setName($name) |
||
| 37 | |||
| 38 | 1 | public function getElements() |
|
| 42 | |||
| 43 | 39 | public function addElement(ElementItem $element) |
|
| 47 | |||
| 48 | public function getDoc() |
||
| 52 | |||
| 53 | 39 | public function setDoc($doc) |
|
| 58 | |||
| 59 | 39 | public function getSchema() |
|
| 63 | } |
||
| 64 |