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


PHP JSNHtmlAsset::addScriptLibrary方法代码示例

本文整理汇总了PHP中JSNHtmlAsset::addScriptLibrary方法的典型用法代码示例。如果您正苦于以下问题:PHP JSNHtmlAsset::addScriptLibrary方法的具体用法?PHP JSNHtmlAsset::addScriptLibrary怎么用?PHP JSNHtmlAsset::addScriptLibrary使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在JSNHtmlAsset的用法示例。


在下文中一共展示了JSNHtmlAsset::addScriptLibrary方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: _addAssets

 /**
  * Add the libraries css and javascript
  *
  * @return void
  * 
  * @since	1.6
  */
 private function _addAssets()
 {
     JSNHtmlAsset::addStyle(JSN_URL_ASSETS . '/3rd-party/jquery-ui/css/ui-bootstrap/jquery-ui-1.9.0.custom.css');
     JSNHtmlAsset::addStyle(JSN_URL_ASSETS . '/3rd-party/bootstrap/css/bootstrap.min.css');
     JSNHtmlAsset::addStyle(JSN_URL_ASSETS . '/joomlashine/css/jsn-gui.css');
     JSNHtmlAsset::addStyle(JSN_URL_ASSETS . '/joomlashine/css/jsn-view-launchpad.css');
     JSNHtmlAsset::addStyle(JURI::base(true) . '/components/com_uniform/assets/css/uniform.css');
     if (preg_match('/msie/i', $_SERVER['HTTP_USER_AGENT'])) {
         JSNHtmlAsset::addStyle(JSN_URL_ASSETS . '/3rd-party/jquery-ui/css/ui-bootstrap/jquery-ui-1.8.16.ie.css');
     }
     JSNHtmlAsset::addStyle(JSN_URL_ASSETS . '/3rd-party/jquery-ui/css/ui-bootstrap/jquery-ui-1.9.0.custom.css');
     $arrayTranslated = array('JSN_UNIFORM_UPGRADE_EDITION_TITLE', 'JSN_UNIFORM_LAUNCHPAD_PLUGIN_SYNTAX', 'JSN_UNIFORM_YOU_MUST_SELECT_SOME_FORM', 'JSN_UNIFORM_EDIT_SELECTED_FORM', 'JSN_UNIFORM_LAUNCHPAD_PLUGIN_SYNTAX_DES', 'JSN_UNIFORM_YOU_HAVE_REACHED_THE_LIMITATION_OF_3_FORM_IN_FREE_EDITION', 'JSN_UNIFORM_UPGRADE_EDITION');
     $edition = defined('JSN_UNIFORM_EDITION') ? JSN_UNIFORM_EDITION : "free";
     JSNHtmlAsset::addScript(JSN_URL_ASSETS . '/3rd-party/jquery/jquery-1.8.2.js');
     JSNHtmlAsset::addScriptLibrary('jquery.ui', '3rd-party/jquery-ui/js/jquery-ui-1.9.0.custom.min', array('jquery'));
     echo JSNHtmlAsset::loadScript('uniform/launchpad', array('baseZeroClipBoard' => JSN_URL_ASSETS . '/3rd-party/jquery-zeroclipboard/ZeroClipboard.swf', 'edition' => $edition, 'language' => JSNUtilsLanguage::getTranslated($arrayTranslated)), true);
 }
开发者ID:networksoft,项目名称:declarafacil.com.co,代码行数:24,代码来源:view.html.php

示例2: array

