Source for file PageController.php
Documentation is available at PageController.php
* DotBoost Technologies Inc.
* DotKernel Application Framework
* @copyright Copyright (c) 2009 DotBoost Technologies (http://www.dotboost.com)
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* @version $Id: PageController.php 158 2010-06-25 08:59:20Z teo $
* @author DotKernel Team <team@dotkernel.com>
// all actions MUST set the variable $pageTitle
$pageTitle = $option->pageTitle->action->{$requestAction};
// switch based on the action, don't forget the default action
// default action is home
$pageTitle = $option->pageTitle->action->home;
// call showPage method to view the home page
$pageView->showPage('home');
$pageView->showPage($requestAction);
$pageView->showPage($requestAction);
$pageView->showPage($requestAction);
|