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

PHP BaseFormPropel类代码示例

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

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



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

示例1: doSave

 protected function doSave($con = null)
 {
     parent::doSave($con);
     $this->saveSubcategoriesHasEntitatsList($con);
     $this->saveSubcategoriesHasFitxersList($con);
     $this->saveSubcategoriesHasProjectesList($con);
 }
开发者ID:nagiro,项目名称:intra,代码行数:7,代码来源:BaseSubcategoriesForm.class.php


示例2: doSave

 protected function doSave($con = null)
 {
     parent::doSave($con);
     $this->saveUsergroupHasChiefList($con);
     $this->saveUsergroupHasUserList($con);
     $this->saveUsergroupHasActivityList($con);
 }
开发者ID:jfesquet,项目名称:tempos,代码行数:7,代码来源:BaseUsergroupForm.class.php


示例3: doSave

 protected function doSave($con = null)
 {
     parent::doSave($con);
     $this->saveRoomHasActivityList($con);
     $this->saveUsergroupHasActivityList($con);
     $this->saveActivityHasFeatureList($con);
 }
开发者ID:jfesquet,项目名称:tempos,代码行数:7,代码来源:BaseActivityForm.class.php


示例4: doSave

 protected function doSave($con = null)
 {
     parent::doSave($con);
     $this->saveProjectesHasAgendaactivitatsList($con);
     $this->saveProjectesHasBlogarticlesList($con);
     $this->saveSubcategoriesHasProjectesList($con);
 }
开发者ID:nagiro,项目名称:intra,代码行数:7,代码来源:BaseProjectesForm.class.php


示例5: doSave

 protected function doSave($con = null)
 {
     parent::doSave($con);
     $this->saveRolePermissionBackupList($con);
     $this->saveEmailListRoleList($con);
     $this->savePersonRoleList($con);
 }
开发者ID:yasirgit,项目名称:afids,代码行数:7,代码来源:BaseRoleForm.class.php


示例6: doSave

 protected function doSave($con = null)
 {
     parent::doSave($con);
     $this->saveProductHasPhotoList($con);
     $this->saveProductHasProductCategoryList($con);
     $this->saveProductHasSaleList($con);
 }
开发者ID:AlexandrKozyr,项目名称:justcode_test,代码行数:7,代码来源:BaseProductForm.class.php


示例7: doSave

 protected function doSave($con = null)
 {
     parent::doSave($con);
     $this->saveEtiquetaPoliticoList($con);
     $this->saveEtiquetaPartidoList($con);
     $this->saveEtiquetaPropuestaList($con);
 }
开发者ID:voota,项目名称:voota,代码行数:7,代码来源:BaseEtiquetaForm.class.php


示例8: doSave

 protected function doSave($con = null)
 {
     parent::doSave($con);
     $this->savePoliticoListaList($con);
     $this->saveEtiquetaPoliticoList($con);
     $this->savePoliticoInstitucionList($con);
 }
开发者ID:voota,项目名称:voota,代码行数:7,代码来源:BasePoliticoForm.class.php


示例9: doSave

 protected function doSave($con = null)
 {
     parent::doSave($con);
     $this->savePcUsersListsList($con);
     $this->savePcSplitTestUserResultList($con);
     $this->savePcDirtyTaskList($con);
 }
开发者ID:ntemple,项目名称:intelli-plancake,代码行数:7,代码来源:BasePcUserForm.class.php


示例10: setup

 public function setup()
 {
     $this->setWidgets(array('id' => new sfWidgetFormInputHidden(), 'meta_id' => new sfWidgetFormPropelChoice(array('model' => 'Meta', 'add_empty' => true)), 'name' => new sfWidgetFormInput(), 'is_active' => new sfWidgetFormInputCheckbox(), 'created_at' => new sfWidgetFormDateTime()));
     $this->setValidators(array('id' => new sfValidatorPropelChoice(array('model' => 'Authors', 'column' => 'id', 'required' => false)), 'meta_id' => new sfValidatorPropelChoice(array('model' => 'Meta', 'column' => 'id', 'required' => false)), 'name' => new sfValidatorString(array('max_length' => 255)), 'is_active' => new sfValidatorBoolean(), 'created_at' => new sfValidatorDateTime(array('required' => false))));
     $this->widgetSchema->setNameFormat('authors[%s]');
     $this->errorSchema = new sfValidatorErrorSchema($this->validatorSchema);
     parent::setup();
 }
开发者ID:serg-smirnoff,项目名称:symfony-pposter,代码行数:8,代码来源:BaseAuthorsForm.class.php


示例11: setup

 public function setup()
 {
     $this->setWidgets(array('id' => new sfWidgetFormInputHidden(), 'requester_id' => new sfWidgetFormInput(), 'requester_date' => new sfWidgetFormDateTime(), 'request_by' => new sfWidgetFormInput(), 'on_behalf' => new sfWidgetFormInput(), 'appt_date' => new sfWidgetFormDateTime(), 'mission_date' => new sfWidgetFormDateTime(), 'return_date' => new sfWidgetFormDateTime(), 'baggage_weight' => new sfWidgetFormInput(), 'baggage_desc' => new sfWidgetFormInput(), 'pass_title' => new sfWidgetFormInput(), 'pass_first_name' => new sfWidgetFormInput(), 'pass_last_name' => new sfWidgetFormInput(), 'pass_address1' => new sfWidgetFormInput(), 'pass_address2' => new sfWidgetFormInput(), 'pass_city' => new sfWidgetFormInput(), 'pass_county' => new sfWidgetFormInput(), 'pass_state' => new sfWidgetFormInput(), 'pass_country' => new sfWidgetFormInput(), 'pass_zipcode' => new sfWidgetFormInput(), 'pass_day_phone' => new sfWidgetFormInput(), 'pass_day_comment' => new sfWidgetFormInput(), 'pass_eve_phone' => new sfWidgetFormInput(), 'pass_eve_comment' => new sfWidgetFormInput(), 'pass_mobile_phone' => new sfWidgetFormInput(), 'pass_mobile_comment' => new sfWidgetFormInput(), 'pass_pager_phone' => new sfWidgetFormInput(), 'pass_pager_comment' => new sfWidgetFormInput(), 'pass_other_phone' => new sfWidgetFormInput(), 'pass_other_comment' => new sfWidgetFormInput(), 'pass_email' => new sfWidgetFormInput(), 'pass_date_of_birth' => new sfWidgetFormDateTime(), 'illness' => new sfWidgetFormInput(), 'financial' => new sfWidgetFormInput(), 'pass_weight' => new sfWidgetFormInput(), 'releasing_physician' => new sfWidgetFormInput(), 'release_phone' => new sfWidgetFormInput(), 'release_phone_comment' => new sfWidgetFormInput(), 'release_fax' => new sfWidgetFormInput(), 'release_fax_comment' => new sfWidgetFormInput(), 'release_email' => new sfWidgetFormInput(), 'treating_physician' => new sfWidgetFormInput(), 'treating_phone' => new sfWidgetFormInput(), 'treating_phone_comment' => new sfWidgetFormInput(), 'treating_fax' => new sfWidgetFormInput(), 'treating_fax_comment' => new sfWidgetFormInput(), 'req_title' => new sfWidgetFormInput(), 'req_first_name' => new sfWidgetFormInput(), 'req_last_name' => new sfWidgetFormInput(), 'agency_name' => new sfWidgetFormInput(), 'req_address1' => new sfWidgetFormInput(), 'req_address2' => new sfWidgetFormInput(), 'req_city' => new sfWidgetFormInput(), 'req_county' => new sfWidgetFormInput(), 'req_state' => new sfWidgetFormInput(), 'req_country' => new sfWidgetFormInput(), 'req_zipcode' => new sfWidgetFormInput(), 'req_day_phone' => new sfWidgetFormInput(), 'req_day_comment' => new sfWidgetFormInput(), 'req_eve_phone' => new sfWidgetFormInput(), 'req_eve_comment' => new sfWidgetFormInput(), 'req_mobile_phone' => new sfWidgetFormInput(), 'req_mobile_comment' => new sfWidgetFormInput(), 'req_pager_phone' => new sfWidgetFormInput(), 'req_pager_comment' => new sfWidgetFormInput(), 'req_other_phone' => new sfWidgetFormInput(), 'req_other_comment' => new sfWidgetFormInput(), 'req_email' => new sfWidgetFormInput(), 'req_secondary_email' => new sfWidgetFormInput(), 'req_pager_email' => new sfWidgetFormInput(), 'req_position' => new sfWidgetFormInput(), 'req_discharge' => new sfWidgetFormInput(), 'orgin_ident' => new sfWidgetFormInput(), 'orgin_id' => new sfWidgetFormInput(), 'orgin_city' => new sfWidgetFormInput(), 'orgin_state' => new sfWidgetFormInput(), 'orgin_zipcode' => new sfWidgetFormInput(), 'dest_ident' => new sfWidgetFormInput(), 'dest_id' => new sfWidgetFormInput(), 'dest_city' => new sfWidgetFormInput(), 'dest_state' => new sfWidgetFormInput(), 'dest_zipcode' => new sfWidgetFormInput(), 'com1_name' => new sfWidgetFormInput(), 'com1_relationship' => new sfWidgetFormInput(), 'com1_date_of_birth' => new sfWidgetFormDateTime(), 'com1_weigth' => new sfWidgetFormInput(), 'com1_phone' => new sfWidgetFormInput(), 'com1_comment' => new sfWidgetFormInput(), 'com2_name' => new sfWidgetFormInput(), 'com2_relationship' => new sfWidgetFormInput(), 'com2_date_of_birth' => new sfWidgetFormDateTime(), 'com2_weigth' => new sfWidgetFormInput(), 'com2_phone' => new sfWidgetFormInput(), 'com2_comment' => new sfWidgetFormInput(), 'com3_name' => new sfWidgetFormInput(), 'com3_relationship' => new sfWidgetFormInput(), 'com3_date_of_birth' => new sfWidgetFormDateTime(), 'com3_weigth' => new sfWidgetFormInput(), 'com3_phone' => new sfWidgetFormInput(), 'com3_comment' => new sfWidgetFormInput(), 'com4_name' => new sfWidgetFormInput(), 'com4_relationship' => new sfWidgetFormInput(), 'com4_date_of_birth' => new sfWidgetFormDateTime(), 'com4_weigth' => new sfWidgetFormInput(), 'com4_phone' => new sfWidgetFormInput(), 'com4_comment' => new sfWidgetFormInput(), 'com5_name' => new sfWidgetFormInput(), 'com5_relationship' => new sfWidgetFormInput(), 'com5_date_of_birth' => new sfWidgetFormDateTime(), 'com5_weigth' => new sfWidgetFormInput(), 'com5_phone' => new sfWidgetFormInput(), 'com5_comment' => new sfWidgetFormInput(), 'lodging_name' => new sfWidgetFormInput(), 'lodging_phone' => new sfWidgetFormInput(), 'lodging_phone_comment' => new sfWidgetFormInput(), 'facility_name' => new sfWidgetFormInput(), 'facility_phone' => new sfWidgetFormInput(), 'facility_phone_comment' => new sfWidgetFormInput(), 'req_language' => new sfWidgetFormInput(), 'best_contact' => new sfWidgetFormInput(), 'emergency_name' => new sfWidgetFormInput(), 'emergency_phone1' => new sfWidgetFormInput(), 'emergency_phone1_comment' => new sfWidgetFormInput(), 'emergency_phone2' => new sfWidgetFormInput(), 'emergency_phone2_comment' => new sfWidgetFormInput(), 'comment' => new sfWidgetFormInput(), 'processed_date' => new sfWidgetFormDateTime(), 'session_id' => new sfWidgetFormInput(), 'ip_address' => new sfWidgetFormInput(), 'pass_fax_phone1' => new sfWidgetFormInput(), 'pass_fax_comment1' => new sfWidgetFormInput(), 'guar_first_name' => new sfWidgetFormInput(), 'guar_last_name' => new sfWidgetFormInput(), 'guar_address1' => new sfWidgetFormInput(), 'guar_address2' => new sfWidgetFormInput(), 'guar_city' => new sfWidgetFormInput(), 'guar_state' => new sfWidgetFormInput(), 'guar_zipcode' => new sfWidgetFormInput(), 'guar_day_phone' => new sfWidgetFormInput(), 'guar_day_comment' => new sfWidgetFormInput(), 'guar_eve_phone' => new sfWidgetFormInput(), 'guar_eve_comment' => new sfWidgetFormInput(), 'guar_fax_phone' => new sfWidgetFormInput(), 'guar_fax_comment' => new sfWidgetFormInput(), 'guar_mobile_phone' => new sfWidgetFormInput(), 'guar_mobile_comment' => new sfWidgetFormInput(), 'guar_other_phone' => new sfWidgetFormInput(), 'guar_other_comment' => new sfWidgetFormInput(), 'guar_pager_phone' => new sfWidgetFormInput(), 'guar_pager_comment' => new sfWidgetFormInput(), 'guar_guar_email' => new sfWidgetFormInput(), 'req_fax_phone1' => new sfWidgetFormInput(), 'req_fax_comment1' => new sfWidgetFormInput(), 'pass_english' => new sfWidgetFormInput(), 'pass_language' => new sfWidgetFormInput(), 'treating_email' => new sfWidgetFormInput(), 'pass_height' => new sfWidgetFormInput(), 'pass_oxygen' => new sfWidgetFormInput(), 'pass_medical' => new sfWidgetFormInput(), 'referral_source_id' => new sfWidgetFormInput(), 'follow_up_contact_name' => new sfWidgetFormInput(), 'follow_up_contact_phone' => new sfWidgetFormInput(), 'follow_up_email' => new sfWidgetFormInput(), 'miss_req_orginator_afa_org_id' => new sfWidgetFormInput(), 'afa_org_id' => new sfWidgetFormInput(), 'afa_org_mission_id' => new sfWidgetFormInput(), 'mission_request_type_id' => new sfWidgetFormPropelChoice(array('model' => 'MissionType', 'add_empty' => true)), 'last_page_processed' => new sfWidgetFormInput(), 'pass_gender' => new sfWidgetFormInput(), 'pass_type' => new sfWidgetFormInput(), 'pass_private_cons' => new sfWidgetFormInput(), 'pass_public_cons' => new sfWidgetFormInput(), 'appt_time' => new sfWidgetFormTime(), 'flight_time' => new sfWidgetFormTime(), 'waiver_required' => new sfWidgetFormInput()));
     $this->setValidators(array('id' => new sfValidatorPropelChoice(array('model' => 'MissionRequest', 'column' => 'id', 'required' => false)), 'requester_id' => new sfValidatorInteger(), 'requester_date' => new sfValidatorDateTime(array('required' => false)), 'request_by' => new sfValidatorInteger(), 'on_behalf' => new sfValidatorString(array('max_length' => 20)), 'appt_date' => new sfValidatorDateTime(), 'mission_date' => new sfValidatorDateTime(array('required' => false)), 'return_date' => new sfValidatorDateTime(array('required' => false)), 'baggage_weight' => new sfValidatorInteger(array('required' => false)), 'baggage_desc' => new sfValidatorString(array('max_length' => 50, 'required' => false)), 'pass_title' => new sfValidatorString(array('max_length' => 7)), 'pass_first_name' => new sfValidatorString(array('max_length' => 30)), 'pass_last_name' => new sfValidatorString(array('max_length' => 30)), 'pass_address1' => new sfValidatorString(array('max_length' => 50, 'required' => false)), 'pass_address2' => new sfValidatorString(array('max_length' => 50, 'required' => false)), 'pass_city' => new sfValidatorString(array('max_length' => 30, 'required' => false)), 'pass_county' => new sfValidatorString(array('max_length' => 30, 'required' => false)), 'pass_state' => new sfValidatorString(array('max_length' => 30, 'required' => false)), 'pass_country' => new sfValidatorString(array('max_length' => 30, 'required' => false)), 'pass_zipcode' => new sfValidatorString(array('max_length' => 10)), 'pass_day_phone' => new sfValidatorString(array('max_length' => 16, 'required' => false)), 'pass_day_comment' => new sfValidatorString(array('max_length' => 30, 'required' => false)), 'pass_eve_phone' => new sfValidatorString(array('max_length' => 16, 'required' => false)), 'pass_eve_comment' => new sfValidatorString(array('max_length' => 30, 'required' => false)), 'pass_mobile_phone' => new sfValidatorString(array('max_length' => 16, 'required' => false)), 'pass_mobile_comment' => new sfValidatorString(array('max_length' => 30, 'required' => false)), 'pass_pager_phone' => new sfValidatorString(array('max_length' => 16, 'required' => false)), 'pass_pager_comment' => new sfValidatorString(array('max_length' => 30, 'required' => false)), 'pass_other_phone' => new sfValidatorString(array('max_length' => 16, 'required' => false)), 'pass_other_comment' => new sfValidatorString(array('max_length' => 30, 'required' => false)), 'pass_email' => new sfValidatorString(array('max_length' => 30, 'required' => false)), 'pass_date_of_birth' => new sfValidatorDateTime(), 'illness' => new sfValidatorString(array('max_length' => 60, 'required' => false)), 'financial' => new sfValidatorString(array('max_length' => 100, 'required' => false)), 'pass_weight' => new sfValidatorInteger(array('required' => false)), 'releasing_physician' => new sfValidatorString(array('max_length' => 40, 'required' => false)), 'release_phone' => new sfValidatorString(array('max_length' => 16, 'required' => false)), 'release_phone_comment' => new sfValidatorString(array('max_length' => 30, 'required' => false)), 'release_fax' => new sfValidatorString(array('max_length' => 16, 'required' => false)), 'release_fax_comment' => new sfValidatorString(array('max_length' => 30, 'required' => false)), 'release_email' => new sfValidatorString(array('max_length' => 30, 'required' => false)), 'treating_physician' => new sfValidatorString(array('max_length' => 30, 'required' => false)), 'treating_phone' => new sfValidatorString(array('max_length' => 16, 'required' => false)), 'treating_phone_comment' => new sfValidatorString(array('max_length' => 30, 'required' => false)), 'treating_fax' => new sfValidatorString(array('max_length' => 16, 'required' => false)), 'treating_fax_comment' => new sfValidatorString(array('max_length' => 30, 'required' => false)), 'req_title' => new sfValidatorString(array('max_length' => 7, 'required' => false)), 'req_first_name' => new sfValidatorString(array('max_length' => 30)), 'req_last_name' => new sfValidatorString(array('max_length' => 30)), 'agency_name' => new sfValidatorString(array('max_length' => 40, 'required' => false)), 'req_address1' => new sfValidatorString(array('max_length' => 30, 'required' => false)), 'req_address2' => new sfValidatorString(array('max_length' => 30, 'required' => false)), 'req_city' => new sfValidatorString(array('max_length' => 30, 'required' => false)), 'req_county' => new sfValidatorString(array('max_length' => 30, 'required' => false)), 'req_state' => new sfValidatorString(array('max_length' => 2, 'required' => false)), 'req_country' => new sfValidatorString(array('max_length' => 40, 'required' => false)), 'req_zipcode' => new sfValidatorString(array('max_length' => 10, 'required' => false)), 'req_day_phone' => new sfValidatorString(array('max_length' => 16, 'required' => false)), 'req_day_comment' => new sfValidatorString(array('max_length' => 30, 'required' => false)), 'req_eve_phone' => new sfValidatorString(array('max_length' => 16, 'required' => false)), 'req_eve_comment' => new sfValidatorString(array('max_length' => 30, 'required' => false)), 'req_mobile_phone' => new sfValidatorString(array('max_length' => 16, 'required' => false)), 'req_mobile_comment' => new sfValidatorString(array('max_length' => 30, 'required' => false)), 'req_pager_phone' => new sfValidatorString(array('max_length' => 16, 'required' => false)), 'req_pager_comment' => new sfValidatorString(array('max_length' => 30, 'required' => false)), 'req_other_phone' => new sfValidatorString(array('max_length' => 16, 'required' => false)), 'req_other_comment' => new sfValidatorString(array('max_length' => 30, 'required' => false)), 'req_email' => new sfValidatorString(array('max_length' => 30, 'required' => false)), 'req_secondary_email' => new sfValidatorString(array('max_length' => 50, 'required' => false)), 'req_pager_email' => new sfValidatorString(array('max_length' => 50, 'required' => false)), 'req_position' => new sfValidatorString(array('max_length' => 80, 'required' => false)), 'req_discharge' => new sfValidatorString(array('max_length' => 2, 'required' => false)), 'orgin_ident' => new sfValidatorString(array('max_length' => 40, 'required' => false)), 'orgin_id' => new sfValidatorInteger(array('required' => false)), 'orgin_city' => new sfValidatorString(array('max_length' => 30)), 'orgin_state' => new sfValidatorString(array('max_length' => 2)), 'orgin_zipcode' => new sfValidatorString(array('max_length' => 10)), 'dest_ident' => new sfValidatorString(array('max_length' => 4, 'required' => false)), 'dest_id' => new sfValidatorInteger(array('required' => false)), 'dest_city' => new sfValidatorString(array('max_length' => 30)), 'dest_state' => new sfValidatorString(array('max_length' => 2)), 'dest_zipcode' => new sfValidatorString(array('max_length' => 10)), 'com1_name' => new sfValidatorString(array('max_length' => 50, 'required' => false)), 'com1_relationship' => new sfValidatorString(array('max_length' => 30, 'required' => false)), 'com1_date_of_birth' => new sfValidatorDateTime(array('required' => false)), 'com1_weigth' => new sfValidatorInteger(array('required' => false)), 'com1_phone' => new sfValidatorString(array('max_length' => 16, 'required' => false)), 'com1_comment' => new sfValidatorString(array('max_length' => 30, 'required' => false)), 'com2_name' => new sfValidatorString(array('max_length' => 30, 'required' => false)), 'com2_relationship' => new sfValidatorString(array('max_length' => 30, 'required' => false)), 'com2_date_of_birth' => new sfValidatorDateTime(array('required' => false)), 'com2_weigth' => new sfValidatorInteger(array('required' => false)), 'com2_phone' => new sfValidatorString(array('max_length' => 16, 'required' => false)), 'com2_comment' => new sfValidatorString(array('max_length' => 30, 'required' => false)), 'com3_name' => new sfValidatorString(array('max_length' => 30, 'required' => false)), 'com3_relationship' => new sfValidatorString(array('max_length' => 30, 'required' => false)), 'com3_date_of_birth' => new sfValidatorDateTime(array('required' => false)), 'com3_weigth' => new sfValidatorInteger(array('required' => false)), 'com3_phone' => new sfValidatorString(array('max_length' => 16, 'required' => false)), 'com3_comment' => new sfValidatorString(array('max_length' => 30, 'required' => false)), 'com4_name' => new sfValidatorString(array('max_length' => 30, 'required' => false)), 'com4_relationship' => new sfValidatorString(array('max_length' => 30, 'required' => false)), 'com4_date_of_birth' => new sfValidatorDateTime(array('required' => false)), 'com4_weigth' => new sfValidatorInteger(array('required' => false)), 'com4_phone' => new sfValidatorString(array('max_length' => 16, 'required' => false)), 'com4_comment' => new sfValidatorString(array('max_length' => 30, 'required' => false)), 'com5_name' => new sfValidatorString(array('max_length' => 30, 'required' => false)), 'com5_relationship' => new sfValidatorString(array('max_length' => 30, 'required' => false)), 'com5_date_of_birth' => new sfValidatorDateTime(array('required' => false)), 'com5_weigth' => new sfValidatorInteger(array('required' => false)), 'com5_phone' => new sfValidatorString(array('max_length' => 16, 'required' => false)), 'com5_comment' => new sfValidatorString(array('max_length' => 30, 'required' => false)), 'lodging_name' => new sfValidatorString(array('max_length' => 30, 'required' => false)), 'lodging_phone' => new sfValidatorString(array('max_length' => 16, 'required' => false)), 'lodging_phone_comment' => new sfValidatorString(array('max_length' => 30, 'required' => false)), 'facility_name' => new sfValidatorString(array('max_length' => 30, 'required' => false)), 'facility_phone' => new sfValidatorString(array('max_length' => 16, 'required' => false)), 'facility_phone_comment' => new sfValidatorString(array('max_length' => 30, 'required' => false)), 'req_language' => new sfValidatorString(array('max_length' => 30, 'required' => false)), 'best_contact' => new sfValidatorString(array('max_length' => 80, 'required' => false)), 'emergency_name' => new sfValidatorString(array('max_length' => 30, 'required' => false)), 'emergency_phone1' => new sfValidatorString(array('max_length' => 16, 'required' => false)), 'emergency_phone1_comment' => new sfValidatorString(array('max_length' => 30, 'required' => false)), 'emergency_phone2' => new sfValidatorString(array('max_length' => 16, 'required' => false)), 'emergency_phone2_comment' => new sfValidatorString(array('max_length' => 30, 'required' => false)), 'comment' => new sfValidatorString(array('max_length' => 80, 'required' => false)), 'processed_date' => new sfValidatorDateTime(array('required' => false)), 'session_id' => new sfValidatorInteger(array('required' => false)), 'ip_address' => new sfValidatorString(array('max_length' => 40, 'required' => false)), 'pass_fax_phone1' => new sfValidatorString(array('max_length' => 16, 'required' => false)), 'pass_fax_comment1' => new sfValidatorString(array('max_length' => 30, 'required' => false)), 'guar_first_name' => new sfValidatorString(array('max_length' => 30, 'required' => false)), 'guar_last_name' => new sfValidatorString(array('max_length' => 30, 'required' => false)), 'guar_address1' => new sfValidatorString(array('max_length' => 30, 'required' => false)), 'guar_address2' => new sfValidatorString(array('max_length' => 30, 'required' => false)), 'guar_city' => new sfValidatorString(array('max_length' => 30, 'required' => false)), 'guar_state' => new sfValidatorString(array('max_length' => 2, 'required' => false)), 'guar_zipcode' => new sfValidatorString(array('max_length' => 10, 'required' => false)), 'guar_day_phone' => new sfValidatorString(array('max_length' => 16, 'required' => false)), 'guar_day_comment' => new sfValidatorString(array('max_length' => 30, 'required' => false)), 'guar_eve_phone' => new sfValidatorString(array('max_length' => 16, 'required' => false)), 'guar_eve_comment' => new sfValidatorString(array('max_length' => 30, 'required' => false)), 'guar_fax_phone' => new sfValidatorString(array('max_length' => 16, 'required' => false)), 'guar_fax_comment' => new sfValidatorString(array('max_length' => 30, 'required' => false)), 'guar_mobile_phone' => new sfValidatorString(array('max_length' => 16, 'required' => false)), 'guar_mobile_comment' => new sfValidatorString(array('max_length' => 30, 'required' => false)), 'guar_other_phone' => new sfValidatorString(array('max_length' => 16, 'required' => false)), 'guar_other_comment' => new sfValidatorString(array('max_length' => 30, 'required' => false)), 'guar_pager_phone' => new sfValidatorString(array('max_length' => 16, 'required' => false)), 'guar_pager_comment' => new sfValidatorString(array('max_length' => 30, 'required' => false)), 'guar_guar_email' => new sfValidatorString(array('max_length' => 30, 'required' => false)), 'req_fax_phone1' => new sfValidatorString(array('max_length' => 16, 'required' => false)), 'req_fax_comment1' => new sfValidatorString(array('max_length' => 30, 'required' => false)), 'pass_english' => new sfValidatorInteger(array('required' => false)), 'pass_language' => new sfValidatorString(array('max_length' => 50, 'required' => false)), 'treating_email' => new sfValidatorString(array('max_length' => 30, 'required' => false)), 'pass_height' => new sfValidatorInteger(array('required' => false)), 'pass_oxygen' => new sfValidatorInteger(array('required' => false)), 'pass_medical' => new sfValidatorInteger(array('required' => false)), 'referral_source_id' => new sfValidatorInteger(array('required' => false)), 'follow_up_contact_name' => new sfValidatorString(array('max_length' => 30)), 'follow_up_contact_phone' => new sfValidatorString(array('max_length' => 16)), 'follow_up_email' => new sfValidatorString(array('max_length' => 30)), 'miss_req_orginator_afa_org_id' => new sfValidatorInteger(array('required' => false)), 'afa_org_id' => new sfValidatorInteger(array('required' => false)), 'afa_org_mission_id' => new sfValidatorInteger(array('required' => false)), 'mission_request_type_id' => new sfValidatorPropelChoice(array('model' => 'MissionType', 'column' => 'id', 'required' => false)), 'last_page_processed' => new sfValidatorInteger(array('required' => false)), 'pass_gender' => new sfValidatorString(array('max_length' => 10, 'required' => false)), 'pass_type' => new sfValidatorInteger(array('required' => false)), 'pass_private_cons' => new sfValidatorString(array('max_length' => 150, 'required' => false)), 'pass_public_cons' => new sfValidatorString(array('max_length' => 150, 'required' => false)), 'appt_time' => new sfValidatorTime(array('required' => false)), 'flight_time' => new sfValidatorTime(array('required' => false)), 'waiver_required' => new sfValidatorString(array('max_length' => 5, 'required' => false))));
     $this->widgetSchema->setNameFormat('mission_request[%s]');
     $this->errorSchema = new sfValidatorErrorSchema($this->validatorSchema);
     parent::setup();
 }
