protected function wizardAddStore()
    {
        $this->validatePrompt('name', $this->text('Name'), 'store');
        $this->validatePrompt('domain', $this->text('Domain or IP'), 'store');
        $this->validatePrompt('basepath', $this->text('Path'), 'store', '');
        $this->validatePrompt('status', $this->text('Status'), 'store', 0);
        $this->setSubmittedJson('data');

        $this->validateComponent('store');
        $this->addStore();
    }
protected function wizardAddStore()
    {
        $this->validatePrompt('name', $this->text('Name'), 'store');
        $this->validatePrompt('domain', $this->text('Domain or IP'), 'store');
        $this->validatePrompt('basepath', $this->text('Path'), 'store', '');
        $this->validatePrompt('status', $this->text('Status'), 'store', 0);
        $this->setSubmittedJson('data');

        $this->validateComponent('store');
        $this->addStore();
    }
protected function wizardAddStore ( ) { $ this -> validatePrompt ( 'name' , $ this -> text ( 'Name' ) , 'store' ) ; $ this -> validatePrompt ( 'domain' , $ this -> text ( 'Domain or IP' ) , 'store' ) ; $ this -> validatePrompt ( 'basepath' , $ this -> text ( 'Path' ) , 'store' , '' ) ; $ this -> validatePrompt ( 'status' , $ this -> text ( 'Status' ) , 'store' , 0 ) ; $ this -> setSubmittedJson ( 'data' ) ; $ this -> validateComponent ( 'store' ) ; $ this -> addStore ( ) ; }
Add a new store step by step
Add a new store step by step