YoVDO

Extending Object-Oriented PHP Course (How To)

Offered By: Treehouse

Tags

PHP Courses Object-oriented programming Courses Inheritance Courses Scope Management Courses

Course Description

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


Related Courses

Introduction à la programmation orientée objet (en Java)
École Polytechnique Fédérale de Lausanne via Coursera
C++ For C Programmers, Part A
University of California, Santa Cruz via Coursera
Introduction to Programming for Musicians and Digital Artists
California Institute of the Arts via Coursera
Beginning Game Programming with C#
University of Colorado System via Coursera
Paradigms of Computer Programming
Université catholique de Louvain via edX