$this – use this if you are accessing a variable or method without static keyword within a class
self - use this if you are accessing a static variable or constant within a class
$this – use this if you are accessing a variable or method without static keyword within a class
self - use this if you are accessing a static variable or constant within a class
This entry was posted on Sunday, May 31st, 2009 at 10:09 am and is filed under OOP, PHP. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.
Fusion theme by digitalnature | powered by WordPress
Entries (RSS) and Comments (RSS)