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

Public Member Functions

 init (&$view, &$options)
 
 get_select_options ()
 
 get_select_option_where ($table=NULL, $generic_placeholder=TRUE)
 
 option_definition ()
 
 expose_form (&$form, &$form_state)
 
 expose_submit ($form, &$form_state)
 
 expose_options ()
 
 value_form (&$form, &$form_state)
 
- Public Member Functions inherited from tripal_views_handler_filter_select_string
 has_extra_options ()
 
 extra_options_form (&$form, &$form_state)
 
 extra_options_submit ($form, &$form_state)
 
 extra_options_options ()
 
 exposed_form (&$form, &$form_state)
 
 query ()
 

Detailed Description

This Handler provides a select list for the type field

NOTE: This handler only works when applied to the type_id field in the base_table of this view.

Member Function Documentation

◆ expose_form()

tripal_views_handler_filter_select_id::expose_form ( $form,
$form_state 
)

{}

◆ expose_options()

tripal_views_handler_filter_select_id::expose_options ( )

{}

◆ expose_submit()

tripal_views_handler_filter_select_id::expose_submit (   $form,
$form_state 
)

{}

◆ get_select_option_where()

tripal_views_handler_filter_select_id::get_select_option_where (   $table = NULL,
  $generic_placeholder = TRUE 
)

For the SQL generating the options, determine the WHERE clauses

Returns
An array of full qualified where clauses (ie: table.myfield = 'fred')

Reimplemented from tripal_views_handler_filter_select_string.

◆ get_select_options()

tripal_views_handler_filter_select_id::get_select_options ( )

Provide the options used in the select list. Override this function in extended handlers to easily change option list.

Returns
An array of options where the key is the value of this field in the database

Reimplemented from tripal_views_handler_filter_select_string.

◆ init()

tripal_views_handler_filter_select_id::init ( $view,
$options 
)

◆ option_definition()

tripal_views_handler_filter_select_id::option_definition ( )

◆ value_form()

tripal_views_handler_filter_select_id::value_form ( $form,
$form_state 
)

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