本文整理汇总了PHP中api::javascriptLoad方法的典型用法代码示例。如果您正苦于以下问题:PHP api::javascriptLoad方法的具体用法?PHP api::javascriptLoad怎么用?PHP api::javascriptLoad使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类api
的用法示例。
在下文中一共展示了api::javascriptLoad方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: foreach
<script type="text/javascript" src="/public/js/Views/concrete/concreteshared.js"></script>
<script type="text/javascript" src="/public/js/Libs/flotr2.min.js"></script>
<script type="text/javascript" src="/public/js/Utils/Ajax.js"></script>
<script type="text/javascript" src="/public/js/Utils/AjaxLoader.js"></script>
<script type="text/javascript" src="/public/js/Utils/PageLoader.js"></script>
<script type="text/javascript" src="/public/js/Utils/PopupLoader.js"></script>
<script type="text/javascript" src="/public/js/Utils/json2.js"></script>
<script type="text/javascript" src="/public/js/Views/Models/balance.js"></script>
<script type="text/javascript" src="/public/js/Views/WidgetsLoad.js"></script>
<?php
foreach ($widgets as $key => $value) {
?>
<?php
api::javascriptLoad("/public/js/Views/Models/" . $value['widget_info']['widget_name'] . ".js");
api::javascriptLoad("/public/js/Views/concrete/concrete" . $value['widget_info']['widget_name'] . ".js");
?>
<?php
}
?>
<!--[if lt IE 9]>
<script type="text/javascript" src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<script type="text/javascript">
document.write('<span id="EgoPaySeal"></span>');
(function() {
var eps = document.createElement('script'); eps.type = 'text/javascript'; eps.async = true;
//eps.src = 'https://www.egopay.com/verify/seal/seal/QHAIF1V5265G';
var sp = document.getElementById('EgoPaySeal'); if (sp) {sp.appendChild(eps);}