protected function wizardAddFile()
    {
        $this->validatePrompt('path', $this->text('Path'), 'file');
        $this->validatePrompt('entity', $this->text('Entity'), 'file');
        $this->validatePrompt('entity_id', $this->text('Entity ID'), 'file', 0);
        $this->validatePrompt('title', $this->text('Title'), 'file', '');
        $this->validatePrompt('description', $this->text('Description'), 'file', '');
        $this->validatePrompt('weight', $this->text('Weight'), 'file', 0);

        $this->validateComponent('file');
        $this->addFile();
    }
protected function wizardAddFile()
    {
        $this->validatePrompt('path', $this->text('Path'), 'file');
        $this->validatePrompt('entity', $this->text('Entity'), 'file');
        $this->validatePrompt('entity_id', $this->text('Entity ID'), 'file', 0);
        $this->validatePrompt('title', $this->text('Title'), 'file', '');
        $this->validatePrompt('description', $this->text('Description'), 'file', '');
        $this->validatePrompt('weight', $this->text('Weight'), 'file', 0);

        $this->validateComponent('file');
        $this->addFile();
    }
protected function wizardAddFile ( ) { $ this -> validatePrompt ( 'path' , $ this -> text ( 'Path' ) , 'file' ) ; $ this -> validatePrompt ( 'entity' , $ this -> text ( 'Entity' ) , 'file' ) ; $ this -> validatePrompt ( 'entity_id' , $ this -> text ( 'Entity ID' ) , 'file' , 0 ) ; $ this -> validatePrompt ( 'title' , $ this -> text ( 'Title' ) , 'file' , '' ) ; $ this -> validatePrompt ( 'description' , $ this -> text ( 'Description' ) , 'file' , '' ) ; $ this -> validatePrompt ( 'weight' , $ this -> text ( 'Weight' ) , 'file' , 0 ) ; $ this -> validateComponent ( 'file' ) ; $ this -> addFile ( ) ; }
Add a new file record step by step
Add a new file record step by step