git-svn-id: http://xe-core.googlecode.com/svn/trunk@1494 201d5d3c-b55e-5fd7-737f-ddc643e51545

This commit is contained in:
zero 2007-05-29 04:57:28 +00:00
parent 0d2ee91504
commit 7fea4d2ba4

View file

@ -459,7 +459,7 @@
/** /**
* @brief 요청받은 url에 args_list를 적용하여 return * @brief 요청받은 url에 args_list를 적용하여 return
**/ **/
function getUrl($num_args, $args_list) { function getUrl($num_args=0, $args_list=array()) {
$oContext = &Context::getInstance(); $oContext = &Context::getInstance();
return $oContext->_getUrl($num_args, $args_list); return $oContext->_getUrl($num_args, $args_list);
} }
@ -467,7 +467,7 @@
/** /**
* @brief 요청받은 url에 args_list를 적용하여 return * @brief 요청받은 url에 args_list를 적용하여 return
**/ **/
function _getUrl($num_args, $args_list) { function _getUrl($num_args=0, $args_list=array()) {
if(!$this->get_vars || $args_list[0]=='') { if(!$this->get_vars || $args_list[0]=='') {
$get_vars = null; $get_vars = null;
if($args_list[0]=='') { if($args_list[0]=='') {