D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
var
/
www
/
html
/
rosario
/
adm
/
app
/
gre
/
Models
/
Filename :
ModPontaGondolaVer.php
back
Copy
<?php namespace App\gre\Models; if (!defined('URL')) { header("Location: /"); exit(); } /** * Description of GreVerEmp * * @copyright (c) year, Carlos Marques - CM */ class ModPontaGondolaVer { private $Resultado; private $DadosId; public function verPtGon($DadosId) { $this->DadosId = (int) $DadosId; $verPtGon = new \App\adms\Models\helper\AdmsRead(); $verPtGon->fullRead("Select lpad(filial.id,2,0) filial_id, foto.imagem, filial.nome, tipog.nome tipog_nome FROM ro_filial filial left JOIN ro_foto_gondola foto ON foto.filial_id= filial.id left join ro_tipo_ponta tipog on tipog.id = foto.tipo_id WHERE filial.id = :id", "id=".$this->DadosId); $this->Resultado= $verPtGon->getResultado(); return $this->Resultado; } }