D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
var
/
www
/
html
/
idoso
/
adm
/
app
/
gre
/
Models
/
Filename :
GreVerMuni.php
back
Copy
<?php namespace App\gre\Models; if (!defined('URL')) { header("Location: /"); exit(); } /** * Description of GreVerMuni * * @copyright (c) year, Carlos Marques - CM */ class GreVerMuni { private $Resultado; private $DadosId; public function verMuni($DadosId) { $this->DadosId = (int) $DadosId; $verMuni = new \App\adms\Models\helper\AdmsRead(); $verMuni->fullRead("SELECT muni.id, muni.nome, muni.uf FROM gre_municipio_ibge muni WHERE muni.id =:id LIMIT :limit", "id=".$this->DadosId."&limit=1"); $this->Resultado= $verMuni->getResultado(); return $this->Resultado; } }