I have plan to build a website, but I don’t know to use what controller to show my product? CGidView or any thing ?
help me
Sorry for my bad english
I have plan to build a website, but I don’t know to use what controller to show my product? CGidView or any thing ?
help me
Sorry for my bad english
I am not sure I got your question. If you are new to Yii than the best to generate the CRUD for your product model with Gii. Than you will have a controller to show your product and in the view it will use a CDetailView widget to display the data.