|
MediaWiki
REL1_23
|
Content for JavaScript pages. More...


Public Member Functions | |
| __construct ($text) | |
| preSaveTransform (Title $title, User $user, ParserOptions $popts) | |
| Returns a Content object with pre-save transformations applied using Parser::preSaveTransform(). | |
Protected Member Functions | |
| getHtml () | |
Content for JavaScript pages.
Definition at line 33 of file JavaScriptContent.php.
| JavaScriptContent::__construct | ( | $ | text | ) |
| string | $text | JavaScript code. |
Reimplemented from AbstractContent.
Definition at line 38 of file JavaScriptContent.php.
| JavaScriptContent::getHtml | ( | ) | [protected] |
tag.
Reimplemented from TextContent.
Definition at line 66 of file JavaScriptContent.php.
References $html, and TextContent\getHighlightHtml().
| JavaScriptContent::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 52 of file JavaScriptContent.php.
References $wgParser, TextContent\getNativeData(), and global.