FluidTYPO3\Flux\Form\AbstractFormComponent::createWizard PHP Метод

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

public createWizard ( string $type, string $name, string $label = NULL ) : FluidTYPO3\Flux\Form\WizardInterface
$type string
$name string
$label string
Результат FluidTYPO3\Flux\Form\WizardInterface
    public function createWizard($type, $name, $label = NULL)
    {
        return $this->createComponent('FluidTYPO3\\Flux\\Form\\Wizard', $type, $name, $label);
    }

Usage Example

 /**
  * @param string $type
  * @param string $name
  * @param string $label
  * @return WizardInterface
  */
 public function createWizard($type, $name, $label = NULL)
 {
     $wizard = parent::createWizard($type, $name, $label);
     $this->add($wizard);
     return $wizard;
 }