• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

PHP BaseFormFilterPropel类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了PHP中BaseFormFilterPropel的典型用法代码示例。如果您正苦于以下问题:PHP BaseFormFilterPropel类的具体用法?PHP BaseFormFilterPropel怎么用?PHP BaseFormFilterPropel使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



在下文中一共展示了BaseFormFilterPropel类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。

示例1: setup

 public function setup()
 {
     $this->setWidgets(array('fk_establecimiento_id' => new sfWidgetFormPropelChoice(array('model' => 'Establecimiento', 'add_empty' => true)), 'fecha_inicio' => new sfWidgetFormFilterDate(array('from_date' => new sfWidgetFormDate(), 'to_date' => new sfWidgetFormDate(), 'with_empty' => false)), 'fecha_fin' => new sfWidgetFormFilterDate(array('from_date' => new sfWidgetFormDate(), 'to_date' => new sfWidgetFormDate(), 'with_empty' => false)), 'descripcion' => new sfWidgetFormFilterInput(), 'actual' => new sfWidgetFormChoice(array('choices' => array('' => 'yes or no', 1 => 'yes', 0 => 'no')))));
     $this->setValidators(array('fk_establecimiento_id' => new sfValidatorPropelChoice(array('required' => false, 'model' => 'Establecimiento', 'column' => 'id')), 'fecha_inicio' => new sfValidatorDateRange(array('required' => false, 'from_date' => new sfValidatorDate(array('required' => false)), 'to_date' => new sfValidatorDate(array('required' => false)))), 'fecha_fin' => new sfValidatorDateRange(array('required' => false, 'from_date' => new sfValidatorDate(array('required' => false)), 'to_date' => new sfValidatorDate(array('required' => false)))), 'descripcion' => new sfValidatorPass(array('required' => false)), 'actual' => new sfValidatorChoice(array('required' => false, 'choices' => array('', 1, 0)))));
     $this->widgetSchema->setNameFormat('ciclolectivo_filters[%s]');
     $this->errorSchema = new sfValidatorErrorSchema($this->validatorSchema);
     parent::setup();
 }
开发者ID:mediasadc,项目名称:alba,代码行数:8,代码来源:BaseCiclolectivoFormFilter.class.php


示例2: setup

 public function setup()
 {
     $this->setWidgets(array('patient_id' => new sfWidgetFormPropelChoice(array('model' => 'Patient', 'add_empty' => true)), 'visit_id' => new sfWidgetFormPropelChoice(array('model' => 'Visit', 'add_empty' => true)), 'pharma_id' => new sfWidgetFormPropelChoice(array('model' => 'Pharma', 'add_empty' => true)), 'dosage_id' => new sfWidgetFormPropelChoice(array('model' => 'Dosage', 'add_empty' => true)), 'quantity' => new sfWidgetFormFilterInput(), 'price' => new sfWidgetFormFilterInput(), 'created_at' => new sfWidgetFormFilterDate(array('from_date' => new sfWidgetFormDate(), 'to_date' => new sfWidgetFormDate(), 'with_empty' => true)), 'updated_at' => new sfWidgetFormFilterDate(array('from_date' => new sfWidgetFormDate(), 'to_date' => new sfWidgetFormDate(), 'with_empty' => true))));
     $this->setValidators(array('patient_id' => new sfValidatorPropelChoice(array('required' => false, 'model' => 'Patient', 'column' => 'id')), 'visit_id' => new sfValidatorPropelChoice(array('required' => false, 'model' => 'Visit', 'column' => 'id')), 'pharma_id' => new sfValidatorPropelChoice(array('required' => false, 'model' => 'Pharma', 'column' => 'id')), 'dosage_id' => new sfValidatorPropelChoice(array('required' => false, 'model' => 'Dosage', 'column' => 'id')), 'quantity' => new sfValidatorSchemaFilter('text', new sfValidatorInteger(array('required' => false))), 'price' => new sfValidatorSchemaFilter('text', new sfValidatorInteger(array('required' => false))), 'created_at' => new sfValidatorDateRange(array('required' => false, 'from_date' => new sfValidatorDate(array('required' => false)), 'to_date' => new sfValidatorDate(array('required' => false)))), 'updated_at' => new sfValidatorDateRange(array('required' => false, 'from_date' => new sfValidatorDate(array('required' => false)), 'to_date' => new sfValidatorDate(array('required' => false))))));
     $this->widgetSchema->setNameFormat('visit_medicine_filters[%s]');
     $this->errorSchema = new sfValidatorErrorSchema($this->validatorSchema);
     parent::setup();
 }
开发者ID:lejacome,项目名称:hospital-mgt,代码行数:8,代码来源:BaseVisitMedicineFormFilter.class.php


示例3: setup

 public function setup()
 {
     $this->setWidgets(array('nama_negara' => new sfWidgetFormFilterInput()));
     $this->setValidators(array('nama_negara' => new sfValidatorPass(array('required' => false))));
     $this->widgetSchema->setNameFormat('negara_filters[%s]');
     $this->errorSchema = new sfValidatorErrorSchema($this->validatorSchema);
     parent::setup();
 }
开发者ID:nurhidayatullah,项目名称:inventory,代码行数:8,代码来源:BaseNegaraFormFilter.class.php


示例4: setup

 public function setup()
 {
     $this->setWidgets(array());
     $this->setValidators(array());
     $this->widgetSchema->setNameFormat('collection_file_filters[%s]');
     $this->errorSchema = new sfValidatorErrorSchema($this->validatorSchema);
     parent::setup();
 }
