/** * */ public function makeTDBCombo($properties) { $widget = new TDBCombo((string) $properties->{'name'}, (string) $properties->{'database'}, (string) $properties->{'model'}, (string) $properties->{'key'}, (string) $properties->{'display'}); $widget->setSize((int) $properties->{'width'}); if (isset($properties->{'tip'})) { $widget->setTip((string) $properties->{'tip'}); } $this->fields[] = $widget; $this->fieldsByName[(string) $properties->{'name'}] = $widget; return $widget; }