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


PHP ModuleAdminController::setMedia方法代码示例

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


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

示例1: setMedia

 public function setMedia()
 {
     parent::setMedia();
     $this->addjQueryPlugin(array('autocomplete', 'tablednd', 'date', 'tagify', 'validate', 'fancybox'));
     $this->addJS(array(_PS_JS_DIR_ . 'admin-dnd.js', _PS_JS_DIR_ . 'jquery/ui/jquery.ui.progressbar.min.js', _PS_JS_DIR_ . 'vendor/spin.js', _PS_JS_DIR_ . 'vendor/ladda.js', _MODULE_DIR_ . 'ph_simpleblog/js/admin.js', _MODULE_DIR_ . 'ph_simpleblog/views/js/select2/select2.full.min.js'));
     $this->addCSS(array(_MODULE_DIR_ . 'ph_simpleblog/views/css/select2/select2.min.css'));
 }
开发者ID:evgrishin,项目名称:se1614,代码行数:7,代码来源:AdminSimpleBlogPostsController.php

示例2: setMedia

 public function setMedia()
 {
     parent::setMedia();
     $this->addJqueryPlugin('fancybox');
     $this->addJqueryUi('ui.sortable');
     $this->addJS(_PS_MODULE_DIR_ . $this->module->name . '/js/layoutbuilder.js');
 }
开发者ID:zangles,项目名称:lennyba,代码行数:7,代码来源:AdminLayoutBuilderController.php

示例3: setMedia

 public function setMedia()
 {
     parent::setMedia();
     $this->addJS(_PS_MODULE_DIR_ . 'expressmailing/views/js/emcharts_f_stats.js', 'all');
     $this->addCSS(_PS_MODULE_DIR_ . 'expressmailing/views/css/expressmailing.css');
     $this->addJqueryUI('ui.dialog');
 }
开发者ID:Oldwo1f,项目名称:yakaboutique,代码行数:7,代码来源:adminmarketingfstats.php

示例4: setMedia

 public function setMedia()
 {
     $this->addJqueryUI('ui.progressbar');
     $this->addJS(array('/modules/gamification/views/js/bubble-popup.js', '/modules/gamification/views/js/gamification.js', '/modules/gamification/views/js/jquery.isotope.js'));
     $this->addCSS(array('/modules/gamification/views/css/bubble-popup.css', '/modules/gamification/views/css/isotope.css'));
     return parent::setMedia();
 }
开发者ID:rongandat,项目名称:vatfairfoot,代码行数:7,代码来源:AdminGamificationController.php

示例5: setMedia

 public function setMedia()
 {
     parent::setMedia();
     Media::addJsDef(array('admin_fronteditor_ajax_url' => $this->context->link->getAdminLink('IqitFronteditor')));
     $this->addCSS(array(_MODULE_DIR_ . 'iqitcontentcreator/css/bfronteditor.css'));
     $this->addJS(array(_MODULE_DIR_ . 'iqitcontentcreator/js/bfronteditor.js'));
 }
开发者ID:evgrishin,项目名称:se1614,代码行数:7,代码来源:iqitfronteditor.php

示例6: setMedia

 public function setMedia()
 {
     parent::setMedia();
     $this->addCSS(_PS_MODULE_DIR_ . 'expressmailing/views/css/expressmailing.css');
     $this->addJS(_PS_JS_DIR_ . 'tiny_mce/tiny_mce.js');
     $this->addJqueryUI('ui.tabs');
     // Try to use employee language for Tiny Editor
     // --------------------------------------------
     $language = new Language($this->context->employee->id_lang);
     $tiny_file = _PS_MODULE_DIR_ . 'expressmailing/views/js/tinymce_' . $language->iso_code . '.js';
     if (Tools::file_exists_cache($tiny_file)) {
         $this->addJS($tiny_file);
     } else {
         $language = new Language(Configuration::get('PS_LANG_DEFAULT'));
         $tiny_file = _PS_MODULE_DIR_ . 'expressmailing/views/js/tinymce_' . Configuration::get('PS_LANG_DEFAULT') . '.js';
         if (Tools::file_exists_cache($tiny_file)) {
             $this->addJS($tiny_file);
         } else {
             $this->addJS(_PS_MODULE_DIR_ . 'expressmailing/views/js/tinymce_en.js');
         }
     }
     // And add our Tiny config
     // -----------------------
     $this->addJS(_PS_MODULE_DIR_ . 'expressmailing/views/js/tinymce.js');
 }
开发者ID:Oldwo1f,项目名称:yakaboutique,代码行数:25,代码来源:adminmarketingestep3.php

示例7: setMedia

 public function setMedia()
 {
     $path = new Sampledatainstall();
     $this->addJquery();
     $this->addJS($path->sendPath() . 'views/js/import.js');
     $this->addCss($path->sendPath() . 'views/css/sampledatainstall.css');
     parent::setMedia();
 }
开发者ID:evgrishin,项目名称:se1614,代码行数:8,代码来源:AdminSampleDataInstallImport.php

示例8: setMedia

 public function setMedia()
 {
     parent::setMedia();
     $this->addCSS(_PS_MODULE_DIR_ . 'expressmailing/views/css/expressmailing.css');
     $this->addJS(_PS_MODULE_DIR_ . 'expressmailing/views/js/marketings_step1.js');
     $this->addJqueryUI('ui.slider');
     $this->addJqueryUI('ui.spinner');
 }
开发者ID:Oldwo1f,项目名称:yakaboutique,代码行数:8,代码来源:adminmarketingsstep1.php

示例9: setMedia

 public function setMedia()
 {
     parent::setMedia();
     $this->addCSS(_PS_MODULE_DIR_ . 'expressmailing/views/css/icon-marketing.css');
     $this->addCSS(_PS_MODULE_DIR_ . 'expressmailing/views/css/expressmailing.css');
     $this->addJqueryUI('ui.dialog');
     $this->addJqueryUI('ui.draggable');
     $this->addJqueryUI('ui.resizable');
 }
开发者ID:Oldwo1f,项目名称:yakaboutique,代码行数:9,代码来源:adminmarketingx.php

示例10: setMedia

 public function setMedia()
 {
     if (method_exists($this->context->controller, 'addJquery')) {
         $this->context->controller->addJquery();
     }
     $this->context->controller->addCSS(_MODULE_DIR_ . $this->module->name . '/css/psmgen.css');
     $this->context->controller->addJS(_MODULE_DIR_ . $this->module->name . '/js/psmgen.js');
     return parent::setMedia();
 }
开发者ID:AngelTroya,项目名称:psmgen,代码行数:9,代码来源:ValidatorPSMGenController.php

示例11: setMedia

 public function setMedia()
 {
     parent::setMedia();
     $this->addJqueryUI('ui.datepicker');
     $this->addJS($this->module->getPathUri() . 'views/js/claim-view.js');
     if (_PS_VERSION_ < '1.6.0.0') {
         $this->addCSS($this->module->getPathUri() . 'views/css/admin_15.css');
     }
 }
开发者ID:jBangiev,项目名称:mediafinanz,代码行数:9,代码来源:AdminInkassoController.php

示例12: setMedia

 public function setMedia()
 {
     parent::setMedia();
     $this->addCSS(_PS_MODULE_DIR_ . 'expressmailing/views/css/expressmailing.css', 'all');
     $this->addJqueryUI('ui.slider');
     $this->addJqueryUI('ui.dialog');
     $this->addJqueryUI('ui.draggable');
     $this->addJqueryUI('ui.resizable');
     $this->addJqueryUI('ui.autocomplete');
 }
开发者ID:Oldwo1f,项目名称:yakaboutique,代码行数:10,代码来源:adminmarketingestep4.php

示例13: setMedia

 public function setMedia()
 {
     $this->addJqueryUI('ui.progressbar');
     $this->addJS(_MODULE_DIR_ . $this->module->name . '/views/js/bubble-popup.js');
     if (version_compare(_PS_VERSION_, '1.6.0', '>=') === true) {
         $this->addJs(_MODULE_DIR_ . $this->module->name . '/views/js/gamification_bt.js');
     } else {
         $this->addJs(_MODULE_DIR_ . $this->module->name . '/views/js/gamification.js');
     }
     $this->addJs(_MODULE_DIR_ . $this->module->name . '/views/js/jquery.isotope.js');
     $this->addCSS(array(_MODULE_DIR_ . $this->module->name . '/views/css/bubble-popup.css', _MODULE_DIR_ . $this->module->name . '/views/css/isotope.css'));
     return parent::setMedia();
 }
开发者ID:dev-lav,项目名称:htdocs,代码行数:13,代码来源:AdminGamificationController.php

示例14: setMedia

 /**
  * Set Css & js
  * @return mixed
  */
 public function setMedia()
 {
     $this->context->controller->addJquery();
     $this->addCSS(array(_MODULE_DIR_ . $this->module->name . '/views/css/normalize.css'));
     $this->addCSS(array(_MODULE_DIR_ . $this->module->name . '/views/css/grid.css'));
     $this->addCSS(array(_MODULE_DIR_ . $this->module->name . '/views/css/form.css'));
     $this->addCSS(array(_MODULE_DIR_ . $this->module->name . '/views/css/style.css'));
     $this->addJs(_MODULE_DIR_ . $this->module->name . '/views/js/app.src-verified.js');
     $this->addJs(_MODULE_DIR_ . $this->module->name . '/views/js/fullSelect.src-verified.async.js');
     $this->addJs(_MODULE_DIR_ . $this->module->name . '/views/js/lightbox.src-verified.async.js');
     $this->addJs(_MODULE_DIR_ . $this->module->name . '/views/js/growler.src-verified.async.js');
     $this->addJs(_MODULE_DIR_ . $this->module->name . '/views/js/getresponse-custom-field.src-verified.js');
     $this->addJs(_MODULE_DIR_ . $this->module->name . '/views/js/gr_main.js');
     return parent::setMedia();
 }
开发者ID:GetResponse,项目名称:GetResponse-PrestaShop-Integration,代码行数:19,代码来源:AdminGetresponseController.php

示例15: setMedia

 /**
  * Définition des médias du controller
  */
 public function setMedia()
 {
     parent::setMedia();
     $this->addJS(_MODULE_DIR_ . 'customerautogroups/views/admin/js/customerautogroups.js');
 }
开发者ID:nenes25,项目名称:prestashop_customerautogroups,代码行数:8,代码来源:rules.php


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