issue 2662 page

git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12255 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ovclas 2012-11-19 09:56:12 +00:00
parent d456ea02e0
commit 7bb7241447
8 changed files with 1160 additions and 1079 deletions

View file

@ -1,25 +1,26 @@
<?php
/**
* @class pageAPI
* @author NHN (developers@xpressengine.com)
* @brief View Action page for the module API processing
**/
/**
* @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');
class pageAPI extends page {
$requestMethod = Context::getRequestMethod();
Context::setResponseMethod('HTML');
$oWidgetController->triggerWidgetCompile($page_content);
Context::setResponseMethod($requestMethod);
/**
* @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);
}
}
?>
$oModule->add('page_content',$page_content);
}
}
/* End of file page.api.php */
/* Location: ./modules/page/page.api.php */