Attila/Orm.php
private function _prepareLimit()
	{
		$sQuery = '';
		$limit = (int) $this->_iLimit;
		$iOffset = $this->_iOffset;

		if($limit != 0 || $iOffset > 0) { $sQuery .= ' LIMIT '; }

		if($iOffset > 0) { $sQuery .= $iOffset.', '.$limit; }
		else if($limit != 0) { $sQuery .= $limit.' '; }

		return $sQuery;
	}
private function _prepareLimit()
	{
		$sQuery = '';
		$limit = (int) $this->_iLimit;
		$iOffset = $this->_iOffset;

		if($limit != 0 || $iOffset > 0) { $sQuery .= ' LIMIT '; }

		if($iOffset > 0) { $sQuery .= $iOffset.', '.$limit; }
		else if($limit != 0) { $sQuery .= $limit.' '; }

		return $sQuery;
	}
private function _prepareLimit ( ) { $ sQuery = '' ; $ limit = ( int ) $ this -> _iLimit ; $ iOffset = $ this -> _iOffset ; if ( $ limit != 0 || $ iOffset > 0 ) { $ sQuery .= ' LIMIT ' ; } if ( $ iOffset > 0 ) { $ sQuery .= $ iOffset . ', ' . $ limit ; } else if ( $ limit != 0 ) { $ sQuery .= $ limit . ' ' ; } return $ sQuery ; }
prepare the limit

@access private
@return string
prepare the limit