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


PHP processMap::getCaseTrackerObjectsCriteria方法代码示例

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


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

示例1: processMap

if (!isset($_SESSION['PROCESS'])) {
    G::header('location: login');
}
$G_MAIN_MENU = 'caseTracker';
$G_ID_MENU_SELECTED = 'DYNADOC';
G::LoadClass('processMap');
$oProcessMap = new processMap();
G::LoadClass('case');
$oCase = new Cases();
$idProcess = $_SESSION['PROCESS'];
$oProcess = new Process();
$aProcessFieds = $oProcess->load($idProcess);
$noShowTitle = 0;
if (isset($aProcessFieds['PRO_SHOW_MESSAGE'])) {
    $noShowTitle = $aProcessFieds['PRO_SHOW_MESSAGE'];
}
$aFields = $oCase->loadCase($_SESSION['APPLICATION']);
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_DynaDocs', $oProcessMap->getCaseTrackerObjectsCriteria($_SESSION['PROCESS']), array('VIEW' => G::LoadTranslation('ID_VIEW')));
G::RenderPage('publish');
开发者ID:bqevin,项目名称:processmaker,代码行数:31,代码来源:tracker_DynaDocs.php

示例2: objects

 public function objects($idProcess, $appUid)
 {
     $oProcessMap = new \processMap();
     $oCase = new \Cases();
     $oProcess = new \Process();
     $aProcessFieds = $oProcess->load($idProcess);
     $noShowTitle = 0;
     if (isset($aProcessFieds['PRO_SHOW_MESSAGE'])) {
         $noShowTitle = $aProcessFieds['PRO_SHOW_MESSAGE'];
     }
     $aFields = $oCase->loadCase($appUid);
     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 = $oProcessMap->getCaseTrackerObjectsCriteria($idProcess);
     $response = array();
     if ($c->getDbName() == 'dbarray') {
         $rs = \ArrayBasePeer::doSelectRs($c);
         $rs->setFetchmode(\ResultSet::FETCHMODE_ASSOC);
         $rs->next();
         $objects = array();
         while ($row = $rs->getRow()) {
             $objects[] = $row;
             $rs->next();
         }
         $response = $this->parserObjects($objects);
     }
     return $response;
 }
开发者ID:emildev35,项目名称:processmaker,代码行数:34,代码来源:Tracker.php


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