本文整理汇总了PHP中processMap::getAllInputDocumentCount方法的典型用法代码示例。如果您正苦于以下问题:PHP processMap::getAllInputDocumentCount方法的具体用法?PHP processMap::getAllInputDocumentCount怎么用?PHP processMap::getAllInputDocumentCount使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类processMap
的用法示例。
在下文中一共展示了processMap::getAllInputDocumentCount方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: loadInputDocuments
public function loadInputDocuments($params)
{
G::LoadClass('processMap');
$oProcessMap = new processMap(new DBConnection());
$pro_uid = $params->PRO_UID;
$start = isset($params->start) ? $params->start : 0;
$limit = isset($params->limit) ? $params->limit : '';
$rows = $oProcessMap->getExtInputDocumentsCriteria($start, $limit, $pro_uid);
$total = $oProcessMap->getAllInputDocumentCount();
$aDocs = $oProcessMap->getAllInputDocsByTask($pro_uid);
array_shift($rows);
$this->PRO_UID = $pro_uid;
$this->success = true;
$this->idocs = $rows;
$this->total_idocs = $total;
}
示例2: count
$rows[] = $aRow;
}
}
$result['totalCount'] = count($rows);
$result['data'] = $rows;
print G::json_encode($result);
break;
case 'getAdditionalTables':
$rows = $oProcessMap->getExtAdditionalTablesList();
$result['totalCount'] = count($rows);
$result['data'] = $rows;
print G::json_encode($result);
break;
case 'getInputDocumentList':
$rows = $oProcessMap->getExtInputDocumentsCriteria($start, $limit, $_GET['pid']);
$result['totalCount'] = $oProcessMap->getAllInputDocumentCount();
array_shift($rows);
$result['data'] = $rows;
print G::json_encode($result);
break;
case 'editInputDocument':
require_once 'classes/model/InputDocument.php';
$oInputDocument = new InputDocument();
$rows = $oInputDocument->load($_GET['INP_DOC_UID']);
$tmpData = G::json_encode($rows);
$tmpData = str_replace("\\/", "/", '{success:true,data:' . $tmpData . '}');
// unescape the slashes
$result = $tmpData;
echo $result;
break;
case 'getOutputDocument':