D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
var
/
www
/
html
/
idoso
/
adm
/
app
/
gre
/
Models
/
Filename :
GreVerEmailIntercorrencia.php
back
Copy
<?php namespace App\gre\Models; if (!defined('URL')) { header("Location: /"); exit(); } /** * Description of GreVerEmailIntercorrencia * * @copyright (c) year, Carlos Marques - CM */ class GreVerEmailIntercorrencia { private $Resultado; private $DadosId; public function verEmailIntercor($DadosId) { $this->DadosId = (int) $DadosId; $EmailIntercorrencia= new \App\adms\Models\helper\AdmsRead(); $EmailIntercorrencia->fullRead("Select intercor.*, resid.apelido resid_nome, contr.nome contr_nome, contr.email contr_email FROM gre_intercorrencia intercor join gre_residente resid on resid.id = intercor.gre_residente_id join gre_contratante contr on contr.id = intercor.gre_contratante_id WHERE intercor.id = :id LIMIT :limit", "id=".$this->DadosId."&limit=1"); $this->Resultado= $EmailIntercorrencia->getResultado(); return $this->Resultado; } }