[Solar-talk] Partials/Tiles/Elements/Components/Something
Rodrigo Moraes
rodrigo.moraes at gmail.com
Sun Nov 5 08:12:57 PST 2006
On 11/5/06, Andreas Ravnestad wrote:
> Excellent, this is pretty much exactly what I want :) What I did further
> was to add your hack to the class Solar_View:
[...]
> Pretty and perfect! Any chance something like this could officially be
> added to Solar?
I've hacked your hack:
class Vendor_View_Helper_Component extends Solar_View_Helper {
public function component($action)
{
$front = Solar::factory('Solar_Controller_Front');
return $front->fetch($action);
}
}
:-)
rodrigo
More information about the solar-talk
mailing list