Esempio n. 1
0
 function validateFields()
 {
     if (!parent::validateFields()) {
         return FALSE;
     }
     if (empty($this->values['congregationid']) && $this->values['status'] != 'contact' && $this->values['status'] != 'archived') {
         trigger_error('Only persons with status "contact" may have a blank congregation');
         return FALSE;
     }
     return TRUE;
 }
 function validateFields()
 {
     if (!parent::validateFields()) {
         return FALSE;
     }
     return TRUE;
 }