JSNHtmlAsset::addScriptLibrary('jquery.topzindex', '3rd-party/jquery-topzindex/jquery.topzindex', array('jquery'));
JSNHtmlAsset::addScriptLibrary('jquery.contextMenu', '3rd-party/jquery-contextMenu/jquery.contextMenu', array('jquery', 'jquery.ui'));
JSNHtmlAsset::addScriptLibrary('jquery.daterangepicker', '3rd-party/jquery-daterangepicker/js/daterangepicker.jQuery.compressed', array('jquery', 'jquery.ui'));
JSNHtmlAsset::addScriptLibrary('jquery.scrollto', '3rd-party/jquery-scrollto/jquery.scrollTo', array('jquery'));
JSNHtmlAsset::addScriptLibrary('jquery.stickyfloat', '3rd-party/jquery-stickyfloat/stickyFloat', array('jquery'));
JSNHtmlAsset::addScriptLibrary('jquery.zeroclipboard', '3rd-party/jquery-zeroclipboard/ZeroClipboard', array('jquery'));
JSNHtmlAsset::addScriptLibrary('jquery.json', '3rd-party/jquery-json/jquery.json-2.3.min', array('jquery'));
JSNHtmlAsset::addScriptLibrary('jquery.tipsy', '3rd-party/jquery-tipsy/jquery.tipsy', array('jquery'));
JSNHtmlAsset::addScriptLibrary('jquery.jwysiwyg', '3rd-party/jquery-jwysiwyg/jquery.wysiwyg', array('jquery'));
JSNHtmlAsset::addScriptLibrary('jquery.jwysiwyg09', '3rd-party/jquery-jwysiwyg/jquery.wysiwyg-0.9', array('jquery'));
JSNHtmlAsset::addScriptLibrary('jquery.wysiwyg.colorpicker', '3rd-party/jquery-jwysiwyg/controls/wysiwyg.colorpicker', array('jquery', 'jquery.jwysiwyg09'));
JSNHtmlAsset::addScriptLibrary('jquery.wysiwyg.table', '3rd-party/jquery-jwysiwyg/controls/wysiwyg.table', array('jquery', 'jquery.jwysiwyg09'));
JSNHtmlAsset::addScriptLibrary('jquery.wysiwyg.cssWrap', '3rd-party/jquery-jwysiwyg/controls/wysiwyg.cssWrap', array('jquery', 'jquery.jwysiwyg09'));
JSNHtmlAsset::addScriptLibrary('jquery.wysiwyg.image', '3rd-party/jquery-jwysiwyg/controls/wysiwyg.image', array('jquery', 'jquery.jwysiwyg09'));
JSNHtmlAsset::addScriptLibrary('jquery.wysiwyg.link', '3rd-party/jquery-jwysiwyg/controls/wysiwyg.link', array('jquery', 'jquery.jwysiwyg09'));
JSNHtmlAsset::addScriptLibrary('jquery.select2', '3rd-party/jquery-select2/select2.min', array('jquery'));
JSNHtmlAsset::addScriptLibrary('jquery.tmpl', '3rd-party/jquery.tmpl/jquery.tmpl.min', array('jquery'));
JSNHtmlAsset::addScriptLibrary('jquery.colorpicker', '3rd-party/jquery-colorpicker/js/colorpicker', array('jquery'));
JSNHtmlAsset::addScriptLibrary('jquery.gradientPicker', '3rd-party/jquery-gradientpicker/jquery.gradientPicker', array('jquery', 'jquery.ui'));
JSNHtmlAsset::addScriptLibrary('jquery.te', '3rd-party/jquery-te/js/jquery-te-1.4.0.min', array('jquery'));
JSNHtmlAsset::addScriptLibrary('codemirror', '3rd-party/codemirror/lib/codemirror', array('jquery'));
JSNHtmlAsset::addScriptLibrary('codemirror.edit.matchbrackets', '3rd-party/codemirror/addon/edit/matchbrackets', array('codemirror'));
JSNHtmlAsset::addScriptLibrary('codemirror.hint.html', '3rd-party/codemirror/addon/hint/html-hint', array('codemirror'));
JSNHtmlAsset::addScriptLibrary('codemirror.hint.javascript', '3rd-party/codemirror/addon/hint/javascript-hint', array('codemirror'));
JSNHtmlAsset::addScriptLibrary('codemirror.hint.show', '3rd-party/codemirror/addon/hint/show-hint', array('codemirror'));
JSNHtmlAsset::addScriptLibrary('codemirror.selection.activeline', '3rd-party/codemirror/addon/selection/active-line', array('codemirror'));
JSNHtmlAsset::addScriptLibrary('codemirror.selection.markselection', '3rd-party/codemirror/addon/selection/mark-selection', array('codemirror'));
JSNHtmlAsset::addScriptLibrary('codemirror.mode.css', '3rd-party/codemirror/mode/css/css', array('codemirror'));
JSNHtmlAsset::addScriptLibrary('codemirror.mode.htmlmixed', '3rd-party/codemirror/mode/htmlmixed/htmlmixed', array('codemirror'));
JSNHtmlAsset::addScriptLibrary('codemirror.mode.javascript', '3rd-party/codemirror/mode/javascript/javascript', array('codemirror'));
开发者ID:jovielarmario,项目名称:albay_cms,代码行数:30,代码来源:jsnframework.defines.php


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