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')); }
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')); }