示例#1
0
 public function actiontodosdeltablon()
 {
     $this->inserta();
     $model = new Noticias('searchaprobados');
     if (isset($_GET['Noticias'])) {
         $model->attributes = $_GET['Noticias'];
     }
     $proveedor = $model->searchaprobados();
     $this->render('admin', array('model' => $model, 'proveedor' => $proveedor, 'titulo' => 'Avisos aprobados'));
 }