Re: One class, many methods: PHP4.x: Q's
| From: | Micky Hulse | Date: | Sat, 12 May 2007 06:30:22 +0000 |
| Subject: | Re: One class, many methods: PHP4.x: Q's | ||
| References: | 1 2 3 4 5 6 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-254843@lists.php.net to get a copy of this message | ||
Hi Eric! Thanks for your reply. :)
Eric Butera wrote:
If at all possible you're going to want to use PHP5 if you're doing ...snip... of those "problems" have been alleviated.Gosh! I wish I could use PHP5... Unfortunately the hosting company I am using has not upgraded. I can not wait to start learning PHP5 OOP!
Also I would recommend always defining all of the class variables that ...snip... variables and all of that.Great! Good to hear. Thanks for the clarification. Very helpful. :)
The get and set method's you wrote are part of the concept of encapulation. Read this: http://en.wikipedia.org/wiki/Information_hiding for more information.Excellent! Thanks for link, very interesting. Man, I love programming, I just wish I were better at it! Lol. Anyway, that is why I am on this list... Feedback from the pros is great! Many thanks Eric and all! I greatly appreciate your help. Have a good one! Cheers, Micky -- Wishlists: <http://snipurl.com/1gqpj> Switch: <http://browsehappy.com/> BCC?: <http://snipurl.com/w6f8> My: <http://del.icio.us/mhulse>