Exemple #1
0
 /**
  * Displays a particular model.
  * @param integer $id the ID of the model to be displayed
  */
 public function actionView($id)
 {
     ///Verificamos que este bloqueado por el usuario
     if (MiFactoria::estasensesion($id, $this->documento)) {
         $this->terminabloqueo($id);
         //$this->limpiatemporaldetalle();
     }
     $this->render('view', array('model' => $this->loadModel($id)));
 }