$this->sortName($values);
return;
+ case 'addressee':
+ case 'postal_greeting':
+ case 'email_greeting':
+ $this->greetings($values);
+ return;
+
case 'email':
$this->email($values);
return;
}
}
+ /*
+ * Where/qill clause for greeting fields
+ *
+ * @params $values
+ *
+ * @return void
+ */
+ function greetings(&$values) {
+ list($name, $op, $value, $grouping, $wildcard) = $values;
+ $name .= '_display';
+
+ $this->_qill[$grouping][] = "Greeting $op $value";
+ $this->_where[$grouping][] = self::buildClause("contact_a.{$name}", 'LIKE', "$value", 'String');
+ }
+
/**
* Where / qill clause for email
*