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


PHP Settings_Vtiger_Index_View::preProcess方法代码示例

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


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

示例1: preProcess

	public function preProcess(Vtiger_Request $request)
	{
		parent::preProcess($request);
		$viewer = $this->getViewer($request);
		$viewer->assign('RECORD_MODE', $request->getMode());
		$viewer->view('EditHeader.tpl', $request->getModule(false));
	}
开发者ID:rubichcube,项目名称:YetiForceCRM,代码行数:7,代码来源:Edit.php

示例2: preProcess

 public function preProcess(Vtiger_Request $request)
 {
     parent::preProcess($request);
     $recordId = $request->get('record');
     $mode = $request->get('mode');
     if (!$mode) {
         $mode = "step1";
     }
     $qualifiedModuleName = $request->getModule(false);
     $moduleName = $request->getModule();
     if ($recordId) {
         $recordModel = Settings_MailConverter_Record_Model::getInstanceById($recordId);
     } else {
         $recordModel = Settings_MailConverter_Record_Model::getCleanInstance();
     }
     $viewer = $this->getViewer($request);
     if ($recordId) {
         $viewer->assign('RECORD_ID', $recordId);
     }
     $viewer->assign('CREATE', $request->get('create'));
     $viewer->assign('RECORD_MODEL', $recordModel);
     $viewer->assign('MODULE_MODEL', $recordModel->getModule());
     $viewer->assign('STEP', $mode);
     $viewer->assign('MODULE_NAME', $moduleName);
     $viewer->assign('QUALIFIED_MODULE', $qualifiedModuleName);
     $viewer->view('EditHeader.tpl', $qualifiedModuleName);
 }
开发者ID:cannking,项目名称:vtigercrm-debug,代码行数:27,代码来源:Edit.php

示例3: preProcess

 function preProcess(Vtiger_Request $request, $display = true)
 {
     parent::preProcess($request, false);
     $viewer = $this->getViewer($request);
     $this->initializeListViewContents($request, $viewer);
     $sourceModule = $request->get('sourceModule');
     $viewer->assign('SOURCE_MODULE', $sourceModule);
     $viewer->view('ListViewHeader.tpl', $request->getModule(false));
 }
开发者ID:rcrrich,项目名称:YetiForceCRM,代码行数:9,代码来源:List.php

示例4: preProcess

 public function preProcess(Vtiger_Request $request)
 {
     parent::preProcess($request);
     $viewer = $this->getViewer($request);
     $recordId = $request->get('record');
     $viewer->assign('RECORDID', $recordId);
     if ($recordId) {
         $moduleInstance = Settings_MappedFields_Module_Model::getInstanceById($recordId);
         $viewer->assign('MAPPEDFIELDS_MODULE_MODEL', $moduleInstance);
     }
     $viewer->assign('RECORD_MODE', $request->getMode());
     $viewer->view('EditHeader.tpl', $request->getModule(false));
 }
开发者ID:Bergdahls,项目名称:YetiForceCRM,代码行数:13,代码来源:Edit.php

示例5: preProcess

 public function preProcess(Vtiger_Request $request)
 {
     parent::preProcess($request);
     $viewer = $this->getViewer($request);
     $recordId = $request->get('record');
     $viewer->assign('RECORDID', $recordId);
     if ($recordId) {
         $workflowModel = Settings_Workflows_Record_Model::getInstance($recordId);
         $viewer->assign('WORKFLOW_MODEL', $workflowModel);
     }
     $viewer->assign('RECORD_MODE', $request->getMode());
     $viewer->view('EditHeader.tpl', $request->getModule(false));
 }
开发者ID:JeRRimix,项目名称:YetiForceCRM,代码行数:13,代码来源:Edit.php

示例6: preProcess

 public function preProcess(Vtiger_Request $request)
 {
     parent::preProcess($request);
 }
开发者ID:yozhi,项目名称:YetiForceCRM,代码行数:4,代码来源:Index.php

示例7: preProcess

 public function preProcess($request)
 {
     ${"GLOBALS"}["rkgmoxvznlb"] = "request";
     ${${"GLOBALS"}["socqiptt"]} = $request->get("workflow");
     if (!empty(${${"GLOBALS"}["socqiptt"]})) {
         ${"GLOBALS"}["yreglrnv"] = "values";
         ${"GLOBALS"}["zvauiryc"] = "adb";
         ${${"GLOBALS"}["zvauiryc"]} = PearDatabase::getInstance();
         ${${"GLOBALS"}["yreglrnv"]} = array();
         if (isset(${${"GLOBALS"}["socqiptt"]}["mainmodule"])) {
             ${"GLOBALS"}["cocdvbaiflk"] = "workflow";
             ${${"GLOBALS"}["wounomveyrd"]} = $request->get("workflow");
             ${${"GLOBALS"}["rmbbwt"]}[] = VtUtils::getModuleName(${${"GLOBALS"}["cocdvbaiflk"]}["mainmodule"]);
             ${${"GLOBALS"}["fwjxwcmhme"]}[] = "`module_name` = ?";
         }
         if (count(${${"GLOBALS"}["fwjxwcmhme"]}) > 0) {
             ${"GLOBALS"}["bejhrqdh"] = "sql";
             ${${"GLOBALS"}["wounomveyrd"]} = $request->get("workflow");
             ${${"GLOBALS"}["bejhrqdh"]} = "UPDATE vtiger_wf_settings SET " . implode(",", ${${"GLOBALS"}["fwjxwcmhme"]}) . " WHERE id = " . intval(${${"GLOBALS"}["wounomveyrd"]}["id"]);
             $adb->pquery(${${"GLOBALS"}["npnwejaci"]}, array(${${"GLOBALS"}["rmbbwt"]}));
         }
     }
     parent::preProcess(${${"GLOBALS"}["rkgmoxvznlb"]});
 }
开发者ID:cin-system,项目名称:cinrepo,代码行数:24,代码来源:Config.php


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