开发者ID:yasirgit,项目名称:afids,代码行数:8,代码来源:BaseMissionRequestForm.class.php


示例12: setup

 public function setup()
 {
     $this->setWidgets(array('id' => new sfWidgetFormInputHidden(), 'name' => new sfWidgetFormInputText()));
     $this->setValidators(array('id' => new sfValidatorChoice(array('choices' => array($this->getObject()->getId()), 'empty_value' => $this->getObject()->getId(), 'required' => false)), 'name' => new sfValidatorString(array('max_length' => 45, 'required' => false))));
     $this->widgetSchema->setNameFormat('primary_attribute[%s]');
     $this->errorSchema = new sfValidatorErrorSchema($this->validatorSchema);
     parent::setup();
 }
开发者ID:nashlesigon,项目名称:project-dota,代码行数:8,代码来源:BasePrimaryAttributeForm.class.php


示例13: setup

 public function setup()
 {
     $this->setWidgets(array('id' => new sfWidgetFormInputHidden(), 'role_id' => new sfWidgetFormPropelChoice(array('model' => 'Role', 'add_empty' => true)), 'employee_id' => new sfWidgetFormPropelChoice(array('model' => 'Employee', 'add_empty' => true)), 'user' => new sfWidgetFormInput(), 'password' => new sfWidgetFormInput(), 'status' => new sfWidgetFormInput(), 'created_at' => new sfWidgetFormDate(), 'updated_at' => new sfWidgetFormDate()));
     $this->setValidators(array('id' => new sfValidatorPropelChoice(array('model' => 'User', 'column' => 'id', 'required' => false)), 'role_id' => new sfValidatorPropelChoice(array('model' => 'Role', 'column' => 'id', 'required' => false)), 'employee_id' => new sfValidatorPropelChoice(array('model' => 'Employee', 'column' => 'id', 'required' => false)), 'user' => new sfValidatorString(array('max_length' => 50, 'required' => false)), 'password' => new sfValidatorString(array('max_length' => 50, 'required' => false)), 'status' => new sfValidatorString(array('max_length' => 10, 'required' => false)), 'created_at' => new sfValidatorDate(array('required' => false)), 'updated_at' => new sfValidatorDate(array('required' => false))));
     $this->widgetSchema->setNameFormat('user[%s]');
     $this->errorSchema = new sfValidatorErrorSchema($this->validatorSchema);
     parent::setup();
 }
