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);
        }
    }
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);
        }
    }
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 ) ; } }
Controls access to the page
Controls access to the page