thanks avatar. thats exactly what even i thought off. but somehow this piece of code is working. can i have your email so that i could provide the source details ...
thanks
dhiren
Search found 2 matches
- Tue Mar 31, 2009 12:13 am
- Forum: PHP - Code
- Topic: use of $this outside of class definition
- Replies: 5
- Views: 307
- Mon Mar 30, 2009 11:06 pm
- Forum: PHP - Code
- Topic: use of $this outside of class definition
- Replies: 5
- Views: 307
use of $this outside of class definition
does anyone know usage of "$this->" outside of a class definition. e.g: main.php <?php switch($this->mSubModule) ?> without creating any object, what could be the significance of above code? i want to understand the flow. i have the above piece of code written by some other developer but c...