|
| create_navbar () |
| Protected method to create the common items of the navbar in every page type. More...
|
|
| print_pagetitle () |
| Protected method to print current page title. More...
|
|
| process_session_url () |
|
| set_session_url () |
|
| setup_tabs ($options=array()) |
| Setup page tabs, if options is empty, will set up active tab automatically. More...
|
|
|
stdClass | $cm |
| course module.
|
|
int | $gid |
| Current group ID.
|
|
object | $modcontext |
| module context object
|
|
int | $page |
| Current page.
|
|
object | $subwiki |
| Current subwiki.
|
|
array | $tabs |
| The tabs set used in wiki module. More...
|
|
array | $tabs_options = array() |
| tabs options
|
|
string | $title |
| Current page title.
|
|
int | $uid |
| Current user ID.
|
|
mod_wiki_renderer | $wikioutput |
| wiki renderer
|
|
◆ __construct()
page_wiki_prettyview::__construct |
( |
|
$wiki, |
|
|
|
$subwiki, |
|
|
|
$cm |
|
) |
| |
page_wiki constructor
- Parameters
-
$wiki. | Current wiki |
$subwiki. | Current subwiki. |
$cm. | Current course_module. |
Reimplemented from page_wiki.
◆ create_navbar()
page_wiki::create_navbar |
( |
| ) |
|
|
protectedinherited |
Protected method to create the common items of the navbar in every page type.
Reimplemented in page_wiki_view, page_wiki_edit, page_wiki_comments, page_wiki_editcomment, page_wiki_search, page_wiki_create, page_wiki_diff, page_wiki_history, page_wiki_map, page_wiki_restoreversion, page_wiki_deletecomment, page_wiki_viewversion, and page_wiki_admin.
◆ print_content()
page_wiki_prettyview::print_content |
( |
| ) |
|
This method must be overwritten to print the page content.
Reimplemented from page_wiki.
◆ print_footer()
page_wiki::print_footer |
( |
| ) |
|
|
inherited |
This method print the footer of the page.
Reimplemented in page_wiki_lock.
◆ print_header()
page_wiki_prettyview::print_header |
( |
| ) |
|
This method prints the top of the page.
Reimplemented from page_wiki.
◆ print_pagetitle()
page_wiki::print_pagetitle |
( |
| ) |
|
|
protectedinherited |
◆ set_gid()
page_wiki::set_gid |
( |
|
$gid | ) |
|
|
inherited |
Method to set current group id.
- Parameters
-
◆ set_page()
page_wiki::set_page |
( |
|
$page | ) |
|
|
inherited |
Method to set the current page.
- Parameters
-
◆ set_title()
page_wiki::set_title |
( |
|
$title | ) |
|
|
inherited |
Method to set the current page title.
This method must be called when the current page is not created yet.
- Parameters
-
string | $title | Current page title. |
◆ set_uid()
page_wiki::set_uid |
( |
|
$uid | ) |
|
|
inherited |
Method to set current user id.
- Parameters
-
◆ set_url()
page_wiki_prettyview::set_url |
( |
| ) |
|
Method to set the URL of the page.
This method must be overwritten by every type of page.
Reimplemented from page_wiki.
◆ setup_tabs()
page_wiki::setup_tabs |
( |
|
$options = array() | ) |
|
|
protectedinherited |
◆ $tabs
Initial value:= array('view' => 'view', 'edit' => 'edit', 'comments' => 'comments',
'history' => 'history', 'map' => 'map', 'files' => 'files',
'admin' => 'admin')
The tabs set used in wiki module.
The documentation for this class was generated from the following file: