Extending Object-Oriented PHP Course

Go to class
Write Review

Free Online Course: Extending Object-Oriented PHP Course provided by Treehouse is a comprehensive online course, which lasts for 1-2 hours worth of material. The course is taught in English and is free of charge.

Overview
  • You should already be familiar with writing simple classes in PHP. In this course you will learn how extend the use of these classes to reuse code.

    What you'll learn

    • Inheritance
    • Extending a Class
    • Using Multiple Classes
    • Scope

Syllabus
  • Inheritance

    In this stage we'll look at how we can inherit from other classes and modify their properties and methods to suit our needs.

    Chevron 11 steps
    • Building Relationships

      3:32

    • Extending a Class

      3:03

    • Extending a Class

      5 questions

    • Using Multiple Classes

      3:13

    • Adding Child Features

      5:18

    • Override and Protect Scope

      3:12

    • Extend a Class

      3 objectives

    • Extending a Method

      4:27

    • Method Scope

      3:12

    • Extending the Display

      7:40

    • Review Parent/Child

      10 questions

    Extending the Family

    Extend the family of classes even farther by adding another child to create a sibling relationship and extending a child to create a grandchild.

    Chevron 7 steps
    • Siblings and Grandchildren

      4:12

    • A Second Child

      3:18

    • Sibling Relationships

      2 objectives

    • Extending a Child

      6:12

    • Grandchild Relationships

      1 objective

    • Extending the Project

      1:09

    • Review Inheritance

      5 questions