Tripal
|
Public Member Functions | |
option_definition () | |
operators () | |
operator_options ($which='title') | |
admin_summary () | |
operator_values ($values=1) | |
value_form (&$form, &$form_state) | |
operator () | |
query () | |
op_equal ($field) | |
op_contains ($field) | |
op_starts ($field) | |
op_not_starts ($field) | |
op_ends ($field) | |
op_not_ends ($field) | |
op_not ($field) | |
op_regex ($field) | |
op_empty ($field) | |
Public Attributes | |
$always_multiple = TRUE | |
Basic textfield filter to handle string filtering commands including equality, like, not like, etc.
tripal_views_handler_filter_entity_string::operator_options | ( | $which = 'title' | ) |
Build strings from the operators() for 'select' options
tripal_views_handler_filter_entity_string::operators | ( | ) |
This kind of construct makes it relatively easy for a child class to add or remove functionality by overriding this function and adding/removing items from this array.
tripal_views_handler_filter_entity_string::query | ( | ) |
Add this filter to the query.
Due to the nature of fapi, the value and the operator have an unintended level of indirection. You will find them in $this->operator and $this->value respectively.
tripal_views_handler_filter_entity_string::value_form | ( | & | $form, |
& | $form_state | ||
) |
Provide a simple textfield for equality