當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。