C
C
ColdSpirit2015-08-22 20:02:44
Yii
ColdSpirit, 2015-08-22 20:02:44

Yii - how to pass parameters to init() via constructor?

Good afternoon. How, without breaking inheritance, to pass parameters from the constructor to the init () method that the parent calls?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Arman, 2015-08-22
@ColdSpirit

You can write to a property and work with this property in init

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question