<?php
class AdvancedCatalogModuleVO implements MotoDomObjectInterface { public $structure; public $data; public function __construct(DOMNode $parent = null) { if (!empty($parent)) { $this->loadDomElement($parent); } } public function loadDomElement(DOMNode $parent) { $this->structure = AdvancedCatalogModuleItemTypeVO::findAll($parent); $this->data = AdvancedCatalogModuleItemVO::findAll($parent); return $this; } public function saveDomElement(DOMNode $parent) { } }