Public Member Functions |
| | page_index () |
| | search_result ($records, $subwiki) |
| | diff ($pageid, $old, $new, $options=array()) |
| | diff_paging_bar ($minpage, $maxpage, $page, $baseurl, $pagevar= 'page', $nocurr=false) |
| | wiki_info () |
| | tabs ($page, $tabitems, $options) |
| | prettyview_link ($page) |
| | wiki_print_subwiki_selector ($wiki, $subwiki, $page, $pagetype= 'view') |
| | menu_map ($pageid, $currentselect) |
| | wiki_files_tree ($context, $subwiki) |
| | render_wiki_files_tree (wiki_files_tree $tree) |
| | menu_admin ($pageid, $currentselect) |
Protected Member Functions |
| | htmllize_tree ($tree, $dir) |
Detailed Description
Definition at line 28 of file renderer.php.
Member Function Documentation
| diff |
( |
$ |
pageid, |
|
|
$ |
old, |
|
|
$ |
new, |
|
|
$ |
options = array() |
|
) |
| |
| diff_paging_bar |
( |
$ |
minpage, |
|
|
$ |
maxpage, |
|
|
$ |
page, |
|
|
$ |
baseurl, |
|
|
$ |
pagevar = 'page', |
|
|
$ |
nocurr = false |
|
) |
| |
Prints a single paging bar to provide access to other versions
- Parameters:
-
| int | $minpage | First page to be displayed in the bar |
| int | $maxpage | Last page to be displayed in the bar |
| int | $page | The page you are currently viewing |
| mixed | $baseurl | If this is a string then it is the url which will be appended with $pagevar, an equals sign and the page number. If this is a moodle_url object then the pagevar param will be replaced by the page no, for each page. |
| string | $pagevar | This is the variable name that you use for the page number in your code (ie. 'tablepage', 'blogpage', etc) |
| bool | $nocurr | do not display the current page as a link |
| bool | $return | whether to return an output string or echo now |
- Returns:
- bool or string
Definition at line 168 of file renderer.php.
Internal function - creates htmls structure suitable for YUI tree.
Definition at line 518 of file renderer.php.
| tabs |
( |
$ |
page, |
|
|
$ |
tabitems, |
|
|
$ |
options |
|
) |
| |
The documentation for this class was generated from the following file: