Parse Url As Defined In Rules

See rules for urlManager defined in config/main.php




...

'urlManager' => array(

	'urlFormat' => 'path',

	'rules' => array(

    	'<controller:\w+>/award-benefits' => '<controller>/Award_Benefits',

	),

),

...



Is there any function exists in framework to get actual mapped url for controller/action-method?

I’m trying to build sitemap.xml for website. So, all action methods I’m getting from controller class is like actionAward_Benefits and I want it parse it as defined in rules like award_benefits.

ok,

No one is able to answer this!

:mellow:

Check that link.

refer link.