Page 1 of 1

$this->

Posted: Tue Feb 16, 2010 1:57 pm
by tangoking
newb question... can someone please briefly explain or post a reference to an explanation of the PHP "$this->" construct? Perhaps it's the "->" construct that I don't understand.

I Googled all over, but can't find a simple, concise explanation. I'm building a Joomla template from scratch and they use this reference as follows:

$this->language
$this->template

tyvm

Re: $this->

Posted: Tue Feb 16, 2010 2:04 pm
by Eran
The object scope, from within an object's method

http://www.php.net/manual/en/language.oop5.basic.php