开发者ID:EQ4,项目名称:smint,代码行数:8,代码来源:BaseCollectionFileFormFilter.class.php


示例5: setup

 public function setup()
 {
     $this->setWidgets(array('email' => new sfWidgetFormFilterInput(), 'profile' => new sfWidgetFormFilterInput(), 'password' => new sfWidgetFormFilterInput(), 'created_at' => new sfWidgetFormFilterDate(array('from_date' => new sfWidgetFormDate(), 'to_date' => new sfWidgetFormDate())), 'flag' => new sfWidgetFormFilterInput(), 'token_session' => new sfWidgetFormFilterInput()));
     $this->setValidators(array('email' => new sfValidatorPass(array('required' => false)), 'profile' => new sfValidatorSchemaFilter('text', new sfValidatorInteger(array('required' => false))), 'password' => new sfValidatorPass(array('required' => false)), 'created_at' => new sfValidatorDateRange(array('required' => false, 'from_date' => new sfValidatorDate(array('required' => false)), 'to_date' => new sfValidatorDate(array('required' => false)))), 'flag' => new sfValidatorPass(array('required' => false)), 'token_session' => new sfValidatorPass(array('required' => false))));
     $this->widgetSchema->setNameFormat('user_sc_filters[%s]');
     $this->errorSchema = new sfValidatorErrorSchema($this->validatorSchema);
     parent::setup();
 }
开发者ID:BGCX067,项目名称:f51f90d623z487853496d9fba68cdf93-svn-to-git,代码行数:8,代码来源:BaseUserScFormFilter.class.php


示例6: setup

 public function setup()
 {
     $this->setWidgets(array('priority' => new sfWidgetFormFilterInput(array('with_empty' => false)), 'file_uri' => new sfWidgetFormFilterInput(), 'created' => new sfWidgetFormFilterDate(array('from_date' => new sfWidgetFormDate(), 'to_date' => new sfWidgetFormDate(), 'with_empty' => false)), 'started' => new sfWidgetFormFilterDate(array('from_date' => new sfWidgetFormDate(), 'to_date' => new sfWidgetFormDate())), 'finished1' => new sfWidgetFormFilterDate(array('from_date' => new sfWidgetFormDate(), 'to_date' => new sfWidgetFormDate())), 'started2' => new sfWidgetFormFilterDate(array('from_date' => new sfWidgetFormDate(), 'to_date' => new sfWidgetFormDate())), 'finished2' => new sfWidgetFormFilterDate(array('from_date' => new sfWidgetFormDate(), 'to_date' => new sfWidgetFormDate())), 'finished' => new sfWidgetFormFilterDate(array('from_date' => new sfWidgetFormDate(), 'to_date' => new sfWidgetFormDate())), 'status' => new sfWidgetFormFilterInput(), 'collection_name' => new sfWidgetFormFilterInput(), 'log' => new sfWidgetFormFilterInput(), 'external_key' => new sfWidgetFormFilterInput(), 'guid' => new sfWidgetFormFilterInput()));
     $this->setValidators(array('priority' => new sfValidatorSchemaFilter('text', new sfValidatorInteger(array('required' => false))), 'file_uri' => new sfValidatorPass(array('required' => false)), 'created' => new sfValidatorDateRange(array('required' => false, 'from_date' => new sfValidatorDate(array('required' => false)), 'to_date' => new sfValidatorDate(array('required' => false)))), 'started' => new sfValidatorDateRange(array('required' => false, 'from_date' => new sfValidatorDate(array('required' => false)), 'to_date' => new sfValidatorDate(array('required' => false)))), 'finished1' => new sfValidatorDateRange(array('required' => false, 'from_date' => new sfValidatorDate(array('required' => false)), 'to_date' => new sfValidatorDate(array('required' => false)))), 'started2' => new sfValidatorDateRange(array('required' => false, 'from_date' => new sfValidatorDate(array('required' => false)), 'to_date' => new sfValidatorDate(array('required' => false)))), 'finished2' => new sfValidatorDateRange(array('required' => false, 'from_date' => new sfValidatorDate(array('required' => false)), 'to_date' => new sfValidatorDate(array('required' => false)))), 'finished' => new sfValidatorDateRange(array('required' => false, 'from_date' => new sfValidatorDate(array('required' => false)), 'to_date' => new sfValidatorDate(array('required' => false)))), 'status' => new sfValidatorPass(array('required' => false)), 'collection_name' => new sfValidatorPass(array('required' => false)), 'log' => new sfValidatorPass(array('required' => false)), 'external_key' => new sfValidatorPass(array('required' => false)), 'guid' => new sfValidatorPass(array('required' => false))));
     $this->widgetSchema->setNameFormat('smafejob_addfile_filters[%s]');
     $this->errorSchema = new sfValidatorErrorSchema($this->validatorSchema);
     parent::setup();
 }
开发者ID:EQ4,项目名称:smint,代码行数:8,代码来源:BaseSmafejobAddfileFormFilter.class.php


