src/POData/ObjectModel/ObjectModelSerializerBase.php
/**
     * Wheter next link is needed for the current resource set (feed) 
     * being serialized.
     * 
     * @param int $resultSetCount Number of entries in the current 
     *                            resource set.
     * 
     * @return boolean true if the feed must have a next page link
     */
Wheter next link is needed for the current resource set (feed)
being serialized.

@param int $resultSetCount Number of entries in the current
resource set.

@return boolean true if the feed must have a next page link
Wheter next link is needed for the current resource set ( feed ) being serialized . @param int $resultSetCount Number of entries in the current resource set . @return boolean true if the feed must have a next page link
protected function needNextPageLink($resultSetCount)
    {
        $currentResourceSet = $this->getCurrentResourceSetWrapper();
        $recursionLevel = count($this->_segmentNames);
        $pageSize = $currentResourceSet->getResourceSetPageSize();       
        if ($recursionLevel == 1) {
            $topValueCount = $this->request->getTopOptionCount();
            if (!is_null($topValueCount) && ($topValueCount <= $pageSize)) {
                 return false;
            }            
        }
        return $resultSetCount == $pageSize;
    }
protected function needNextPageLink ( $ resultSetCount ) { $ currentResourceSet = $ this -> getCurrentResourceSetWrapper ( ) ; $ recursionLevel = count ( $ this -> _segmentNames ) ; $ pageSize = $ currentResourceSet -> getResourceSetPageSize ( ) ; if ( $ recursionLevel == 1 ) { $ topValueCount = $ this -> request -> getTopOptionCount ( ) ; if ( ! is_null ( $ topValueCount ) && ( $ topValueCount <= $ pageSize ) ) { return false ; } } return $ resultSetCount == $ pageSize ; }
Wheter next link is needed for the current resource set (feed)
 being serialized.
Wheter next link is needed for the current resource set ( feed ) being serialized .
//$this->assert($recursionLevel != 0, '$recursionLevel != 0'); //presence of $top option affect next link for root container