예제 #1
0
 protected function getSearchForm()
 {
     $form = new dmForm();
     return $form->setName('search')->setWidgets(array('query' => new sfWidgetFormInputText()))->setValidators(array('query' => new sfValidatorString()));
 }