protected function getOrderLimitSql() {

		$router = Router::getInstance();
		
		$ret = '';
		
		if ($router->order) {
			$orderOptions = $this->getOrderOptions();
			if (isset($orderOptions[$router->order])) { 
				$ret = ' ORDER BY ' . $orderOptions[$router->order];
			}
		}

		$ret .= ' LIMIT ' . $this->pagination->start . ', ' . $this->pagination->limit;
		
		return $ret;
		
	}
protected function getOrderLimitSql() {

		$router = Router::getInstance();
		
		$ret = '';
		
		if ($router->order) {
			$orderOptions = $this->getOrderOptions();
			if (isset($orderOptions[$router->order])) { 
				$ret = ' ORDER BY ' . $orderOptions[$router->order];
			}
		}

		$ret .= ' LIMIT ' . $this->pagination->start . ', ' . $this->pagination->limit;
		
		return $ret;
		
	}
protected function getOrderLimitSql ( ) { $ router = Router :: getInstance ( ) ; $ ret = '' ; if ( $ router -> order ) { $ orderOptions = $ this -> getOrderOptions ( ) ; if ( isset ( $ orderOptions [ $ router -> order ] ) ) { $ ret = ' ORDER BY ' . $ orderOptions [ $ router -> order ] ; } } $ ret .= ' LIMIT ' . $ this -> pagination -> start . ', ' . $ this -> pagination -> limit ; return $ ret ; }
Create SQL code about ORDER and LIMIT.

@return string
Create SQL code about ORDER and LIMIT .