示例7: setup

 public function setup()
 {
     $this->setWidgets(array('event_id' => new sfWidgetFormPropelChoice(array('model' => 'Event', 'add_empty' => true)), 'member_id' => new sfWidgetFormFilterInput(), 'reservation_date' => new sfWidgetFormFilterDate(array('from_date' => new sfWidgetFormDate(), 'to_date' => new sfWidgetFormDate(), 'with_empty' => true)), 'first_name' => new sfWidgetFormFilterInput(), 'last_name' => new sfWidgetFormFilterInput(), 'address' => new sfWidgetFormFilterInput(), 'city' => new sfWidgetFormFilterInput(), 'state' => new sfWidgetFormFilterInput(), 'zipcode' => new sfWidgetFormFilterInput(), 'phone' => new sfWidgetFormFilterInput(), 'email' => new sfWidgetFormFilterInput(), 'adult_guests' => new sfWidgetFormFilterInput(), 'child_guests' => new sfWidgetFormFilterInput(), 'guest_names' => new sfWidgetFormFilterInput(), 'amt_paid' => new sfWidgetFormFilterInput(), 'method_of_payment' => new sfWidgetFormFilterInput(), 'payment_date' => new sfWidgetFormFilterDate(array('from_date' => new sfWidgetFormDate(), 'to_date' => new sfWidgetFormDate(), 'with_empty' => true)), 'auth_number' => new sfWidgetFormFilterInput(), 'status' => new sfWidgetFormFilterInput(), 'comments' => new sfWidgetFormFilterInput(), 'collect_secure_info' => new sfWidgetFormFilterInput(), 'addl_info_fields' => new sfWidgetFormFilterInput(), 'novapointe_trans_id' => new sfWidgetFormFilterInput()));
     $this->setValidators(array('event_id' => new sfValidatorPropelChoice(array('required' => false, 'model' => 'Event', 'column' => 'id')), 'member_id' => new sfValidatorSchemaFilter('text', new sfValidatorInteger(array('required' => false))), 'reservation_date' => new sfValidatorDateRange(array('required' => false, 'from_date' => new sfValidatorDate(array('required' => false)), 'to_date' => new sfValidatorDate(array('required' => false)))), 'first_name' => new sfValidatorPass(array('required' => false)), 'last_name' => new sfValidatorPass(array('required' => false)), 'address' => new sfValidatorPass(array('required' => false)), 'city' => new sfValidatorPass(array('required' => false)), 'state' => new sfValidatorPass(array('required' => false)), 'zipcode' => new sfValidatorPass(array('required' => false)), 'phone' => new sfValidatorPass(array('required' => false)), 'email' => new sfValidatorPass(array('required' => false)), 'adult_guests' => new sfValidatorSchemaFilter('text', new sfValidatorInteger(array('required' => false))), 'child_guests' => new sfValidatorSchemaFilter('text', new sfValidatorInteger(array('required' => false))), 'guest_names' => new sfValidatorPass(array('required' => false)), 'amt_paid' => new sfValidatorSchemaFilter('text', new sfValidatorInteger(array('required' => false))), 'method_of_payment' => new sfValidatorPass(array('required' => false)), 'payment_date' => new sfValidatorDateRange(array('required' => false, 'from_date' => new sfValidatorDate(array('required' => false)), 'to_date' => new sfValidatorDate(array('required' => false)))), 'auth_number' => new sfValidatorPass(array('required' => false)), 'status' => new sfValidatorPass(array('required' => false)), 'comments' => new sfValidatorPass(array('required' => false)), 'collect_secure_info' => new sfValidatorSchemaFilter('text', new sfValidatorInteger(array('required' => false))), 'addl_info_fields' => new sfValidatorPass(array('required' => false)), 'novapointe_trans_id' => new sfValidatorPass(array('required' => false))));
     $this->widgetSchema->setNameFormat('event_reservation_filters[%s]');
     $this->errorSchema = new sfValidatorErrorSchema($this->validatorSchema);
     parent::setup();
 }
开发者ID:yasirgit,项目名称:afids,代码行数:8,代码来源:BaseEventReservationFormFilter.class.php


示例8: setup

 public function setup()
 {
     $this->setWidgets(array('nombre' => new sfWidgetFormFilterInput(), 'descripcion' => new sfWidgetFormFilterInput(), 'fk_adjunto_id' => new sfWidgetFormPropelChoice(array('model' => 'Adjunto', 'add_empty' => true)), 'fk_tipoinforme_id' => new sfWidgetFormPropelChoice(array('model' => 'Tipoinforme', 'add_empty' => true)), 'listado' => new sfWidgetFormChoice(array('choices' => array('' => 'yes or no', 1 => 'yes', 0 => 'no'))), 'variables' => new sfWidgetFormFilterInput()));
     $this->setValidators(array('nombre' => new sfValidatorPass(array('required' => false)), 'descripcion' => new sfValidatorPass(array('required' => false)), 'fk_adjunto_id' => new sfValidatorPropelChoice(array('required' => false, 'model' => 'Adjunto', 'column' => 'id')), 'fk_tipoinforme_id' => new sfValidatorPropelChoice(array('required' => false, 'model' => 'Tipoinforme', 'column' => 'id')), 'listado' => new sfValidatorChoice(array('required' => false, 'choices' => array('', 1, 0))), 'variables' => new sfValidatorPass(array('required' => false))));
     $this->widgetSchema->setNameFormat('informe_filters[%s]');
     $this->errorSchema = new sfValidatorErrorSchema($this->validatorSchema);
     parent::setup();
 }
开发者ID:mediasadc,项目名称:alba,代码行数:8,代码来源:BaseInformeFormFilter.class.php


