Chapter 18 Using Classes
What You’ll Learn in This Chapter:
Object-Oriented PHP
What Is a Class?
Creating and Using Objects
In this chapter you will learn the basics of object-oriented PHP. You will see how a class is defined and how you can access methods and properties from third-party classes.
Object-Oriented PHP
PHP can, if you want, be written in an object-oriented (OO) fashion. In PHP5, the OO functionality of the language has been enhanced ...
Get Sams Teach Yourself Ajax, JavaScript and PHP All in One now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.