Writing your first class
View Single Post
03-27-2008, 07:30 PM
Join Date: Feb 2008
Location: Pretoria, South Africa
There was really no need to set a level for the function i explained what the visibility keywords do, but i did not implement public, protected or private that doesnt mean i forgot about them there is no need for beginners to use these as of yet? If you want i can write an article about visibility keywords in the advanced programming section?
Originally Posted by
We defined our class name and cleared all variables that we will be using. We use var to declare our variables, from PHP 5 visibility keywords such as protect, private, public are available, var is still though compatible with PHP 5. Still with me? Good now lets add some functionality.
View Public Profile
Send a private message to quantumkangaroo
Visit quantumkangaroo's homepage!
Find More Posts by quantumkangaroo