public function so__transcript::elementInfo

3.x so__transcript.inc public so__transcript::elementInfo()

Overrides TripalField::elementInfo

See also

TripalField::elementInfo()

File

tripal_chado/includes/TripalFields/so__transcript/so__transcript.inc, line 60

Class

so__transcript

Code

public function elementInfo() {
  $field_term = $this->getFieldTermID();
  return array(
    $field_term => array(
      'operations' => array(),
      'sortable' => FALSE,
      'searchable' => FALSE,
      'type' => 'xs:complexType',
      'readonly' => TRUE,
      'elements' => array(
        'rdfs:type' => array(
          'name' => 'transcript_type',
          'label' => 'Transcript Type',
          'help' => 'The type of a transcript.',
          'searchable' => FALSE,
          'operations' => array('eq', 'ne', 'contains', 'starts'),
          'sortable' => FALSE,
          'type' => 'xs:string',
          'readonly' => TRUE,
          'required' => FALSE,
        ),
        'schema:name' => array(
          'name' => 'transcript_name',
          'label' => 'Transcript Name',
          'help' => 'The name of a transcript.',
          'searchable' => FALSE,
          'operations' => array('eq', 'ne', 'contains', 'starts'),
          'sortable' => FALSE,
          'type' => 'xs:string',
          'readonly' => TRUE,
          'required' => FALSE,
        ),
        'data:0842' => array(
          'name' => 'transcript_uniquename',
          'label' => 'Transcript Identifier',
          'help' => 'The unique identifier of a transcript.',
          'searchable' => FALSE,
          'operations' => array('eq', 'ne', 'contains', 'starts'),
          'sortable' => FALSE,
          'type' => 'xs:string',
          'readonly' => TRUE,
          'required' => FALSE,
        ),
        'SO:0000735' => array(
          'name' => 'loc',
          'label' => 'Transcript Location',
          'help' => 'The location of the transcript on a reference feature.',
          'searchable' => FALSE,
          'operations' => array('eq', 'ne', 'contains', 'starts'),
          'sortable' => FALSE,
          'type' => 'xs:string',
          'readonly' => TRUE,
          'required' => FALSE,
        ),
        'entity' => array(
          'searchable' => FALSE,
          'sortable' => FALSE,
        ),
      ),
    ),
  );
}