svn: /pear2/sandbox/SimpleChannelFrontend/trunk/src/SimpleChannelFrontend/ Main.php
| From: | Michael Gauthier | Date: | Fri, 25 Jun 2010 22:22:44 +0000 |
| Subject: | svn: /pear2/sandbox/SimpleChannelFrontend/trunk/src/SimpleChannelFrontend/ Main.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-core+get-9541@lists.php.net to get a copy of this message | ||
gauthierm Fri, 25 Jun 2010 22:22:44 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=300758
Log:
Add static title property.
Changed paths:
U pear2/sandbox/SimpleChannelFrontend/trunk/src/SimpleChannelFrontend/Main.php
Modified: pear2/sandbox/SimpleChannelFrontend/trunk/src/SimpleChannelFrontend/Main.php
===================================================================
--- pear2/sandbox/SimpleChannelFrontend/trunk/src/SimpleChannelFrontend/Main.php 2010-06-25 22:13:51
UTC (rev 300757)
+++ pear2/sandbox/SimpleChannelFrontend/trunk/src/SimpleChannelFrontend/Main.php 2010-06-25 22:22:44
UTC (rev 300758)
@@ -30,7 +30,7 @@
* The channel object
* @var Channel
*/
- static public $channel;
+ public static $channel;
public $page_title = '{page_title}';
@@ -48,12 +48,19 @@
'category' =>
'PEAR2\SimpleChannelFrontend\Category',
'support' =>
'PEAR2\SimpleChannelFrontend\Support',
'search' =>
'PEAR2\SimpleChannelFrontend\Search');
-
+
public static $url = '';
-
+
/**
+ * Application title
+ *
+ * @var string
+ */
+ public static $title = 'Simple Channel Frontend';
+
+ /**
* Constructor
- *
+ *
* @param \PEAR2\Pyrus\ChannelFile $channel The channel object
* @param array $options Associative array of options
*/