Example #1
0
 /**
  * Creates the child controls of the wizard.
  * This method overrides the parent implementation.
  * @param TEventParameter event parameter
  */
 public function onInit($param)
 {
     parent::onInit($param);
     $this->ensureChildControls();
     $this->setEnsureId(true);
     if ($this->getActiveStepIndex() < 0 && $this->getWizardSteps()->getCount() > 0) {
         $this->setActiveStepIndex(0);
     }
 }
Example #2
0
 public function onInit($param)
 {
     parent::onInit($param);
 }
Example #3
0
 /**
  * Sets page's <b>OnPreLoad</b> event handler as {@link pagePreLoad}.
  * If viewstate is disabled and the current request is a postback,
  * {@link setRequiresDataBinding RequiresDataBinding} will be set true.
  * This method overrides the parent implementation.
  * @param TEventParameter event parameter
  */
 public function onInit($param)
 {
     parent::onInit($param);
     $page = $this->getPage();
     $page->attachEventHandler('OnPreLoad', array($this, 'pagePreLoad'));
 }