root / trunk / docscripts / inc / DojoString.php

Revision 6048, 273 bytes (checked in by pottedmeat, 2 years ago)

Improve DojoObject? and parse block comments

Line 
1<?php
2
3class DojoString
4{
5  private $object = 'DojoString';
6 
7  private $value = '';
8 
9  public function __construct($string)
10  {
11    $this->value = preg_replace('%(^[\'"]|["\']$)%', '', $string);
12  }
13 
14  public function getValue()
15  {
16    return $this->value;
17  }
18}
19
20?>
Note: See TracBrowser for help on using the browser.