當前位置: 首頁>>代碼示例>>PHP>>正文


PHP Reports::getPriModuleColumnsList方法代碼示例

本文整理匯總了PHP中Reports::getPriModuleColumnsList方法的典型用法代碼示例。如果您正苦於以下問題:PHP Reports::getPriModuleColumnsList方法的具體用法?PHP Reports::getPriModuleColumnsList怎麽用?PHP Reports::getPriModuleColumnsList使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在Reports的用法示例。


在下文中一共展示了Reports::getPriModuleColumnsList方法的2個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: array

         $showCharts = false;
     }
     $list_report_form->assign("SHOWCHARTS", $showCharts);
 }
 //Monolithic Changes Ends
 // Performance Optimization: Direct output of the report result
 if ($_REQUEST['submode'] == 'generateReport' && empty($advft_criteria)) {
     $filtersql = '';
 }
 $sshtml = array();
 $totalhtml = '';
 $list_report_form->assign("DIRECT_OUTPUT", true);
 $list_report_form->assign_by_ref("__REPORT_RUN_INSTANCE", $oReportRun);
 $list_report_form->assign_by_ref("__REPORT_RUN_FILTER_SQL", $filtersql);
 //Ends
 $ogReport->getPriModuleColumnsList($ogReport->primodule);
 $ogReport->getSecModuleColumnsList($ogReport->secmodule);
 $ogReport->getAdvancedFilterList($reportid);
 $COLUMNS_BLOCK = getPrimaryColumns_AdvFilter_HTML($ogReport->primodule, $ogReport);
 $COLUMNS_BLOCK .= getSecondaryColumns_AdvFilter_HTML($ogReport->secmodule, $ogReport);
 $list_report_form->assign("COLUMNS_BLOCK", $COLUMNS_BLOCK);
 $FILTER_OPTION = Reports::getAdvCriteriaHTML();
 $list_report_form->assign("FOPTION", $FILTER_OPTION);
 $rel_fields = $ogReport->adv_rel_fields;
 $list_report_form->assign("REL_FIELDS", Zend_Json::encode($rel_fields));
 $list_report_form->assign("CRITERIA_GROUPS", $ogReport->advft_criteria);
 $list_report_form->assign("MOD", $mod_strings);
 $list_report_form->assign("APP", $app_strings);
 $list_report_form->assign("IMAGE_PATH", $image_path);
 $list_report_form->assign("REPORTID", $reportid);
 $list_report_form->assign("IS_EDITABLE", $ogReport->is_editable);
開發者ID:mslokhat,項目名稱:corebos,代碼行數:31,代碼來源:SaveAndRun.php

示例2: array

    $primarymodule = vtlib_purify($_REQUEST["primarymodule"]);
    $secondarymodule = '';
    $secondarymodules = array();
    if (!empty($ogReport->related_modules[$primarymodule])) {
        foreach ($ogReport->related_modules[$primarymodule] as $key => $value) {
            if (isset($_REQUEST["secondarymodule_" . $value])) {
                $secondarymodules[] = $_REQUEST["secondarymodule_" . $value];
            }
            $ogReport->getSecModuleColumnsList($_REQUEST["secondarymodule_" . $value]);
            if (!isPermitted($_REQUEST["secondarymodule_" . $value], 'index') == "yes" && !isset($_REQUEST["secondarymodule_" . $value])) {
                $permission = false;
            }
        }
    }
    $secondarymodule = implode(":", $secondarymodules);
    $ogReport->getPriModuleColumnsList($primarymodule);
    //$ogReport->getSecModuleColumnsList($secondarymodule);
    $list_report_form->assign('BACK_WALK', 'true');
}
$list_report_form->assign('USER_DATE_FORMAT', $current_user->date_format);
if (isset($current_user->currency_grouping_separator) && $current_user->currency_grouping_separator == '') {
    $list_report_form->assign('USER_CURRENCY_SEPARATOR', ' ');
} else {
    $list_report_form->assign('USER_CURRENCY_SEPARATOR', html_entity_decode($current_user->currency_grouping_separator, ENT_QUOTES, $default_charset));
}
if (isset($current_user->currency_decimal_separator) && $current_user->currency_decimal_separator == '') {
    $list_report_form->assign('USER_DECIMAL_FORMAT', ' ');
} else {
    $list_report_form->assign('USER_DECIMAL_FORMAT', html_entity_decode($current_user->currency_decimal_separator, ENT_QUOTES, $default_charset));
}
$list_report_form->assign('PRI_MODULE', $primarymodule);
開發者ID:sacredwebsite,項目名稱:vtigercrm,代碼行數:31,代碼來源:NewReport1.php


注:本文中的Reports::getPriModuleColumnsList方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。