Wiki page editing page.
More...
|
| | __construct ($wiki, $subwiki, $cm, ?string $activesecondarytab=null) |
| | The page_wiki_edit constructor.
|
| |
| | print_content () |
| | This method must be overwritten to print the page content.
|
| |
| | print_footer () |
| | This method print the footer of the page.
|
| |
| | print_header () |
| | This method prints the top of the page.
|
| |
|
| set_attachments ($attachments) |
| |
|
| set_deleteuploads ($deleteuploads) |
| |
|
| set_format ($format) |
| |
| | set_gid ($gid) |
| | Method to set current group id.
|
| |
|
| set_overridelock ($override) |
| |
| | set_page ($page) |
| | Method to set the current page.
|
| |
|
| set_section ($sectioncontent, $section) |
| |
| | set_title ($title) |
| | Method to set the current page title.
|
| |
| | set_uid ($uid) |
| | Method to set current user id.
|
| |
|
| set_upload ($upload) |
| |
|
| set_versionnumber ($versionnumber) |
| |
|
|
static | $attachmentoptions |
| |
|
|
| $attachments = 0 |
| |
|
stdClass | $cm |
| | course module.
|
| |
|
| $deleteuploads = array() |
| |
|
| $format |
| |
|
int | $gid |
| | Current group ID.
|
| |
|
object | $modcontext |
| | module context object
|
| |
|
| $overridelock = false |
| |
|
int | $page |
| | Current page.
|
| |
|
string | $section |
| | the section name needed to be edited
|
| |
|
| $sectioncontent |
| |
|
object | $subwiki |
| | Current subwiki.
|
| |
| array | $tabs |
| | The tabs set used in wiki module.
|
| |
|
array | $tabs_options = array() |
| | tabs options
|
| |
|
string | $title |
| | Current page title.
|
| |
|
int | $uid |
| | Current user ID.
|
| |
|
| $upload = false |
| |
|
| $versionnumber = -1 |
| |
|
mod_wiki_renderer | $wikioutput |
| | wiki renderer
|
| |
Wiki page editing page.
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ __construct()
| page_wiki_edit::__construct |
( |
| $wiki, |
|
|
| $subwiki, |
|
|
| $cm, |
|
|
?string | $activesecondarytab = null ) |
The page_wiki_edit constructor.
- Parameters
-
| stdClass | $wiki | Current wiki |
| stdClass | $subwiki | Current subwiki. |
| stdClass | $cm | Current course_module. |
| string | null | $activesecondarytab | Secondary navigation node to be activated on the page, if required |
Reimplemented from page_wiki.
◆ action_bar()
| page_wiki::action_bar |
( |
int | $pageid, |
|
|
moodle_url | $pageurl ) |
|
protectedinherited |
◆ create_navbar()
| page_wiki_edit::create_navbar |
( |
| ) |
|
|
protected |
Protected method to create the common items of the navbar in every page type.
Reimplemented from page_wiki.
◆ print_content()
| page_wiki_edit::print_content |
( |
| ) |
|
◆ print_footer()
| page_wiki::print_footer |
( |
| ) |
|
|
inherited |
This method print the footer of the page.
Reimplemented in page_wiki_lock.
◆ print_header()
| page_wiki_edit::print_header |
( |
| ) |
|
◆ print_pagetitle()
| page_wiki_edit::print_pagetitle |
( |
| ) |
|
|
protected |
Protected method to print current page title.
Reimplemented from page_wiki.
◆ process_session_url()
| page_wiki_edit::process_session_url |
( |
| ) |
|
|
protected |
◆ 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_session_url()
| page_wiki_edit::set_session_url |
( |
| ) |
|
|
protected |
◆ 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_edit::set_url |
( |
| ) |
|
|
protected |
◆ 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: