english comments added

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0_english@8278 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
mosmartin 2011-04-06 16:48:06 +00:00
parent 693e215bc1
commit 4d272994dd
219 changed files with 6407 additions and 8705 deletions

View file

@ -2,19 +2,19 @@
/**
* @class sessionAdminController
* @author NHN (developers@xpressengine.com)
* @brief session 모듈의 admin controller class
* @brief The admin controller class of the session module
**/
class sessionAdminController extends session {
/**
* @brief 초기화
* @brief Initialization
**/
function init() {
}
/**
* @brief 더비 세션 정리하는 action
* @brief The action to clean up the Derby session
**/
function procSessionAdminClear() {
$oSessionController = &getController('session');

View file

@ -2,22 +2,22 @@
/**
* @class sessionAdminView
* @author NHN (developers@xpressengine.com)
* @brief session모듈의 admin view class
* @brief The admin view class of the session module
**/
class sessionAdminView extends session {
/**
* @brief 초기화
* @brief Initialization
**/
function init() {
}
/**
* @brief 설정
* @brief Configure
**/
function dispSessionAdminIndex() {
// 템플릿 파일 지정
// Set the template file
$this->setTemplatePath($this->module_path.'tpl');
$this->setTemplateFile('index');
}

View file

@ -2,10 +2,10 @@
/**
* @class session
* @author NHN (developers@xpressengine.com)
* @brief session 모듈의 high class
* @brief session module's high class
* @version 0.1
*
* session 관리를 하는 class
* The session management class
**/
class session extends ModuleObject {
@ -18,7 +18,7 @@
}
/**
* @brief 설치시 추가 작업이 필요할시 구현
* @brief Additional tasks required to accomplish during the installation
**/
function moduleInstall() {
$oDB = &DB::getInstance();
@ -28,7 +28,7 @@
}
/**
* @brief 설치가 이상이 없는지 체크하는 method
* @brief A method to check if the installation has been successful
**/
function checkUpdate() {
$oDB = &DB::getInstance();
@ -39,7 +39,7 @@
}
/**
* @brief 업데이트 실행
* @brief Execute update
**/
function moduleUpdate() {
$oDB = &DB::getInstance();
@ -73,10 +73,10 @@
}
/**
* @brief 캐시 파일 재생성
* @brief Re-generate the cache file
**/
function recompileCache() {
// 기존 파일 기반의 세션 삭제
// Delete an existing file-based session
FileHandler::removeDir(_XE_PATH_."files/sessions");
}
}

View file

@ -2,13 +2,13 @@
/**
* @class sessionController
* @author NHN (developers@xpressengine.com)
* @brief session 모듈의 controller class
* @brief The controller class of the session module
**/
class sessionController extends session {
/**
* @brief 초기화
* @brief Initialization
**/
function init() {
}

View file

@ -2,13 +2,13 @@
/**
* @class sessionModel
* @author NHN (developers@xpressengine.com)
* @brief session 모듈의 Model class
* @brief The Model class of the session module
**/
class sessionModel extends session {
/**
* @brief 초기화
* @brief Initialization
**/
function init() {
}
@ -22,16 +22,14 @@
$args->session_key = $session_key;
$output = executeQuery('session.getSession', $args);
// 읽기 오류 발생시 테이블 생성 유무 확인
// Confirm there is a table created if read error occurs
if(!$output->toBool()) {
$oDB = &DB::getInstance();
if(!$oDB->isTableExists('session')) $oDB->createTableByXmlFile($this->module_path.'schemas/session.xml');
if(!$oDB->isColumnExists("session","cur_mid")) $oDB->addColumn('session',"cur_mid","varchar",128);
$output = executeQuery('session.getSession', $args);
}
// 세션 정보에서 cur_mid값이 없을 경우 테이블 생성 체크
// Check if there is a table created in case there is no "cur_mid" value in the sessions information
if(!isset($output->data->cur_mid)) {
$oDB = &DB::getInstance();
if(!$oDB->isColumnExists("session","cur_mid")) $oDB->addColumn('session',"cur_mid","varchar",128);
@ -41,12 +39,12 @@
}
/**
* @brief 현재 접속중인 사용자의 목록을 구함
* 여러개의 인자값을 필요로 해서 object를 인자로 받음
* limit_count : 대상
* page : 페이지 번호
* period_time : 인자의 값을 n으로 하여 최근 n분 이내에 세션을 갱신한 대상을 추출함
* mid : 특정 mid에 속한 사용자
* @brief Get a list of currently connected users
* Requires "object" argument because multiple arguments are expected
* limit_count : the number of objects
* page : the page number
* period_time: "n" specifies the time range in minutes since the last update
* mid: a user who belong to a specified mid
**/
function getLoggedMembers($args) {
if(!$args->site_srl) {