public static function apachesolr_views_handler_field_generic::__callStatic in Apache Solr Views 6
Gets called when calling an undefined static method.
File
- handlers/
apachesolr_views_handler_field_generic.inc, line 64
Class
- apachesolr_views_handler_field_generic
- Class for retrieving and rendering an arbitrary field from an Apache Solr query. The class uses a predefined handler to which it acts as a proxy.
Code
public static function __callStatic($name, $args) {
$method = array(
get_class($this->_original),
$name,
);
if (!method_exists($method)) {
trigger_error("tried to call undefined static method {$name}", E_USER_ERROR);
}
call_user_func_array($method, $args);
}