controllers/commands/Zone.php
protected function wizardAddZone()
    {
        $this->validatePrompt('title', $this->text('Title'), 'zone');
        $this->validatePrompt('status', $this->text('Status'), 'zone', 0);

        $this->validateComponent('zone');
        $this->addZone();
    }
protected function wizardAddZone()
    {
        $this->validatePrompt('title', $this->text('Title'), 'zone');
        $this->validatePrompt('status', $this->text('Status'), 'zone', 0);

        $this->validateComponent('zone');
        $this->addZone();
    }
protected function wizardAddZone ( ) { $ this -> validatePrompt ( 'title' , $ this -> text ( 'Title' ) , 'zone' ) ; $ this -> validatePrompt ( 'status' , $ this -> text ( 'Status' ) , 'zone' , 0 ) ; $ this -> validateComponent ( 'zone' ) ; $ this -> addZone ( ) ; }
Add a new zone step by step
Add a new zone step by step