D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
var
/
www
/
html
/
rosario
/
adm
/
app
/
gre
/
core
/
Filename :
ConfigViewImprSimples.php
back
Copy
<?php namespace App\gre\core; /** * Description of ConfigView * * @copyright (c) year, Cesar Szpak - Celke */ class ConfigViewImprSimples { private $Nome; private $NomeT; private $Dados; private $DadosId; public function __construct($Nome, array $Dados = null ) { $this->Nome = (string) $Nome; $this->Dados = $Dados; } public function renderizarGre($Dados = null) { $this->Dados = $Dados; if (file_exists('app/' . $this->Nome . '.php')) { include 'app/' . $this->Nome.'.php'; }else{ echo "Erro ao carregar a Página: {$this->Nome}"; } include 'app/gre/Views/include/rodape_gre.php'; } }