本文整理汇总了PHP中Environment::getPHPChartsPath方法的典型用法代码示例。如果您正苦于以下问题:PHP Environment::getPHPChartsPath方法的具体用法?PHP Environment::getPHPChartsPath怎么用?PHP Environment::getPHPChartsPath使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Environment
的用法示例。
在下文中一共展示了Environment::getPHPChartsPath方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: obsoletedropdownMenu
static function obsoletedropdownMenu()
{
echo "\n\t\t\t<div style='padding-left:400px;margin-bottom:20px;z-index:10;position:relative;'>\n\t\t\t<ul class='dropdown'>\n\t\t\t\t<li>\n\t\t\t\t\t<a href='#'>Equities</a>\n\t\t\t\t\t<ul class='sub_menu'>\n\t\t\t\t\t\t<li>\n\t\t\t\t\t\t<a href='" . Environment::getPHPChartsPath(false) . "/charts/allassets/directtable.php?entitygroupid=1' >US Equities Top Gainers/Losers</a>\n\t\t\t\t\t\t</li>\n\t\t\t\t\t\t<li>\n\t\t\t\t\t\t<a href='" . Environment::getPHPChartsPath(false) . "/charts/equities/epslinechart3.php?t=ge'>US Equities Quarterly Earnings</a>\n\t\t\t\t\t\t</li>\n\t\t\t\t\t\t<li>\n\t\t\t\t\t\t<a href='" . Environment::getPHPChartsPath(false) . "/charts/allassets/linechart.php?e=1&type=4' >US Equities Individual Charts</a>\n\t\t\t\t\t\t</li>\n\t\t\t\t\t\t<li>\n\t\t\t\t\t\t<a href='" . Environment::getPHPChartsPath(false) . "/charts/allassets/directtable.php?entitygroupid=5' >Global Equity Indexes Table</a>\n\t\t\t\t\t\t</li>\n\t\t\t\t\t\t<li>\n\t\t\t\t\t\t<a href='" . Environment::getPHPChartsPath(false) . "/charts/allassets/directtable.php?entitygroupid=101027&begindate=1293865200000&enddate=current' >Benchmark Global Equity Indexes Table</a>\n\t\t\t\t\t\t</li>\n\t\t\t\t\t\t<li>\n\t\t\t\t\t\t<a href='" . Environment::getPHPChartsPath(false) . "/charts/allassets/directtable.php?entitygroupid=1008&metricid=11' >Global Equity Futures Table</a>\n\t\t\t\t\t\t</li>\n\t\t\t\t\t</ul>\n\t\t\t\t</li>\n\t\t\t\t<li>\n\t\t\t\t\t<a href='#'>Commodities</a>\n\t\t\t\t\t<ul class='sub_menu'>\n\t\t\t\t\t\t<li><a href='" . Environment::getPHPChartsPath(false) . "/charts/allassets/directtable.php?entitygroupid=4&metricid=11' >Commodity Futures Table</a></li>\n\t\t\t\t\t\t<li><a href='" . Environment::getPHPChartsPath(false) . "/charts/allassets/linechart.php?e=673&type=3' >Commodity Futures Individual Charts</a></li>\n\t\t\t\t\t</ul>\n\t\t\t\t</li>\n\t\t\t\t<li>\n\t\t\t\t\t<a href='#'>Foreign Exchange</a>\n\t\t\t\t\t<ul class='sub_menu'>\n\t\t\t\t\t\t<li><a href='" . Environment::getPHPChartsPath(false) . "/charts/allassets/directtable.php?entitygroupid=3'>Global Forex Table</a></li>\n\t\t\t\t\t\t<li><a href='" . Environment::getPHPChartsPath(false) . "/charts/allassets/linechart.php?e=508&type=2'>Forex Individual Charts</a></li>\n\t\t\t\t\t</ul>\n\t\t\t\t</li>\n\t\t\t\t\t<li>\n\t\t\t\t\t<a href='#'>Bonds</a>\n\t\t\t\t\t<ul class='sub_menu'>\n\t\t\t\t\t\t<li><a href='" . Environment::getPHPChartsPath(false) . "/charts/allassets/directtable.php?entitygroupid=101024&order=DESC&metricid=1'>Global CDS Table</a></li>\n\t\t\t\t\t\t<li><a href='" . Environment::getPHPChartsPath(false) . "/charts/allassets/directtable.php?entitygroupid=101023&order=DESC&metricid=1001'>Global Sovereign Bonds Table</a></li>\n\t\t\t\t\t\t<li><a href='" . Environment::getPHPChartsPath(false) . "/charts/allassets/linechart.php?eg=101029&type=5'>UK Yield Curve</a></li>\t\t\t\n\t\t\t\t\t\t<li><a href='" . Environment::getPHPChartsPath(false) . "/charts/allassets/linechart.php?eg=101030&type=5'>Australian Yield Curve</a></li>\n\t\t\t\t\t\t<li><a href='" . Environment::getPHPChartsPath(false) . "/charts/allassets/linechart.php?eg=101031&type=5'>Japanese Yield Curve</a></li>\n\t\t\t\t\t\t<li><a href='" . Environment::getPHPChartsPath(false) . "/charts/allassets/linechart.php?eg=101032&type=5'>Brazilian Yield Curve</a></li>\n\t\t\t\t\t\t<li><a href='" . Environment::getPHPChartsPath(false) . "/charts/allassets/linechart.php?eg=101033&type=5'>German Yield Curve</a></li>\n\t\t\t\t\t\t<li><a href='" . Environment::getPHPChartsPath(false) . "/charts/allassets/linechart.php?eg=101039&type=5'>German Yield Curve (short duration only)</a></li>\n\t\t\t\t\t\t<li><a href='" . Environment::getPHPChartsPath(false) . "/charts/allassets/linechart.php?eg=101034&type=5'>Hong Kong Yield Curve</a></li>\n\t\t\t\t\t\t<li><a href='" . Environment::getPHPChartsPath(false) . "/charts/allassets/linechart.php?eg=101035&type=5'>U.S. Yield Curve</a></li>\n\t\t\t\t\t</ul>\n\t\t\t\t</li>\n\t\t\t\t<li>\n\t\t\t\t\t<a href='#'>Miscellaneous</a>\n\t\t\t\t\t<ul class='sub_menu'>\n\t\t\t\t\t\t<li><a href='" . Environment::getPHPChartsPath(false) . "/charts/fed/balsheet.php'>Federal Reserve Balance Sheet</a></li>\n\t\t\t\t\t\t<li><a href='" . Environment::getPHPChartsPath(false) . "/charts/other/comingsoon.php'>Federal Reserve Change WOW</a></li>\n\t\t\t\t\t\t<li><a href='" . Environment::getPHPChartsPath(false) . "/charts/gdp/motionchart.php'>GDP Growth Estimates</a></li>\n\t\t\t\t\t\t<li><a href='" . Environment::getPHPChartsPath(false) . "/charts/countries/linechart.php'>GDP/Equity Index Line Chart</a></li>\n\t\t\t\t\t\t<li><a href='" . Environment::getPHPChartsPath(false) . "/charts/alerts/twittertable.php'>Twitter Alerts Table</a></li>\n\t\t\t\t\t\t<li><a href='" . Environment::getPHPChartsPath(false) . "/charts/allassets/topchart.php'>All Assets - Tables</a></li>\n\t\t\t\t\t\t<li><a href='" . Environment::getPHPChartsPath(false) . "/charts/allassets/linechart.php?a=660&type=1'>All Assets - Inidivdual Line Charts</a></li>\n\t\t\t\t\t\t<li><a href='" . Environment::getPHPChartsPath(false) . "/charts/other/gasolinemotionchart.php'>Global Gasoline Prices</a></li>\n\t\t\t\t\t</ul>\n\t\t\t\t</li>\n\t\t\t</ul>\n\t\t</div>\n\t\t<div style='clear:both'>\n\t\t";
}
示例2: array
<?php
$tabs = array(1, 2, 3, 4);
$tables = array(1, 2, 3, 4);
$tabletitles = array("Forex", "Global Equity Indexes", "Commodity Futures", "Global Equity Index Futures");
$entitygroups = array(3, 5, 4, 1008);
$metricids = array(1, 1, 11, 11);
/*
* These values need to match the values in sitecommon:dateselect. Should define a commond set of
* values, but blowing off for now.
*/
$timeframes = array("CURRENT_DAY", "CURRENT_WTD", "CURRENT_MTD", "CURRENT_YTD");
for ($i = 0; $i < sizeof($tabs); $i++) {
echo "<div id=\"tabs-" . $tabs[$i] . "\">\n";
for ($j = 0; $j < sizeof($tables); $j++) {
$anchor = "<a style=\"font-size:1.0em;\" target=\"_new\" href=\"" . Environment::getPHPChartsPath(false) . "/charts/allassets/directtable.php";
$anchor .= "?entitygroupid=" . $entitygroups[$j];
$anchor .= "&metricid=" . $metricids[$j];
$anchor .= "&timeframe=" . $timeframes[$i];
$anchor .= "\">" . $tabletitles[$j] . ":</a>\n";
echo $anchor;
echo "<div id=\"tab" . $tabs[$i] . "table" . $tables[$j] . "\" style=\"color: #000;margin: 15px 0 15px 0;\"></div>\n";
}
echo "</div><!-- tab " . $tabs[$i] . " -->\n";
}
?>
</div> <!-- tabs -->
</div> <!-- font -->
</div> <!-- rightcol -->
<div id="twittercontrol">