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


PHP BaseForm::__construct方法代码示例

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


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

示例1: __construct

 public function __construct($enrollmentInfoId = NULL, $studentId = NULL, $courseArray = NULL)
 {
     $this->enrollmentInfoId = $enrollmentInfoId;
     $this->studentId = $studentId;
     $this->courseArray = $courseArray;
     parent::__construct();
 }
开发者ID:eyumay,项目名称:srms.psco,代码行数:7,代码来源:FrontendRegradeRequestForm.class.php

示例2: __construct

 public function __construct($enrollments = NULL, $courses = NULL, $gradeChoices = NULL)
 {
     $this->gradeChoices = $gradeChoices;
     $this->enrollments = $enrollments;
     $this->courses = $courses;
     parent::__construct();
 }
开发者ID:eyumay,项目名称:srms.psco,代码行数:7,代码来源:FrontendGradeForm.class.php

示例3: __construct

 public function __construct($registrationId = NULL, $studentId = NULL, $courseArray = NULL)
 {
     $this->registrationId = $registrationId;
     $this->studentId = $studentId;
     $this->courseArray = $courseArray;
     parent::__construct();
 }
开发者ID:eyumay,项目名称:srms.psco,代码行数:7,代码来源:FrontendExemptionRequestForm.class.php

示例4: __construct

 public function __construct($programId = NULL, $courseIds = NULL, $courseNumbers = NULL)
 {
     $this->programId = $programId;
     $this->courseIds = $courseIds;
     $this->courseNumbers = $courseNumbers;
     parent::__construct();
 }
开发者ID:eyumay,项目名称:srms.psco,代码行数:7,代码来源:FrontendCourseChecklistPrerequisiteForm.class.php

示例5: __construct

 /**
  * DOCUMENT ME
  * @param mixed $id
  * @param mixed $value
  * @param mixed $soptions
  */
 public function __construct($id, $value, $soptions)
 {
     $this->id = $id;
     $this->value = $value;
     $this->soptions = $soptions;
     parent::__construct();
 }
开发者ID:hashir,项目名称:UoA,代码行数:13,代码来源:BaseaTextForm.class.php

示例6: __construct

 public function __construct($studentId = NULL, $fromSectionId = NULL, $toSectionIdNamePair = NULL)
 {
     $this->fromSectionId = $fromSectionId;
     $this->studentId = $studentId;
     $this->toSectionIdNamePair = $toSectionIdNamePair;
     parent::__construct();
 }
开发者ID:eyumay,项目名称:srms.psco,代码行数:7,代码来源:FrontendCenterChangeForm.class.php

示例7: __construct

 public function __construct($controller, $name, FieldList $fields = null, FieldList $actions = null, $validator = null)
 {
     //print __CLASS__.'<br>';
     parent::__construct($controller, $name, $fields, $actions, $validator);
     $this->addExtraClass('js-places-search-form');
     //echo __CLASS__;
 }
开发者ID:thomaspaulson,项目名称:myparish,代码行数:7,代码来源:LocationSearchForm.php

示例8: __construct

 public function __construct($studentIdNamePairArray = NULL, $courseId = NULL, $gradeChoices = NULL)
 {
     $this->gradeChoices = $gradeChoices;
     $this->studentIdNamePairArray = $studentIdNamePairArray;
     $this->courseId = $courseId;
     parent::__construct();
 }
开发者ID:eyumay,项目名称:srms.psco,代码行数:7,代码来源:FrontendGradeSubmissionForm.class.php

示例9: __construct

 /**
  * Constructor.
  *
  * @param opAuthAdapter $adapter  An opAuthAdapter object
  * @param array  $defaults    An array of field default values
  * @param array  $options     An array of options
  * @param string $CRFSSecret  A CSRF secret (false to disable CSRF protection, null to use the global CSRF secret)
  *
  * @see sfForm
  */
 public function __construct(opAuthAdapter $adapter, $defaults = array(), $options = array(), $CSRFSecret = null)
 {
     $this->adapter = $adapter;
     parent::__construct($defaults, $options, false);
     $this->setWidget('next_uri', new opWidgetFormInputHiddenNextUri());
     $this->setValidator('next_uri', new opValidatorNextUri());
 }
开发者ID:te-koyama,项目名称:openpne,代码行数:17,代码来源:opAuthForm.class.php

示例10: __construct

 public function __construct($programId = NULL, $courseIds = NULL, $year = NULL, $semester = NULL)
 {
     $this->programId = $programId;
     $this->courseIds = $courseIds;
     $this->year = $year;
     $this->semester = $semester;
     parent::__construct();
 }
开发者ID:eyumay,项目名称:srms.psco,代码行数:8,代码来源:FrontendCourseChecklistForm.class.php

示例11: __construct

 public function __construct($studentId = NULL, $sectionIdNamePairArray = NULL, $courseIdNamePairArray = NULL, $enrollmentAction = NULL)
 {
     $this->courseIdNamePairArray = $courseIdNamePairArray;
     $this->studentId = $studentId;
     $this->sectionIdNamePairArray = $sectionIdNamePairArray;
     $this->enrollmentAction = $enrollmentAction;
     parent::__construct();
 }
开发者ID:eyumay,项目名称:srms.psco,代码行数:8,代码来源:FrontendCourseAddEnrollmentForm.php

示例12: __construct

 public function __construct($active = null)
 {
     if (is_null($active)) {
         $active = array('1');
     }
     $this->active = array_flip($active);
     parent::__construct();
 }
开发者ID:quafzi,项目名称:timpany-prototype,代码行数:8,代码来源:BaseaMediaEditImagesForm.class.php

示例13: __construct

 /**
  * Constructor.
  *
  * @param opAuthAdapter $adapter    An opAuthAdapter object
  * @param array         $defaults   An array of field default values
  * @param array         $options    An array of options
  *
  * @see sfForm
  */
 public function __construct(opAuthAdapter $adapter, $defaults = array(), $options = array())
 {
     $this->adapter = $adapter;
     parent::__construct($defaults, $options, false);
     $this->setWidget('next_uri', new opWidgetFormInputHiddenNextUri());
     $this->setValidator('next_uri', new opValidatorNextUri());
     $this->widgetSchema->setNameFormat('auth' . $this->adapter->getAuthModeName() . '[%s]');
 }
开发者ID:phenom,项目名称:OpenPNE3,代码行数:17,代码来源:opAuthLoginForm.class.php

示例14: __construct

 public function __construct($entity = null, $options = null)
 {
     $this->add_field('\\Phalcon\\Forms\\Element\\Text', 'name');
     $this->add_field('\\Phalcon\\Forms\\Element\\Email', 'email');
     $this->add_field('\\Phalcon\\Forms\\Element\\Password', 'password');
     $this->add_field('\\Phalcon\\Forms\\Element\\Password', 'confirm');
     parent::__construct($entity, $options);
 }
开发者ID:jstacoder,项目名称:phlaskr-phalcon,代码行数:8,代码来源:SignupForm.php

示例15: __construct

 /**
  * Constructor
  * @param Nette\Application\UI\Control $parent
  * @param string $name
  */
 public function __construct($parent, $name)
 {
     parent::__construct($parent, $name);
     $galleryId = $this->parent->getId();
     $this->addSubmit('send', 'OK');
     $this->addHidden('galleryId', $galleryId);
     $this->onSuccess[] = array($this, 'formSubmited');
 }
开发者ID:jurasm2,项目名称:bubo,代码行数:13,代码来源:DeleteGalleryForm.php


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