| 1 |
<?php |
| 2 |
/** |
| 3 |
* |
| 4 |
*/ |
| 5 |
|
| 6 |
/** |
| 7 |
* |
| 8 |
*/ |
| 9 |
class CJT_Models_Block_Parameters_Form_Value { |
| 10 |
|
| 11 |
/** |
| 12 |
* put your comment there... |
| 13 |
* |
| 14 |
* @var mixed |
| 15 |
*/ |
| 16 |
protected $text; |
| 17 |
|
| 18 |
/** |
| 19 |
* put your comment there... |
| 20 |
* |
| 21 |
* @var mixed |
| 22 |
*/ |
| 23 |
protected $value; |
| 24 |
|
| 25 |
/** |
| 26 |
* put your comment there... |
| 27 |
* |
| 28 |
* @param mixed $data |
| 29 |
* @return CJT_Models_Block_Parameters_Form_Value |
| 30 |
*/ |
| 31 |
public function __construct($data) { |
| 32 |
$this->text = isset($data['text']) ? $data['text'] : null; |
| 33 |
$this->value = isset($data['value']) ? $data['value'] : null; |
| 34 |
} |
| 35 |
|
| 36 |
/** |
| 37 |
* put your comment there... |
| 38 |
* |
| 39 |
*/ |
| 40 |
public function getText() { |
| 41 |
return $this->text; |
| 42 |
} |
| 43 |
|
| 44 |
/** |
| 45 |
* put your comment there... |
| 46 |
* |
| 47 |
*/ |
| 48 |
public function getValue() { |
| 49 |
return $this->value; |
| 50 |
} |
| 51 |
|
| 52 |
} // End class |
| 53 |
|