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


PHP menus::menu_reavaliar方法代碼示例

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


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

示例1: menu

 function menu()
 {
     $menus = new menus();
     $sql = new sql();
     if (isset($_GET['act']) and isset($_GET['mod']) and isset($_GET['id']) and $_GET['act'] == "cadastros") {
         //elementos de pesquisa
         //var_dump($_GET);
         $tabela = $_GET['mod'];
         //include esqueleto cadastro
         if ($tabela == 'cad_itens') {
             $id = "cod_item";
             $valores = $sql->min_max($tabela, $id);
             $menus->submenu_cad_itens($valores, $id);
         } else {
             $id = str_replace("cad_", "cod_", $_GET['mod']);
             $valores = $sql->min_max($tabela, $id);
             $menus->submenu($valores, $id);
         }
     }
     if (isset($_GET['act']) and isset($_GET['mod']) and isset($_GET['id']) and $_GET['id'] == "" and $_GET['act'] == "pesquisa") {
         echo "<li  data-uk-tooltip={pos:'right'} title='Novo'><a href='?act=cadastros&mod=" . $_GET['mod'] . "&id=' class='uk-button-link ' style=''><i class='uk-icon-file-o'></i> Incluir novo cadastro</a> </li>";
         $menus->menu_exportar('grid', 0);
     }
     if (isset($_GET['act']) and isset($_GET['mod']) and isset($_GET['id']) and $_GET['id'] == "" and $_GET['act'] == "lancamento" and $_GET['mod'] == "gerar_depreciacao") {
         $menus->menu_gerar_depreciacao(4);
     }
     if (isset($_GET['act']) and isset($_GET['mod']) and isset($_GET['id']) and $_GET['id'] == "" and $_GET['act'] == "lancamento" and $_GET['mod'] == "baixar") {
         $menus->menu_baixa(4);
     }
     if (isset($_GET['act']) and isset($_GET['mod']) and isset($_GET['id']) and $_GET['id'] == "" and $_GET['act'] == "lancamento" and $_GET['mod'] == "reavaliar") {
         $menus->menu_reavaliar(4);
     }
     if (isset($_GET['act']) and isset($_GET['mod']) and isset($_GET['id']) and $_GET['id'] == "" and $_GET['act'] == "relatorios" and $_GET['mod'] == "mapa_ativo") {
         $filtro = 1;
         $menus = new menus();
         $relatorios = new relatorios();
         $relatorios->filtros($filtro);
         $menus->menu_exportar('grid_relatorio', '');
     }
     if (isset($_GET['act']) and isset($_GET['mod']) and isset($_GET['id']) and $_GET['id'] == "" and $_GET['act'] == "relatorios" and $_GET['mod'] == "aquisicoes_baixas") {
         $filtro = 2;
         $menus = new menus();
         $relatorios = new relatorios();
         $relatorios->filtros($filtro);
         $menus->menu_exportar('grid_relatorio', '');
     }
     if (isset($_GET['act']) and isset($_GET['mod']) and isset($_GET['id']) and $_GET['id'] == "" and $_GET['act'] == "relatorios" and $_GET['mod'] == "depreciacao") {
         $filtro = 3;
         $menus = new menus();
         $relatorios = new relatorios();
         $relatorios->filtros($filtro);
         $menus->menu_exportar('grid_relatorio', '');
     }
 }
開發者ID:sergioflorencio,項目名稱:toucan,代碼行數:54,代碼來源:php.php


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