本文整理汇总了PHP中build_menu_bar函数的典型用法代码示例。如果您正苦于以下问题:PHP build_menu_bar函数的具体用法?PHP build_menu_bar怎么用?PHP build_menu_bar使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了build_menu_bar函数的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: render
/**
* Render this page
*/
function render()
{
$this->data['menubar'] = build_menu_bar($this->choices);
$this->data['content'] = $this->parser->parse($this->data['pagebody'], $this->data, true);
$this->data['data'] =& $this->data;
$this->parser->parse('template', $this->data);
}
示例2: render
/**
* Render this page
*/
function render()
{
$autoload['helper'] = array('common', 'url');
$this->data['menubar'] = build_menu_bar($this->choices);
$this->data['content'] = $this->parser->parse($this->data['pagebody'], $this->data, true);
$this->data['data'] =& $this->data;
$this->parser->parse('_template', $this->data);
}
示例3: render
/**
* Render this page
*/
function render()
{
$this->data['menubar'] = build_menu_bar($this->choices);
$this->data['EditMode'] = $this->session->userdata('editMode') ? "ON" : "OFF";
$this->data['content'] = $this->parser->parse($this->data['pagebody'], $this->data, true);
$this->data['data'] = $this->data;
$this->parser->parse('_template', $this->data);
$this->data['caboose_styles'] = $this->caboose->styles();
$this->data['caboose_scripts'] = $this->caboose->scripts();
$this->data['caboose_trailings'] = $this->caboose->trailings();
}
示例4: render
function render()
{
if ($this->session->userdata('logged_in')) {
$this->data['sessionPlayer'] = $this->session->userdata('sessionPlayer');
$this->data['login'] = $this->parser->parse('logged_in', $this->data, true);
} else {
$this->data['login'] = $this->parser->parse('logged_out', $this->data, true);
}
$this->data['menubar'] = build_menu_bar($this->choices);
$this->data['content'] = $this->parser->parse($this->data['pagebody'], $this->data, true);
$this->data['data'] =& $this->data;
$this->parser->parse('_template', $this->data);
}