Пример #1
0
 /**
  * Set structure prototype
  *
  * @param \Zork\Model\Structure\StructureAbstract $structurePrototype
  * @return \Zork\Model\Mapper\DbAware\ReadOnlyMapperAbstract
  */
 public function setStructurePrototype($structurePrototype)
 {
     if ($structurePrototype instanceof MapperAwareInterface) {
         $structurePrototype->setMapper($this);
     }
     $this->structurePrototype = $structurePrototype;
     return $this;
 }
Пример #2
0
 /**
  * Returns the properties iterator (only additional properties)
  *
  * @return \Zork\Model\Structure\StructureIterator
  */
 public function getPropertiesIterator()
 {
     return parent::getIterator();
 }