views_handler_filter_block_module.inc in Views Hacks 6
Same filename and directory in other branches
File
views_block/handlers/views_handler_filter_block_module.incView source
<?php
/**
* Filter based on block module.
*/
class views_handler_filter_block_module extends views_handler_filter_in_operator {
function get_value_options() {
$modules = db_query("SELECT DISTINCT module FROM {blocks}");
while ($module = db_fetch_object($modules)) {
$this->value_options[$module->module] = $module->module;
}
ksort($this->value_options);
}
}
Classes
Name | Description |
---|---|
views_handler_filter_block_module | Filter based on block module. |