class so__cds_widget
Hierarchy
- class \TripalFieldWidget
- class \ChadoFieldWidget
- class \so__cds_widget
- class \ChadoFieldWidget
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
Name | Modifiers | Type | Description |
---|---|---|---|
so__cds_widget:: |
public static | property |
Overrides TripalFieldWidget:: |
so__cds_widget:: |
public static | property |
Overrides TripalFieldWidget:: |
so__cds_widget:: |
public | function |
Overrides TripalFieldWidget:: |
so__cds_widget:: |
public | function |
Overrides TripalFieldWidget:: |
TripalFieldWidget:: |
public static | function | Provides information about the widgets provided by this field. |
TripalFieldWidget:: |
public | function | The theme function for the widget. |
TripalFieldWidget:: |
public | function | Performs validation of the widget form. |
TripalFieldWidget:: |
public | function | Instantiates a new TripalFieldWidget object. |