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


PHP View::withAppFooter方法代码示例

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


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

示例1: compose

 /**
  * Index page view composer.
  *
  * @param \Illuminate\Contracts\View\View $view
  *
  * @return void
  */
 public function compose(View $view)
 {
     $view->withAboutApp(Markdown::convertToHtml($this->config->get('setting.app_about')));
     $view->withAppAnalytics($this->config->get('setting.app_analytics'));
     $view->withAppAnalyticsGoSquared($this->config->get('setting.app_analytics_gs'));
     $view->withAppAnalyticsPiwikUrl($this->config->get('setting.app_analytics_piwik_url'));
     $view->withAppAnalyticsPiwikSiteId($this->config->get('setting.app_analytics_piwik_site_id'));
     $view->withAppBanner($this->config->get('setting.app_banner'));
     $view->withAppBannerStyleFullWidth($this->config->get('setting.style_fullwidth_header'));
     $view->withAppBannerType($this->config->get('setting.app_banner_type'));
     $view->withAppDomain($this->config->get('setting.app_domain'));
     $view->withAppGraphs($this->config->get('setting.display_graphs'));
     $view->withAppLocale($this->config->get('setting.app_locale'));
     $view->withAppStylesheet($this->config->get('setting.stylesheet'));
     $view->withAppUrl($this->config->get('app.url'));
     $view->withAppHeader($this->config->get('setting.header'));
     $view->withAppFooter($this->config->get('setting.footer'));
     $view->withAppName($this->config->get('setting.app_name'));
     $view->withShowSupport($this->config->get('setting.show_support'));
     $view->withAutomaticLocalization($this->config->get('setting.automatic_localization'));
     $view->withEnableExternalDependencies($this->config->get('setting.enable_external_dependencies'));
     $view->withShowTimezone($this->config->get('setting.show_timezone'));
     $view->withTimezone($this->dates->getTimezone());
     $view->withSiteTitle($this->config->get('setting.app_name'));
     $view->withFontSubset($this->config->get('langs.' . $this->config->get('app.locale') . '.subset', 'latin'));
 }
开发者ID:aksalj,项目名称:Cachet,代码行数:33,代码来源:AppComposer.php

示例2: compose

 /**
  * Index page view composer.
  *
  * @param \Illuminate\Contracts\View\View $view
  *
  * @return void
  */
 public function compose(View $view)
 {
     $view->withAboutApp(Markdown::convertToHtml(Config::get('setting.app_about')));
     $view->withAppAnalytics(Config::get('setting.app_analytics'));
     $view->withAppAnalyticsGoSquared(Config::get('setting.app_analytics_go_squared'));
     $view->withAppAnalyticsPiwikUrl(Config::get('setting.app_analytics_piwik_url'));
     $view->withAppAnalyticsPiwikSiteId(Config::get('setting.app_analytics_piwik_site_id'));
     $view->withAppBanner(Config::get('setting.app_banner'));
     $view->withAppBannerStyleFullWidth(Config::get('setting.style_fullwidth_header'));
     $view->withAppBannerType(Config::get('setting.app_banner_type'));
     $view->withAppDomain(Config::get('setting.app_domain'));
     $view->withAppGraphs(Config::get('setting.display_graphs'));
     $view->withAppLocale(Config::get('setting.app_locale'));
     $view->withAppStylesheet(Config::get('setting.stylesheet'));
     $view->withAppUrl(Config::get('app.url'));
     $view->withAppHeader(Config::get('setting.header'));
     $view->withAppFooter(Config::get('setting.footer'));
     $view->withAppName($name = Config::get('setting.app_name'));
     $view->withShowSupport($support = Config::get('setting.show_support'));
     if ($support) {
         $view->withSiteTitle(Config::get('setting.app_name') . ' | Cachet');
     } else {
         $view->withSiteTitle(Config::get('setting.app_name'));
     }
 }
开发者ID:uwm-appbrewery,项目名称:Cachet,代码行数:32,代码来源:AppComposer.php


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