public function getSearchMethods()
{
$ignore = array('isEmpty', 'getField', 'getFieldType', '__construct', 'getDefaultSearchMethod', 'getSearchMethods', 'getFieldName');
$class = new \ReflectionClass(__CLASS__);
$methods = $class->getMethods(\ReflectionMethod::IS_PUBLIC);
$tmp = array();
foreach ($methods as $method) {
$tmp[] = $method->name;
}
$methods = $tmp;
if ($methods = array_diff($methods, $ignore)) {
return $methods;
}
return array();
}