コード例 #1
0
ファイル: Admin.php プロジェクト: hasangilak/wp-semi-laravel
 /**
  * register the setting page and path settings values to the view
  */
 public static function setting()
 {
     Theme::setting(function () {
         $matched = self::settingData();
         $settings = AFormatter::objectiveSettings(Applum::find(1));
         View::make('admin/setting', ['matched' => $matched, 'settings' => $settings]);
     });
 }
コード例 #2
0
ファイル: Index.php プロジェクト: hasangilak/wp-semi-laravel
 public static function display()
 {
     $data = AFormatter::objectiveSettings(Applum::find(1));
     View::make('site/head/head');
     View::make("site/body/header/header");
     IntroController::intro($data);
     FeatureController::feature($data);
     AppController::app($data);
     SubscribeController::subscribe($data);
     GalleryController::gallery($data);
     TestimonialController::testimonial($data);
     PricingController::pricing($data);
     ContactController::contact($data);
     FooterController::footer($data);
 }