本文整理汇总了PHP中RequestUtil::getTopNavURL方法的典型用法代码示例。如果您正苦于以下问题:PHP RequestUtil::getTopNavURL方法的具体用法?PHP RequestUtil::getTopNavURL怎么用?PHP RequestUtil::getTopNavURL使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类RequestUtil
的用法示例。
在下文中一共展示了RequestUtil::getTopNavURL方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: l
}
if ($node->data[1]['total_gross_pay'] == 0) {
$payroll_link = l('<span class="nav-title">Payroll</span><br>' . custom_number_formatter_format(0, 1, '$'), '', $options_disabled);
} else {
$payroll_link = l('<span class="nav-title">Payroll</span><br>' . custom_number_formatter_format($node->data[1]['total_gross_pay'], 1, '$'), RequestUtil::getTopNavURL("payroll"), $options);
}
}
if ($spending_amount == 0) {
$spending_link = l('<span class="nav-title">Spending</span><br>' . custom_number_formatter_format(0, 1, '$'), '', $options_disabled);
} else {
$spending_link = l('<span class="nav-title">Spending</span><br>' . custom_number_formatter_format($spending_amount, 1, '$'), RequestUtil::getTopNavURL("spending"), $options);
}
if ($contract_amount == 0) {
$contracts_link = l('<span class="nav-title">Contracts</span><br>' . custom_number_formatter_format(0, 1, '$'), '', $options_disabled);
} else {
$contracts_link = l('<span class="nav-title">Contracts</span><br>' . custom_number_formatter_format($contract_amount, 1, '$'), RequestUtil::getTopNavURL("contracts"), $options);
}
if (preg_match('/yeartype\\/C/', $_GET['q'])) {
$budget_link = l('<span class="nav-title">Budget</span><br> ' . custom_number_formatter_format(0, 1, '$'), '', $options_disabled);
$revenue_link = l('<span class="nav-title">Revenue</span><br> ' . custom_number_formatter_format(0, 1, '$'), '', $options_disabled);
}
$current_dashboard = _getRequestParamValue("dashboard");
// Disable featured dashboatrd for other government entities.
if (preg_match('/datasource\\/checkbook_oge/', $_GET['q'])) {
$mwbe_amount = 0;
$svendor_amount = 0;
$mwbe_filters = "<div class='main-nav-drop-down' style='display:none'>\n \t\t</div>\n \t\t";
$svendor_filters = "<div class='main-nav-drop-down' style='display:none'>\n \t\t</div>\n \t\t";
} else {
// Get mwbe and subvendor links.
$mwbe_active_domain_link = RequestUtil::getDashboardTopNavURL("mwbe");