class so__cds_widget

Hierarchy

Expanded class hierarchy of so__cds_widget

1 string reference to 'so__cds_widget'
so__cds.inc in tripal_chado/includes/TripalFields/so__cds/so__cds.inc

File

tripal_chado/includes/TripalFields/so__cds/so__cds_widget.inc, line 3

View source
class so__cds_widget extends ChadoFieldWidget {
  // The default lable for this field.
  public static $default_label = 'Coding Sequence';

  // The list of field types for which this formatter is appropriate.
  public static $field_types = array('so__cds');

  /**
   *
   * @see TripalFieldWidget::form()
   */
  public function form(&$widget, &$form, &$form_state, $langcode, $items, $delta, $element) {
    parent::form($widget, $form, $form_state, $langcode, $items, $delta, $element);

    // TODO: add a widget...
  }


  /**
   *
   * @see TripalFieldWidget::submit()
   */
  public function submit($form, &$form_state, $entity_type, $entity, $langcode, $delta) {
    $field_name = $this->field['field_name'];

  }
}

Members

Contains filters are case sensitive
Namesort descending Modifiers Type Description
so__cds_widget::$default_label public static property Overrides TripalFieldWidget::$default_label
so__cds_widget::$field_types public static property Overrides TripalFieldWidget::$field_types
so__cds_widget::form public function Overrides TripalFieldWidget::form
so__cds_widget::submit public function Overrides TripalFieldWidget::submit
TripalFieldWidget::info public static function Provides information about the widgets provided by this field.
TripalFieldWidget::theme public function The theme function for the widget.
TripalFieldWidget::validate public function Performs validation of the widget form.
TripalFieldWidget::__construct public function Instantiates a new TripalFieldWidget object.