123456789101112131415161718192021222324 |
- <?php
- namespace business\controllers;
- use \oxusmedia\webAppMulti\controller;
- class ejemplo extends controller
- {
- public function index()
- {
- $this->webApp()->requireLoginRedir();
- $this->titulo = 'Página de negocio';
- // invocar model de carpeta protected/models
- new \GeneralModel();
- // invocar model de carpeta models del business
- new \business\models\BusinessModel();
- $this->render('index');
- }
- }
|