本文整理汇总了PHP中Cases::getAllConditionCasesCount方法的典型用法代码示例。如果您正苦于以下问题:PHP Cases::getAllConditionCasesCount方法的具体用法?PHP Cases::getAllConditionCasesCount怎么用?PHP Cases::getAllConditionCasesCount使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Cases
的用法示例。
在下文中一共展示了Cases::getAllConditionCasesCount方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: Publisher
$G_PUBLISH = new Publisher();
$Fields['DOC_UID'] = $_POST['docID'];
$Fields['APP_DOC_UID'] = $_POST['appDocId'];
$G_PUBLISH->AddContent('propeltable', 'paged-table', 'cases/cases_InputdocsListHistory', $oCase->getInputDocumentsCriteria($_SESSION['APPLICATION'], $_SESSION['INDEX'], $_POST['docID'], $_POST['appDocId']), array());
//$aFields
//$G_PUBLISH->AddContent('xmlform', 'xmlform', 'cases/cases_AttachInputDocumentGeneral',
// '', $Fields, 'cases_SaveDocument?UID=' . $_POST['docID']);
G::RenderPage('publish', 'raw');
break;
case "getCountCasesFolder":
//$json = new Services_JSON();
$aTypes = array('to_do', 'draft', 'cancelled', 'sent', 'paused', 'completed', 'selfservice', 'to_revise', 'to_reassign');
$aTypesID = array('to_do' => 'CASES_INBOX', 'draft' => 'CASES_DRAFT', 'cancelled' => 'CASES_CANCELLED', 'sent' => 'CASES_SENT', 'paused' => 'CASES_PAUSED', 'completed' => 'CASES_COMPLETED', 'selfservice' => 'CASES_SELFSERVICE', 'to_revise' => 'CASES_TO_REVISE', 'to_reassign' => 'CASES_TO_REASSIGN');
if (!isset($_POST['A'])) {
$oCases = new Cases();
$aCount = $oCases->getAllConditionCasesCount($aTypes, true);
echo Bootstrap::json_encode($aCount);
} else {
echo Bootstrap::json_encode($aTypesID);
}
break;
case "previusJump":
//require_once 'classes/model/Application.php';
$oCriteria = new Criteria('workflow');
$response = array("success" => true);
$oCriteria->add(ApplicationPeer::APP_NUMBER, $_POST['appNumber']);
$oDataset = ApplicationPeer::doSelectRS($oCriteria);
$oDataset->setFetchmode(ResultSet::FETCHMODE_ASSOC);
$oDataset->next();
$aApplication = $oDataset->getRow();
if (is_array($aApplication)) {