D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
var
/
www
/
html
/
idoso_ant
/
adm
/
app
/
gre
/
Controllers
/
Filename :
ListarResidServLanc.php
back
Copy
<?php namespace App\gre\Controllers; if (!defined('URL')) { header("Location: /"); exit(); } /** * Description of ListarResidServLanc * * @copyright (c) year, Carlos Marques CM */ class ListarResidServLanc { private $Dados; public function listar($PageId = null) { $this->Dados = filter_input_array(INPUT_GET, FILTER_DEFAULT); $botao = ['imp_resid_serv_lanc' => ['menu_controller' => 'imp-resid-serv-lanc', 'menu_metodo' => 'imp-serv-lanc'], 'del_resid_serv_lanc' => ['menu_controller' => 'apagar-resid-serv-lanc', 'menu_metodo' => 'apagar-serv-lanc'] ]; $listarBotao = new \App\adms\Models\AdmsBotao(); $this->Dados['botao'] = $listarBotao->valBotao($botao); $listResidServLanc = new \App\gre\Models\GreListarResidServLanc(); $this->Dados['listServLancResid'] = $listResidServLanc->listResidServLanc(); $carregarView = new \App\gre\core\ConfigViewList("gre/Views/LancamentoResidente/listarServLancResidente", $this->Dados); $carregarView->renderizarGre(); } }