Exemplo n.º 1
0
 public static function add_rule_email_unique($form, $field, $rset = null, $rid = null)
 {
     self::$field = $field;
     self::$rset = $rset;
     self::$rid = $rid;
     $form->addFormRule(array('CRM_ContactsCommon', 'check_email_unique'));
 }