So…
I have got one controller. There are several actions in it.
Here is controller code =
class DoController extends CController
{
public function actionIndex()
{
$this->render('index');
}
public function actionPage()
{
$this->render('page');
}
public function actionAbout()
{
$this->render('about');
}
public function actionContact()
{
$this->render('contact');
}
}
I would like to create menu.
Are there the ways to do this dynamically?
Something like =
$this->action_list()->run()