|
MediaWiki
REL1_24
|
Content object for CSS pages. More...


Public Member Functions | |
| __construct ($text, $modelId=CONTENT_MODEL_CSS) | |
| preSaveTransform (Title $title, User $user, ParserOptions $popts) | |
| Returns a Content object with pre-save transformations applied using Parser::preSaveTransform(). | |
Protected Member Functions | |
| getHtml () | |
Content object for CSS pages.
Definition at line 33 of file CssContent.php.
| CssContent::__construct | ( | $ | text, |
| $ | modelId = CONTENT_MODEL_CSS |
||
| ) |
| string | $text | CSS code. |
| string | $modelId | the content content model |
Reimplemented from TextContent.
Definition at line 39 of file CssContent.php.
| CssContent::getHtml | ( | ) | [protected] |
tag.
Reimplemented from TextContent.
Definition at line 68 of file CssContent.php.
References $html, and TextContent\getNativeData().
| CssContent::preSaveTransform | ( | Title $ | title, |
| User $ | user, | ||
| ParserOptions $ | popts | ||
| ) |
Returns a Content object with pre-save transformations applied using Parser::preSaveTransform().
| Title | $title | |
| User | $user | |
| ParserOptions | $popts |
Reimplemented from TextContent.
Definition at line 55 of file CssContent.php.
References $wgParser, TextContent\getNativeData(), and global.