svn: /pear2/sandbox/SimpleChannelFrontend/trunk/src/SimpleChannelFrontend/ Main.php
[email protected] (Michael Gauthier)
| Newsgroups | php.pear.cvs,php.pear.core |
|---|---|
| Message-ID | <[email protected]> |
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
*/