|
MediaWiki
REL1_21
|


Public Member Functions | |
| __construct ($text) | |
| copy () | |
| Return a copy of this Content object. | |
| getText () | |
| setText ($text) | |
Definition at line 411 of file RevisionTest.php.
| RevisionTestModifyableContent::__construct | ( | $ | modelId | ) |
| string | null | $modelId |
Reimplemented from AbstractContent.
Definition at line 412 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 416 of file RevisionTest.php.
Definition at line 420 of file RevisionTest.php.
| RevisionTestModifyableContent::setText | ( | $ | text | ) |
Definition at line 424 of file RevisionTest.php.