开发者ID:lejacome,项目名称:hospital-mgt,代码行数:8,代码来源:BaseUserForm.class.php


示例14: setup

 public function setup()
 {
     $this->setWidgets(array('group_id' => new sfWidgetFormInputHidden(), 'permission_id' => new sfWidgetFormInputHidden()));
     $this->setValidators(array('group_id' => new sfValidatorPropelChoice(array('model' => 'sfGuardGroup', 'column' => 'id', 'required' => false)), 'permission_id' => new sfValidatorPropelChoice(array('model' => 'sfGuardPermission', 'column' => 'id', 'required' => false))));
     $this->widgetSchema->setNameFormat('sf_guard_group_permission[%s]');
     $this->errorSchema = new sfValidatorErrorSchema($this->validatorSchema);
     parent::setup();
 }
开发者ID:BGCX261,项目名称:zrobtotak-svn-to-git,代码行数:8,代码来源:BasesfGuardGroupPermissionForm.class.php


示例15: setup

 public function setup()
 {
     $this->setWidgets(array('id' => new sfWidgetFormInputHidden(), 'name' => new sfWidgetFormInput()));
     $this->setValidators(array('id' => new sfValidatorPropelChoice(array('model' => 'Status', 'column' => 'id', 'required' => false)), 'name' => new sfValidatorString(array('max_length' => 255, 'required' => false))));
     $this->widgetSchema->setNameFormat('status[%s]');
     $this->errorSchema = new sfValidatorErrorSchema($this->validatorSchema);
     parent::setup();
 }
