本文整理匯總了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