activity_views_handler_filter_type.inc in Activity 6
File
views/activity_views_handler_filter_type.incView source
<?php
class activity_views_handler_filter_type extends views_handler_filter_in_operator {
function get_value_options() {
$activity_info = activity_get_info();
$types = array();
foreach ($activity_info as $module => $info) {
if ($info['types']) {
foreach ($info['types'] as $type => $name) {
$types[$type] = $name;
}
}
}
if ($types) {
$this->value_options = $types;
}
}
}
Classes
Name![]() |
Description |
---|---|
activity_views_handler_filter_type |