PHP Object Oriented Ref


PHP Object Oriented Reference shows code syntax and concepts of writing object oriented PHP applications. This application can be used by people just learning to write object oriented PHP, and by experienced users as a reference. All of the code samples use PHP 5 features and syntax. Also included is an example of using a PHP class to query, insert and update a MySQL database. All of the data is contained within the application, no internet connection is required.



The application is seperated into the following categories:

  • Getting Started
  • Definitions
  • Access Specifiers
  • Class Basics
  • Constructors
  • Inheritance
  • Interfaces
  • Abstraction
  • Overloading
  • Static
  • Magic Methods
  • Misc
  • Database Class Example



  • Here is the complete list of detail sheets

    Getting Started Definitions
  • Class
  • Object
  • Instantiate
  • Encapsulation
  • Abstract Class
  • Inheritance
  • Polymorphism
  • Access Specifiers Class Basics
  • Creating a Class
  • Instantiate a Class
  • $this pointer

  • Constructors
  • Constructors
  • Destructor
  • Inheritance
  • Basic Inheritance
  • Polymorphism Example
  • Interfaces
  • Basic Interface
  • Extendable Interface
  • Multiple Interfaces
  • Interface Constants
  • Abstraction
  • Class Abstraction
  • Abstract Methods

  • Overloading
  • PHP Overloading
  • Property Overloading
  • Method Overloading
  • Static
  • Static Properties
  • Static Methods
  • Final
  • Final Class
  • Final Methods
  • Magic Methods
  • Magic Methods List
  • __sleep / __wakeup
  • __toString()
  • __invoke()
  • __clone()

  • Misc
  • Serialize An Object
  • Autoloading Classes
  • Default Values
  • Database Class Example
  • About The Example
  • Example