示例#1
0
 function preProcess(Vtiger_Request $request)
 {
     $moduleName = $request->getModule();
     $moduleInstance = CRMEntity::getInstance($moduleName);
     $viewer = $this->getViewer($request);
     $viewer->assign('CONVERSION_AVAILABLE_STATUS', Zend_Json::encode($moduleInstance->conversion_available_status));
     parent::preProcess($request);
 }
示例#2
0
 public function showModuleSummaryView($request)
 {
     $recordId = $request->get('record');
     $moduleName = $request->getModule();
     $recordModel = Vtiger_Record_Model::getInstanceById($recordId, $moduleName);
     $viewer = $this->getViewer($request);
     $viewer->assign('IMAGE_DETAILS', $recordModel->getImageDetails());
     return parent::showModuleDetailView($request);
 }
示例#3
0
 function preProcess(Vtiger_Request $request)
 {
     $viewer = $this->getViewer($request);
     $viewer->assign('CONVERSION_AVAILABLE_STATUS', Zend_Json::encode(Leads_Module_Model::getConversionAvaibleStatuses()));
     parent::preProcess($request);
 }