View Single Post
Old 04-18-2009, 04:46 PM   #10 (permalink)
Kalle
The Frequenter
Zend Certified 
 
Join Date: Sep 2007
Location: Denmark
Posts: 352
Thanks: 8
Kalle is on a distinguished road
Default

Quote:
Originally Posted by allworknoplay View Post
Thanks Kalle/Tanax:

My PHP version is 5.28, so looks like I should upgrade.

I think I'm starting to get the hang of OO.

The static way of accessing properties (self::,parent::) is very interesting, I want to try to incorporate that into my class somehow, hopefully for a good reason, but if not, at least to get a good understanding of how they work just by using it.

Do I have to declare the property as "public" in order to access it outside of the class? Right now all my properties are set to "private".
FYI, PHP 5.3 is not released as final yet, but you can grab the RC1 and play around with it:
http://qa.php.net/

or grab a snapshot:
http://snaps.php.net/

And Windows:
http://windows.php.net/

;)
__________________
Send a message via MSN to Kalle Send a message via Skype™ to Kalle
Kalle is offline  
Reply With Quote