public function addControl($schema, $name, $xtype, $title, $config = null) { $this->schema = CConfig::getSchema($schema); $this->schema->addControl($name, $xtype, $title, $config, ''); $this->addAlert('Контрол добавлен'); $this->jumpBack(); }