PHP Class Ouzo\Uri

Mostrar archivo Open project: letsdrink/ouzo Class Usage Examples

Public Methods

Method 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

Method 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 method

public __construct ( $pathProvider = null )

addPrefixIfNeeded() public static method

public static addPrefixIfNeeded ( $url )

getAction() public method

public getAction ( )

getController() public method

public getController ( )

getFullUrlWithPrefix() public method

getHost() public static method

public static getHost ( )

getParam() public method

public getParam ( $param )

getParams() public method

public getParams ( )

getPath() public method

public getPath ( )

getPathWithoutPrefix() public method

getProtocol() public static method

public static getProtocol ( )

getRawController() public method

public getRawController ( )

getRequestParameters() public static method

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

getRequestType() public static method

public static getRequestType ( )

isAjax() public static method

public static isAjax ( )