[Solar-talk] config inheritance in helpers

Jeff Surgeson solar at 3hex.com
Thu Jul 27 05:25:49 PDT 2006


> > Secondly I can not get Solar to Add Tipos_View_Helper to the Stack, how
> > do I get Solar to add it?
>
> Open all pager files and do a batch replace "Tipos_" by "YourVendorName_".

I did that and know get the following warnings and errors

Notice: Undefined index: options 
in /var/www/localhost/htdocs/library/Bulldog/View/Helper/PagerBase.php on 
line 104

Warning: array_merge() [function.array-merge]: Argument #2 is not an array 
in /var/www/localhost/htdocs/library/Bulldog/View/Helper/PagerBase.php on 
line 104

Notice: Undefined index: decorator 
in /var/www/localhost/htdocs/library/Bulldog/View/Helper/PagerBase.php on 
line 118

Fatal error: Method name must be a string 
in /var/www/localhost/htdocs/library/Bulldog/View/Helper/PagerBase.php on 
line 120

> It just happens that I use the vendor name Tipos, you have to adapt it to
> yours.

I just thought that it would be nice that if you write a Nice Solar helper or 
class and make it public I should be able to include it and use it without 
having to rename it and dump it into my helper directories, but keep it 
seperate so when you release updates etc etc.

Paul mayby you can throw some light on it?

-- 
Jeff Surgeson


More information about the solar-talk mailing list