Looks like you're right!

https://trac.cakephp.org/changeset/6453

Nate sneaked it in without mentioning it. I'm going to play around
with this now...

On Apr 4, 5:37 pm, "Matias Lespiau" <[EMAIL PROTECTED]> wrote:
> I'm not sure but I think you can provide an alias to the helper this way:
>
> $helpers = array('CustomHtml' => 'Html');
>
> On Fri, Apr 4, 2008 at 11:32 AM, Greg Baker <[EMAIL PROTECTED]>
> wrote:
>
>
>
>
>
> > Very interesting fix....exactly what I was looking for.  Thanks
>
> > On Apr 4, 12:26 pm, grigri <[EMAIL PROTECTED]> wrote:
> > > There should be an official solution sometime involving aliased
> > > helpers.
>
> > > In the meantime, check out my hack here:
>
> > >http://groups.google.com/group/cake-php/browse_thread/thread/1c1c3701...
>
> > > On Apr 4, 3:02 pm, Greg Baker <[EMAIL PROTECTED]> wrote:
>
> > > > I want to create a custom HTML helper that extends htmlhelper..
> > > > However because of the code I have already that I don't want to
> > > > change, I want to name this helper so that I can use $html->... in my
> > > > views.
>
> > > > Any way I can do this?
> > > > Normally if this was a new project I'd just create a new class and use
> > > > that in my views, but I have a lot of code changing to do in this one
> > > > if I do that.
>
> --
> Matias Lespiauhttp://www.gignus.com/
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to