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