mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
#18607418 page module의 api 추가
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7135 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
9011b0ebef
commit
137fddf24a
1 changed files with 25 additions and 0 deletions
25
modules/page/page.api.php
Normal file
25
modules/page/page.api.php
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
<?php
|
||||
/**
|
||||
* @class pageAPI
|
||||
* @author sol(ngleader@gmail.com)
|
||||
* @brief page 모듈의 View Action에 대한 API 처리
|
||||
**/
|
||||
|
||||
class pageAPI extends page {
|
||||
|
||||
/**
|
||||
* @brief 페이지 내용
|
||||
**/
|
||||
function dispPageIndex(&$oModule) {
|
||||
$page_content = Context::get('page_content');
|
||||
$oWidgetController = &getController('widget');
|
||||
|
||||
$requestMethod = Context::getRequestMethod();
|
||||
Context::setResponseMethod('HTML');
|
||||
$oWidgetController->triggerWidgetCompile(&$page_content);
|
||||
Context::setResponseMethod($requestMethod);
|
||||
|
||||
$oModule->add('page_content',$page_content);
|
||||
}
|
||||
}
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue