rhymix/modules/page/page.api.php
ngleader dbc18a4f99 change author
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@13180 201d5d3c-b55e-5fd7-737f-ddc643e51545
2013-11-07 02:42:42 +00:00

26 lines
659 B
PHP

<?php
/**
* @class pageAPI
* @author NAVER (developers@xpressengine.com)
* @brief View Action page for the module API processing
*/
class pageAPI extends page
{
/**
* @brief Page information
*/
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);
}
}
/* End of file page.api.php */
/* Location: ./modules/page/page.api.php */