Thread: classes?
View Single Post
Old 12-28-2004, 06:20 PM   #3 (permalink)
idx
Senior Grasshopper
 
idx's Avatar
 
Join Date: Jun 2003
Location: FL
Posts: 317
idx is on a distinguished road
Sortof.

Your class is a container for functions and variables. Makes it easy to share code and compartmentalize functions related to a common task.

-> in a class points to a variable or function..

And as luck would have it, there is a codenewbie article on OO PHP.

Note: The article seems to go with php4. PHP5 introduces a slew of new stuff.

-r
idx is offline   Reply With Quote