Model/Post/PostList/Toolbar.php
public function getCurrentPage()
    {
        $page = (int) $this->request->getParam(self::PAGE_PARM_NAME);
        return $page ? $page : 1;
    }
public function getCurrentPage()
    {
        $page = (int) $this->request->getParam(self::PAGE_PARM_NAME);
        return $page ? $page : 1;
    }
public function getCurrentPage ( ) { $ page = ( int ) $ this -> request -> getParam ( self :: PAGE_PARM_NAME ) ; return $ page ? $ page : 1 ; }
Return current page from request

@return int
Return current page from request