Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
0.00% |
0 / 2 |
|
0.00% |
0 / 2 |
CRAP | |
0.00% |
0 / 1 |
| PFWikiPageFreeText | |
0.00% |
0 / 2 |
|
0.00% |
0 / 2 |
6 | |
0.00% |
0 / 1 |
| setText | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| getText | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| 1 | <?php |
| 2 | /** |
| 3 | * @author Yaron Koren |
| 4 | * @file |
| 5 | * @ingroup PF |
| 6 | */ |
| 7 | |
| 8 | /** |
| 9 | * Represents the "free text" in a wiki page, i.e. the text not in |
| 10 | * pre-defined template calls and sections. |
| 11 | */ |
| 12 | class PFWikiPageFreeText { |
| 13 | private $mText; |
| 14 | |
| 15 | function setText( $text ) { |
| 16 | $this->mText = $text; |
| 17 | } |
| 18 | |
| 19 | function getText() { |
| 20 | return $this->mText; |
| 21 | } |
| 22 | } |