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

Public Member Functions

 load ($entity)
 
 formatterView (&$element, $entity_type, $entity, $langcode, $items, $display)
 
 widgetForm (&$widget, &$form, &$form_state, $langcode, $items, $delta, $element)
 
- Public Member Functions inherited from TripalField
 __construct ($field, $instance)
 
 getFieldName ()
 
 getField ()
 
 getInstance ()
 
 getFieldTerm ()
 
 getFieldTermID ()
 
 webServicesData ()
 
 viewsData ($view_base_id)
 
 validate ($entity_type, $entity, $langcode, $items, &$errors)
 
 elementInfo ()
 
 settingsForm ($has_data)
 
 settingsFormValidate ($form, &$form_state)
 
 instanceSettingsForm ()
 
 settingsTheme ($element)
 
 instanceSettingsFormValidate ($form, &$form_state)
 
 createInstance ()
 
 query ($query, $condition)
 
 queryOrder ($query, $order)
 
 getValueList ($options=[], $keyword=NULL)
 

Static Public Attributes

static $default_label = 'Content Type'
 
static $default_description = 'The Tripal content type.'
 
static $default_settings = []
 
static $default_storage = 'tripal_no_storage'
 
- Static Public Attributes inherited from TripalField
static $default_label = 'Tripal Field'
 
static $default_description = 'The generic base class for all Tripal fields. Replace this text as appropriate for the child implementation.'
 
static $default_settings
 
static $default_instance_settings
 
static $download_formatters
 
static $default_widget = ''
 
static $default_formatter = ''
 
static $module = 'tripal'
 
static $no_ui = TRUE
 
static $no_data = FALSE
 

Additional Inherited Members

- Static Public Member Functions inherited from TripalField
static info ()
 
- Protected Member Functions inherited from TripalField
 _addWebServiceElement (&$searchable_keys, &$sortable_keys, $parent_term_name, $parent_term, $element_name, $element_details)
 
 _addViewsDataElement (&$data, $view_base_id, $parent, $element_name, $element_details)
 
- Protected Attributes inherited from TripalField
 $field
 
 $instance
 
 $term
 

Member Function Documentation

◆ formatterView()

content_type::formatterView ( $element,
  $entity_type,
  $entity,
  $langcode,
  $items,
  $display 
)
See also
TripalField::formatterView()

◆ load()

content_type::load (   $entity)
See also
TripalField::load()

Reimplemented from TripalField.

◆ widgetForm()

content_type::widgetForm ( $widget,
$form,
$form_state,
  $langcode,
  $items,
  $delta,
  $element 
)
See also
TripalField::widgetForm()

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