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


PHP AView::getJSFiles方法代码示例

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


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

示例1: getJSFiles

 /**
  * Register JS files
  *
  * @return array
  */
 public function getJSFiles()
 {
     $list = parent::getJSFiles();
     $list[] = 'lazy_load/controller.js';
     $lazyWidget = $this->getLazyWidget();
     return array_merge($list, $lazyWidget->getJSFiles());
 }
开发者ID:kirkbauer2,项目名称:kirkxc,代码行数:12,代码来源:ALazyLoad.php

示例2: getJSFiles

 /**
  * Get JS files
  *
  * @return array
  */
 public function getJSFiles()
 {
     $list = parent::getJSFiles();
     $list[] = 'checkout/steps/shipping/parts/shippingMethods.js';
     $list[] = 'form_field/js/rich.js';
     return $list;
 }
开发者ID:kirkbauer2,项目名称:kirkxc,代码行数:12,代码来源:ShippingMethodsList.php

示例3: getJSFiles

 /**
  * Register JS files
  *
  * @return array
  */
 public function getJSFiles()
 {
     $list = parent::getJSFiles();
     $list[] = 'form_field/select_country.js';
     $list[] = 'shopping_cart/parts/box.estimator.js';
     return $list;
 }
开发者ID:kirkbauer2,项目名称:kirkxc,代码行数:12,代码来源:ShippingEstimateBox.php

示例4: getJSFiles

 /**
  * Add JS files
  *
  * @return array
  */
 public function getJSFiles()
 {
     $list = parent::getJSFiles();
     $list = array_merge(\XLite\Module\XC\Add2CartPopup\Core\Add2CartPopup::getResourcesFiles(static::RESOURCE_JS), $list);
     $list[] = 'modules/XC/Add2CartPopup/js/add2cart_popup.js';
     return $list;
 }
开发者ID:kirkbauer2,项目名称:kirkxc,代码行数:12,代码来源:Common.php

示例5: getJSFiles

 /**
  * Get JS files
  *
  * @return array
  */
 public function getJSFiles()
 {
     $list = parent::getJSFiles();
     if (!\XLite\Core\Config::getInstance()->Security->customer_security || $this->isHTTPS()) {
         $list[] = 'js/login.js';
     }
     return $list;
 }
开发者ID:kirkbauer2,项目名称:kirkxc,代码行数:13,代码来源:LoginLink.php

示例6: getJSFiles

 /**
  * Register JS files
  *
  * @return array
  */
 public function getJSFiles()
 {
     $list = parent::getJSFiles();
     if ($this->isIncludeController()) {
         $list[] = 'modules/CDev/GoogleAnalytics/drupal.js';
     }
     return $list;
 }
开发者ID:kingsj,项目名称:core,代码行数:13,代码来源:AView.php

示例7: getJSFiles

 /**
  * getJSFiles
  *
  * @return array
  */
 public function getJSFiles()
 {
     $list = parent::getJSFiles();
     if (!\XLite::isAdminZone() && \XLite\Module\CDev\Paypal\Main::isExpressCheckoutEnabled() && \XLite\Module\CDev\Paypal\Main::isInContextCheckoutAvailable()) {
         $list[] = 'modules/CDev/Paypal/button/in_context.js';
     } else {
         $list[] = 'modules/CDev/Paypal/button/default.js';
     }
     return $list;
 }
开发者ID:kirkbauer2,项目名称:kirkxc,代码行数:15,代码来源:AView.php

示例8: getJSFiles

 /**
  * Get a list of JS files required to display the widget properly
  *
  * @return array
  */
 public function getJSFiles()
 {
     $list = parent::getJSFiles();
     if (!\XLite::isAdminZone()) {
         $list[] = 'modules/QSL/CloudSearch/loader.js';
         $list[] = 'modules/QSL/CloudSearch/init.js';
         $list[] = 'modules/QSL/CloudSearch/lib/handlebars.min.js';
         $list[] = 'modules/QSL/CloudSearch/lib/jquery.hoverIntent.min.js';
     }
     return $list;
 }
