mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-12 23:31:44 +09:00
38 lines
855 B
PHP
38 lines
855 B
PHP
<?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 dispIndex() {
|
|
$this->dispAddonList();
|
|
}
|
|
|
|
/**
|
|
* @brief 애드온 목록을 보여줌
|
|
**/
|
|
function dispAddonList() {
|
|
// 애드온 목록을 세팅
|
|
$oAddonModel = &getModel('addon');
|
|
$addon_list = $oAddonModel->getAddonList();
|
|
Context::set('addon_list', $addon_list);
|
|
|
|
$this->setTemplateFile('addon_list');
|
|
}
|
|
|
|
|
|
}
|
|
?>
|