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

Public Member Functions

 query ()
 
 click_sort ($order)
 
 get_value ($values, $field=NULL)
 
 render ($values)
 

Detailed Description

Views field handler for basic TripalFields fields.

Member Function Documentation

◆ click_sort()

tripal_views_handler_field::click_sort (   $order)

Overrides click_sort().

◆ get_value()

tripal_views_handler_field::get_value (   $values,
  $field = NULL 
)

Get the value that's supposed to be rendered.

This api exists so that other modules can easy set the values of the field without having the need to change the render method as well.

Parameters
$valuesAn object containing all retrieved values.
$fieldOptional name of the field where the value is stored.

Reimplemented in tripal_views_handler_field_entity, and tripal_views_handler_field_element.

◆ render()

tripal_views_handler_field::render (   $values)

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