Quantcast
Channel: Yii Framework Forum
Viewing all articles
Browse latest Browse all 18717

Controller Function Parameter Only $Id?

$
0
0
Hi All,

I'm curious, why is it so, that in a controller's function (for example in actionAdmin()), a parameter is only allowed to be $id. I've tried to use $whatever, but I get Error 400 Your request is invalid. If I change it back to $id, everything is fine. Can somebody explain me why is that?
Thanks!
BR
c

Viewing all articles
Browse latest Browse all 18717

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>