Esempio n. 1
0
  * @param integer $id the ID of the model to be displayed
  */
 public function actionView($id)
 {
     $this->render('view', array('model' => $this->loadModel($id)));
 }
 /**
  * Creates a new model.
  * If creation is successful, the browser will be redirected to the 'view' page.
  */
 public function actionCreate()
 {
     $model = new CmsPage();
     // Uncomment the following line if AJAX validation is needed
     // $this->performAjaxValidation($model);