MediaWiki
master
|
Public Member Functions | |
__construct ($modelId=CONTENT_MODEL_CSS) | |
getPageLanguage (Title $title, Content $content=null) | |
Returns the english language, because CSS is english, and should be handled as such. | |
getPageViewLanguage (Title $title, Content $content=null) | |
Returns the english language, because CSS is english, and should be handled as such. | |
makeEmptyContent () | |
Creates an empty TextContent object. | |
unserializeContent ($text, $format=null) | |
Unserializes a Content object of the type supported by this ContentHandler. |
Definition at line 6 of file CssContentHandler.php.
CssContentHandler::__construct | ( | $ | modelId = CONTENT_MODEL_CSS | ) |
Definition at line 8 of file CssContentHandler.php.
References array().
CssContentHandler::getPageLanguage | ( | Title $ | title, |
Content $ | content = null |
||
) |
Returns the english language, because CSS is english, and should be handled as such.
Reimplemented from ContentHandler.
Definition at line 29 of file CssContentHandler.php.
References wfGetLangObj().
CssContentHandler::getPageViewLanguage | ( | Title $ | title, |
Content $ | content = null |
||
) |
Returns the english language, because CSS is english, and should be handled as such.
Reimplemented from ContentHandler.
Definition at line 40 of file CssContentHandler.php.
References wfGetLangObj().
Creates an empty TextContent object.
Reimplemented from TextContentHandler.
Definition at line 18 of file CssContentHandler.php.
CssContentHandler::unserializeContent | ( | $ | text, |
$ | format = null |
||
) |
Unserializes a Content object of the type supported by this ContentHandler.
$text | string serialized form of the content |
$format | null|String the format used for serialization |
Reimplemented from TextContentHandler.
Definition at line 12 of file CssContentHandler.php.
References ContentHandler\checkFormat().