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

This commit is contained in:
zero 2007-03-05 05:35:01 +00:00
parent a5d3a12268
commit f7d1c4c9f6
9 changed files with 117 additions and 62 deletions

View file

@ -0,0 +1,31 @@
<?php
/**
* @class addonView
* @author zero (zero@nzeo.com)
* @brief addon 모듈의 View class
**/
class addonView extends addon {
/**
* @brief 초기화
**/
function init() {
$this->setTemplatePath($this->module_path.'tpl.admin');
}
/**
* @brief 애드온 목록을 보여줌
**/
function dispAddonList() {
// 애드온 목록을 세팅
$oAddonModel = &getModel('addon');
$addon_list = $oAddonModel->getAddonList();
Context::set('addon_list', $addon_list);
$this->setTemplateFile('addon_list');
}
}
?>