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

This commit is contained in:
zero 2007-03-27 06:35:50 +00:00
parent e93576f6b6
commit c8d510cc47
3 changed files with 16 additions and 0 deletions

View file

@ -32,6 +32,17 @@
$output = $oDocumentModel->getDocumentList($obj);
// 템플릿 파일을 지정
$tpl_path = $this->plugin_path.'skins/default';
$tpl_file = 'list';
// 템플릿 파일에서 사용할 변수들을 세팅
Context::set('title', $title);
Context::set('list', $list);
// 템플릿 컴파일
$oTemplate = new TemplateHandler();
debugPrint($tpl_path);
return $oTemplate->compile($tpl_path, $tpl_file);
}

View file

@ -0,0 +1 @@
{$title}