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


PHP Backend::url方法代码示例

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


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

示例1: onDisableLocations

 public function onDisableLocations()
 {
     $enable = post('enable', false);
     if (($checkedIds = post('checked')) && is_array($checkedIds) && count($checkedIds)) {
         foreach ($checkedIds as $objectId) {
             if (!($object = City::find($objectId))) {
                 continue;
             }
             $object->is_enabled = $enable;
             $object->save();
         }
     }
     if ($enable) {
         Flash::success(Lang::get('xavier.events::lang.locations.enable_success'));
     } else {
         Flash::success(Lang::get('xavier.events::lang.locations.disable_success'));
     }
     return Redirect::to(Backend::url('xavier/events/cities'));
 }
开发者ID:janusnic,项目名称:Events-for-OctoberCMS,代码行数:19,代码来源:Cities.php

示例2: registerNavigation

 /**
  * Registers back-end navigation items for this plugin.
  *
  * @return array
  */
 public function registerNavigation()
 {
     return ['statefull' => ['label' => 'Statefull Website', 'url' => \Backend::url('ebussola/statefull/urldynamics'), 'icon' => 'icon-rocket', 'permissions' => ['ebussola.statefull.*'], 'order' => 500, 'sideMenu' => ['urldynamics' => ['label' => 'Dynamics URL', 'icon' => 'icon-code', 'url' => \Backend::url('ebussola/statefull/urldynamics'), 'permissions' => ['ebussola.statefull.*']], 'urlblacklist' => ['label' => 'URL Blacklist', 'icon' => 'icon-minus-circle', 'url' => \Backend::url('ebussola/statefull/urlblacklist'), 'permissions' => ['ebussola.statefull.*']], 'getparamblacklist' => ['label' => 'Get Param Blacklist', 'icon' => 'icon-minus-circle', 'url' => \Backend::url('ebussola/statefull/getparamblacklist'), 'permissions' => ['ebussola.statefull.*']], 'urlpurge' => ['label' => 'URL Purge', 'icon' => 'icon-trash', 'url' => \Backend::url('ebussola/statefull/urldynamics/purge'), 'permissions' => ['ebussola.statefull.*']]]]];
 }
开发者ID:ebussola,项目名称:OC-Statefull-Website,代码行数:9,代码来源:Plugin.php

示例3: registerSettings

 public function registerSettings()
 {
     return ['settings' => ['label' => 'martin.ssologin::lang.plugin.name', 'description' => 'martin.ssologin::lang.plugin.description', 'icon' => 'icon-key', 'class' => '\\Martin\\SSOLogin\\Models\\Settings', 'order' => 800, 'permissions' => ['martin.ssologin.access'], 'category' => 'system::lang.system.categories.system'], 'logs' => ['label' => 'martin.ssologin::lang.plugin.name', 'description' => 'martin.ssologin::lang.plugin.description_log', 'icon' => 'icon-key', 'url' => \Backend::url('martin/ssologin/logs'), 'order' => 800, 'permissions' => ['martin.ssologin.access'], 'category' => SettingsManager::CATEGORY_LOGS]];
 }
开发者ID:skydiver,项目名称:october-plugin-ssologin,代码行数:4,代码来源:Plugin.php

示例4: registerNavigation

 public function registerNavigation()
 {
     return ['poll' => ['label' => 'Poll', 'url' => \Backend::url('shahiemseymor/poll/polls'), 'icon' => 'icon-bar-chart-o', 'sideMenu' => ['polls' => ['label' => 'Polls', 'icon' => 'icon-bar-chart-o', 'url' => Backend::url('shahiemseymor/poll/polls')]]]];
 }
开发者ID:janusnic,项目名称:OctoberCMS,代码行数:4,代码来源:Plugin.php

示例5: registerSettings

 public function registerSettings()
 {
     return ['channels' => ['label' => 'Channels', 'description' => 'Manage Channels', 'category' => 'Feedback', 'icon' => 'icon-arrows', 'url' => \Backend::url('ebussola/feedback/channels'), 'order' => 500, 'keywords' => 'feedback channel', 'permissions' => ['ebussola.feedback.settings.channel']]];
 }
开发者ID:Smony,项目名称:njphoto,代码行数:4,代码来源:Plugin.php

