Exemplo n.º 1
0
 /**
  * Manages all models.
  */
 public function actionIndex()
 {
     $model = new TimeZone('search');
     $model->unsetAttributes();
     // clear any default values
     if (isset($_GET['TimeZone'])) {
         $model->attributes = $_GET['TimeZone'];
     }
     $this->render('index', array('model' => $model));
 }