public function getContacts() { $this->__load(); return parent::getContacts(); }
/** * Postvalidation hook for add / edit * * @param OSS_Form $form The Send form object * @param \Entities\ContactGroup $group The Doctrine2 contact group entity * @param bool $isEdit True if we are editing, otherwise false * @return bool If false, the form is not processed */ protected function addPostValidate($form, $group, $isEdit) { if (!$isEdit) { $group->setCreated(new DateTime()); } return true; }