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