original_string: protected function wizardAddPage()
      {
          // Required
          $this->validatePrompt('title', $this->text('Title'), 'page');
          $this->validatePrompt('description', $this->text('Description'), 'page');
          $this->validatePrompt('store_id', $this->text('Store ID'), 'page');
  
          // Optional
          $this->validatePrompt('user_id', $this->text('User ID'), 'page', 0);
          $this->validatePrompt('meta_title', $this->text('Meta title'), 'page', '');
          $this->validatePrompt('meta_description', $this->text('Meta description'), 'page', '');
          $this->validatePrompt('category_id', $this->text('Category ID'), 'page', 0);
          $this->validatePrompt('blog_post', $this->text('Blog post'), 'page', 0);
          $this->validatePrompt('status', $this->text('Status'), 'page', 0);
  
          $this->validateComponent('page');
          $this->addPage();
      }
code: protected function wizardAddPage()
      {
          // Required
          $this->validatePrompt('title', $this->text('Title'), 'page');
          $this->validatePrompt('description', $this->text('Description'), 'page');
          $this->validatePrompt('store_id', $this->text('Store ID'), 'page');
  
          // Optional
          $this->validatePrompt('user_id', $this->text('User ID'), 'page', 0);
          $this->validatePrompt('meta_title', $this->text('Meta title'), 'page', '');
          $this->validatePrompt('meta_description', $this->text('Meta description'), 'page', '');
          $this->validatePrompt('category_id', $this->text('Category ID'), 'page', 0);
          $this->validatePrompt('blog_post', $this->text('Blog post'), 'page', 0);
          $this->validatePrompt('status', $this->text('Status'), 'page', 0);
  
          $this->validateComponent('page');
          $this->addPage();
      }
code_tokens: protected function wizardAddPage ( ) { // Required $ this -> validatePrompt ( 'title' , $ this -> text ( 'Title' ) , 'page' ) ; $ this -> validatePrompt ( 'description' , $ this -> text ( 'Description' ) , 'page' ) ; $ this -> validatePrompt ( 'store_id' , $ this -> text ( 'Store ID' ) , 'page' ) ; // Optional $ this -> validatePrompt ( 'user_id' , $ this -> text ( 'User ID' ) , 'page' , 0 ) ; $ this -> validatePrompt ( 'meta_title' , $ this -> text ( 'Meta title' ) , 'page' , '' ) ; $ this -> validatePrompt ( 'meta_description' , $ this -> text ( 'Meta description' ) , 'page' , '' ) ; $ this -> validatePrompt ( 'category_id' , $ this -> text ( 'Category ID' ) , 'page' , 0 ) ; $ this -> validatePrompt ( 'blog_post' , $ this -> text ( 'Blog post' ) , 'page' , 0 ) ; $ this -> validatePrompt ( 'status' , $ this -> text ( 'Status' ) , 'page' , 0 ) ; $ this -> validateComponent ( 'page' ) ; $ this -> addPage ( ) ; }
docstring: Add a new page step by step
docstring_tokens: Add a new page step by step