Home »
MCQs »
Yii PHP Framework MCQs
Which of the following is the controller's default action, and is commonly used to show a list of records?
17. Which of the following is the controller's default action, and is commonly used to show a list of records?
- ActionShow()
- Actioncreate()
- ActionView()
- ActionIndex()
Answer: D) ActionIndex()
Explanation:
actionIndex() is the controller's default action, and is commonly used to show a list of records.