Example #1
0
 protected function setValuesFromData(PageData $data)
 {
     $this->setId($data->getId());
     $this->setWebsiteId($data->getWebsiteid());
     $this->setTemplateId($data->getTemplateid());
     $this->setMediaId($data->getMediaId());
     $this->setName($data->getName());
     $this->setDescription($data->getDescription());
     $this->setInNavigation($data->getInnavigation());
     $this->setDate($data->getDate());
     $this->setNavigationTitle($data->getNavigationtitle());
     $this->setContent($data->getContent());
     $this->setPageType($data->getPageType());
     $this->setPageAttributes($data->getPageAttributes());
     $this->setScreenshot();
 }