Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | |
0.00% |
0 / 5 |
|
0.00% |
0 / 4 |
CRAP | |
0.00% |
0 / 1 |
PFWikiPageTemplateParam | |
0.00% |
0 / 5 |
|
0.00% |
0 / 4 |
20 | |
0.00% |
0 / 1 |
__construct | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
getName | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
getValue | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
setValue | |
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 a single parameter (name and value) within a template call |
10 | * in a wiki page. |
11 | */ |
12 | class PFWikiPageTemplateParam { |
13 | private $mName; |
14 | private $mValue; |
15 | |
16 | function __construct( $name, $value ) { |
17 | $this->mName = $name; |
18 | $this->mValue = $value; |
19 | } |
20 | |
21 | function getName() { |
22 | return $this->mName; |
23 | } |
24 | |
25 | function getValue() { |
26 | return $this->mValue; |
27 | } |
28 | |
29 | function setValue( $value ) { |
30 | $this->mValue = $value; |
31 | } |
32 | } |