MediaWiki REL1_33
RevisionTestModifyableContent.php
Go to the documentation of this file.
1<?php
2
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}
getText()
Returns the text represented by this Content object, as a string.
Content object implementation for representing flat text.
string $mText