On Apr 22, 11:47 pm, Ed Propsner <[email protected]> wrote:
> Okay, dumb question ...
>
> Can someone explain the difference between :
>
> [code]  $this->Html->something  [/code]
>
> and
>
> [code]  $html->something  [/code]
>
> OOP is a bit of a new road for me.
>
> $html->something works fine most everywhere for me but for some reason
> my custom helpers will only place nice with $this->Html->something.

I believe the difference is that you're calling it both from within
the View and your Helper. Helpers can have their own Helpers. In any
case, I think that 1.3 also has some changes in this regard.

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
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