getUrlParamSeparator() public method

public getUrlParamSeparator ( ) : string
return string separator used to separate GET variable name and value when URL format is Path. Defaults to comma ','.
Example #1
0
 public function testGetSetUrlParamSeparator()
 {
     $request = new THttpRequest();
     $request->init(null);
     // Try an invalid separator
     try {
         $request->setUrlParamSeparator('&&');
         self::fail('httprequest_separator_invalid exception not thrown');
     } catch (TInvalidDataValueException $e) {
     }
     // Try valid one
     $request->setUrlParamSeparator('&');
     self::assertEquals('&', $request->getUrlParamSeparator());
 }