Overview of the course
  • Sections Overview
Introduction to Object Oriented Programming
  • Introduction To Object Oriented Programming
Basics of Object Oriented Programming
  • Classes And Objects
  • Properties And Methods
  • Creating Classes And Objects In PHP
  • Creating And Accessing Properties
  • Print The Whole Object
  • Defining And Calling Methods
  • Accessing Object Properties From Methods
  • Parameters And Return Value Of Methods
  • PHP Source Files Used In "Basics of Object Oriented Programming" Lectures
  • Simple Calculator
  • Solution: Simple Calculator
Visibility
  • Visibility
  • Php Source Files Used In "Visibility" Section
  • Visibility Quiz
Class Constants
  • Class Constants
  • Php Source Files Used In "Class Constants" Section
  • Class Constants Quiz
Data Encapsulation
  • Data Encapsulation
  • Php Source Files Used In "Data Encapsulation" Section
  • CreditCard Class (shopping using credit card)
  • Solution: CreditCard Class (shopping using credit card)
  • Withdraw Money From Credit Card
  • Solution: Withdraw Money From Credit Card
Inheritance
  • Inheritance
  • Real Life Example Of Inheritance
  • Visibility Level Protected In Inheritance
  • ISA Vs HASA
  • Php Source Files Used In "Inheritance" Section
  • Inheritance
Overriding
  • Overriding
  • Preserving Parent Class Functionality in overriding
  • Php Source Files Used In "Overriding" Section
Final Keyword
  • Final Classes And Methods
  • Php Source Files Used In "Final Keyword" Section
Abstract classes and methods
  • Abstract Classes And Methods
  • Php Source Files Used In "Abstract Classes And Methods" Section
  • Abstract Classes And Methods Quiz
Interfaces
  • Interfaces
  • The difference between abstract classes and interfaces
  • Php Source Files Used In "Interfaces" Section
Constructor and Destructor
  • What Is Constructor And Destructor?
  • Constructor Using __construct() Magic Method
  • Destructor Using __destruct() Magic Method
  • Php Source Files Used In "Constructor And Destructor" Section
  • Create an object who's life is 5 seconds
  • Solution: Create an object who's life is 5 seconds
  • Constructor Destructor Quiz
Static Properties And Methods
  • Static Keyword And Static Properties
  • Static Methods
  • Php Source Files Used In "Static Properties And Methods" Section
  • The Singleton Pattern
  • Solution: Singleton Pattern
Magic Methods
  • Magic Methods
  • 11 Magic Methods In Different Topics
  • __toString() Magic Method
  • __set_state() Magic Method
  • __invoke() Magic Method
  • __debugInfo() Magic Method
  • Php Source Files Used In "Magic Methods" Section
  • Magic Methods Quiz
Errors and exceptions in php
  • Introduction to Errors And Exception
  • Errors and Their Types
  • Sub Types Of Errors
  • Notices
  • Warnings
  • Fatal Errors
  • Parser Errors
  • Strict Standards Notices
  • E_ALL And Error Level Constants
  • Triggering Errors
  • When These Errors Occur In Life Cycle Of Your Script
  • Logical Errors
  • Error Reporting Settings In php ini
  • What To Do With Errors?
  • Display Errors
  • Logging Your Own Error Messages
  • How To Handle Errors With Error Handler
  • What Actually The Exceptions Are What They Actually Do?
  • Try, Throw and Catch
  • The Exception Class In PHP
  • Stack Trace For Exception
  • Creating Your Own Custom Exceptions
  • Try With Multiple Catch Blocks