MediaWiki REL1_37
|
Represents information returned by WikiPage::prepareContentForEdit() More...
Public Member Functions | |
__get ( $name) | |
Fetch the ParserOutput via a lazy-loaded callback (for backwards compatibility). | |
getOutput () | |
Public Attributes | |
string | $format |
Content format. | |
Content | $newContent |
Content that is being saved (before PST) | |
Content null | $oldContent |
Current content of the page, if any. | |
callable | $parserOutputCallback |
Lazy-loading callback to get canonical ParserOutput object. | |
ParserOptions | $popts |
Parser options used to get parser output. | |
Content null | $pstContent |
Content after going through pre-save transform. | |
int null | $revid |
Revision ID. | |
string | $timestamp |
Time this prepared edit was made. | |
Private Attributes | |
ParserOutput null | $canonicalOutput |
Parser output. | |
Represents information returned by WikiPage::prepareContentForEdit()
Definition at line 35 of file PreparedEdit.php.
MediaWiki\Edit\PreparedEdit::__get | ( | $name | ) |
Fetch the ParserOutput via a lazy-loaded callback (for backwards compatibility).
string | $name |
Definition at line 117 of file PreparedEdit.php.
References MediaWiki\Edit\PreparedEdit\getOutput().
MediaWiki\Edit\PreparedEdit::getOutput | ( | ) |
Definition at line 102 of file PreparedEdit.php.
References MediaWiki\Edit\PreparedEdit\$canonicalOutput.
Referenced by MediaWiki\Edit\PreparedEdit\__get().
|
private |
Parser output.
Definition at line 76 of file PreparedEdit.php.
Referenced by MediaWiki\Edit\PreparedEdit\getOutput().
string MediaWiki\Edit\PreparedEdit::$format |
Content format.
Definition at line 62 of file PreparedEdit.php.
Content MediaWiki\Edit\PreparedEdit::$newContent |
Content that is being saved (before PST)
Definition at line 83 of file PreparedEdit.php.
Content null MediaWiki\Edit\PreparedEdit::$oldContent |
Current content of the page, if any.
Definition at line 90 of file PreparedEdit.php.
callable MediaWiki\Edit\PreparedEdit::$parserOutputCallback |
Lazy-loading callback to get canonical ParserOutput object.
Definition at line 97 of file PreparedEdit.php.
ParserOptions MediaWiki\Edit\PreparedEdit::$popts |
Parser options used to get parser output.
Definition at line 69 of file PreparedEdit.php.
Content null MediaWiki\Edit\PreparedEdit::$pstContent |
Content after going through pre-save transform.
Definition at line 55 of file PreparedEdit.php.
int null MediaWiki\Edit\PreparedEdit::$revid |
Revision ID.
Definition at line 48 of file PreparedEdit.php.
string MediaWiki\Edit\PreparedEdit::$timestamp |
Time this prepared edit was made.
Definition at line 41 of file PreparedEdit.php.