diff options
Diffstat (limited to 'demos/blog/protected/Common/BlogPage.php')
| -rw-r--r-- | demos/blog/protected/Common/BlogPage.php | 23 | 
1 files changed, 23 insertions, 0 deletions
diff --git a/demos/blog/protected/Common/BlogPage.php b/demos/blog/protected/Common/BlogPage.php index f1634a80..85a995c0 100644 --- a/demos/blog/protected/Common/BlogPage.php +++ b/demos/blog/protected/Common/BlogPage.php @@ -1,7 +1,30 @@  <?php
 +/**
 + * BlogPage class file
 + *
 + * @author Qiang Xue <qiang.xue@gmail.com>
 + * @link http://www.pradosoft.com/
 + * @copyright Copyright © 2006 PradoSoft
 + * @license http://www.pradosoft.com/license/
 + * @version $Revision: $  $Date: $
 + */
 +/**
 + * BlogPage class
 + *
 + * @author Qiang Xue <qiang.xue@gmail.com>
 + * @link http://www.pradosoft.com/
 + * @copyright Copyright © 2006 PradoSoft
 + * @license http://www.pradosoft.com/license/
 + */
  class BlogPage extends TPage
  {
 +	public function onPreInit($param)
 +	{
 +		parent::onPreInit($param);
 +		$this->Theme=$this->Application->Parameters['ThemeName'];
 +	}
 +
  	public function getDataAccess()
  	{
  		return $this->getApplication()->getModule('data');
  | 
