PHP Class Ouzo\Uri

Afficher le fichier Open project: letsdrink/ouzo Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( $pathProvider = null )
addPrefixIfNeeded ( $url )
getAction ( )
getController ( )
getFullUrlWithPrefix ( )
getHost ( )
getParam ( $param )
getParams ( )
getPath ( )
getPathWithoutPrefix ( )
getProtocol ( )
getRawController ( )
getRequestParameters ( $stream = 'php://input' )
getRequestType ( )
isAjax ( )

Private Methods

Méthode Description
_isServerVariableSetAndHasValue ( $variableName, $values )
_jsonParameters ( $content )
_parseParams ( $params )
_parsePath ( $path = null, $limit = null )
_parseRequest ( $content )
_putRequestParameters ( $content )
_removeDuplicatedSlashes ( $parseUrl )
_splitParamsKeyValueMap ( $pathElements )

Method Details

__construct() public méthode

public __construct ( $pathProvider = null )

addPrefixIfNeeded() public static méthode

public static addPrefixIfNeeded ( $url )

getAction() public méthode

public getAction ( )

getController() public méthode

public getController ( )

getFullUrlWithPrefix() public méthode

getHost() public static méthode

public static getHost ( )

getParam() public méthode

public getParam ( $param )

getParams() public méthode

public getParams ( )

getPath() public méthode

public getPath ( )

getPathWithoutPrefix() public méthode

getProtocol() public static méthode

public static getProtocol ( )

getRawController() public méthode

public getRawController ( )

getRequestParameters() public static méthode

public static getRequestParameters ( $stream = 'php://input' )

getRequestType() public static méthode

public static getRequestType ( )

isAjax() public static méthode

public static isAjax ( )