示例9: setup

 public function setup()
 {
     $this->setWidgets(array('formacion' => new sfWidgetFormFilterInput(), 'presentacion' => new sfWidgetFormFilterInput(), 'bio' => new sfWidgetFormFilterInput()));
     $this->setValidators(array('formacion' => new sfValidatorPass(array('required' => false)), 'presentacion' => new sfValidatorPass(array('required' => false)), 'bio' => new sfValidatorPass(array('required' => false))));
     $this->widgetSchema->setNameFormat('politico_i18n_filters[%s]');
     $this->errorSchema = new sfValidatorErrorSchema($this->validatorSchema);
     parent::setup();
 }
开发者ID:voota,项目名称:voota,代码行数:8,代码来源:BasePoliticoI18nFormFilter.class.php


示例10: setup

 public function setup()
 {
     $this->setWidgets(array('nombre' => new sfWidgetFormFilterInput(array('with_empty' => false)), 'direccion' => new sfWidgetFormFilterInput(array('with_empty' => false)), 'correo_eletronico' => new sfWidgetFormFilterInput(array('with_empty' => false)), 'nombre_contacto' => new sfWidgetFormFilterInput(), 'telefono' => new sfWidgetFormFilterInput(array('with_empty' => false)), 'ciudad' => new sfWidgetFormFilterInput(), 'observacion' => new sfWidgetFormFilterInput(), 'nit' => new sfWidgetFormFilterInput(), 'razon_social' => new sfWidgetFormFilterInput(), 'contacto' => new sfWidgetFormFilterInput(), 'referencia' => new sfWidgetFormFilterInput(), 'correo' => new sfWidgetFormFilterInput()));
     $this->setValidators(array('nombre' => new sfValidatorPass(array('required' => false)), 'direccion' => new sfValidatorPass(array('required' => false)), 'correo_eletronico' => new sfValidatorPass(array('required' => false)), 'nombre_contacto' => new sfValidatorPass(array('required' => false)), 'telefono' => new sfValidatorPass(array('required' => false)), 'ciudad' => new sfValidatorPass(array('required' => false)), 'observacion' => new sfValidatorPass(array('required' => false)), 'nit' => new sfValidatorPass(array('required' => false)), 'razon_social' => new sfValidatorPass(array('required' => false)), 'contacto' => new sfValidatorPass(array('required' => false)), 'referencia' => new sfValidatorPass(array('required' => false)), 'correo' => new sfValidatorPass(array('required' => false))));
     $this->widgetSchema->setNameFormat('proveedor_filters[%s]');
     $this->errorSchema = new sfValidatorErrorSchema($this->validatorSchema);
     parent::setup();
 }
开发者ID:kcornejo,项目名称:usac,代码行数:8,代码来源:BaseProveedorFormFilter.class.php


示例11: setup

 public function setup()
 {
     $this->setWidgets(array('email' => new sfWidgetFormFilterInput(array('with_empty' => false))));
     $this->setValidators(array('email' => new sfValidatorPass(array('required' => false))));
     $this->widgetSchema->setNameFormat('pc_plancake_email_address_filters[%s]');
     $this->errorSchema = new sfValidatorErrorSchema($this->validatorSchema);
     parent::setup();
 }
开发者ID:ntemple,项目名称:intelli-plancake,代码行数:8,代码来源:BasePcPlancakeEmailAddressFormFilter.class.php


示例12: setup

 public function setup()
 {
     $this->setWidgets(array('news_item' => new sfWidgetFormFilterInput(), 'item_date' => new sfWidgetFormFilterDate(array('from_date' => new sfWidgetFormDate(), 'to_date' => new sfWidgetFormDate(), 'with_empty' => true)), 'expire_date' => new sfWidgetFormFilterDate(array('from_date' => new sfWidgetFormDate(), 'to_date' => new sfWidgetFormDate(), 'with_empty' => true)), 'archive_date' => new sfWidgetFormFilterDate(array('from_date' => new sfWidgetFormDate(), 'to_date' => new sfWidgetFormDate(), 'with_empty' => true)), 'headline' => new sfWidgetFormFilterInput(), 'author' => new sfWidgetFormFilterInput(), 'wing_list' => new sfWidgetFormFilterInput(), 'contact_name' => new sfWidgetFormFilterInput(), 'contact_email' => new sfWidgetFormFilterInput(), 'news_body' => new sfWidgetFormFilterInput(), 'short_description' => new sfWidgetFormFilterInput(), 'priority' => new sfWidgetFormFilterInput()));
     $this->setValidators(array('news_item' => new sfValidatorSchemaFilter('text', new sfValidatorInteger(array('required' => false))), 'item_date' => new sfValidatorDateRange(array('required' => false, 'from_date' => new sfValidatorDate(array('required' => false)), 'to_date' => new sfValidatorDate(array('required' => false)))), 'expire_date' => new sfValidatorDateRange(array('required' => false, 'from_date' => new sfValidatorDate(array('required' => false)), 'to_date' => new sfValidatorDate(array('required' => false)))), 'archive_date' => new sfValidatorDateRange(array('required' => false, 'from_date' => new sfValidatorDate(array('required' => false)), 'to_date' => new sfValidatorDate(array('required' => false)))), 'headline' => new sfValidatorPass(array('required' => false)), 'author' => new sfValidatorPass(array('required' => false)), 'wing_list' => new sfValidatorPass(array('required' => false)), 'contact_name' => new sfValidatorPass(array('required' => false)), 'contact_email' => new sfValidatorPass(array('required' => false)), 'news_body' => new sfValidatorPass(array('required' => false)), 'short_description' => new sfValidatorPass(array('required' => false)), 'priority' => new sfValidatorSchemaFilter('text', new sfValidatorInteger(array('required' => false)))));
     $this->widgetSchema->setNameFormat('web_site_news_filters[%s]');
     $this->errorSchema = new sfValidatorErrorSchema($this->validatorSchema);
     parent::setup();
 }
