[Solar-svn] Revision 2872
pmjones at solarphp.com
pmjones at solarphp.com
Sat Oct 13 08:49:15 CDT 2007
Solar_App_Base: [ADD] New property $layout tells the view what layout has been selected.
Modified: trunk/Solar/App/Base.php
===================================================================
--- trunk/Solar/App/Base.php 2007-10-13 13:46:41 UTC (rev 2871)
+++ trunk/Solar/App/Base.php 2007-10-13 13:49:15 UTC (rev 2872)
@@ -44,6 +44,8 @@
*/
public $controller;
+ public $layout;
+
/**
*
* Error messages, usually for the 'error' action/view.
@@ -218,6 +220,9 @@
// let the view know what action this is
$this->action = $this->_action;
+
+ // let the view know what layout this is
+ $this->layout = $this->_layout;
}
/**
More information about the Solar-svn
mailing list