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