widgetSchema['user_id'] = new sfWidgetFormInputHidden(); $this->validatorSchema['user_id']->setOption('required', false); $this->widgetSchema->setLabels(array( 'street' => 'Ulice', 'city' => 'Město', 'zip' => 'PSČ', 'ic' => 'IČ', 'dic' => 'DIČ', )); commonFormFunctions::setJqUiFormater($this); commonFormFunctions::addClasses($this); $this->disableLocalCSRFProtection(); } }