On 10/18/06, nate <[EMAIL PROTECTED]> wrote:
>
> Just to clarify:
>
> Chris, yes you're right, using an underscore is just a convention, and
> while we can't disable access to object methods that begin with an
> underscore from being accessed by you within your own application code,
> it is baked into the Dispatcher to disallow calling controller methods
> that are prefixed with an underscore.
>

Nate,

Thanks for clearing that up.  Still, it's a nice bit of programming to
make the Dispatcher enforce those rules.

Yet another reason to prefer PHP 5 or PHP 4 maybe, in that you can
declare those methods private without code trickery.

-- 
Chris Hartjes

"The greatest inefficiencies come from solving problems you will never have."
-- Rasmus Lerdorf

@TheBallpark - http://www.littlehart.net/attheballpark
@TheKeyboard - http://www.littlehart.net/atthekeyboard

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to