當前位置: 首頁>>代碼示例>>PHP>>正文


PHP Vtiger_Index_View::postProcess方法代碼示例

本文整理匯總了PHP中Vtiger_Index_View::postProcess方法的典型用法代碼示例。如果您正苦於以下問題:PHP Vtiger_Index_View::postProcess方法的具體用法?PHP Vtiger_Index_View::postProcess怎麽用?PHP Vtiger_Index_View::postProcess使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在Vtiger_Index_View的用法示例。


在下文中一共展示了Vtiger_Index_View::postProcess方法的10個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: postProcess

 function postProcess(Vtiger_Request $request)
 {
     $viewer = $this->getViewer($request);
     $moduleName = $request->getModule();
     $viewer->view('ListViewPostProcess.tpl', $moduleName);
     parent::postProcess($request);
 }
開發者ID:rcrrich,項目名稱:UpdatePackages,代碼行數:7,代碼來源:List.php

示例2: postProcess

 public function postProcess(Vtiger_Request $request)
 {
     $moduleName = $request->getModule();
     $viewer = $this->getViewer($request);
     $viewer->assign('CUSTOM_VIEWS', CustomView_Record_Model::getAllByGroup($moduleName));
     $viewer->view('TreeRecordsPostProcess.tpl', $moduleName);
     parent::postProcess($request);
 }
開發者ID:nikdejan,項目名稱:YetiForceCRM,代碼行數:8,代碼來源:TreeRecords.php

示例3: postProcess

 public function postProcess(Vtiger_Request $request)
 {
     if ($this->getOperationArg($request) === 'attachment_dld') {
         return true;
     } else {
         parent::postProcess($request);
     }
 }
開發者ID:cannking,項目名稱:vtigercrm-debug,代碼行數:8,代碼來源:Abstract.php

示例4: postProcess

 public function postProcess(Vtiger_Request $request, $display = true)
 {
     $moduleName = $request->getModule();
     $viewer = $this->getViewer($request);
     $viewer->assign('CUSTOM_VIEWS', CustomView_Record_Model::getAllByGroup($moduleName));
     if ($display) {
         $this->postProcessDisplay($request);
     }
     parent::postProcess($request);
 }
開發者ID:HoererUndFlamme,項目名稱:YetiForceCRM,代碼行數:10,代碼來源:TreeRecords.php

示例5: postProcess

 public function postProcess(Vtiger_Request $request)
 {
     $recordId = $request->get('record');
     $moduleName = $request->getModule();
     $currentUserModel = Users_Record_Model::getCurrentUserModel();
     $moduleModel = Vtiger_Module_Model::getInstance($moduleName);
     if (!$this->record) {
         $this->record = Vtiger_DetailView_Model::getInstance($moduleName, $recordId);
     }
     $detailViewLinkParams = array('MODULE' => $moduleName, 'RECORD' => $recordId);
     $detailViewLinks = $this->record->getDetailViewLinks($detailViewLinkParams);
     $selectedTabLabel = $request->get('tab_label');
     if (empty($selectedTabLabel)) {
         if ($currentUserModel->get('default_record_view') === 'Detail') {
             $selectedTabLabel = vtranslate('LBL_RECORD_DETAILS', $moduleName);
         } else {
             if ($moduleModel->isSummaryViewSupported()) {
                 $selectedTabLabel = vtranslate('LBL_RECORD_SUMMARY', $moduleName);
             } else {
                 $selectedTabLabel = vtranslate('LBL_RECORD_DETAILS', $moduleName);
             }
         }
     }
     $viewer = $this->getViewer($request);
     $viewer->assign('SELECTED_TAB_LABEL', $selectedTabLabel);
     $viewer->assign('MODULE_MODEL', $this->record->getModule());
     $viewer->assign('DETAILVIEW_LINKS', $detailViewLinks);
     $viewer->view('DetailViewPostProcess.tpl', $moduleName);
     parent::postProcess($request);
 }
