/** * Aktualisiert Instanz von Opus_Licence mit Werte aus Formular. * @param Opus_Model_AbstractDb $licence */ public function updateModel($licence) { $licence->setActive($this->getElementValue(self::ELEMENT_ACTIVE)); $licence->setCommentInternal($this->getElementValue(self::ELEMENT_COMMENT_INTERNAL)); $licence->setDescMarkup($this->getElementValue(self::ELEMENT_DESC_MARKUP)); $licence->setDescText($this->getElementValue(self::ELEMENT_DESC_TEXT)); $licence->setLanguage($this->getElementValue(self::ELEMENT_LANGUAGE)); $licence->setLinkLicence($this->getElementValue(self::ELEMENT_LINK_LICENCE)); $licence->setLinkLogo($this->getElementValue(self::ELEMENT_LINK_LOGO)); $licence->setMimeType($this->getElementValue(self::ELEMENT_MIME_TYPE)); $licence->setNameLong($this->getElementValue(self::ELEMENT_NAME_LONG)); $licence->setSortOrder($this->getElementValue(self::ELEMENT_SORT_ORDER)); $licence->setPodAllowed($this->getElementValue(self::ELEMENT_POD_ALLOWED)); }