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


PHP processMap::listExtNoProcessesUser方法代碼示例

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


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

示例1: DbSource

     $o = new DbSource();
     $rows = $o->load($_GET['dbs_uid'], $_GET['pid']);
     $tmpData = G::json_encode($rows);
     $tmpData = str_replace("\\/", "/", '{success:true,data:' . $tmpData . '}');
     // unescape the slashes
     $result = $tmpData;
     echo $result;
     break;
 case 'process_Supervisors':
     $rows = $oProcessMap->listExtProcessesSupervisors($start, $limit, $_GET['pid']);
     $result['totalCount'] = $oProcessMap->getAllProcessSupervisorsCount();
     $result['data'] = $rows;
     print G::json_encode($result);
     break;
 case 'availableProcessesSupervisors':
     $rows = $oProcessMap->listExtNoProcessesUser($_GET['pid']);
     $result['totalCount'] = count($rows);
     $result['data'] = $rows;
     print G::json_encode($result);
     break;
 case 'supervisorDynaforms':
     $rows = $oProcessMap->getExtSupervisorDynaformsList($start, $limit, $_GET['pid']);
     $result['totalCount'] = $oProcessMap->getAllSupervisorDynaformsCount();
     $result['data'] = $rows;
     print G::json_encode($result);
     break;
 case 'availableSupervisorDynaforms':
     $rows = $oProcessMap->getExtAvailableSupervisorDynaformsList($_GET['pid']);
     $result['totalCount'] = count($rows);
     $result['data'] = $rows;
     print G::json_encode($result);
開發者ID:nshong,項目名稱:processmaker,代碼行數:31,代碼來源:proxyExtjs.php

示例2: processMap

<?php

try {
    G::LoadClass('processMap');
    $oProcessMap = new processMap(new DBConnection());
    $processUID = $_GET['pid'];
    $action = $_GET['action'];
    switch ($action) {
        case 'process_User':
            $rows = $oProcessMap->listExtProcessesUser($processUID);
            break;
        case 'availableProcessesUser':
            $rows = $oProcessMap->listExtNoProcessesUser($processUID);
            break;
        case 'supervisorDynaforms':
            $rows = $oProcessMap->getExtSupervisorDynaformsList($processUID);
            break;
        case 'availableSupervisorDynaforms':
            $rows = $oProcessMap->getExtAvailableSupervisorDynaformsList($processUID);
            break;
        case 'supervisorInputDoc':
            $rows = $oProcessMap->getExtSupervisorInputsList($processUID);
            break;
        case 'availableSupervisorInputDoc':
            $rows = $oProcessMap->getExtAvailableSupervisorInputsList($processUID);
            break;
    }
    $result['totalCount'] = count($rows);
    $result['data'] = $rows;
    print G::json_encode($result);
} catch (Exception $e) {
開發者ID:nshong,項目名稱:processmaker,代碼行數:31,代碼來源:proxyProcessSupervisors.php


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