示例6: registerNavigation

 /**
  * Register Navigation
  * @return array
  */
 public function registerNavigation()
 {
     return ['mrc' => ['label' => 'abnmt.mrc::lang.plugin.navigation.mrc.label', 'url' => \Backend::url('abnmt/mrc/courses'), 'icon' => 'icon-university', 'order' => 400, 'sideMenu' => ['courses' => ['label' => 'abnmt.mrc::lang.plugin.navigation.mrc.courses.label', 'icon' => 'icon-clone', 'url' => \Backend::url('abnmt/mrc/courses')], 'events' => ['label' => 'abnmt.mrc::lang.plugin.navigation.mrc.events.label', 'icon' => 'icon-calendar', 'url' => \Backend::url('abnmt/mrc/events')], 'users' => ['label' => 'abnmt.mrc::lang.plugin.navigation.mrc.users.label', 'url' => \Backend::url('abnmt/mrc/users'), 'icon' => 'icon-users'], 'userevents' => ['label' => 'abnmt.mrc::lang.plugin.navigation.mrc.userevents.label', 'url' => \Backend::url('abnmt/mrc/userevents'), 'icon' => 'icon-calendar-check-o'], 'coursetypes' => ['label' => 'abnmt.mrc::lang.plugin.navigation.mrc.coursetypes.label', 'icon' => 'icon-eye', 'url' => \Backend::url('abnmt/mrc/coursetypes')], 'coursecategories' => ['label' => 'abnmt.mrc::lang.plugin.navigation.mrc.coursecategories.label', 'icon' => 'icon-tags', 'url' => \Backend::url('abnmt/mrc/coursecategories')], 'usereventstates' => ['label' => 'abnmt.mrc::lang.plugin.navigation.mrc.usereventstates.label', 'icon' => 'icon-sort', 'url' => \Backend::url('abnmt/mrc/usereventstates')]]], 'news' => ['label' => 'abnmt.mrc::lang.plugin.navigation.news.label', 'url' => \Backend::url('abnmt/mrc/news'), 'icon' => 'icon-newspaper-o', 'order' => 200]];
 }
开发者ID:abnmt,项目名称:oc-mrc-plugin,代码行数:8,代码来源:Plugin.php

示例7: registerNavigation

 /**
  * Registers back-end navigation items for this plugin.
  *
  * @return array
  */
 public function registerNavigation()
 {
     #return []; // Remove this line to activate
     return ['home' => ['label' => 'Home page', 'url' => Backend::url('smony/home/theme'), 'icon' => 'icon-desktop', 'order' => 500, 'sideMenu' => ['contact' => ['label' => 'Contact', 'icon' => 'icon-list-alt', 'url' => \Backend::url('smony/home/theme')], 'coffee-items' => ['label' => 'Coffee items', 'icon' => 'icon-coffee', 'url' => \Backend::url('smony/home/coffee')], 'how-it-works' => ['label' => 'How it works', 'icon' => 'icon-files-o', 'url' => \Backend::url('smony/home/work')], 'social' => ['label' => 'Social', 'icon' => 'icon-share-alt', 'url' => \Backend::url('smony/home/social')], 'if-you-items' => ['label' => 'If you items', 'icon' => 'icon-columns', 'url' => \Backend::url('smony/home/item')]]]];
 }
开发者ID:Smony,项目名称:njphoto,代码行数:10,代码来源:Plugin.php

示例8: boot

 public function boot()
 {
     \Event::listen('backend.menu.extendItems', function ($manager) {
         $manager->addSideMenuItems('RainLab.Blog', 'blog', ['new' => ['label' => 'rainlab.blog::lang.posts.new_post', 'icon' => 'icon-plus', 'order' => 10, 'url' => \Backend::url('rainlab/blog/posts/create'), 'permissions' => ['rainlab.blog.access_posts']]]);
     });
 }
开发者ID:skydiver,项目名称:october-plugin-blog-new-post,代码行数:6,代码来源:Plugin.php

示例9: registerNavigation

 public function registerNavigation()
 {
     return ['subscribe' => ['label' => 'Subscribers', 'url' => \Backend::url('jorgeandrade/subscribe/subscribers'), 'icon' => 'icon-rss', 'permissions' => ['jorgeandrade.subscribe.*'], 'order' => 500, 'sideMenu' => ['subscribers' => ['label' => 'Subscribers', 'icon' => 'icon-rss', 'url' => \Backend::url('jorgeandrade/subscribe/subscribers'), 'permissions' => ['jorgeandrade.subscribe.access_subscribers']]]]];
 }
开发者ID:Smony,项目名称:njphoto,代码行数:4,代码来源:Plugin.php

