当前位置: 首页>>代码示例>>PHP>>正文


PHP BaseFormPropel类代码示例

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


在下文中一共展示了BaseFormPropel类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的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(), '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

示例12: 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

示例13: 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

示例14: 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

示例15: 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


注:本文中的BaseFormPropel类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。