开发者ID:rayku,项目名称:rayku,代码行数:8,代码来源:BaseStatusForm.class.php


示例16: setup

 public function setup()
 {
     $this->setWidgets(array('id' => new sfWidgetFormInputHidden(), 'county' => new sfWidgetFormInputText(), 'city' => new sfWidgetFormInputText(), 'village' => new sfWidgetFormInputText(), 'VoteNo' => new sfWidgetFormInputText(), 'DPPNum' => new sfWidgetFormInputText(), 'DPPRatio' => new sfWidgetFormInputText(), 'KMTNum' => new sfWidgetFormInputText(), 'KMTRatio' => new sfWidgetFormInputText(), 'vaildVotes' => new sfWidgetFormInputText(), 'invaildVotes' => new sfWidgetFormInputText(), 'totalVotes' => new sfWidgetFormInputText(), 'otherVotes' => new sfWidgetFormInputText(), 'VotersNum' => new sfWidgetFormInputText(), 'VotersRatio' => new sfWidgetFormInputText()));
     $this->setValidators(array('id' => new sfValidatorChoice(array('choices' => array($this->getObject()->getId()), 'empty_value' => $this->getObject()->getId(), 'required' => false)), 'county' => new sfValidatorString(array('required' => false)), 'city' => new sfValidatorString(array('required' => false)), 'village' => new sfValidatorString(array('required' => false)), 'VoteNo' => new sfValidatorInteger(array('min' => -2147483648.0, 'max' => 2147483647, 'required' => false)), 'DPPNum' => new sfValidatorInteger(array('min' => -2147483648.0, 'max' => 2147483647, 'required' => false)), 'DPPRatio' => new sfValidatorNumber(array('required' => false)), 'KMTNum' => new sfValidatorInteger(array('min' => -2147483648.0, 'max' => 2147483647, 'required' => false)), 'KMTRatio' => new sfValidatorNumber(array('required' => false)), 'vaildVotes' => new sfValidatorInteger(array('min' => -2147483648.0, 'max' => 2147483647, 'required' => false)), 'invaildVotes' => new sfValidatorInteger(array('min' => -2147483648.0, 'max' => 2147483647, 'required' => false)), 'totalVotes' => new sfValidatorInteger(array('min' => -2147483648.0, 'max' => 2147483647, 'required' => false)), 'otherVotes' => new sfValidatorInteger(array('min' => -2147483648.0, 'max' => 2147483647, 'required' => false)), 'VotersNum' => new sfValidatorInteger(array('min' => -2147483648.0, 'max' => 2147483647, 'required' => false)), 'VotersRatio' => new sfValidatorNumber(array('required' => false))));
     $this->widgetSchema->setNameFormat('presidentialelection2004[%s]');
     $this->errorSchema = new sfValidatorErrorSchema($this->validatorSchema);
     parent::setup();
 }