开发者ID:yasirgit,项目名称:afids,代码行数:8,代码来源:BaseWebSiteNewsFormFilter.class.php


示例13: setup

 public function setup()
 {
     $this->setWidgets(array('passID' => new sfWidgetFormFilterInput(), 'passName' => new sfWidgetFormFilterInput(), 'passLastName' => new sfWidgetFormFilterInput(), 'passFirstName' => new sfWidgetFormFilterInput(), 'weight' => new sfWidgetFormFilterInput(), 'passDayPhone' => new sfWidgetFormFilterInput(), 'passEvePhone' => new sfWidgetFormFilterInput(), 'passMobilePhone' => new sfWidgetFormFilterInput(), 'passPagerPhone' => new sfWidgetFormFilterInput(), 'passOtherPhone' => new sfWidgetFormFilterInput(), 'passFaxPhone' => new sfWidgetFormFilterInput(), 'passDayComment' => new sfWidgetFormFilterInput(), 'passEveComment' => new sfWidgetFormFilterInput(), 'passMobileComment' => new sfWidgetFormFilterInput(), 'passPagerComment' => new sfWidgetFormFilterInput(), 'passOtherComment' => new sfWidgetFormFilterInput(), 'passFaxComment' => new sfWidgetFormFilterInput(), 'reqName' => new sfWidgetFormFilterInput(), 'reqFirstName' => new sfWidgetFormFilterInput(), 'reqLastName' => new sfWidgetFormFilterInput(), 'reqDayPhone' => new sfWidgetFormFilterInput(), 'reqEvePhone' => new sfWidgetFormFilterInput(), 'reqMobilePhone' => new sfWidgetFormFilterInput(), 'reqPagerPhone' => new sfWidgetFormFilterInput(), 'reqOtherPhone' => new sfWidgetFormFilterInput(), 'reqFaxPhone' => new sfWidgetFormFilterInput(), 'reqDayComment' => new sfWidgetFormFilterInput(), 'reqEveComment' => new sfWidgetFormFilterInput(), 'reqMobileComment' => new sfWidgetFormFilterInput(), 'reqPagerComment' => new sfWidgetFormFilterInput(), 'reqOtherComment' => new sfWidgetFormFilterInput(), 'reqFaxComment' => new sfWidgetFormFilterInput(), 'campName' => new sfWidgetFormFilterInput(), 'campPhone' => new sfWidgetFormFilterInput(), 'pilotName' => new sfWidgetFormFilterInput(), 'pilotFirstName' => new sfWidgetFormFilterInput(), 'pilotLastName' => new sfWidgetFormFilterInput(), 'pilotMemberID' => new sfWidgetFormFilterInput(), 'pilotDayPhone' => new sfWidgetFormFilterInput(), 'pilotEvePhone' => new sfWidgetFormFilterInput(), 'pilotMobilePhone' => new sfWidgetFormFilterInput(), 'pilotOtherPhone' => new sfWidgetFormFilterInput(), 'pilotPagerPhone' => new sfWidgetFormFilterInput(), 'pilotFaxPhone' => new sfWidgetFormFilterInput(), 'homeBase' => new sfWidgetFormFilterInput(), 'pilotDayComment' => new sfWidgetFormFilterInput(), 'pilotEveComment' => new sfWidgetFormFilterInput(), 'pilotMobileComment' => new sfWidgetFormFilterInput(), 'pilotPagerComment' => new sfWidgetFormFilterInput(), 'pilotOtherComment' => new sfWidgetFormFilterInput(), 'pilotFaxComment' => new sfWidgetFormFilterInput(), 'pilotEmail' => new sfWidgetFormFilterInput(), 'ifr' => new sfWidgetFormFilterInput(), 'toAirportName' => new sfWidgetFormFilterInput(), 'toAirportIdent' => new sfWidgetFormFilterInput(), 'fromAirportName' => new sfWidgetFormFilterInput(), 'fromAirportIdent' => new sfWidgetFormFilterInput(), 'missionID' => new sfWidgetFormFilterInput(), 'missionSelectDate' => new sfWidgetFormFilterDate(array('from_date' => new sfWidgetFormDate(), 'to_date' => new sfWidgetFormDate(), 'with_empty' => true)), 'missionDate' => new sfWidgetFormFilterInput(), 'medicalReleaseReceived' => new sfWidgetFormFilterInput(), 'waiverReceived' => new sfWidgetFormFilterInput(), 'private_c_note' => new sfWidgetFormFilterInput(), 'cancelled' => new sfWidgetFormFilterInput(), 'n_number' => new sfWidgetFormFilterInput(), 'make' => new sfWidgetFormFilterInput(), 'model' => new sfWidgetFormFilterInput()));
     $this->setValidators(array('passID' => new sfValidatorSchemaFilter('text', new sfValidatorInteger(array('required' => false))), 'passName' => new sfValidatorPass(array('required' => false)), 'passLastName' => new sfValidatorPass(array('required' => false)), 'passFirstName' => new sfValidatorPass(array('required' => false)), 'weight' => new sfValidatorSchemaFilter('text', new sfValidatorInteger(array('required' => false))), 'passDayPhone' => new sfValidatorPass(array('required' => false)), 'passEvePhone' => new sfValidatorPass(array('required' => false)), 'passMobilePhone' => new sfValidatorPass(array('required' => false)), 'passPagerPhone' => new sfValidatorPass(array('required' => false)), 'passOtherPhone' => new sfValidatorPass(array('required' => false)), 'passFaxPhone' => new sfValidatorPass(array('required' => false)), 'passDayComment' => new sfValidatorPass(array('required' => false)), 'passEveComment' => new sfValidatorPass(array('required' => false)), 'passMobileComment' => new sfValidatorPass(array('required' => false)), 'passPagerComment' => new sfValidatorPass(array('required' => false)), 'passOtherComment' => new sfValidatorPass(array('required' => false)), 'passFaxComment' => new sfValidatorPass(array('required' => false)), 'reqName' => new sfValidatorPass(array('required' => false)), 'reqFirstName' => new sfValidatorPass(array('required' => false)), 'reqLastName' => new sfValidatorPass(array('required' => false)), 'reqDayPhone' => new sfValidatorPass(array('required' => false)), 'reqEvePhone' => new sfValidatorPass(array('required' => false)), 'reqMobilePhone' => new sfValidatorPass(array('required' => false)), 'reqPagerPhone' => new sfValidatorPass(array('required' => false)), 'reqOtherPhone' => new sfValidatorPass(array('required' => false)), 'reqFaxPhone' => new sfValidatorPass(array('required' => false)), 'reqDayComment' => new sfValidatorPass(array('required' => false)), 'reqEveComment' => new sfValidatorPass(array('required' => false)), 'reqMobileComment' => new sfValidatorPass(array('required' => false)), 'reqPagerComment' => new sfValidatorPass(array('required' => false)), 'reqOtherComment' => new sfValidatorPass(array('required' => false)), 'reqFaxComment' => new sfValidatorPass(array('required' => false)), 'campName' => new sfValidatorPass(array('required' => false)), 'campPhone' => new sfValidatorPass(array('required' => false)), 'pilotName' => new sfValidatorPass(array('required' => false)), 'pilotFirstName' => new sfValidatorPass(array('required' => false)), 'pilotLastName' => new sfValidatorPass(array('required' => false)), 'pilotMemberID' => new sfValidatorSchemaFilter('text', new sfValidatorInteger(array('required' => false))), 'pilotDayPhone' => new sfValidatorPass(array('required' => false)), 'pilotEvePhone' => new sfValidatorPass(array('required' => false)), 'pilotMobilePhone' => new sfValidatorPass(array('required' => false)), 'pilotOtherPhone' => new sfValidatorPass(array('required' => false)), 'pilotPagerPhone' => new sfValidatorPass(array('required' => false)), 'pilotFaxPhone' => new sfValidatorPass(array('required' => false)), 'homeBase' => new sfValidatorPass(array('required' => false)), 'pilotDayComment' => new sfValidatorPass(array('required' => false)), 'pilotEveComment' => new sfValidatorPass(array('required' => false)), 'pilotMobileComment' => new sfValidatorPass(array('required' => false)), 'pilotPagerComment' => new sfValidatorPass(array('required' => false)), 'pilotOtherComment' => new sfValidatorPass(array('required' => false)), 'pilotFaxComment' => new sfValidatorPass(array('required' => false)), 'pilotEmail' => new sfValidatorPass(array('required' => false)), 'ifr' => new sfValidatorSchemaFilter('text', new sfValidatorInteger(array('required' => false))), 'toAirportName' => new sfValidatorPass(array('required' => false)), 'toAirportIdent' => new sfValidatorPass(array('required' => false)), 'fromAirportName' => new sfValidatorPass(array('required' => false)), 'fromAirportIdent' => new sfValidatorPass(array('required' => false)), 'missionID' => new sfValidatorSchemaFilter('text', new sfValidatorInteger(array('required' => false))), 'missionSelectDate' => new sfValidatorDateRange(array('required' => false, 'from_date' => new sfValidatorDate(array('required' => false)), 'to_date' => new sfValidatorDate(array('required' => false)))), 'missionDate' => new sfValidatorPass(array('required' => false)), 'medicalReleaseReceived' => new sfValidatorPass(array('required' => false)), 'waiverReceived' => new sfValidatorPass(array('required' => false)), 'private_c_note' => new sfValidatorPass(array('required' => false)), 'cancelled' => new sfValidatorPass(array('required' => false)), 'n_number' => new sfValidatorPass(array('required' => false)), 'make' => new sfValidatorPass(array('required' => false)), 'model' => new sfValidatorPass(array('required' => false))));
     $this->widgetSchema->setNameFormat('rp_camp_passengers_filters[%s]');
     $this->errorSchema = new sfValidatorErrorSchema($this->validatorSchema);
     parent::setup();
 }
