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

This commit is contained in:
zero 2007-03-06 04:17:57 +00:00
parent 5e9d217f35
commit d60057da37
24 changed files with 241 additions and 371 deletions

View file

@ -0,0 +1,31 @@
<?php
/**
* @class layoutView
* @author zero (zero@nzeo.com)
* @brief layout 모듈의 View class
**/
class layoutView extends layout {
/**
* @brief 초기화
**/
function init() {
$this->setTemplatePath($this->module_path.'tpl.admin');
}
/**
* @brief 레이아웃 목록을 보여줌
**/
function dispLayoutList() {
// 레이아웃 목록을 세팅
$oLayoutModel = &getModel('layout');
$layout_list = $oLayoutModel->getDownloadedLayoutList();
Context::set('layout_list', $layout_list);
$this->setTemplateFile('layout_list');
}
}
?>