开发者ID:kirkbauer2,项目名称:kirkxc,代码行数:16,代码来源:AView.php

示例9: getJSFiles

 /**
  * Register JS files
  *
  * @return array
  */
 public function getJSFiles()
 {
     $list = parent::getJSFiles();
     $tab = $this->getSelectedTab();
     if (isset($tab) && isset($tab['jsFiles']) && !empty($tab['jsFiles'])) {
         if (is_array($tab['jsFiles'])) {
             $list = array_merge($list, $tab['jsFiles']);
         } else {
             $list[] = $tab['jsFiles'];
         }
     }
     return $list;
 }
开发者ID:kirkbauer2,项目名称:kirkxc,代码行数:18,代码来源:ATabs.php

示例10: getJSFiles

 /**
  * Register JS files
  *
  * @return array
  */
 public function getJSFiles()
 {
     $list = parent::getJSFiles();
     foreach ($this->getTabs() as $tab) {
         if (!empty($tab['jsFiles'])) {
             if (is_array($tab['jsFiles'])) {
                 $list = array_merge($list, $tab['jsFiles']);
             } else {
                 $list[] = $tab['jsFiles'];
             }
         }
     }
     return $list;
 }
开发者ID:kirkbauer2,项目名称:kirkxc,代码行数:19,代码来源:AJsTabs.php

示例11: getJSFiles

 /**
  * Get a list of JavaScript files required to display the widget properly
  *
  * @return array
  */
 public function getJSFiles()
 {
     $list = parent::getJSFiles();
     $list[] = 'form_field/inline/controller.js';
     $list[] = 'form_field/inline/input/text/position/move.js';
     $list[] = 'form_field/js/text.js';
     $list[] = 'form_field/input/text/integer.js';
     $list[] = 'form_field/input/checkbox/switcher.js';
     $list[] = 'button/js/remove.js';
     $list[] = 'items_list/items_list.js';
     $list[] = 'items_list/model/table/controller.js';
     $list[] = 'attributes/script.js';
     $list[] = 'form_field/inline/input/text.js';
     return $list;
 }
开发者ID:kirkbauer2,项目名称:kirkxc,代码行数:20,代码来源:Attributes.php

示例12: getJSFiles

 /**
  * Register JS files
  *
  * @return array
  */
 public function getJSFiles()
 {
     $list = parent::getJSFiles();
     $list[] = 'modules/CDev/ProductOptions/change_options.js';
     return $list;
 }
开发者ID:kingsj,项目名称:core,代码行数:11,代码来源:SelectedOptions.php

示例13: getJSFiles

 public function getJSFiles()
 {
     $list = parent::getJSFiles();
     return $list;
 }
开发者ID:ChessMess,项目名称:heartland-x-cart5-plugin,代码行数:5,代码来源:Config.php

示例14: getJSFiles

 /**
  * Via this method the widget registers the JS files which it uses.
  * During the viewers initialization the JS files are collecting into the static storage.
  *
  * @return array
  */
 public function getJSFiles()
 {
     $list = parent::getJSFiles();
     if ($this->isMarkTemplates()) {
         $list[] = 'modules/XC/ThemeTweaker/template_editor/vakata-jstree/dist/jstree.min.js';
         $list[] = 'modules/XC/ThemeTweaker/template_editor/editor.js';
     }
     return $list;
 }
开发者ID:kewaunited,项目名称:xcart,代码行数:15,代码来源:AView.php

示例15: getJSFiles

 /**
  * Get JS files
  *
  * @return array
  */
 public function getJSFiles()
 {
     $list = parent::getJSFiles();
     $list[] = 'checkout/steps/shipping/parts/address.js';
     return $list;
 }
开发者ID:kirkbauer2,项目名称:kirkxc,代码行数:11,代码来源:AAddressBlock.php


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