Source for file PageView.php
Documentation is available at PageView.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: PageView.php 141 2010-06-03 12:20:52Z teo $
* functions that prepare output related to Page controller
* @author DotKernel Team <team@dotkernel.com>
* @param Dot_Template $tpl
* Show the content of a page item
* @param string $templateFile [optional]
public function showPage($templateFile = '')
if ($templateFile != '') $this->templateFile = $templateFile;//in some cases we need to overwrite this variable
$this->tpl->setFile('tpl_main', 'page/' . $this->templateFile . '.tpl');
|