本文整理汇总了PHP中Cases::getAdvancedSearch方法的典型用法代码示例。如果您正苦于以下问题:PHP Cases::getAdvancedSearch方法的具体用法?PHP Cases::getAdvancedSearch怎么用?PHP Cases::getAdvancedSearch使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Cases
的用法示例。
在下文中一共展示了Cases::getAdvancedSearch方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: array
$oDataset->next();
$aSupervisor = array();
while ($aRow = $oDataset->getRow()) {
$aSupervisor[] = $aRow['PRO_UID'];
$oDataset->next();
}
G::LoadClass('case');
$oCases = new Cases();
if (isset($_POST['form'])) {
$fields['CASE_NUMBER'] = $_POST['form']['CASE_NUMBER'];
$fields['PROCESS'] = $_POST['form']['PROCESS'];
$fields['TASKS'] = $_POST['form']['TASKS'];
$fields['CURRENT_USER'] = $_POST['form']['CURRENT_USER'];
$fields['SENT_BY'] = $_POST['form']['SENT_BY'];
$fields['LAST_MODIFICATION_F'] = $_POST['form']['LAST_MODIFICATION_F'];
$fields['LAST_MODIFICATION_T'] = $_POST['form']['LAST_MODIFICATION_T'];
$fields['APP_STATUS'] = $_POST['form']['APP_STATUS'];
$Criteria = $oCases->getAdvancedSearch($fields['CASE_NUMBER'], $fields['PROCESS'], $fields['TASKS'], $fields['CURRENT_USER'], $fields['SENT_BY'], $fields['LAST_MODIFICATION_F'], $fields['LAST_MODIFICATION_T'], $fields['APP_STATUS'], $permisse, $userlogged, $aSupervisor);
$G_PUBLISH->AddContent('xmlform', 'xmlform', 'cases/cases_advancedSearchFilter', '', $fields);
} else {
//list($Criteria,$xmlform) = $oCases->getConditionCasesList('gral');
$Criteria = $oCases->getAdvancedSearch('', '', '', '', '', '', '', '', $permisse, $userlogged, $aSupervisor);
$G_PUBLISH->AddContent('xmlform', 'xmlform', 'cases/cases_advancedSearchFilter');
}
$G_PUBLISH->AddContent('propeltable', 'paged-table', 'cases/cases_advancedSearch', $Criteria);
G::RenderPage('publish', 'blank');
?>
<script>
parent.outerLayout.hide('east');
parent.PANEL_EAST_OPEN = false;
</script>