Author Archive

OOPS CONCEPTS IN PHP

9 August 2008

THE BASICS
CLASS

Every class definition begins with the keyword class, followed by a class name, which can be any name that isn’t a reserved word in PHP.
Followed by a pair of curly braces, which contains the definition of the classes members and methods.
A pseudo-variable, $this is available when a method is called from within [...]