Answer the question
In order to leave comments, you need to log in
How to create custom table with config in Yii?
Hello. Can you please tell me how to organize the storage of some settings in the database, with the ability to set them in the view of the controller responsible for administration, and access them in any of the controllers or views?
Maybe there are already some ready-made extensions for this?
Answer the question
In order to leave comments, you need to log in
Store - just like all other data.
Get access - in the prefilter of the controller, for example, with overwriting app ()-> params
There are extensions (in Google or on the English forum, such an extension was mentioned there just yesterday)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question