source:
Dev/trunk/src/client/util/docscripts/lib/parser/DojoString.php
Last change on this file was 483, checked in by hendrikvanantwerpen, 11 years ago | |
---|---|
File size: 271 bytes |
Line | |
---|---|
1 | <?php |
2 | |
3 | class DojoString |
4 | { |
5 | private $object = 'DojoString'; |
6 | |
7 | private $value = ''; |
8 | |
9 | public function __construct($string){ |
10 | $this->value = preg_replace('%(^[\'"]|["\']$)%', '', $string); |
11 | } |
12 | |
13 | public function getValue(){ |
14 | return $this->value; |
15 | } |
16 | } |
17 | |
18 | ?> |
Note: See TracBrowser
for help on using the repository browser.