当前位置: 首页>>代码示例>>PHP>>正文


PHP Cases::getTransferHistoryCriteria方法代码示例

本文整理汇总了PHP中Cases::getTransferHistoryCriteria方法的典型用法代码示例。如果您正苦于以下问题:PHP Cases::getTransferHistoryCriteria方法的具体用法?PHP Cases::getTransferHistoryCriteria怎么用?PHP Cases::getTransferHistoryCriteria使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Cases的用法示例。


在下文中一共展示了Cases::getTransferHistoryCriteria方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: Cases

 *
 */
if (!isset($_SESSION['PROCESS'])) {
    G::header('location: login');
}
$G_MAIN_MENU = 'caseTracker';
$G_ID_MENU_SELECTED = 'HISTORY';
G::LoadClass('case');
$oCase = new Cases();
$aFields = $oCase->loadCase($_SESSION['APPLICATION']);
$idProcess = $_SESSION['PROCESS'];
$oProcess = new Process();
$aProcessFieds = $oProcess->load($idProcess);
$noShowTitle = 0;
if (isset($aProcessFieds['PRO_SHOW_MESSAGE'])) {
    $noShowTitle = $aProcessFieds['PRO_SHOW_MESSAGE'];
}
if (isset($aFields['TITLE'])) {
    $aFields['APP_TITLE'] = $aFields['TITLE'];
}
if ($aFields['APP_PROC_CODE'] != '') {
    $aFields['APP_NUMBER'] = $aFields['APP_PROC_CODE'];
}
$aFields['CASE'] = G::LoadTranslation('ID_CASE');
$aFields['TITLE'] = G::LoadTranslation('ID_TITLE');
$G_PUBLISH = new Publisher();
if ($noShowTitle == 0) {
    $G_PUBLISH->AddContent('smarty', 'cases/cases_title', '', '', $aFields);
}
$G_PUBLISH->AddContent('propeltable', 'paged-table', 'tracker/tracker_TransferHistory', Cases::getTransferHistoryCriteria($_SESSION['APPLICATION']), array());
G::RenderPage('publish');
开发者ID:bqevin,项目名称:processmaker,代码行数:31,代码来源:tracker_History.php

示例2: Users

     $oUser = new Users();
     try {
         $aUser = $oUser->load($aFields['PRO_CREATE_USER']);
         $aFields['PRO_AUTHOR'] = $aUser['USR_FIRSTNAME'] . ' ' . $aUser['USR_LASTNAME'];
     } catch (Exception $oError) {
         $aFields['PRO_AUTHOR'] = '(USER DELETED)';
     }
     $aFields['PRO_CREATE_DATE'] = date('F j, Y', strtotime($aFields['PRO_CREATE_DATE']));
     global $G_PUBLISH;
     $G_PUBLISH = new Publisher();
     $G_PUBLISH->AddContent('xmlform', 'xmlform', 'cases/cases_ProcessInformation', '', $aFields);
     G::RenderPage('publish', 'raw');
     break;
 case 'showTransferHistory':
     G::LoadClass("case");
     $c = Cases::getTransferHistoryCriteria($_SESSION['APPLICATION']);
     $G_PUBLISH = new Publisher();
     $G_PUBLISH->AddContent('propeltable', 'paged-table', 'cases/cases_TransferHistory', $c, array());
     G::RenderPage('publish', 'raw');
     break;
 case 'showDynaformListHistory':
     //require_once 'classes/model/AppHistory.php';
     $G_PUBLISH = new Publisher();
     $G_PUBLISH->AddContent('view', 'cases/cases_DynaformHistory');
     G::RenderPage('publish', 'raw');
     break;
 case 'showTaskInformation':
     //require_once 'classes/model/AppDelegation.php';
     //require_once 'classes/model/Task.php';
     $oTask = new Task();
     $aFields = $oTask->load($_SESSION['TASK']);
开发者ID:bqevin,项目名称:processmaker,代码行数:31,代码来源:cases_Ajax.php

示例3: history

 public function history($idProcess, $appUid)
 {
     $oCase = new \Cases();
     $aFields = $oCase->loadCase($appUid);
     $oProcess = new \Process();
     $aProcessFieds = $oProcess->load($idProcess);
     $noShowTitle = 0;
     if (isset($aProcessFieds['PRO_SHOW_MESSAGE'])) {
         $noShowTitle = $aProcessFieds['PRO_SHOW_MESSAGE'];
     }
     if (isset($aFields['TITLE'])) {
         $aFields['APP_TITLE'] = $aFields['TITLE'];
     }
     if ($aFields['APP_PROC_CODE'] != '') {
         $aFields['APP_NUMBER'] = $aFields['APP_PROC_CODE'];
     }
     $aFields['CASE'] = \G::LoadTranslation('ID_CASE');
     $aFields['TITLE'] = \G::LoadTranslation('ID_TITLE');
     $c = \Cases::getTransferHistoryCriteria($appUid);
     $dataset = \AppDelegationPeer::doSelectRS($c);
     $dataset->setFetchmode(\ResultSet::FETCHMODE_ASSOC);
     $dataset->next();
     $history = array();
     while ($row = $dataset->getRow()) {
         $history[] = $row;
         $dataset->next();
     }
     $response = $this->parserHistory($history);
     return $response;
 }
开发者ID:emildev35,项目名称:processmaker,代码行数:30,代码来源:Tracker.php


注:本文中的Cases::getTransferHistoryCriteria方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。