當前位置: 首頁>>代碼示例>>PHP>>正文


PHP Helper::buildNavMenu方法代碼示例

本文整理匯總了PHP中app\helpers\Helper::buildNavMenu方法的典型用法代碼示例。如果您正苦於以下問題:PHP Helper::buildNavMenu方法的具體用法?PHP Helper::buildNavMenu怎麽用?PHP Helper::buildNavMenu使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在app\helpers\Helper的用法示例。


在下文中一共展示了Helper::buildNavMenu方法的6個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: loadPage

 public function loadPage(Request $request)
 {
     $this->getChart($request);
     $result = new Helper();
     //$result->buildNavMenuNew();
     return View('linechart')->with('result', $result->buildNavMenu());
 }
開發者ID:cwelect1,項目名稱:ART,代碼行數:7,代碼來源:lavaController.php

示例2: loadPage

 public function loadPage(Request $request)
 {
     $runs = $this->getRuns();
     $testTotals = $this->getTestResultTotals($runs);
     $this->getCharts($testTotals);
     $nav = new Helper();
     return view('runs.index')->with(['runs' => $runs, 'nav' => $nav->buildNavMenu()]);
 }
開發者ID:cwelect1,項目名稱:ART,代碼行數:8,代碼來源:DashboardController.php

示例3: loadPage

 public function loadPage(Request $request)
 {
     $nav = new Helper();
     $runsModel = new \App\Run();
     //$runs = $this->getRuns();
     $runs = $runsModel->getRunsWithinXDays(90);
     $runs_for_dropdown = $runsModel->getRunsForDropdown();
     return view('Admin.edit')->with(['runs' => $runs, 'nav' => $nav->buildNavMenu(), 'runs_for_dropdown' => $runs_for_dropdown]);
 }
開發者ID:cwelect1,項目名稱:ART,代碼行數:9,代碼來源:AddEditDeleteController.php

示例4: loadPage

 public function loadPage($id = null)
 {
     $runModel = new \App\Run();
     $run = $runModel->getRun($id);
     if (is_null($run)) {
         \Session::flash('flash_message', 'Run not found.');
         return redirect('/');
     }
     $nav = new Helper();
     return view('runs.single')->with(['nav' => $nav->buildNavMenu(), 'run' => $run]);
 }
開發者ID:cwelect1,項目名稱:ART,代碼行數:11,代碼來源:TestRunController.php

示例5: loadPage

 public function loadPage(Request $request)
 {
     $nav = new Helper();
     $runs = $this->getRuns();
     return view('user.help')->with(['runs' => $runs, 'nav' => $nav->buildNavMenu()]);
 }
開發者ID:cwelect1,項目名稱:ART,代碼行數:6,代碼來源:HelpController.php

示例6: loadPage

 public function loadPage()
 {
     $applications = $this->getIndex();
     $nav = new Helper();
     return view('applications.index')->with(['applications' => $applications, 'nav' => $nav->buildNavMenu()]);
 }
開發者ID:cwelect1,項目名稱:ART,代碼行數:6,代碼來源:ApplicationsController.php


注:本文中的app\helpers\Helper::buildNavMenu方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。