public function getCololocation() { $this->__load(); return parent::getCololocation(); }
/** * * @param IXP_Form_Cabinet $form The form object * @param \Entities\Cabinet $object The Doctrine2 entity (being edited or blank for add) * @param bool $isEdit True of we are editing an object, false otherwise * @return void */ protected function addPostValidate($form, $object, $isEdit) { $object->setLocation($this->getD2EM()->getRepository('\\Entities\\Location')->find($form->getElement('locationid')->getValue())); return true; }