src/Mmi/Paginator/Paginator.php
public function getPage()
    {
        if ($this->getOption('page')) {
            return $this->getOption('page');
        }
        $requestPage = $this->getRequest()->__get($this->getOption('pageVariable'));
        $page = ($requestPage > 0) ? $requestPage : 1;
        $this->setPage($page);
        return $page;
    }
public function getPage()
    {
        if ($this->getOption('page')) {
            return $this->getOption('page');
        }
        $requestPage = $this->getRequest()->__get($this->getOption('pageVariable'));
        $page = ($requestPage > 0) ? $requestPage : 1;
        $this->setPage($page);
        return $page;
    }
public function getPage ( ) { if ( $ this -> getOption ( 'page' ) ) { return $ this -> getOption ( 'page' ) ; } $ requestPage = $ this -> getRequest ( ) -> __get ( $ this -> getOption ( 'pageVariable' ) ) ; $ page = ( $ requestPage > 0 ) ? $ requestPage : 1 ; $ this -> setPage ( $ page ) ; return $ page ; }
Pobiera numer aktualnej strony
@return integer
Pobiera numer aktualnej strony