开发者ID:ntuaha,项目名称:SimpleBusServer,代码行数:8,代码来源:BasePresidentialelection2004Form.class.php


示例17: setup

 public function setup()
 {
     $this->setWidgets(array('title' => new sfWidgetFormInput(), 'keywords' => new sfWidgetFormInput(), 'description' => new sfWidgetFormTextarea(), 'is_active' => new sfWidgetFormInputCheckbox(), 'created_at' => new sfWidgetFormDateTime(), 'id' => new sfWidgetFormInputHidden()));
     $this->setValidators(array('title' => new sfValidatorString(array('max_length' => 255)), 'keywords' => new sfValidatorString(array('max_length' => 255)), 'description' => new sfValidatorString(array('required' => false)), 'is_active' => new sfValidatorBoolean(), 'created_at' => new sfValidatorDateTime(array('required' => false)), 'id' => new sfValidatorPropelChoice(array('model' => 'Meta', 'column' => 'id', 'required' => false))));
     $this->widgetSchema->setNameFormat('meta[%s]');
     $this->errorSchema = new sfValidatorErrorSchema($this->validatorSchema);
     parent::setup();
 }
开发者ID:serg-smirnoff,项目名称:symfony-pposter,代码行数:8,代码来源:BaseMetaForm.class.php