示例10: registerNavigation

 /**
  * Registers back-end navigation items for this plugin.
  */
 public function registerNavigation()
 {
     return ['emailaccount' => ['label' => 'Email Accounts', 'url' => \Backend::url('ebussola/cmb/emailaccounts')], 'monthlygoals' => ['label' => 'Monthly Goals', 'url' => \Backend::url('ebussola/cmb/monthlygoals')], 'cmb' => ['label' => 'Purchases', 'url' => \Backend::url('ebussola/cmb/purchases'), 'sideMenu' => ['pendingPurchases' => ['label' => 'Pending', 'icon' => 'icon-copy', 'url' => \Backend::url('ebussola/cmb/purchases/pendingPurchases')], 'purchases' => ['label' => 'Purchases', 'icon' => 'icon-copy', 'url' => \Backend::url('ebussola/cmb/purchases')]]], 'purchasegroups' => ['label' => 'Groups', 'url' => \Backend::url('ebussola/cmb/purchasegroups')]];
 }
开发者ID:shina,项目名称:controntrol-my-budget-oc-backend,代码行数:7,代码来源:Plugin.php

示例11: registerNavigation

 public function registerNavigation()
 {
     return ['catalog' => ['label' => 'Каталог', 'url' => \Backend::url('iillexial/catalog/products'), 'icon' => 'icon-list-alt', 'order' => 500, 'sideMenu' => ['products' => ['label' => 'Товары', 'icon' => 'icon-list-alit', 'url' => \Backend::url('iillexial/catalog/products')]]]];
 }
开发者ID:bittencourtal,项目名称:catalog,代码行数:4,代码来源:Plugin.php

示例12: registerNavigation

 public function registerNavigation()
 {
     return ['theater' => ['label' => 'Театр', 'url' => \Backend::url('abnmt/theater/dashboard'), 'icon' => 'icon-university', 'order' => 400, 'sideMenu' => ['events' => ['label' => 'Афиша', 'icon' => 'icon-calendar', 'url' => \Backend::url('abnmt/theater/playbill')], 'performances' => ['label' => 'Спектакли', 'icon' => 'icon-clipboard', 'url' => \Backend::url('abnmt/theater/performances')], 'persons' => ['label' => 'Люди', 'icon' => 'icon-users', 'url' => \Backend::url('abnmt/theater/people')], 'backgrounds' => ['label' => 'Фоны', 'icon' => 'icon-ticket', 'url' => \Backend::url('abnmt/theater/backgrounds')]]]];
 }
开发者ID:chrisvidal,项目名称:oc-theater-plugin,代码行数:4,代码来源:Plugin.php

示例13: registerNavigation

 public function registerNavigation()
 {
     return ['theaterpartners' => ['label' => 'Партнеры', 'url' => \Backend::url('abnmt/theaterpartners/partners'), 'icon' => 'icon-pencil', 'order' => 600, 'sideMenu' => ['partners' => ['label' => 'Партнеры', 'icon' => 'icon-pencil', 'url' => \Backend::url('abnmt/theaterpartners/partners')], 'categories' => ['label' => 'Категории', 'icon' => 'icon-list', 'url' => \Backend::url('abnmt/theaterpartners/categories')]]]];
 }
开发者ID:abnmt,项目名称:oc-theaterpartners-plugin,代码行数:4,代码来源:Plugin.php

示例14: registerNavigation

 public function registerNavigation()
 {
     return ['gallery' => ['label' => 'zaweb.gallery::lang.gallery.menu_label', 'icon' => 'icon-flickr', 'url' => \Backend::url('zaweb/gallery/photos'), 'permissions' => ['zaweb.gallery.*'], 'order' => 500, 'sideMenu' => ['photos' => ['url' => \Backend::url('zaweb/gallery/photos'), 'label' => 'zaweb.gallery::lang.gallery.menu_label'], 'categories' => ['url' => \Backend::url('zaweb/gallery/categories'), 'label' => 'zaweb.gallery::lang.gallery.side_menu.categories_label']]]];
 }
开发者ID:za-web,项目名称:octo-gallery,代码行数:4,代码来源:Plugin.php

示例15: registerNavigation

 public function registerNavigation()
 {
     return ['theaterpress' => ['label' => 'Пресса', 'url' => \Backend::url('abnmt/theaterpress/articles'), 'icon' => 'icon-newspaper-o', 'order' => 200, 'sideMenu' => ['articles' => ['label' => 'Статьи', 'icon' => 'icon-newspaper-o', 'url' => \Backend::url('abnmt/theaterpress/articles')], 'categories' => ['label' => 'Категории', 'icon' => 'icon-list', 'url' => \Backend::url('abnmt/theaterpress/categories')]]]];
 }
开发者ID:abnmt,项目名称:oc-theaterpress-plugin,代码行数:4,代码来源:Plugin.php


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