protected function getItemsPerPage()
    {
        $perPage = (int)$this->resultSet->getUsedSearch()->getQuery()->getRows();
        return $perPage > 0 ? $perPage : 10;
    }
protected function getItemsPerPage()
    {
        $perPage = (int)$this->resultSet->getUsedSearch()->getQuery()->getRows();
        return $perPage > 0 ? $perPage : 10;
    }
protected function getItemsPerPage ( ) { $ perPage = ( int ) $ this -> resultSet -> getUsedSearch ( ) -> getQuery ( ) -> getRows ( ) ; return $ perPage > 0 ? $ perPage : 10 ; }
Determines the number of results per page. When nothing is configured 10 will be returned.

@return int
Determines the number of results per page . When nothing is configured 10 will be returned .