MenuController::actionView PHP Method

actionView() public method

Displays a particular model.
public actionView ( integer $id )
$id integer the ID of the model to be displayed
    public function actionView($id)
    {
        $this->render('view', array('model' => $this->loadModel($id)));
    }