/** * @param $data */ protected function setValuesFromData(Data\Modul $data) { $this->setId($data->getId()); $this->setWebsiteid($data->getWebsiteId()); $this->setName($data->getName()); $this->setDescription($data->getDescription()); $this->setVersion($data->getVersion()); $this->setIcon($data->getIcon()); $this->setForm($data->getForm()); $this->setFormvalues($data->getFormvalues()); $this->setCategory($data->getCategory()); $this->setModuletype($data->getModuletype()); $this->setAllowedchildmoduletype($data->getAllowedchildmoduletype()); $this->setReRenderRequired($data->getRerenderrequired()); $this->setSourceType($data->getSourceType()); $this->setOverwritten($data->isOverwritten()); $this->setGhostContainerMode($data->getGhostContainerMode()); }