當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。