Tripal
Public Member Functions | Public Attributes | List of all members
tripal_views_handler_filter_entity_string Class Reference
Inheritance diagram for tripal_views_handler_filter_entity_string:
Inheritance graph
[legend]
Collaboration diagram for tripal_views_handler_filter_entity_string:
Collaboration graph
[legend]

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
 

Detailed Description

Basic textfield filter to handle string filtering commands including equality, like, not like, etc.

Member Function Documentation

◆ operator_options()

tripal_views_handler_filter_entity_string::operator_options (   $which = 'title')

Build strings from the operators() for 'select' options

◆ operators()

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.

◆ query()

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.

◆ value_form()

tripal_views_handler_filter_entity_string::value_form ( $form,
$form_state 
)

Provide a simple textfield for equality


The documentation for this class was generated from the following file: