MediaWiki
REL1_22
|
Public Member Functions | |
__construct ($text) | |
copy () | |
Return a copy of this Content object. | |
getText () | |
setText ($text) |
Definition at line 448 of file RevisionTest.php.
RevisionTestModifyableContent::__construct | ( | $ | modelId | ) |
string | null | $modelId |
Reimplemented from AbstractContent.
Definition at line 449 of file RevisionTest.php.
References MediaWikiTestCase\__construct().
Return a copy of this Content object.
The following must be true for the object returned:
if $copy = $original->copy()
If and only if the Content object is immutable, the copy() method can and should return $this. That is, $copy === $original may be true, but only for immutable content objects.
Reimplemented from TextContent.
Definition at line 453 of file RevisionTest.php.
Definition at line 457 of file RevisionTest.php.
RevisionTestModifyableContent::setText | ( | $ | text | ) |
Definition at line 461 of file RevisionTest.php.