hosting_package_handler_filter_status.inc in Hosting 7.3
Same filename and directory in other branches
Define a views filter for the Package management module.
File
package/includes/views/handlers/hosting_package_handler_filter_status.incView source
<?php
/**
* @file
* Define a views filter for the Package management module.
*/
/**
* Views filter class to filter by package status.
*/
class hosting_package_handler_filter_status extends views_handler_filter_in_operator {
function get_value_options() {
if (!isset($this->value_options)) {
$this->value_title = t('Package Status');
$this->value_options = array(
'1' => 'Enabled',
'0' => 'Disabled',
);
}
}
}
Classes
Name | Description |
---|---|
hosting_package_handler_filter_status | Views filter class to filter by package status. |