original_string: public function addPage($id = "", $header = "", $meta = array())
      {
          $objPage = new Page($id, $header, $meta);
          $this->__elements->addObject($objPage);
  
          if ($this->__elements->count() == 1) {
              // Add unique id field.
              $this->addHiddenField("vf__uniqueid", ValidForm::VFORM_STRING, array(
                  "default" => $this->getUniqueId()
              ));
          }
  
          $this->__pagecount ++;
  
          return $objPage;
      }
code: public function addPage($id = "", $header = "", $meta = array())
      {
          $objPage = new Page($id, $header, $meta);
          $this->__elements->addObject($objPage);
  
          if ($this->__elements->count() == 1) {
              // Add unique id field.
              $this->addHiddenField("vf__uniqueid", ValidForm::VFORM_STRING, array(
                  "default" => $this->getUniqueId()
              ));
          }
  
          $this->__pagecount ++;
  
          return $objPage;
      }
code_tokens: public function addPage ( $ id = "" , $ header = "" , $ meta = array ( ) ) { $ objPage = new Page ( $ id , $ header , $ meta ) ; $ this -> __elements -> addObject ( $ objPage ) ; if ( $ this -> __elements -> count ( ) == 1 ) { // Add unique id field. $ this -> addHiddenField ( "vf__uniqueid" , ValidForm :: VFORM_STRING , array ( "default" => $ this -> getUniqueId ( ) ) ) ; } $ this -> __pagecount ++ ; return $ objPage ; }
docstring: Add a page to the wizard
  
  See {@link \ValidFormBuilder\Page}
  
  @param string $id Page ID
  @param string $header Page title
  @param array $meta Meta array
  @return \ValidFormBuilder\Page
docstring_tokens: Add a page to the wizard