S
S
serking772017-08-26 16:06:20
Yii
serking77, 2017-08-26 16:06:20

What is the static data type?

I'm reading the Yii2 API, namely the description of the ActiForm::begin() method, and I see that static is written in the return field. Is it a pseudo type? or what? In fact, the method objects to the form object.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
D3lphi, 2017-08-26
@serking77

This is the class at the top of the inheritance hierarchy from which the method is called. Self and Static can be put in the same row. Self is the class in which this method is written, and static is the class from which the method is called. It may be the same class, or it may be a successor. Read about late static binding .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question