New Class: Introduction to Object Oriented PHP

We’re delighted to launch an important new class called, “Introduction to Object Oriented PHP“.

Object oriented programming (OOP) is the most popular model used by PHP developers.

You’ll find object oriented code in most major CMS’s and platforms. Joomla has relied on OOP since version 1.5. Drupal 8 was completely rewritten, in part to introduce OOP principles.

In this class, you’ll learn the fundamentals of OOP and, in particular, how they apply to PHP.

This class focuses on the use of classes, objects and methods in OOP and covers the following topics:

  • How to Create a Class in OO PHP
  • How to Create an Object from a Class
  • How to Access Object Information in a Template
  • How to Add Methods to Classes
  • How to Use the Construct Method and Magic Methods
  • How to Incorporate Global Variables into a Class
  • Public, Private and Protected Visibility
  • Why Should You Use Private Visibility?
  • Using Subclasses (or Child Classes) in OOP

Author

  • Steve Burge

    Steve is the founder of OSTraining. Originally from the UK, he now lives in Sarasota in the USA. Steve's work straddles the line between teaching and web development.

0 0 votes
Article Rating
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x