/** * */ public function makeTDBCheckGroup($properties) { $widget = new TDBCheckGroup((string) $properties->{'name'}, (string) $properties->{'database'}, (string) $properties->{'model'}, (string) $properties->{'key'}, (string) $properties->{'display'}); $widget->setLayout('vertical'); if (isset($properties->{'tip'})) { $widget->setTip((string) $properties->{'tip'}); } $this->fields[] = $widget; $this->fieldsByName[(string) $properties->{'name'}] = $widget; return $widget; }