blob: 6dcba53c6e55b382e9a52a616f0cd817c3bf528b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
<?php
class RevisionTestModifyableContent extends TextContent {
const MODEL_ID = "RevisionTestModifyableContent";
public function __construct( $text ) {
parent::__construct( $text, self::MODEL_ID );
}
public function copy() {
return new RevisionTestModifyableContent( $this->mText );
}
public function getText() {
return $this->mText;
}
public function setText( $text ) {
$this->mText = $text;
}
}
|