当前位置: 首页>>代码示例>>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;未经允许,请勿转载。