Moodle  2.2.1
http://www.collinsharper.com
C:/xampp/htdocs/moodle/mod/wiki/editors/wiki_editor.php File Reference

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)

Function Documentation

getTokens ( format,
token 
)

Returns escaped token used by a wiki language to represent a given tag or "object" (bold -> **)

Parameters:
string$formatformat of page
array | string$tokenformat tokens which needs to be escaped
Returns:
array|string

Definition at line 93 of file wiki_editor.php.

Here is the call graph for this function:

Here is the caller graph for this function:

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.

Parameters:
$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.

Here is the call graph for this function:

 All Data Structures Namespaces Files Functions Variables Enumerations