|
Moodle
2.2.1
http://www.collinsharper.com
|
Go to the source code of this file.
Namespaces | |
| namespace | wiki |
Functions | |
| wiki_print_editor_wiki ($pageid, $content, $editor, $version=-1, $section=null, $upload=false, $deleteuploads=array(), $comesfrom= 'editorview', $commentid=0) | |
| getTokens ($format, $token) | |
| getTokens | ( | $ | format, |
| $ | token | ||
| ) |
Returns escaped token used by a wiki language to represent a given tag or "object" (bold -> **)
| string | $format | format of page |
| array | string | $token | format tokens which needs to be escaped |
Definition at line 93 of file wiki_editor.php.


| wiki_print_editor_wiki | ( | $ | pageid, |
| $ | content, | ||
| $ | editor, | ||
| $ | version = -1, |
||
| $ | section = null, |
||
| $ | upload = false, |
||
| $ | deleteuploads = array(), |
||
| $ | comesfrom = 'editorview', |
||
| $ | commentid = 0 |
||
| ) |
Printing wiki editor. Depending on where it is called , action will go to different destinations. If it is called from comments section, the return will be in comments section in any other case it will be in edit view section.
| $pageid. | Current pageid |
| $content. | Content to be edited. |
| $section. | Current section, default null |
| $comesfrom. | Information about where the function call is made |
| commentid. | id comment of comment that will be edited. |
Get tags for every element we are displaying
Definition at line 25 of file wiki_editor.php.
