original_string: protected function controlAccessPage()
      {
          if (empty($this->data_page['status']) && !$this->access('page')) {
              $this->outputHttpStatus(403);
          }
  
          if ($this->data_page['store_id'] != $this->store_id) {
              $this->outputHttpStatus(404);
          }
      }
code: protected function controlAccessPage()
      {
          if (empty($this->data_page['status']) && !$this->access('page')) {
              $this->outputHttpStatus(403);
          }
  
          if ($this->data_page['store_id'] != $this->store_id) {
              $this->outputHttpStatus(404);
          }
      }
code_tokens: protected function controlAccessPage ( ) { if ( empty ( $ this -> data_page [ 'status' ] ) && ! $ this -> access ( 'page' ) ) { $ this -> outputHttpStatus ( 403 ) ; } if ( $ this -> data_page [ 'store_id' ] != $ this -> store_id ) { $ this -> outputHttpStatus ( 404 ) ; } }
docstring: Controls access to the page
docstring_tokens: Controls access to the page