Ok I was thinking about why yii doesnt execute the view file which fits to the action. For example actionShow() -> view file show.php ? Or is there an option i miss?
Ok I was thinking about why yii doesnt execute the view file which fits to the action. For example actionShow() -> view file show.php ? Or is there an option i miss?
Yii tries to avoid "magic" code like this. Explicitly calling a render() method also gives you convenience in case you need to pass parameters and options to render.
Ah ok thx;-)
Just wanted to know why…