本文整理匯總了PHP中processMap::getExtCriteriaDBSList方法的典型用法代碼示例。如果您正苦於以下問題:PHP processMap::getExtCriteriaDBSList方法的具體用法?PHP processMap::getExtCriteriaDBSList怎麽用?PHP processMap::getExtCriteriaDBSList使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類processMap
的用法示例。
在下文中一共展示了processMap::getExtCriteriaDBSList方法的2個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: array
}
} else {
if (isset($_GET['pid']) && $_GET['type'] == 'GRID') {
$aTheFields = array();
$aTheFields = getGridsVars($_GET['pid']);
foreach ($aTheFields as $aField) {
$rows[] = array('FIELD_UID' => $aField['sName'] . '-' . $aField['sXmlForm'], 'FIELD_NAME' => $aField['sName']);
}
}
}
$result['totalCount'] = count($rows);
$result['data'] = $rows;
print G::json_encode($result);
break;
case 'getDatabaseConnectionList':
$rows = $oProcessMap->getExtCriteriaDBSList($start, $limit, $_GET['pid']);
$result['totalCount'] = $oProcessMap->getAllDbSourceCount();
$result['data'] = $rows;
print G::json_encode($result);
break;
case 'editDatabaseConnection':
require_once 'classes/model/DbSource.php';
$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':
示例2: processMap
<?php
try {
G::LoadClass('processMap');
$oProcessMap = new processMap(new DBConnection());
if (isset($_GET['pid'])) {
$rows = $oProcessMap->getExtCriteriaDBSList($_GET['pid']);
}
if (isset($_GET['tid'])) {
require_once 'classes/model/DbSource.php';
$o = new DbSource();
$rows = $o->load($_GET['tid']);
}
$tmpData = G::json_encode($rows);
$tmpData = str_replace("\\/", "/", '{success:true,data:' . $tmpData . '}');
// unescape the slashes
$result = $tmpData;
echo $result;
} catch (Exception $e) {
print G::json_encode($e->getMessage());
}