[ Index ] |
PHP Cross Reference of MediaWiki-1.24.0 |
[Source view] [Print] [Project Stats]
Content object for CSS pages. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
Author: | Daniel Kinzler |
File Size: | 77 lines (2 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
CssContent:: (3 methods):
__construct()
preSaveTransform()
getHtml()
Class: CssContent - X-Ref
Content object for CSS pages.__construct( $text, $modelId = CONTENT_MODEL_CSS ) X-Ref |
param: string $text CSS code. param: string $modelId the content content model |
preSaveTransform( Title $title, User $user, ParserOptions $popts ) X-Ref |
Returns a Content object with pre-save transformations applied using Parser::preSaveTransform(). param: Title $title param: User $user param: ParserOptions $popts return: CssContent |
getHtml() X-Ref |
return: string CSS wrapped in a <pre> tag. |
Generated: Fri Nov 28 14:03:12 2014 | Cross-referenced by PHPXref 0.7.1 |