You are here

function scald_views_handler_filter_actions::operator_options in Scald: Media Management made easy 7

Provide a list of options for the default operator form.

Should be overridden by classes that don't override operator_form.

Overrides views_handler_filter::operator_options

File

includes/scald_views_handler_filter_actions.inc, line 36
Provides a filter allowing to restrict the results by atoms actions.

Class

scald_views_handler_filter_actions
@file Provides a filter allowing to restrict the results by atoms actions.

Code

function operator_options($which = 'title') {
  $options = array();
  foreach ($this
    ->operators() as $id => $info) {
    $options[$id] = $info[$which];
  }
  return $options;
}