本文整理汇总了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);
}