当前位置: 首页>>代码示例>>PHP>>正文


PHP RequestUtil::getTopNavURL方法代码示例

本文整理汇总了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>&nbsp;' . custom_number_formatter_format(0, 1, '$'), '', $options_disabled);
    $revenue_link = l('<span class="nav-title">Revenue</span><br>&nbsp;' . 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");
开发者ID:ecs-hk,项目名称:Checkbook,代码行数:31,代码来源:contracts_navigation.tpl.php


注:本文中的RequestUtil::getTopNavURL方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。