Пример #1
0
 public function configure()
 {
     parent::configure();
     unset($this['office_id'], $this['waiting_list']);
     $this->widgetSchema['object_type'] = new sfWidgetFormInputHidden();
     $this->setDefault('object_type', 'ei');
 }
Пример #2
0
 public function configure()
 {
     parent::configure();
     unset($this['icd9_id'], $this['authorization'], $this['physicians_order']);
     $this->widgetSchema['object_type'] = new sfWidgetFormInputHidden();
     $this->setDefault('object_type', 'classroom');
 }
Пример #3
0
 public function configure()
 {
     parent::configure();
     unset($this['icd9_id'], $this['authorization'], $this['physicians_order'], $this['office_id'], $this['waiting_list']);
     $this->widgetSchema['object_type'] = new sfWidgetFormInputHidden();
     $this->setDefault('object_type', 'school_age');
 }