Example #1
0
 protected function importElementRef()
 {
     if ($result = parent::importElementRef()) {
         $result->isSub(true);
     }
     return $result;
 }
Example #2
0
 protected function loadElementRef()
 {
     if (!$this->bBuilded && !$this->getMaxOccurs(true)) {
         $file = $this->getElementRefFile();
         $this->getParent()->buildSchema($file);
         $this->bBuilded = true;
     }
     return parent::loadElementRef();
 }