CollaborationKit
MediaWiki CollaborationKit extension
Loading...
Searching...
No Matches
CollaborationHubContentEditor Class Reference
+ Inheritance diagram for CollaborationHubContentEditor:
+ Collaboration diagram for CollaborationHubContentEditor:

Public Member Functions

 __construct (Article $page)
 

Static Public Member Functions

static setCollabkitTheme (OutputPage $out, $skin, &$bodyAttribs)
 Hook handler for OutputPageBodyAttributes.
 

Protected Member Functions

 getFormFields ( $parts)
 Prepares form fields.
 
 getOptions ( $mapping)
 Build and return the associative array for the content source field.
 
 showContentForm ()
 Renders and adds the editing form to the parser output.
 
 importContentFormData (&$request)
 Converts input from the editing form into the text/x-collabkit serialization used for processing the edit.
 

Protected Attributes

 $colour
 

Member Function Documentation

◆ getFormFields()

CollaborationHubContentEditor::getFormFields ( $parts)
protected

Prepares form fields.

Parameters
array$parts
Returns
string[] html
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getOptions()

CollaborationHubContentEditor::getOptions ( $mapping)
protected

Build and return the associative array for the content source field.

Parameters
array$mapping
Returns
array
+ Here is the caller graph for this function:

◆ importContentFormData()

CollaborationHubContentEditor::importContentFormData ( & $request)
protected

Converts input from the editing form into the text/x-collabkit serialization used for processing the edit.

Parameters
WebRequest&$request
Returns
string|null
+ Here is the call graph for this function:

◆ setCollabkitTheme()

static CollaborationHubContentEditor::setCollabkitTheme ( OutputPage $out,
$skin,
& $bodyAttribs )
static

Hook handler for OutputPageBodyAttributes.

Used to set the color theme for Hub edit pages.

Parameters
OutputPage$out
Skin$skin
array&$bodyAttribsAttributes for the <body> element

The documentation for this class was generated from the following file: