本文整理汇总了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()]);
}