當前位置: 首頁>>代碼示例>>PHP>>正文


PHP Documento::get_pasta_grupo方法代碼示例

本文整理匯總了PHP中Documento::get_pasta_grupo方法的典型用法代碼示例。如果您正苦於以下問題:PHP Documento::get_pasta_grupo方法的具體用法?PHP Documento::get_pasta_grupo怎麽用?PHP Documento::get_pasta_grupo使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在Documento的用法示例。


在下文中一共展示了Documento::get_pasta_grupo方法的4個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: Template

<?php

$menu = 14;
include "includes/lock.php";
$tpl = new Template("view/templates/default_bootstrap_lteadmin.html");
$tpl->addFile("CONTENT", "view/servicos/edit.html");
include "includes/config.php";
$tpl->HEADER_TITLE = "Manutenção de Documento";
$tpl->HEADER_BREAD_CRUMB = '<li><a href="home-home"><i class="fa fa-home"> </i> Home</a></li>
                                        <li><a href="servicos-organograma-main"><i class="fa fa-file"> </i> Documentos</a></li>
                                         <li class="active">Documento - Editar</li>';
$obj = new Documento();
$tpl->GRUPO = $obj->get_pasta_grupo($obj::ID_GRUPO_ORGANOGRAMA);
$tpl->LABEL = "Novo Documento";
$tpl->ACAO = "incluir";
$tpl->id = 0;
$tpl->DATA = date("d/m/Y");
$tpl->REQUIRED_FILE = 'required';
if (isset($_REQUEST['id'])) {
    $obj->getById($obj->md5_decrypt($_REQUEST['id']));
    $tpl->TITULO = $obj->titulo;
    $tpl->DOCUMENTO = $obj->arquivo;
    $tpl->DATA = $obj->getData($obj->data);
    $tpl->LABEL = "Alterar Documento " . $obj->titulo;
    $tpl->ACAO = "editar";
    $tpl->REQUIRED_FILE = '';
    $tpl->id = $_REQUEST['id'];
}
$tpl->show();
開發者ID:rodharley,項目名稱:condominio,代碼行數:29,代碼來源:editar.php

示例2: Documento

<?php

$menu = 12;
//INSTACIA CLASSES
$obj = new Documento();
$grupo = $obj::ID_GRUPO_ATAS;
$tpl = new Template("view/servicos/list.html");
$tpl->GRUPO = $obj->get_pasta_grupo($grupo);
$user = $_SESSION['zurc.userPerfilId'] != Perfil::SINDICO ? $_SESSION['zurc.userId'] : "";
$pesquisa = isset($_REQUEST['pesquisa']) ? $_REQUEST['pesquisa'] : "";
$pagina = isset($_REQUEST['pagina']) ? $_REQUEST['pagina'] : "1";
$totalPesquisa = $obj->recuperaTotal($pesquisa, $grupo, $user);
$configPaginacao = $obj->paginar($totalPesquisa, $pagina);
$alist = $obj->listar($configPaginacao['primeiroRegistro'], $configPaginacao['quantidadePorPagina'], $pesquisa, $grupo, $user);
if (count($alist) > 0) {
    foreach ($alist as $key => $publicacao) {
        $tpl->nome = $publicacao->titulo;
        $tpl->data = $obj->getData($publicacao->data);
        $tpl->ID_HASH = $obj->md5_encrypt($publicacao->id);
        $tpl->block("BLOCK_ITEM_LISTA");
    }
}
$tpl->paginar_class = 'paginar';
$tpl->TOTAL_PAGINAS = $configPaginacao['totalPaginas'];
$tpl->PAGINA_ANTERIOR = $configPaginacao['paginaAnterior'];
$tpl->PROXIMA_PAGINA = $configPaginacao['proximaPagina'];
$tpl->PAGINA = $pagina;
if ($configPaginacao['totalPaginas'] > 1) {
    $tpl->block("BLOCK_PAGINACAO");
}
$tpl->show();
開發者ID:rodharley,項目名稱:condominio,代碼行數:31,代碼來源:ajax_paginador.php

示例3: Template

<?php

$tpl = new Template("view/templates/blank_page.html");
$tpl->addFile("CONTENT", "view/servicos/documentos.html");
$tpl->addFile("INC_LATERAL_DIREITA", "view/includes/lateral_direita.html");
include "includes/montaEmpresa.php";
include "includes/formLogin.php";
include "includes/mensagem.php";
$pub = new Documento();
$tpl->GRUPO = $pub->get_pasta_grupo($pub::ID_GRUPO_ORGANOGRAMA);
$tpl->LABEL_TITULO = $pub->get_titulo_grupo($pub::ID_GRUPO_ORGANOGRAMA);
$tpl->LABEL_ICONE = 'icone-anote';
$tpl->show();
開發者ID:rodharley,項目名稱:condominio,代碼行數:13,代碼來源:documentos.php

示例4: Template

<?php

$menu = 13;
include "includes/lock.php";
$tpl = new Template("view/templates/default_bootstrap_lteadmin.html");
$tpl->addFile("CONTENT", "view/servicos/main.html");
include "includes/config.php";
$pub = new Documento();
$tpl->GRUPO = $pub->get_pasta_grupo($pub::ID_GRUPO_BALANCETES);
$tpl->HEADER_TITLE = "Lista de Documentos";
$tpl->HEADER_BREAD_CRUMB = '<li><a href="home-home"><i class="fa fa-home"> </i> Home</a></li>
                                        <li><a href="servicos-balancetes-main"><i class="fa fa-file"> </i> Documentos</a></li>
                                         <li class="active">Documentos - Listar</li>';
$tpl->show();
開發者ID:rodharley,項目名稱:condominio,代碼行數:14,代碼來源:main.php


注:本文中的Documento::get_pasta_grupo方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。