Prado\Web\UI\WebControls\TWizard::getMultiView PHP Метод

getMultiView() публичный Метод

This method should only be used by control developers.
public getMultiView ( ) : TMultiView
Результат TMultiView 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;
    }

Usage Example

Пример #1
0
 /**
  * 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;
 }
TWizard