Moodle  2.2.1
http://www.collinsharper.com
mod_wiki_renderer Class Reference
Inheritance diagram for mod_wiki_renderer:
Collaboration diagram for mod_wiki_renderer:

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() 
)

Definition at line 74 of file renderer.php.

Here is the call graph for this function:

diff_paging_bar ( minpage,
maxpage,
page,
baseurl,
pagevar = 'page',
nocurr = false 
)

Prints a single paging bar to provide access to other versions

Parameters:
int$minpageFirst page to be displayed in the bar
int$maxpageLast page to be displayed in the bar
int$pageThe page you are currently viewing
mixed$baseurlIf 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$pagevarThis is the variable name that you use for the page number in your code (ie. 'tablepage', 'blogpage', etc)
bool$nocurrdo not display the current page as a link
bool$returnwhether to return an output string or echo now
Returns:
bool or string

Definition at line 168 of file renderer.php.

Here is the caller graph for this function:

htmllize_tree ( tree,
dir 
) [protected]

Internal function - creates htmls structure suitable for YUI tree.

Definition at line 518 of file renderer.php.

Here is the caller graph for this function:

menu_admin ( pageid,
currentselect 
)

Definition at line 500 of file renderer.php.

menu_map ( pageid,
currentselect 
)

Definition at line 469 of file renderer.php.

Definition at line 29 of file renderer.php.

Here is the call graph for this function:

prettyview_link ( page)

Definition at line 295 of file renderer.php.

Definition at line 486 of file renderer.php.

Here is the call graph for this function:

search_result ( records,
subwiki 
)

Definition at line 55 of file renderer.php.

Here is the call graph for this function:

tabs ( page,
tabitems,
options 
)

Definition at line 242 of file renderer.php.

Here is the call graph for this function:

wiki_files_tree ( context,
subwiki 
)

Definition at line 483 of file renderer.php.

Here is the call graph for this function:

wiki_info ( )

Definition at line 237 of file renderer.php.

Here is the call graph for this function:

wiki_print_subwiki_selector ( wiki,
subwiki,
page,
pagetype = 'view' 
)

Definition at line 304 of file renderer.php.

Here is the call graph for this function:


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations