Prado\Web\THttpRequest::getPathInfo PHP Method

getPathInfo() public method

public getPathInfo ( ) : string
return string part of the request URL after script name and before question mark.
    public function getPathInfo()
    {
        return $this->_pathInfo;
    }

Usage Example

Beispiel #1
0
 public function testGetPathInfo()
 {
     $request = new THttpRequest();
     $request->init(null);
     self::assertEquals(__FILE__, $request->getPathInfo());
 }