. * * For more information, contact Colosa Inc, 2566 Le Jeune Rd., * Coral Gables, FL, 33134, USA, or email info@colosa.com. * */ $actionAjax = isset($_REQUEST['actionAjax'])?$_REQUEST['actionAjax']: null; if($actionAjax=='historyGridList_JXP'){ G::LoadClass('case'); G::LoadClass("BasePeer" ); global $G_PUBLISH; $c = Cases::getTransferHistoryCriteria($_SESSION['APPLICATION']); $result = new stdClass(); $aProcesses = Array(); $rs = GulliverBasePeer::doSelectRs ($c); $rs->setFetchmode (ResultSet::FETCHMODE_ASSOC); $rs->next(); for($j=0;$j< $rs->getRecordCount() ;$j++) { $result = $rs->getRow(); $result["ID_HISTORY"] = $result["PRO_UID"].'_'.$result["APP_UID"].'_'.$result["TAS_UID"]; $aProcesses[] = $result; $rs->next(); } $newDir = '/tmp/test/directory'; $r = G::verifyPath ( $newDir ); $r->data = $aProcesses; $r->totalCount = 2; echo G::json_encode($r); } if($actionAjax=='historyGridListChangeLogPanelBody_JXP'){ //!dataInput $idHistory = $_REQUEST["idHistory"]; //!dataInput //!dataSytem $idHistoryArray = explode("*",$idHistory ); $_REQUEST["PRO_UID"]= $idHistoryArray[0]; $_REQUEST["APP_UID"]= $idHistoryArray[1]; $_REQUEST["TAS_UID"]= $idHistoryArray[2]; $_REQUEST["DYN_UID"]= ""; ?>
|
|