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


PHP Cases::getHistoryMessagesTrackerView方法代码示例

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


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

示例1: getViewMessages

 /**
  * @return array
  * @access public
  *
  * @param string $msg_uid {@min 1}{@max 32}
  * @param string $app_uid {@min 1}{@max 32}
  *
  * @url GET /process/case/:app_uid/message/:msg_uid/view
  */
 public function getViewMessages($app_uid, $msg_uid)
 {
     try {
         $oMobile = new \ProcessMaker\BusinessModel\Light\Tracker();
         $Fields = \Cases::getHistoryMessagesTrackerView($app_uid, $msg_uid);
         $response = $oMobile->parserMessages($Fields);
         //$response = $oMobile->messages($pro_uid, $app_uid);
     } catch (\Exception $e) {
         throw new RestException(Api::STAT_APP_EXCEPTION, $e->getMessage());
     }
     return $response;
 }
开发者ID:emildev35,项目名称:processmaker,代码行数:21,代码来源:Tracker.php

示例2: AppDocument

     $oCase->getAllUploadedDocumentsCriteria($_SESSION['PROCESS'], $_SESSION['APPLICATION'], $_SESSION['TASK'], $_SESSION['USER_LOGGED']);
     break;
 case 'deleteGeneratedDocument':
     //require_once 'classes/model/AppDocument.php';
     $oAppDocument = new AppDocument();
     $oAppDocument->remove($_POST['DOC']);
     $oCase = new Cases();
     $oCase->getAllGeneratedDocumentsCriteria($_SESSION['PROCESS'], $_SESSION['APPLICATION'], $_SESSION['TASK'], $_SESSION['USER_LOGGED']);
     break;
     /* @Author Erik Amaru Ortiz <erik@colosa.com> */
 /* @Author Erik Amaru Ortiz <erik@colosa.com> */
 case 'resendMessage':
     //require_once 'classes/model/Configuration.php';
     G::LoadClass('spool');
     $oCase = new Cases();
     $data = $oCase->getHistoryMessagesTrackerView($_POST['APP_UID'], $_POST['APP_MSG_UID']);
     //print_r($data);
     G::LoadClass("system");
     $aSetup = System::getEmailConfiguration();
     $passwd = $aSetup['MESS_PASSWORD'];
     $passwdDec = G::decrypt($passwd, 'EMAILENCRYPT');
     $auxPass = explode('hash:', $passwdDec);
     if (count($auxPass) > 1) {
         if (count($auxPass) == 2) {
             $passwd = $auxPass[1];
         } else {
             array_shift($auxPass);
             $passwd = implode('', $auxPass);
         }
     }
     $aSetup['MESS_PASSWORD'] = $passwd;
开发者ID:bqevin,项目名称:processmaker,代码行数:31,代码来源:cases_Ajax.php

示例3: function

        leimnud.browser = {};
        leimnud.browser.isIphone  = "";
        leimnud.iphone = {};
        leimnud.iphone.make = function(){};
        function ajax_function(ajax_server, funcion, parameters, method){
        }
        //!
      </script>
<?php 
    G::LoadClass('case');
    $oCase = new Cases();
    $_POST["APP_UID"] = $_REQUEST["APP_UID"];
    $_POST['APP_MSG_UID'] = $_REQUEST["APP_MSG_UID"];
    $G_PUBLISH = new Publisher();
    $oCase = new Cases();
    $G_PUBLISH->AddContent('xmlform', 'xmlform', 'cases/cases_MessagesView', '', $oCase->getHistoryMessagesTrackerView($_POST['APP_UID'], $_POST['APP_MSG_UID']));
    ?>
        <script language="javascript">
<?php 
    global $G_FORM;
    ?>
          function loadForm_<?php 
    echo $G_FORM->id;
    ?>
(parametro1){
          }
        </script>
<?php 
    G::RenderPage('publish', 'raw');
}
if ($actionAjax == 'showDynaformListHistory') {
开发者ID:nshong,项目名称:processmaker,代码行数:31,代码来源:casesHistoryDynaformPage_Ajax.php

示例4: Publisher

 * it under the terms of the GNU Affero General Public License as
 * published by the Free Software Foundation, either version 3 of the
 * License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with this program. If not, see <http://www.gnu.org/licenses/>.
 *
 * For more information, contact Colosa Inc, 2566 Le Jeune Rd.,
 * Coral Gables, FL, 33134, USA, or email info@colosa.com.
 */
/*
* Messages for Case Tracker
*
* @author Everth S. Berrios Morales <everth@colosa.com>
*
*/
if (!isset($_SESSION['PROCESS'])) {
    G::header('location: login');
}
$G_MAIN_MENU = 'caseTracker';
$G_ID_MENU_SELECTED = 'MESSAGES';
G::LoadClass("case");
$Fields = Cases::getHistoryMessagesTrackerView($_GET['APP_UID'], $_GET['APP_MSG_UID']);
$G_PUBLISH = new Publisher();
$G_PUBLISH->AddContent('xmlform', 'xmlform', 'tracker/tracker_MessagesView', '', $Fields);
G::RenderPage('publish');
开发者ID:emildev35,项目名称:processmaker,代码行数:31,代码来源:tracker_MessagesView.php


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