开发者ID:yasirgit,项目名称:afids,代码行数:8,代码来源:BaseRpCampPassengersFormFilter.class.php


示例14: setup

 public function setup()
 {
     $this->setWidgets(array('submit_ip' => new sfWidgetFormFilterInput(), 'twitter_id' => new sfWidgetFormFilterInput(), 'twitter_screen_name' => new sfWidgetFormFilterInput(array('with_empty' => false)), 'twitter_name' => new sfWidgetFormFilterInput(), 'twitter_protected' => new sfWidgetFormChoice(array('choices' => array('' => 'yes or no', 1 => 'yes', 0 => 'no'))), 'twitter_followers' => new sfWidgetFormFilterInput(), 'twitter_tweets' => new sfWidgetFormFilterInput(), 'twitter_friends' => new sfWidgetFormFilterInput(), 'twitter_verified' => new sfWidgetFormChoice(array('choices' => array('' => 'yes or no', 1 => 'yes', 0 => 'no'))), 'twitter_description' => new sfWidgetFormFilterInput(), 'image_url' => new sfWidgetFormFilterInput(), 'latest_tweet' => new sfWidgetFormFilterInput(), 'display' => new sfWidgetFormChoice(array('choices' => array('' => 'yes or no', 1 => 'yes', 0 => 'no'))), 'created_at' => new sfWidgetFormFilterDate(array('from_date' => new sfWidgetFormDate(), 'to_date' => new sfWidgetFormDate())), 'updated_at' => new sfWidgetFormFilterDate(array('from_date' => new sfWidgetFormDate(), 'to_date' => new sfWidgetFormDate()))));
     $this->setValidators(array('submit_ip' => new sfValidatorPass(array('required' => false)), 'twitter_id' => new sfValidatorPass(array('required' => false)), 'twitter_screen_name' => new sfValidatorPass(array('required' => false)), 'twitter_name' => new sfValidatorPass(array('required' => false)), 'twitter_protected' => new sfValidatorChoice(array('required' => false, 'choices' => array('', 1, 0))), 'twitter_followers' => new sfValidatorSchemaFilter('text', new sfValidatorInteger(array('required' => false))), 'twitter_tweets' => new sfValidatorSchemaFilter('text', new sfValidatorInteger(array('required' => false))), 'twitter_friends' => new sfValidatorSchemaFilter('text', new sfValidatorInteger(array('required' => false))), 'twitter_verified' => new sfValidatorChoice(array('required' => false, 'choices' => array('', 1, 0))), 'twitter_description' => new sfValidatorPass(array('required' => false)), 'image_url' => new sfValidatorPass(array('required' => false)), 'latest_tweet' => new sfValidatorPass(array('required' => false)), 'display' => new sfValidatorChoice(array('required' => false, 'choices' => array('', 1, 0))), 'created_at' => new sfValidatorDateRange(array('required' => false, 'from_date' => new sfValidatorDate(array('required' => false)), 'to_date' => new sfValidatorDate(array('required' => false)))), 'updated_at' => new sfValidatorDateRange(array('required' => false, 'from_date' => new sfValidatorDate(array('required' => false)), 'to_date' => new sfValidatorDate(array('required' => false))))));
     $this->widgetSchema->setNameFormat('douche_filters[%s]');
     $this->errorSchema = new sfValidatorErrorSchema($this->validatorSchema);
     parent::setup();
 }
