D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
var
/
www
/
html
/
idoso
/
adm
/
app
/
gre
/
Models
/
Filename :
GreVerEstTipoLancamento.php
back
Copy
<?php namespace App\gre\Models; if (!defined('URL')) { header("Location: /"); exit(); } /** * Description of GreVerEstTipoLancamento * * @copyright (c) year, Carlos Marques */ class GreVerEstTipoLancamento { private $Resultado; private $DadosId; public function verEstTipoLanc($DadosId) { $this->DadosId = (int) $DadosId; $verEstTipoLanc = new \App\adms\Models\helper\AdmsRead(); $verEstTipoLanc->fullRead("SELECT tipolanc.*, grupolanc.nome grupolanc_nome, sit.nome nome_sit, cr.cor cor_cr FROM gre_est_tipo_lancamento tipolanc join gre_est_grupo_lancamento grupolanc on grupolanc.id = tipolanc.gre_est_grupo_lancamento_id INNER JOIN adms_sits sit ON sit.id= tipolanc.adms_sit_id INNER JOIN adms_cors cr ON cr.id=sit.adms_cor_id WHERE tipolanc.id =:tipolanc_id LIMIT :limit", "tipolanc_id=".$this->DadosId."&limit=1"); $this->Resultado= $verEstTipoLanc->getResultado(); return $this->Resultado; } }