当前位置: 首页>>代码示例>>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;未经允许,请勿转载。