MediaWiki
REL1_32
RevisionTestModifyableContent.php
Go to the documentation of this file.
1
<?php
2
3
class
RevisionTestModifyableContent
extends
TextContent
{
4
5
const
MODEL_ID
=
"RevisionTestModifyableContent"
;
6
7
public
function
__construct
( $text ) {
8
parent::__construct( $text, self::MODEL_ID );
9
}
10
11
public
function
copy
() {
12
return
new
RevisionTestModifyableContent
( $this->mText );
13
}
14
15
public
function
getText
() {
16
return
$this->mText
;
17
}
18
19
public
function
setText
( $text ) {
20
$this->mText = $text;
21
}
22
23
}
RevisionTestModifyableContent
Definition
RevisionTestModifyableContent.php:3
RevisionTestModifyableContent\getText
getText()
Definition
RevisionTestModifyableContent.php:15
RevisionTestModifyableContent\setText
setText( $text)
Definition
RevisionTestModifyableContent.php:19
RevisionTestModifyableContent\__construct
__construct( $text)
Definition
RevisionTestModifyableContent.php:7
RevisionTestModifyableContent\MODEL_ID
const MODEL_ID
Definition
RevisionTestModifyableContent.php:5
RevisionTestModifyableContent\copy
copy()
Definition
RevisionTestModifyableContent.php:11
TextContent
Content object implementation for representing flat text.
Definition
TextContent.php:37
TextContent\$mText
string $mText
Definition
TextContent.php:42
tests
phpunit
includes
RevisionTestModifyableContent.php
Generated on Mon Nov 25 2024 15:58:53 for MediaWiki by
1.10.0