src/DB/TableReader.php
protected function getLimitQuery( $limits = array() )
	{
		if( is_array( $limits ) && count( $limits ) == 2 )
			$limits	= ' LIMIT '.$limits[0].', '.$limits[1];
		else if( is_int( $limits ) && $limits )
			$limits	= ' LIMIT 0, '.$limits;
		else
			$limits	= '';
		return $limits;
	}
protected function getLimitQuery( $limits = array() )
	{
		if( is_array( $limits ) && count( $limits ) == 2 )
			$limits	= ' LIMIT '.$limits[0].', '.$limits[1];
		else if( is_int( $limits ) && $limits )
			$limits	= ' LIMIT 0, '.$limits;
		else
			$limits	= '';
		return $limits;
	}
protected function getLimitQuery ( $ limits = array ( ) ) { if ( is_array ( $ limits ) && count ( $ limits ) == 2 ) $ limits = ' LIMIT ' . $ limits [ 0 ] . ', ' . $ limits [ 1 ] ; else if ( is_int ( $ limits ) && $ limits ) $ limits = ' LIMIT 0, ' . $ limits ; else $ limits = '' ; return $ limits ; }
Builds Query Limit.
@access		protected
@param		array|int	$limits			Array of Offet and Limit or just Limit as int, else ignored
@return		string
Builds Query Limit .