Home »
MCQs »
Yii PHP Framework MCQs
Is getModules () and getModule () both are same?
34. Is getModules () and getModule () both are same?
- Yes
- No
Answer: B) No
Explanation:
No, they are not the same, getModules () function returns an array of all the modules declared in the application, whereas the getModule() function returns the module to which a component belongs.