本文整理匯總了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());
}
示例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()]);
}
示例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]);
}
示例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]);
}
示例5: loadPage
public function loadPage(Request $request)
{
$nav = new Helper();
$runs = $this->getRuns();
return view('user.help')->with(['runs' => $runs, 'nav' => $nav->buildNavMenu()]);
}
示例6: loadPage
public function loadPage()
{
$applications = $this->getIndex();
$nav = new Helper();
return view('applications.index')->with(['applications' => $applications, 'nav' => $nav->buildNavMenu()]);
}