search

Next Section: trait 成员命名冲突的解决方案1093 plays

5 秒后自动播放下一节
  Watch Again

PHP object-oriented programming-OOP technology

Introduction >
ChapterCourseware
Chapter1Object-oriented programming (1)

Code reuse and classes and instances

24 minutes59 seconds

Detailed explanation of attributes and attribute types in classes (1)

15 minutes52 seconds

Detailed explanation of attributes and attribute types in classes (2)

15 minutes34 seconds

Detailed explanation of member methods in classes (1)

19 minutes20 seconds

Detailed explanation of member methods in classes (2)

13 minutes30 seconds

Access control methods for class members

13 minutes26 seconds

Detailed explanation of class inheritance and extension

20 minutes23 seconds

Final members and abstract members in a class

46 minutes14 seconds

Interface definition and usage

24 minutes24 seconds

Interface and multi-interface inheritance (1)

16 minutes10 seconds

Interface and multi-interface inheritance (2)

16 minutes59 seconds

Using interfaces to implement polymorphic programming

30 minutes33 seconds
Chapter2Object-oriented programming (2)

Trait functions and definitions

23 minutes40 seconds

Trait implements code reuse (1)

13 minutes04 seconds

Trait implements code reuse (2)

12 minutes56 seconds

Traits implement extensions of class functions

17 minutes19 seconds

Resolution of trait member naming conflicts

12 minutes58 seconds

Mixed programming of traits and interfaces

10 minutes32 seconds

Trait and interface practice - Shuangseqiu (1)

18 minutes48 seconds

Traits and Interfaces in Practice-Shuangseqiu (2)

16 minutes03 seconds

Traits and Interfaces in Practice - Shuangseqiu (3)

14 minutes12 seconds

Traits and Interfaces in Practice - Shuangseqiu (4)

21 minutes12 seconds
Chapter3Object-oriented programming (3)

The principles and practice of late static binding

21 minutes31 seconds

Application scenarios of late static binding

10 minutes09 seconds

Magic Method-Constructor Method

16 minutes29 seconds

Property overloading-property access interceptor (1)

16 minutes24 seconds

Property overloading-property access interceptor (2)

17 minutes12 seconds

Method overloading-method call interceptor principle

05 minutes30 seconds

Method Interceptor Practice/Database Query Constructor (1)

09 minutes47 seconds

Method Interceptor Practice/Database Query Constructor (2)

13 minutes20 seconds
Chapter4Object-oriented programming (4)

Object serialization and corresponding magic methods

23 minutes23 seconds

Object serialization practice/database automatic connection

12 minutes31 seconds

Object copying and cloning

11 minutes29 seconds

The use of __toString() and exception classes (1)

12 minutes34 seconds

The use of __toString() and exception classes (2)

12 minutes21 seconds

Magical anonymous class (1)

15 minutes52 seconds

Magical anonymous classes (2)

14 minutes05 seconds
Chapter5Namespaces

How to correctly understand namespace (1)

18 minutes38 seconds

How to correctly understand namespace (2)

16 minutes26 seconds

Global members in the namespace

15 minutes17 seconds

Access to global space members

13 minutes31 seconds

Namespace alias import

15 minutes38 seconds

Using namespace to implement automatic loading of classes (1)

13 minutes22 seconds

Using namespace to implement automatic loading of classes (2)

11 minutes11 seconds
  • CancelreplySending
  • Cancelpost a noteSending