Get/set 'basePath' from 'CViewAction' in runtime


Anybody knows how to get/set the value of ‘basePath’ of ‘CViewAction’ in runtime?

It defaults to ‘pages’ but I would like to have some runtime control over this but the documentation is very limited on the actuall usage of this class and the only real-life example is assigning external actions through ‘class’=>‘CViewAction’ in the SiteController, but this never shows how to call class methods directly or access its parameters.

Dear Ziggy,

Kindly make a visit to your previous thread.

I tried to address this issue.

Hi Seenivasan,

Kindly make a visit to my previous thread.

I have posted a feedback on your comment.

Please - do not cross-post any more :slight_smile: