/** * Set the I2CE_Form object in the page template. */ protected function setForm() { parent::setForm(); $person = $this->factory->createContainer($this->getParent()->getParent()); $person->populate(); $this->template->setForm($person, 'siteContent'); $provider_instance = $this->factory->createContainer($this->getParent()->getField('provider_instance')->getDBValue()); $provider_instance->populate(); $this->template->setForm($provider_instance, 'siteContent'); }
/** * Set the I2CE_Form object in the page template. * * This method will pass the edit object to the page template so that it can process all the form variables. */ protected function setForm() { $this->template->setForm($this->personScheduledTrainingCourse); //needs to be first for return button $this->template->setForm($this->person); parent::setForm(); $this->template->setForm($this->trainingCourse); }
protected function setForm() { $this->template->setForm($this->person); $this->template->setForm($this->drop_sem); parent::setForm(); }