示例18: setup

 public function setup()
 {
     $this->setWidgets(array('id' => new sfWidgetFormInputHidden(), 'article_id' => new sfWidgetFormPropelChoice(array('model' => 'Article', 'add_empty' => true)), 'name' => new sfWidgetFormInputText(), 'file' => new sfWidgetFormInputText()));
     $this->setValidators(array('id' => new sfValidatorChoice(array('choices' => array($this->getObject()->getId()), 'empty_value' => $this->getObject()->getId(), 'required' => false)), 'article_id' => new sfValidatorPropelChoice(array('model' => 'Article', 'column' => 'id', 'required' => false)), 'name' => new sfValidatorString(array('max_length' => 255, 'required' => false)), 'file' => new sfValidatorString(array('max_length' => 255, 'required' => false))));
     $this->widgetSchema->setNameFormat('attachment[%s]');
     $this->errorSchema = new sfValidatorErrorSchema($this->validatorSchema);
     parent::setup();
 }
开发者ID:kcornejo,项目名称:estadistica,代码行数:8,代码来源:BaseAttachmentForm.class.php


示例19: setup

 public function setup()
 {
     $this->setWidgets(array('id' => new sfWidgetFormInputHidden(), 'make' => new sfWidgetFormInput(), 'model' => new sfWidgetFormInput(), 'name' => new sfWidgetFormInput(), 'tail' => new sfWidgetFormInput(), 'faa' => new sfWidgetFormInput(), 'engines' => new sfWidgetFormInput(), 'def_seats' => new sfWidgetFormInput(), 'speed' => new sfWidgetFormInput(), 'pressurized' => new sfWidgetFormInput(), 'cost' => new sfWidgetFormInput(), 'range' => new sfWidgetFormInput(), 'ac_load' => new sfWidgetFormInput()));
     $this->setValidators(array('id' => new sfValidatorPropelChoice(array('model' => 'Aircraft', 'column' => 'id', 'required' => false)), 'make' => new sfValidatorString(array('max_length' => 50, 'required' => false)), 'model' => new sfValidatorString(array('max_length' => 25, 'required' => false)), 'name' => new sfValidatorString(array('max_length' => 50, 'required' => false)), 'tail' => new sfValidatorString(array('max_length' => 20, 'required' => false)), 'faa' => new sfValidatorString(array('max_length' => 10, 'required' => false)), 'engines' => new sfValidatorInteger(array('required' => false)), 'def_seats' => new sfValidatorInteger(array('required' => false)), 'speed' => new sfValidatorInteger(array('required' => false)), 'pressurized' => new sfValidatorInteger(), 'cost' => new sfValidatorInteger(), 'range' => new sfValidatorInteger(array('required' => false)), 'ac_load' => new sfValidatorInteger(array('required' => false))));
     $this->widgetSchema->setNameFormat('aircraft[%s]');
     $this->errorSchema = new sfValidatorErrorSchema($this->validatorSchema);
     parent::setup();
 }
开发者ID:yasirgit,项目名称:afids,代码行数:8,代码来源:BaseAircraftForm.class.php


示例20: setup

该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
PHP BaseFrm类代码示例发布时间:2022-05-23
下一篇:
PHP BaseFormFilterPropel类代码示例发布时间: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