/** * Check validity of form and pass values from form to object * * @return bool */ protected function fillObject() { $this->setValuesByPost(); if (!$this->checkInput()) { return false; } $this->obj_orgu->setOrgUnitTypeId($this->getInput('orgu_type')); $this->obj_orgu->setImportId($this->getInput('ext_id')); $this->obj_orgu->setTitle($this->getInput('title')); $this->obj_orgu->setDescription($this->getInput('description')); return true; }