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

Public Member Functions

 __construct ($wiki, $subwiki, $cm)
 print_header ()
 print_content ()
 set_section ($sectioncontent, $section)
 set_versionnumber ($versionnumber)
 set_overridelock ($override)
 set_format ($format)
 set_upload ($upload)
 set_attachments ($attachments)
 set_deleteuploads ($deleteuploads)

Static Public Attributes

static $attachmentoptions

Protected Member Functions

 print_pagetitle ()
 set_url ()
 set_session_url ()
 process_session_url ()
 create_navbar ()
 check_locks ()
 print_edit ($content=null)

Protected Attributes

 $sectioncontent
 $section
 $overridelock = false
 $versionnumber = -1
 $upload = false
 $attachments = 0
 $deleteuploads = array()
 $format

Detailed Description

Wiki page editing page

http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

Definition at line 370 of file pagelib.php.


Constructor & Destructor Documentation

__construct ( wiki,
subwiki,
cm 
)

page_wiki constructor

Parameters:
$wiki.Current wiki
$subwiki.Current subwiki.
$cm.Current course_module.

Reimplemented from page_wiki.

Reimplemented in page_wiki_preview.

Definition at line 384 of file pagelib.php.


Member Function Documentation

check_locks ( ) [protected]

Reimplemented in page_wiki_preview.

Definition at line 484 of file pagelib.php.

Here is the call graph for this function:

Here is the caller graph for this function:

create_navbar ( ) [protected]

Protected method to create the common items of the navbar in every page type.

Reimplemented from page_wiki.

Definition at line 476 of file pagelib.php.

This method must be overwritten to print the page content.

Reimplemented from page_wiki.

Reimplemented in page_wiki_overridelocks, page_wiki_lock, page_wiki_confirmrestore, page_wiki_save, and page_wiki_preview.

Definition at line 415 of file pagelib.php.

Here is the call graph for this function:

print_edit ( content = null) [protected]

Definition at line 509 of file pagelib.php.

Here is the call graph for this function:

Here is the caller graph for this function:

This method prints the top of the page.

Reimplemented from page_wiki.

Reimplemented in page_wiki_overridelocks, page_wiki_lock, page_wiki_save, and page_wiki_preview.

Definition at line 404 of file pagelib.php.

Here is the call graph for this function:

print_pagetitle ( ) [protected]

Protected method to print current page title.

Reimplemented from page_wiki.

Definition at line 392 of file pagelib.php.

Here is the call graph for this function:

Here is the caller graph for this function:

process_session_url ( ) [protected]

Reimplemented from page_wiki.

Definition at line 444 of file pagelib.php.

set_attachments ( attachments)

Definition at line 468 of file pagelib.php.

set_deleteuploads ( deleteuploads)

Definition at line 472 of file pagelib.php.

set_format ( format)

Definition at line 460 of file pagelib.php.

set_overridelock ( override)

Definition at line 456 of file pagelib.php.

set_section ( sectioncontent,
section 
)

Definition at line 447 of file pagelib.php.

set_session_url ( ) [protected]

Reimplemented from page_wiki.

Reimplemented in page_wiki_overridelocks, page_wiki_lock, and page_wiki_save.

Definition at line 438 of file pagelib.php.

set_upload ( upload)

Definition at line 464 of file pagelib.php.

set_url ( ) [protected]

Method to set the URL of the page. This method must be overwritten by every type of page.

Reimplemented from page_wiki.

Reimplemented in page_wiki_overridelocks, page_wiki_lock, page_wiki_confirmrestore, and page_wiki_preview.

Definition at line 426 of file pagelib.php.

set_versionnumber ( versionnumber)

Definition at line 452 of file pagelib.php.


Field Documentation

$attachmentoptions [static]

Definition at line 372 of file pagelib.php.

$attachments = 0 [protected]

Definition at line 380 of file pagelib.php.

$deleteuploads = array() [protected]

Definition at line 381 of file pagelib.php.

$format [protected]

Definition at line 382 of file pagelib.php.

$overridelock = false [protected]

Definition at line 377 of file pagelib.php.

$section [protected]

Definition at line 376 of file pagelib.php.

$sectioncontent [protected]

Definition at line 374 of file pagelib.php.

$upload = false [protected]

Definition at line 379 of file pagelib.php.

$versionnumber = -1 [protected]

Definition at line 378 of file pagelib.php.


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