protected function _isPaginationEnabled()
    {
        if (!isset($this->controller->limits) ||
            !isset($this->controller->limits[$this->action]) ||
            !isset($this->controller->limits[$this->action]['default']) ||
            !isset($this->controller->limits[$this->action]['limits'])
        ) {
            return false;
        }

        return true;
    }
protected function _isPaginationEnabled()
    {
        if (!isset($this->controller->limits) ||
            !isset($this->controller->limits[$this->action]) ||
            !isset($this->controller->limits[$this->action]['default']) ||
            !isset($this->controller->limits[$this->action]['limits'])
        ) {
            return false;
        }

        return true;
    }
protected function _isPaginationEnabled ( ) { if ( ! isset ( $ this -> controller -> limits ) || ! isset ( $ this -> controller -> limits [ $ this -> action ] ) || ! isset ( $ this -> controller -> limits [ $ this -> action ] [ 'default' ] ) || ! isset ( $ this -> controller -> limits [ $ this -> action ] [ 'limits' ] ) ) { return false ; } return true ; }
Check if pagination is enabled for the current controller action.

@return boolean
Check if pagination is enabled for the current controller action .