original_string: function setWidth($width) {
          if(!preg_match('!^(\d+)(.*)$!',$width,$_match))
              return false;
  
          $_width = $_match[1];
          $_type = $_match[2];
          if($_type == '%')
              $this->width = $_width . '%';
          else
              $this->width = $_width . 'px';
          
          return true;
      }
code: function setWidth($width) {
          if(!preg_match('!^(\d+)(.*)$!',$width,$_match))
              return false;
  
          $_width = $_match[1];
          $_type = $_match[2];
          if($_type == '%')
              $this->width = $_width . '%';
          else
              $this->width = $_width . 'px';
          
          return true;
      }
code_tokens: function setWidth ( $ width ) { if ( ! preg_match ( '!^(\d+)(.*)$!' , $ width , $ _match ) ) return false ; $ _width = $ _match [ 1 ] ; $ _type = $ _match [ 2 ] ; if ( $ _type == '%' ) $ this -> width = $ _width . '%' ; else $ this -> width = $ _width . 'px' ; return true ; }
docstring: sets the width of the map
  
  @param string $width
  @return string|false Width or false if not a valid value
docstring_tokens: sets the width of the map