D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
var
/
www
/
html
/
idoso_ant
/
adm
/
app
/
gre
/
Controllers
/
Filename :
EnviaEmailIntercorrencia.php
back
Copy
<?php namespace App\gre\Controllers; if (!defined('URL')) { header("Location: /"); exit(); } /** * Description of EnviaEmailIntercorrencia * * @copyright (c) year, Carlos Marques - CM */ class EnviaEmailIntercorrencia { private $Dados; private $DadosImpr; private $PageId; public function listar($PageId = null) { $this->Dados = filter_input_array(INPUT_POST, FILTER_DEFAULT); $this->DadosImpr = filter_input_array(INPUT_GET, FILTER_DEFAULT); $botao = ['vis_email' => ['menu_controller' => 'ver-email-intercorrencia', 'menu_metodo' => 'ver-email-intercor'], 'list_email' => ['menu_controller' => 'envia-email-intercorrencia', 'menu_metodo' => 'listar'], 'edit_email' => ['menu_controller' => 'editar-email-intercorrencia', 'menu_metodo' => 'edit-email-intercor'], 'env_email' => ['menu_controller' => 'ver-pedido', 'menu_metodo' => 'ver-ped']]; $listarBotao = new \App\adms\Models\AdmsBotao(); $this->Dados['botao'] = $listarBotao->valBotao($botao); $listarMenu = new \App\adms\Models\AdmsMenu(); $this->Dados['menu'] = $listarMenu->itemMenu(); $listarEnvEmail = new \App\gre\Models\GreListarEnviaEmailIntercorrencia(); $this->Dados['listEnvEmail']= $listarEnvEmail->listarEnvEmail($this->Dados); $carregarView = new \App\gre\core\ConfigView("gre/Views/Intercorrencia/listarEnviaEmailIntercorrencia", $this->Dados); $carregarView->renderizarGre(); $this->PageId = (int) $PageId ? $PageId : 1; } }