At the beginning of its life, PHP was all about working with data sent in by HTML forms, and there is a lot to learn about how best to interact with your users over the web - all this and more is in next chapter!
Next chapter: HTML Forms >>
Objects Conceptual overview Classes Defining a class How to design your class Basic inheritance Overriding functions Objects Variables The 'this' variable Objects within objects Access control modifiers Public Private Protected Final Abstract Iterating through object variables Object type information Class type hints Constructors and destructors Parent constructors Destructors Deleting objects Copying objects Comparing objects with == and === Saving objects Magic functions __autoload() __get() __set() __call() __toString() Static data Helpful utility functions Interfaces Deferencing object return values The Object-Oriented Website A basic OOP site A more complex OOP website Summary Exercises Further reading Next chapter
Table of Contents
Copyright ©2015 Paul Hudson.
Follow me: @twostraws.