本文整理匯總了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);
}
示例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);
}
示例3: postProcess
public function postProcess(Vtiger_Request $request)
{
if ($this->getOperationArg($request) === 'attachment_dld') {
return true;
} else {
parent::postProcess($request);
}
}
示例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);
}
示例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);
}
示例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);
}
示例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);
}
示例8: postProcess
public function postProcess(Vtiger_Request $request)
{
parent::postProcess($request);
}
示例9: postProcess
public function postProcess(Vtiger_Request $request) {
$viewer = $this->getViewer($request);
$viewer->view('IndexPostProcess.tpl');
parent::postProcess($request);
}
示例10: postProcess
public function postProcess(Vtiger_Request $request)
{
global $log;
$log->debug("Entering ./views/DashBoard.php::postProcess");
parent::postProcess($request);
}