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


PHP FrontController::setMedia方法代码示例

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


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

示例1: setMedia

 public function setMedia()
 {
     parent::setMedia();
     Tools::addCSS(_THEME_CSS_DIR_ . 'history.css');
     Tools::addCSS(_THEME_CSS_DIR_ . 'addresses.css');
     Tools::addJS(array(_PS_JS_DIR_ . 'jquery/jquery.scrollTo-1.4.2-min.js', _THEME_JS_DIR_ . 'history.js'));
 }
开发者ID:greench,项目名称:prestashop,代码行数:7,代码来源:OrderSlipController.php

示例2: setMedia

 public function setMedia()
 {
     parent::setMedia();
     $this->addCSS(_THEME_CSS_DIR_ . 'product_list.css');
     $this->addJS(_THEME_JS_DIR_ . 'header.js');
     $this->addJS(_THEME_JS_DIR_ . 'product_list.js');
 }
开发者ID:yewed,项目名称:share,代码行数:7,代码来源:SupplierController.php

示例3: setMedia

 /**
  * Set default medias for this controller
  */
 public function setMedia()
 {
     parent::setMedia();
     $this->addJS(_PS_JS_DIR_ . 'validate.js');
     $this->addJS(_THEME_JS_DIR_ . 'tools/statesManagement.js');
     $this->addJS(_THEME_JS_DIR_ . 'validate_fields.js');
 }
开发者ID:dev-lav,项目名称:htdocs,代码行数:10,代码来源:AddressController.php

示例4: setMedia

 /**
  * Set default medias for this controller
  */
 public function setMedia()
 {
     parent::setMedia();
     $this->addCSS(_THEME_CSS_DIR_ . 'addresses.css');
     $this->addJS(_THEME_JS_DIR_ . 'tools.js');
     // retro compat themes 1.5
 }
开发者ID:zangles,项目名称:lennyba,代码行数:10,代码来源:AddressesController.php

示例5: setMedia

 public function setMedia()
 {
     parent::setMedia();
     $this->addCSS(array(_THEME_CSS_DIR_ . 'history.css', _THEME_CSS_DIR_ . 'addresses.css'));
     $this->addJqueryPlugin('scrollTo');
     $this->addJS(array(_THEME_JS_DIR_ . 'history.js', _THEME_JS_DIR_ . 'tools.js'));
 }
开发者ID:rrameshsat,项目名称:Prestashop,代码行数:7,代码来源:OrderSlipController.php

示例6: setMedia

 public function setMedia()
 {
     parent::setMedia();
     //if ($this->assignCase == 1)
     //Tools::addJS(_THEME_JS_DIR_.'cms.js');
     //Tools::addCSS(_THEME_CSS_DIR_.'cms.css');
 }
开发者ID:priyankajsr19,项目名称:indusdiva2,代码行数:7,代码来源:CMSController.php

示例7: setMedia

 /**
  * Set default medias for this controller
  * @see FrontController::setMedia()
  */
 public function setMedia()
 {
     parent::setMedia();
     $this->addCSS(_THEME_CSS_DIR_ . 'authentication.css');
     $this->addJqueryPlugin('typewatch');
     $this->addJS(_THEME_JS_DIR_ . 'tools/statesManagement.js');
 }
开发者ID:jicheng17,项目名称:pengwine,代码行数:11,代码来源:AuthController.php

示例8: setMedia

 public function setMedia()
 {
     parent::setMedia();
     Tools::addJS(_THEME_JS_DIR_ . 'slider.js');
     Tools::addJS(_THEME_JS_DIR_ . 'slides.min.jquery.js');
     Tools::addJS(_THEME_JS_DIR_ . 'jquery.slide.js');
     Tools::addJS(_THEME_JS_DIR_ . 'jquery.form.js');
 }
开发者ID:khuyennd,项目名称:dev-tasagent,代码行数:8,代码来源:RoomPlanSummaryController.php

示例9: setMedia

 public function setMedia()
 {
     parent::setMedia();
     Context::getContext()->controller->addCSS(array(_PS_CSS_DIR_ . 'jquery.cluetip.css' => 'all', _MODULE_DIR_ . 'category.css' => 'all', _THEME_CSS_DIR_ . 'product_list.css' => 'all'));
     if (Configuration::get('PS_COMPARATOR_MAX_ITEM') > 0) {
         $this->addJS(_THEME_JS_DIR_ . 'products-comparison.js');
     }
 }
