protected function _setup() { parent::_setup(); $this->addStaticElement('id'); $this->addTypicalElement('name'); $this->addTypicalElement('date'); $this->addStaticElement('float'); }
protected function _setup() { parent::_setup(); $this->addStaticElement('id'); foreach (array('name', 'date', 'time', 'dateTime', 'bool', 'decimal', 'float', 'memoryOnly', 'otherDecimal', 'nullStr') as $element) { $this->addTypicalElement($element); } $this->addSelectElement('nameRef', DBSName::search(DBS_Query::matchAll())); }