context class에 모든 cssfile/ jsfile을 제거하는 method 추가

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6289 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2009-05-06 09:28:13 +00:00
parent 6392d0cdff
commit 1da5dfaeb3

View file

@ -1100,6 +1100,18 @@
}
}
/**
* @brief 모든 JS File을 제거
**/
function unloadAllJsFiles() {
$oContext = &Context::getInstance();
return $oContext->_unloadAllJsFiles();
}
function _unloadAllJsFiles() {
$this->js_files = array();
}
/**
* @brief javascript filter 추가
**/
@ -1184,6 +1196,18 @@
}
}
/**
* @brief 모든 CSS File을 제거
**/
function unloadAllCSSFiles() {
$oContext = &Context::getInstance();
return $oContext->_unloadAllCSSFiles();
}
function _unloadAllCSSFiles() {
$this->css_files = array();
}
/**
* @brief CSS file 목록 return
**/