original_string: protected function setPage($page_id)
      {
          $this->data_page = $this->page->get($page_id);
  
          if (empty($this->data_page)) {
              $this->outputHttpStatus(404);
          }
  
          $this->controlAccessPage();
          $this->preparePage($this->data_page);
      }
code: protected function setPage($page_id)
      {
          $this->data_page = $this->page->get($page_id);
  
          if (empty($this->data_page)) {
              $this->outputHttpStatus(404);
          }
  
          $this->controlAccessPage();
          $this->preparePage($this->data_page);
      }
code_tokens: protected function setPage ( $ page_id ) { $ this -> data_page = $ this -> page -> get ( $ page_id ) ; if ( empty ( $ this -> data_page ) ) { $ this -> outputHttpStatus ( 404 ) ; } $ this -> controlAccessPage ( ) ; $ this -> preparePage ( $ this -> data_page ) ; }
docstring: Sets a page data
  @param integer $page_id
docstring_tokens: Sets a page data