开发者ID:evilscripts,项目名称:gy,代码行数:8,代码来源:SellerLocationController.php

示例10: setMedia

 public function setMedia()
 {
     parent::setMedia();
     $this->addCSS(_THEME_CSS_DIR_ . '/comparator.css');
     if (Configuration::get('PS_COMPARATOR_MAX_ITEM') > 0) {
         $this->addJS(_THEME_JS_DIR_ . 'products-comparison.js');
     }
 }
开发者ID:FAVHYAN,项目名称:a3workout,代码行数:8,代码来源:CompareController.php

示例11: setMedia

 public function setMedia()
 {
     parent::setMedia();
     Tools::addCSS(array(_PS_CSS_DIR_ . 'jquery.cluetip.css' => 'all', _THEME_CSS_DIR_ . 'scenes.css' => 'all', _THEME_CSS_DIR_ . 'category.css' => 'all', _THEME_CSS_DIR_ . 'product_list.css' => 'all'));
     if (Configuration::get('PS_COMPARATOR_MAX_ITEM') > 0) {
         Tools::addJS(_THEME_JS_DIR_ . 'products-comparison.js');
     }
 }
开发者ID:hecbuma,项目名称:quali-fisioterapia,代码行数:8,代码来源:CategoryController.php

示例12: setMedia

 /**
  * Set default medias for this controller
  */
 public function setMedia()
 {
     parent::setMedia();
     //TODO : check why cluetip css is include without js file
     $this->addCSS(array(_THEME_CSS_DIR_ . 'scenes.css' => 'all', _THEME_CSS_DIR_ . 'category.css' => 'all', _THEME_CSS_DIR_ . 'product_list.css' => 'all'));
     if (Configuration::get('PS_COMPARATOR_MAX_ITEM') > 0) {
         $this->addJS(_THEME_JS_DIR_ . 'products-comparison.js');
     }
 }
开发者ID:jicheng17,项目名称:vipinsg,代码行数:12,代码来源:CategoryController.php

示例13: setMedia

 /**
  * Set default medias for this controller
  * @see FrontController::setMedia()
  */
 public function setMedia()
 {
     parent::setMedia();
     if (Context::getContext()->getMobileDevice() === false) {
         $this->addCSS(_THEME_CSS_DIR_ . 'authentication.css');
     }
     $this->addJqueryPlugin('typewatch');
     $this->addJS(_THEME_JS_DIR_ . 'tools/statesManagement.js');
 }
开发者ID:toufikadfab,项目名称:PrestaShop-1.5,代码行数:13,代码来源:AuthController.php

示例14: setMedia

 /**
  * Set default medias for this controller
  * @see FrontController::setMedia()
  */
 public function setMedia()
 {
     parent::setMedia();
     if (!$this->useMobileTheme()) {
         $this->addCSS(_THEME_CSS_DIR_ . 'authentication.css');
     }
     $this->addJqueryPlugin('typewatch');
     $this->addJS(array(_THEME_JS_DIR_ . 'tools/vatManagement.js', _THEME_JS_DIR_ . 'tools/statesManagement.js', _THEME_JS_DIR_ . 'authentication.js', _PS_JS_DIR_ . 'validate.js'));
 }
开发者ID:prestanesia,项目名称:PrestaShop,代码行数:13,代码来源:AuthController.php

示例15: setMedia

 /**
  * Set default medias for this controller
  */
 public function setMedia()
 {
     parent::setMedia();
     if ($this->context->getMobileDevice() == false) {
         //TODO : check why cluetip css is include without js file
         $this->addCSS(array(_THEME_CSS_DIR_ . 'scenes.css' => 'all', _THEME_CSS_DIR_ . 'category.css' => 'all', _THEME_CSS_DIR_ . 'product_list.css' => 'all'));
     }
     $this->addJS(_THEME_JS_DIR_ . 'category.js');
 }
开发者ID:dev-lav,项目名称:htdocs,代码行数:12,代码来源:CategoryController.php


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