开发者ID:robv,项目名称:Douche-Crunch,代码行数:8,代码来源:BaseDoucheFormFilter.class.php


示例15: setup

 public function setup()
 {
     $this->setWidgets(array('perfil_id' => new sfWidgetFormPropelChoice(array('model' => 'Perfil', 'add_empty' => true)), 'estadosevaluaciones_id' => new sfWidgetFormPropelChoice(array('model' => 'Estadosevaluaciones', 'add_empty' => true)), 'cantidad' => new sfWidgetFormFilterInput(), 'nombre' => new sfWidgetFormFilterInput(array('with_empty' => false)), 'created_at' => new sfWidgetFormFilterDate(array('from_date' => new sfWidgetFormDate(), 'to_date' => new sfWidgetFormDate()))));
     $this->setValidators(array('perfil_id' => new sfValidatorPropelChoice(array('required' => false, 'model' => 'Perfil', 'column' => 'id')), 'estadosevaluaciones_id' => new sfValidatorPropelChoice(array('required' => false, 'model' => 'Estadosevaluaciones', 'column' => 'id')), 'cantidad' => new sfValidatorSchemaFilter('text', new sfValidatorInteger(array('required' => false))), 'nombre' => new sfValidatorPass(array('required' => false)), 'created_at' => new sfValidatorDateRange(array('required' => false, 'from_date' => new sfValidatorDate(array('required' => false)), 'to_date' => new sfValidatorDate(array('required' => false))))));
     $this->widgetSchema->setNameFormat('evaluaciones_filters[%s]');
     $this->errorSchema = new sfValidatorErrorSchema($this->validatorSchema);
     parent::setup();
 }
开发者ID:qwerfaqs,项目名称:psicotest,代码行数:8,代码来源:BaseEvaluacionesFormFilter.class.php


示例16: setup

 public function setup()
 {
     $this->setWidgets(array('number_of_tries' => new sfWidgetFormFilterInput(array('with_empty' => false)), 'number_of_successes' => new sfWidgetFormFilterInput(array('with_empty' => false)), 'updated_at' => new sfWidgetFormFilterDate(array('from_date' => new sfWidgetFormDate(), 'to_date' => new sfWidgetFormDate(), 'with_empty' => false))));
     $this->setValidators(array('number_of_tries' => new sfValidatorSchemaFilter('text', new sfValidatorInteger(array('required' => false))), 'number_of_successes' => new sfValidatorSchemaFilter('text', new sfValidatorInteger(array('required' => false))), 'updated_at' => new sfValidatorDateRange(array('required' => false, 'from_date' => new sfValidatorDate(array('required' => false)), 'to_date' => new sfValidatorDate(array('required' => false))))));
     $this->widgetSchema->setNameFormat('pc_split_test_result_filters[%s]');
     $this->errorSchema = new sfValidatorErrorSchema($this->validatorSchema);
     parent::setup();
 }
