Application-driven table in Database


I am pretty new with Yii.

I’ve created a new database, model, CRUD and controller. One of the table is populated by application: I call to function and receive all data looks like $data = {[0]=>{key1=>value1, key2=>value2…},[1]=>…}

And now could not find a right place where to put initial values for one of my table which should be populated at the start and to be updated when I choose one of views.


Welcome to Yii and the forum, I do not know what you are asking for exactly, can you please try and explain what data you want in the table and how you either want to display or edit it.