original_string: public function setPath($path)
  	{
  		$path = trim($path, '/');
  
  		if (strlen($path) > 0)
  		{
  			$this->_path = '/' . $path . '/';
  		}
  		else
  		{
  			$this->_path = '/';
  		}
  
  		if ($this->_urlsInited)
  		{
  			$this->_initUrls();
  		}
  	}
code: public function setPath($path)
  	{
  		$path = trim($path, '/');
  
  		if (strlen($path) > 0)
  		{
  			$this->_path = '/' . $path . '/';
  		}
  		else
  		{
  			$this->_path = '/';
  		}
  
  		if ($this->_urlsInited)
  		{
  			$this->_initUrls();
  		}
  	}
code_tokens: public function setPath ( $ path ) { $ path = trim ( $ path , '/' ) ; if ( strlen ( $ path ) > 0 ) { $ this -> _path = '/' . $ path . '/' ; } else { $ this -> _path = '/' ; } if ( $ this -> _urlsInited ) { $ this -> _initUrls ( ) ; } }
docstring: Set the path used. If empty will fallback to constants
  
  @param string $path
docstring_tokens: Set the path used . If empty will fallback to constants