diff options
| author | ctrlaltca <> | 2012-07-12 11:21:01 +0000 | 
|---|---|---|
| committer | ctrlaltca <> | 2012-07-12 11:21:01 +0000 | 
| commit | 903ae8a581fac1e6917fc3e31d2ad8fb91df80c3 (patch) | |
| tree | e08bf04f0823650a231227ac3499121270172a23 /demos/blog/protected/Common/BlogPage.php | |
| parent | 3e4e6e66aeb3f8fea4e1eb4237498ef9d2358f63 (diff) | |
standardize the use of unix eol; use svn properties to enforce native eol
Diffstat (limited to 'demos/blog/protected/Common/BlogPage.php')
| -rw-r--r-- | demos/blog/protected/Common/BlogPage.php | 96 | 
1 files changed, 48 insertions, 48 deletions
diff --git a/demos/blog/protected/Common/BlogPage.php b/demos/blog/protected/Common/BlogPage.php index aaf0c7e1..a5ac514e 100644 --- a/demos/blog/protected/Common/BlogPage.php +++ b/demos/blog/protected/Common/BlogPage.php @@ -1,49 +1,49 @@ -<?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 $Id$
 - */
 -
 -/**
 - * 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');
 -	}
 -
 -	public function gotoDefaultPage()
 -	{
 -		$this->gotoPage($this->Service->DefaultPage);
 -	}
 -
 -	public function gotoPage($pagePath,$getParameters=null)
 -	{
 -		$this->Response->redirect($this->Service->constructUrl($pagePath,$getParameters,false));
 -	}
 -
 -	public function reportError($errorCode)
 -	{
 -		$this->gotoPage('ErrorReport',array('id'=>$errorCode));
 -	}
 -}
 -
 +<?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 $Id$ + */ + +/** + * 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'); +	} + +	public function gotoDefaultPage() +	{ +		$this->gotoPage($this->Service->DefaultPage); +	} + +	public function gotoPage($pagePath,$getParameters=null) +	{ +		$this->Response->redirect($this->Service->constructUrl($pagePath,$getParameters,false)); +	} + +	public function reportError($errorCode) +	{ +		$this->gotoPage('ErrorReport',array('id'=>$errorCode)); +	} +} +  ?>
\ No newline at end of file  | 
