Guest User

Untitled

a guest
Apr 25th, 2018
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. public function actionIndex()
  2. {
  3.  
  4. $searchModel = new EquipoSearch();
  5. $dataProvider = $searchModel->search(Yii::$app->request->queryParams);
  6. return $this->render('index', [
  7. 'searchModel' => $searchModel,
  8. 'dataProvider' => $dataProvider,
  9. ]);
  10. }
  11.  
  12. <?php
  13.  
  14. use yiihelpersHtml;
  15. use yiigridGridView;
  16.  
  17. /* @var $this yiiwebView */
  18. /* @var $searchModel appmodelsEquipoSearch */
  19. /* @var $dataProvider yiidataActiveDataProvider */
  20.  
  21. $this->title = 'Inventario'; //Esta es la linea 10
  22. $this->params['breadcrumbs'][] = $this->title;
  23. ?>
Add Comment
Please, Sign In to add comment