function views_php_handler_filter::option_definition in Views PHP 6
Same name and namespace in other branches
- 7.2 plugins/views/views_php_handler_filter.inc \views_php_handler_filter::option_definition()
- 7 plugins/views/views_php_handler_filter.inc \views_php_handler_filter::option_definition()
Implements views_object#option_definition().
File
- plugins/
views/ views_php_handler_filter.inc, line 27
Class
- views_php_handler_filter
- A handler to filter a view using PHP defined by the administrator.
Code
function option_definition() {
$options = parent::option_definition();
$options['use_php_setup'] = array(
'default' => FALSE,
);
$options['php_setup'] = array(
'default' => '',
);
$options['php_filter'] = array(
'default' => '',
);
$options['sql_filter'] = array(
'default' => '',
);
return $options;
}