rhymix/modules/page/page.api.php
2011-07-14 08:18:04 +00:00

25 lines
667 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);
}
}
?>