開發者ID:krzychab,項目名稱:YetiForceCRM,代碼行數:30,代碼來源:Detail.php

示例6: postProcess

 public function postProcess(Vtiger_Request $request)
 {
     $recordId = $request->get('record');
     $moduleName = $request->getModule();
     if (!$this->record) {
         $this->record = Vtiger_DetailView_Model::getInstance($moduleName, $recordId);
     }
     $viewer = $this->getViewer($request);
     $viewer->assign('MODULE_MODEL', $this->record->getModule());
     $viewer->view('DetailViewPostProcess.tpl', $moduleName);
     parent::postProcess($request);
 }
開發者ID:nikdejan,項目名稱:YetiForceCRM,代碼行數:12,代碼來源:Detail.php

示例7: postProcess

 public function postProcess(Vtiger_Request $request)
 {
     $recordId = $request->get('record');
     $moduleName = $request->getModule();
     $currentUserModel = Users_Record_Model::getCurrentUserModel();
     $moduleModel = Vtiger_Module_Model::getInstance($moduleName);
     if (!$this->record) {
         $this->record = Vtiger_DetailView_Model::getInstance($moduleName, $recordId);
     }
     $detailViewLinkParams = array('MODULE' => $moduleName, 'RECORD' => $recordId);
     $detailViewLinks = $this->record->getDetailViewLinks($detailViewLinkParams);
     $selectedTabLabel = $request->get('tab_label');
     if (empty($selectedTabLabel)) {
         if ($currentUserModel->get('default_record_view') === 'Detail') {
             $selectedTabLabel = vtranslate('SINGLE_' . $moduleName, $moduleName) . ' ' . vtranslate('LBL_DETAILS', $moduleName);
         } else {
             if ($moduleModel->isSummaryViewSupported()) {
                 $selectedTabLabel = vtranslate('SINGLE_' . $moduleName, $moduleName) . ' ' . vtranslate('LBL_SUMMARY', $moduleName);
             } else {
                 $selectedTabLabel = vtranslate('SINGLE_' . $moduleName, $moduleName) . ' ' . vtranslate('LBL_DETAILS', $moduleName);
             }
         }
     }
     $viewer = $this->getViewer($request);
     $viewer->assign('SELECTED_TAB_LABEL', $selectedTabLabel);
     $viewer->assign('MODULE_MODEL', $this->record->getModule());
     $viewer->assign('DETAILVIEW_LINKS', $detailViewLinks);
     /*Codigo para la sincronización de Contactos*/
     //Modify By jmangarret 08jun2015
     if ($moduleName === 'Contacts') {
         $userId = $currentUserModel->getId();
         $viewer->assign('ID_CONTACTO', $recordId);
         $viewer->assign('ID_USER', $userId);
     }
     $viewer->view('DetailViewPostProcess.tpl', $moduleName);
     parent::postProcess($request);
 }
開發者ID:jmangarret,項目名稱:vtigercrm,代碼行數:37,代碼來源:Detail.php

示例8: postProcess

 public function postProcess(Vtiger_Request $request)
 {
     parent::postProcess($request);
 }
開發者ID:rcrrich,項目名稱:UpdatePackages,代碼行數:4,代碼來源:DashBoard.php

示例9: postProcess

    public function postProcess(Vtiger_Request $request) {
        $viewer = $this->getViewer($request);
        $viewer->view('IndexPostProcess.tpl');

        parent::postProcess($request);
    }
開發者ID:Wasage,項目名稱:werpa,代碼行數:6,代碼來源:List.php

示例10: postProcess

 public function postProcess(Vtiger_Request $request)
 {
     global $log;
     $log->debug("Entering ./views/DashBoard.php::postProcess");
     parent::postProcess($request);
 }
開發者ID:cin-system,項目名稱:cinrepo,代碼行數:6,代碼來源:DashBoard.php


注:本文中的Vtiger_Index_View::postProcess方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。