本文整理汇总了PHP中Reports::getCriteriaJS方法的典型用法代码示例。如果您正苦于以下问题:PHP Reports::getCriteriaJS方法的具体用法?PHP Reports::getCriteriaJS怎么用?PHP Reports::getCriteriaJS使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Reports
的用法示例。
在下文中一共展示了Reports::getCriteriaJS方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: implode
}
}
}
$secondarymodule = implode(":", $secondarymodules);
if ($secondarymodule != '') {
$oReport->secmodule = $secondarymodule;
}
$BLOCK1 = getPrimaryStdFilterHTML($oReport->primodule, $oReport->stdselectedcolumn);
$BLOCK1 .= getSecondaryStdFilterHTML($oReport->secmodule, $oReport->stdselectedcolumn);
//added to fix the ticket #5117
$selectedcolumnvalue = '"' . $oReport->stdselectedcolumn . '"';
if (!$is_admin && isset($oReport->stdselectedcolumn) && strpos($BLOCK1, $selectedcolumnvalue) === false) {
$BLOCK1 .= "<option selected value='Not Accessible'>" . $app_strings['LBL_NOT_ACCESSIBLE'] . "</option>";
}
$report_std_filter->assign("BLOCK1_STD", $BLOCK1);
$BLOCKJS = $oReport->getCriteriaJS();
$report_std_filter->assign("BLOCKJS_STD", $BLOCKJS);
$BLOCKCRITERIA = $oReport->getSelectedStdFilterCriteria($oReport->stdselectedfilter);
$report_std_filter->assign("BLOCKCRITERIA_STD", $BLOCKCRITERIA);
if (isset($oReport->startdate) && isset($oReport->enddate)) {
$report_std_filter->assign("STARTDATE_STD", getDisplayDate($oReport->startdate));
$report_std_filter->assign("ENDDATE_STD", getDisplayDate($oReport->enddate));
} else {
$report_std_filter->assign("STARTDATE_STD", $oReport->startdate);
$report_std_filter->assign("ENDDATE_STD", $oReport->enddate);
}
}
/** Function to get the HTML strings for the primarymodule standard filters
* @ param $module : Type String
* @ param $selected : Type String(optional)
* This Returns a HTML combo srings