+--------------------------------------------------------------------+
| CiviCRM version 4.6 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2014 |
+ | Copyright CiviCRM LLC (c) 2004-2015 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
| GNU Affero General Public License or the licensing of CiviCRM, |
| see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+
-*/
+ */
/**
* Class CRM_Utils_QueryFormatter
return $text;
}
+ /**
+ * Format Fts.
+ *
+ * @param string $text
+ * @param $mode
+ *
+ * @return mixed
+ */
protected function _formatFts($text, $mode) {
$result = NULL;
return $this->dedupeWildcards($result, '%');
}
+ /**
+ * Format FTS.
+ *
+ * @param string $text
+ * @param $mode
+ *
+ * @return mixed
+ */
protected function _formatFtsBool($text, $mode) {
$result = NULL;
return $this->dedupeWildcards($result, '%');
}
+ /**
+ * Format like.
+ *
+ * @param $text
+ * @param $mode
+ *
+ * @return mixed
+ */
protected function _formatLike($text, $mode) {
$result = NULL;
return $text;
}
+ /**
+ * Get modes.
+ *
+ * @return array
+ */
public static function getModes() {
return array(
self::MODE_NONE,
);
}
+ /**
+ * Get languages.
+ *
+ * @return array
+ */
public static function getLanguages() {
return array(
self::LANG_SOLR,
echo $buf;
}
+
}