[Solar-svn] Revision 2639
pmjones at solarphp.com
pmjones at solarphp.com
Fri Jul 27 16:25:59 CDT 2007
Branch: Solar_Filter: [CHG] In setFilterClass() method, take extended classes into account and auto-add them to the stack.
Modified: branches/orm/Solar/Filter.php
===================================================================
--- branches/orm/Solar/Filter.php 2007-07-27 21:13:55 UTC (rev 2638)
+++ branches/orm/Solar/Filter.php 2007-07-27 21:25:59 UTC (rev 2639)
@@ -211,7 +211,9 @@
*/
public function setFilterClass($list = null)
{
- $this->_stack->set('Solar_Filter');
+ $parents = array_reverse(Solar::parents($this, true));
+ array_shift($parents); // drops Solar_Base
+ $this->_stack->set($parents);
$this->_stack->add($list);
}
More information about the Solar-svn
mailing list