lib/Pico.php
protected function discoverCurrentPage()
    {
        $currentPageId = $this->getPageId($this->requestFile);
        if ($currentPageId && isset($this->pages[$currentPageId])) {
            $this->currentPage = &$this->pages[$currentPageId];
            $this->previousPage = &$this->pages[$currentPageId]['previous_page'];
            $this->nextPage = &$this->pages[$currentPageId]['next_page'];
        }
    }
protected function discoverCurrentPage()
    {
        $currentPageId = $this->getPageId($this->requestFile);
        if ($currentPageId && isset($this->pages[$currentPageId])) {
            $this->currentPage = &$this->pages[$currentPageId];
            $this->previousPage = &$this->pages[$currentPageId]['previous_page'];
            $this->nextPage = &$this->pages[$currentPageId]['next_page'];
        }
    }
protected function discoverCurrentPage ( ) { $ currentPageId = $ this -> getPageId ( $ this -> requestFile ) ; if ( $ currentPageId && isset ( $ this -> pages [ $ currentPageId ] ) ) { $ this -> currentPage = & $ this -> pages [ $ currentPageId ] ; $ this -> previousPage = & $ this -> pages [ $ currentPageId ] [ 'previous_page' ] ; $ this -> nextPage = & $ this -> pages [ $ currentPageId ] [ 'next_page' ] ; } }
Discovers the page data of the requested page as well as the previous
and next page relative to it

@see Pico::getCurrentPage()
@see Pico::getPreviousPage()
@see Pico::getNextPage()

@return void
Discovers the page data of the requested page as well as the previous and next page relative to it