public getMultiView ( ) : |
||
return | the multiview holding wizard steps |
public function getMultiView()
{
if ($this->_multiView === null) {
$this->_multiView = new TMultiView();
$this->_multiView->setID('WizardMultiView');
$this->_multiView->attachEventHandler('OnActiveViewChanged', array($this, 'onActiveStepChanged'));
$this->_multiView->ignoreBubbleEvents();
}
return $this->_multiView;
}
/** * Removes an item at the specified position. * @param integer the index of the item to be removed. * @return mixed the removed item. */ public function removeAt($index) { $step = parent::removeAt($index); $this->_wizard->getMultiView()->getViews()->remove($step); $this->_wizard->removedWizardStep($step); return $step; }