/**
  * {@inheritDoc}
  */
 public function toCmsData()
 {
     $this->__initializer__ && $this->__initializer__->__invoke($this, 'toCmsData', array());
     return parent::toCmsData();
 }
示例#2
0
 /**
  * @param \Orm\Entity\WebsiteSettings $orm
  *
  * @return \Cms\Data\WebsiteSettings
  */
 protected function convertOrmToDataObject(OrmWebsiteSettings $orm)
 {
     /** @var $snippet \Cms\Data\WebsiteSettings */
     return $orm->toCmsData();
 }