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