Oject Oriented Programming buddy... $this makes reference to an object(a
class's instance), everything after -> is the object methods and attribs

2009/7/8 Benshep <[email protected]>

>
> can someone explain to me why the use of $this-> is so prevalent
> throughout cake applications. I have looked around the documentation
> and cant find anything specific. Im guessing this is something a php
> programmer is assumed to know though I have only done some basic task
> in php and am not sure what is happening with $this and why.
>
> thanks
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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