[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/theme/bootstrapbase/renderers/ -> core_renderer.php (summary)

(no description)

File Size: 266 lines (10 kb)
Included or required: 1 time
Referenced: 0 times
Includes or requires: 0 files

Defines 2 classes

theme_bootstrapbase_core_renderer:: (8 methods):
  standard_head_html()
  navbar()
  custom_menu()
  render_custom_menu()
  render_custom_menu_item()
  navbar_button()
  render_tabtree()
  render_tabobject()

theme_bootstrapbase_core_renderer_maintenance:: (0 methods):


Class: theme_bootstrapbase_core_renderer  - X-Ref

Renderers to align Moodle's HTML with that expected by Bootstrap

standard_head_html()   X-Ref
The standard tags that should be included in the <head> tag
including a meta description for the front page

return: string HTML fragment.

navbar()   X-Ref
No description

custom_menu($custommenuitems = '')   X-Ref
No description

render_custom_menu(custom_menu $menu)   X-Ref
No description

render_custom_menu_item(custom_menu_item $menunode, $level = 0 )   X-Ref
No description

navbar_button()   X-Ref
This code renders the navbar button to control the display of the custom menu
on smaller screens.

Do not display the button if the menu is empty.

return: string HTML fragment

render_tabtree(tabtree $tabtree)   X-Ref
Renders tabtree

param: tabtree $tabtree
return: string

render_tabobject(tabobject $tab)   X-Ref
Renders tabobject (part of tabtree)

This function is called from {@link core_renderer::render_tabtree()}
and also it calls itself when printing the $tabobject subtree recursively.

param: tabobject $tabobject
return: string HTML fragment

Class: theme_bootstrapbase_core_renderer_maintenance  - X-Ref

Overridden core maintenance renderer.

This renderer gets used instead of the standard core_renderer during maintenance
tasks such as installation and upgrade.
We override it in order to style those scenarios consistently with the regular
bootstrap look and feel.



Generated: Thu Aug 11 10:00:09 2016 Cross-referenced by PHPXref 0.7.1