开发者ID:ntemple,项目名称:intelli-plancake,代码行数:8,代码来源:BasePcSplitTestResultFormFilter.class.php


示例17: setup

 public function setup()
 {
     $this->setWidgets(array('parent_id' => new sfWidgetFormFilterInput(), 'name' => new sfWidgetFormFilterInput(), 'announce' => new sfWidgetFormFilterInput(), 'text' => new sfWidgetFormFilterInput(), 'ord' => new sfWidgetFormFilterInput(), 'url' => new sfWidgetFormFilterInput(), 'is_active' => new sfWidgetFormChoice(array('choices' => array('' => 'yes or no', 1 => 'yes', 0 => 'no'))), 'created_at' => new sfWidgetFormFilterDate(array('from_date' => new sfWidgetFormDate(), 'to_date' => new sfWidgetFormDate(), 'with_empty' => true))));
     $this->setValidators(array('parent_id' => new sfValidatorSchemaFilter('text', new sfValidatorInteger(array('required' => false))), 'name' => new sfValidatorPass(array('required' => false)), 'announce' => new sfValidatorPass(array('required' => false)), 'text' => new sfValidatorPass(array('required' => false)), 'ord' => new sfValidatorSchemaFilter('text', new sfValidatorInteger(array('required' => false))), 'url' => new sfValidatorPass(array('required' => false)), 'is_active' => new sfValidatorChoice(array('required' => false, 'choices' => array('', 1, 0))), 'created_at' => new sfValidatorDateRange(array('required' => false, 'from_date' => new sfValidatorDate(array('required' => false)), 'to_date' => new sfValidatorDate(array('required' => false))))));
     $this->widgetSchema->setNameFormat('menu_filters[%s]');
     $this->errorSchema = new sfValidatorErrorSchema($this->validatorSchema);
     parent::setup();
 }
开发者ID:serg-smirnoff,项目名称:symfony-pposter,代码行数:8,代码来源:BaseMenuFormFilter.class.php


示例18: setup

 public function setup()
 {
     $this->setWidgets(array('department_id' => new sfWidgetFormPropelChoice(array('model' => 'Department', 'add_empty' => true)), 'designation_id' => new sfWidgetFormPropelChoice(array('model' => 'Designation', 'add_empty' => true)), 'role_id' => new sfWidgetFormPropelChoice(array('model' => 'Role', 'add_empty' => true)), 'emp_category' => new sfWidgetFormFilterInput(), 'name' => new sfWidgetFormFilterInput(), 'cnic' => new sfWidgetFormFilterInput(), 'dob' => new sfWidgetFormFilterDate(array('from_date' => new sfWidgetFormDate(), 'to_date' => new sfWidgetFormDate(), 'with_empty' => true)), 'gender' => new sfWidgetFormFilterInput(), 'mail_address' => new sfWidgetFormFilterInput(), 'contact_res' => new sfWidgetFormFilterInput(), 'contact_cell' => new sfWidgetFormFilterInput(), 'contact_off' => new sfWidgetFormFilterInput(), 'emergency_contact' => new sfWidgetFormFilterInput(), 'employment_date' => new sfWidgetFormFilterDate(array('from_date' => new sfWidgetFormDate(), 'to_date' => new sfWidgetFormDate(), 'with_empty' => true)), 'local_resident' => new sfWidgetFormFilterInput(), 'qualification' => new sfWidgetFormFilterInput(), 'visit_fee' => new sfWidgetFormFilterInput(), 'status' => new sfWidgetFormFilterInput(), 'created_at' => new sfWidgetFormFilterDate(array('from_date' => new sfWidgetFormDate(), 'to_date' => new sfWidgetFormDate(), 'with_empty' => true)), 'updated_at' => new sfWidgetFormFilterDate(array('from_date' => new sfWidgetFormDate(), 'to_date' => new sfWidgetFormDate(), 'with_empty' => true))));
     $this->setValidators(array('department_id' => new sfValidatorPropelChoice(array('required' => false, 'model' => 'Department', 'column' => 'id')), 'designation_id' => new sfValidatorPropelChoice(array('required' => false, 'model' => 'Designation', 'column' => 'id')), 'role_id' => new sfValidatorPropelChoice(array('required' => false, 'model' => 'Role', 'column' => 'id')), 'emp_category' => new sfValidatorPass(array('required' => false)), 'name' => new sfValidatorPass(array('required' => false)), 'cnic' => new sfValidatorPass(array('required' => false)), 'dob' => new sfValidatorDateRange(array('required' => false, 'from_date' => new sfValidatorDate(array('required' => false)), 'to_date' => new sfValidatorDate(array('required' => false)))), 'gender' => new sfValidatorPass(array('required' => false)), 'mail_address' => new sfValidatorPass(array('required' => false)), 'contact_res' => new sfValidatorPass(array('required' => false)), 'contact_cell' => new sfValidatorPass(array('required' => false)), 'contact_off' => new sfValidatorPass(array('required' => false)), 'emergency_contact' => new sfValidatorPass(array('required' => false)), 'employment_date' => new sfValidatorDateRange(array('requir 

鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
PHP BaseFormPropel类代码示例发布时间:2022-05-23
下一篇:
PHP BaseFormFilterDoctrine类代码示例发布时间:2022-05-23
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap