Classes and Objects
Many modern programming languages now support the object-oriented paradigm. Object orientation is an alternative way of designing and implementing programs. Within the object-oriented paradigm, programmers model things known as classes and then use these within a program by creating instances of these classes known as objects. PHP supports the creation of classes and the implementation of objects and enables the programmer to develop object-oriented programs. In this chapter we shall describe the concept of object orientation and provide some examples of what aspects of the paradigm PHP supports.
KeywordsClass Function Class Variable Object Orientation Software Reuse Composite Object
Unable to display preview. Download preview PDF.