[Solar-talk] Helper stack
Paul M Jones
pmjones at solarphp.com
Sat Jul 22 08:49:44 PDT 2006
On Jul 22, 2006, at 10:40 AM, Paul M Jones wrote:
> On Jul 22, 2006, at 10:35 AM, Rodrigo Moraes wrote:
>
>> A question about the helper stack. I'm wondering about the necessity
>> of Vendor_Helper and Vendor_View_Helper directories. Following
>> Solar_View_Helper, shouldn't Vendor_Helper be dropped for consistency
>> to avoid confusion? I'm confused because of the results I get.
>> Solar_Controller_Page says:
>>
>> // add the helper classes to the view object.
>> // the order of searching will be:
>> // Vendor_App_Example_Helper_*, Vendor_App_Helper_*,
>> // Vendor_View_Helper_*, Solar_View_Helper_*
>>
>> But my helper stack is:
>> 'stack' =>
>> array (
>> 0 => 'Tipos_App_Blog_Helper_',
>> 1 => 'Tipos_Helper_',
>
> Hm, this is supposed to be Tipos_App_Helper, not Tipos_Helper. I'll
> take a look at the code.
The offending portion is in Solar/Controller/Page.php lines 404 and
474; change -$pos to $pos (minus to plus). Am fixing in SVN now.
Let me know if that works for you.
--
Paul M. Jones <http://paul-m-jones.com>
Solar: Simple Object Library and Application Repository
for PHP5. <http://solarphp.com>
Savant: The simple, elegant, and powerful solution for
templates in PHP. <http://phpsavant.com>
More information about the solar-talk
mailing list