PHP Class Backend\Core\Engine\Url

Inheritance: extends Backend\Core\Engine\Base\Object
Datei anzeigen Open project: forkcms/forkcms Class Usage Examples

Public Methods

Method Description
__construct ( Symfony\Component\HttpKernel\KernelInterface $kernel )
getDomain ( ) : string Get the domain
getHost ( ) : string Get the host
getQueryString ( ) : string Get the full querystring

Private Methods

Method Description
processQueryString ( ) Process the querystring
processRegularRequest ( string $module, string $action, string $language ) Process a regular request
setLocale ( ) Set the locale

Method Details

__construct() public method

public __construct ( Symfony\Component\HttpKernel\KernelInterface $kernel )
$kernel Symfony\Component\HttpKernel\KernelInterface

getDomain() public method

Get the domain
public getDomain ( ) : string
return string The current domain (without www.)

getHost() public method

Get the host
Deprecation: use $request->getHttpHost() instead
public getHost ( ) : string
return string

getQueryString() public method

Get the full querystring
public getQueryString ( ) : string
return string