Now, in the computer programming world, object-oriented programming (OOP) has rapidly taken hold as the programming methodology of choice for the enterprise. The basic concept is encapsulation - the grouping of data and code elements that shar common traits inside a container known as class.
A class contains the definition of data elements (or properties) and functions (or methods) that share some commont trait and can be encapsulated in a single structure. A class is declared using the class structure:
Tuesday, November 20, 2007
OOPs Possible in PHP
Posted by
Dhayanandan
at
Tuesday, November 20, 2007
Labels: Classes in PHP, OOPs, OOPs in PHP, PHP Classes
Subscribe to:
Post Comments (Atom)
1 comment:
Simple example for Beginning Object Oriented Programming in PHP
Post a Comment