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

android - questions about switching from C2DM to GCM -

c++ - Qt setGeometry: Unable to set geometry -

batch file - How to extract all multi-volume RAR archives from subfolders of a folder? -