本文整理匯總了PHP中Reports::sgetRptFldr方法的典型用法代碼示例。如果您正苦於以下問題:PHP Reports::sgetRptFldr方法的具體用法?PHP Reports::sgetRptFldr怎麽用?PHP Reports::sgetRptFldr使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類Reports
的用法示例。
在下文中一共展示了Reports::sgetRptFldr方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: getParentTab
$log = LoggerManager::getLogger('report_list');
global $currentModule, $image_path, $theme;
$theme_path = "themes/" . $theme . "/";
$image_path = $theme_path . "images/";
$list_report_form = new vtigerCRM_Smarty();
$list_report_form->assign("MOD", $mod_strings);
$list_report_form->assign("APP", $app_strings);
$list_report_form->assign("APPLIST", $app_list_strings);
$list_report_form->assign("THEME", $theme);
$list_report_form->assign("IMAGE_PATH", $image_path);
$list_report_form->assign("CATEGORY", getParentTab());
$list_report_form->assign("MODULE", $currentModule);
$list_report_form->assign("NEWRPT_BUTTON", $newrpt_button);
$list_report_form->assign("NEWRPT_FLDR_BUTTON", $newrpt_fldr_button);
$repObj = new Reports();
$list_report_form->assign("REPT_FLDR", $repObj->sgetRptFldr('SAVED'));
$cusFldrDtls = array();
$cusFldrDtls = $repObj->sgetRptFldr('CUSTOMIZED');
$list_report_form->assign("REPT_CUSFLDR", $cusFldrDtls);
foreach ($cusFldrDtls as $entries) {
$fldrids_lists[] = $entries['id'];
}
if (count($fldrids_lists) > 0) {
$list_report_form->assign("FOLDE_IDS", implode(',', $fldrids_lists));
}
$list_report_form->assign("REPT_MODULES", getReportsModuleList($repObj));
$list_report_form->assign("REPT_FOLDERS", $repObj->sgetRptFldr());
$list_report_form->assign("DEL_DENIED", vtlib_purify($_REQUEST['del_denied']));
$list_report_form->assign('ISADMIN', is_admin($current_user));
if ($_REQUEST['mode'] == 'ajax' or $_REQUEST['mode'] == 'ajaxdelete') {
$list_report_form->display("ReportContents.tpl");