php - How to identify controller,view from url when using yii framework -


my questions how identify controller or view url?

for example in codeigniter url -localhost/projectname/controller/index can identify controller , function that. how can identify when using yii framework?

your url (if routing turned off):

www.example.com/index.php?r=controller/action 

if routing turned on, default this:

www.example.com/controller/action 

Comments

Popular posts from this blog

c++ - rosrun via ssh doesnt start a node properly -

android - questions about switching from C2DM to GCM -

How to resolve Delphi error: Incompatible types: 'PWideChar' and 'Pointer' -