Is there any other way to reference the current object in php other than the usual $this
???
Thank you
p.s.: I was thinking of perhaps a hidden or shorthand form..
Is there any other way to reference the current object in php other than the usual $this
???
Thank you
p.s.: I was thinking of perhaps a hidden or shorthand form..
No : that's precisely what the special-pseudo-variable $this
is for.
Sure:
$t = $this