D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
var
/
www
/
html
/
rosario
/
adm
/
app
/
gre
/
Controllers
/
Filename :
ConCtOlDescImportar.php
back
Copy
<?php namespace App\gre\Controllers; set_time_limit(0); if (!defined('URL')) { header("Location: /"); exit(); } /** * Description of ConCtOlDescImportar * * @copyright (c) year, Carlos Marques - CM */ class ConCtOlDescImportar { private $Dados; private $DadosForm; public function listar($PageId = null) { $botao = ['vol_imp' => ['menu_controller' => 'con-ct-ol-desc', 'menu_metodo' => 'listar']]; $listarBotao = new \App\adms\Models\AdmsBotao(); $this->Dados['botao'] = $listarBotao->valBotao($botao); $listarMenu = new \App\adms\Models\AdmsMenu(); $this->Dados['menu'] = $listarMenu->itemMenu(); $listarMenu = new \App\adms\Models\AdmsMenu(); $this->Dados['menu'] = $listarMenu->itemMenu(); $this->DadosForm = filter_input_array(INPUT_POST, FILTER_DEFAULT); if (!empty($this->DadosForm['Confirma'])) { unset($this->DadosForm['Confirma']); $carregarView = new \App\gre\core\ConfigViewImprSimples("gre/Views/Cotacao/VieCtOlDescImportar", $this->DadosForm); $carregarView->renderizarGre(); } else { $carregarView = new \Core\ConfigView("gre/Views/Cotacao/VieCtOlDescSeleciona", $this->Dados); $carregarView->renderizar(); } } }