rhymix/modules/page/page.api.php
mosmartin 4d272994dd english comments added
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0_english@8278 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-04-06 16:48:06 +00:00

25 lines
668 B
PHP

<?php
/**
* @class pageAPI
* @author NHN (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);
}
}
?>