Свойство | Тип | Описание | |
---|---|---|---|
$params | Stores/caches params. |
Метод | Описание | |
---|---|---|
all ( ) : AssocArray | Gets the stored/cached params. | |
getContent ( ) | ||
getParam ( String $key, mixed $default = null ) : mixed | Gets a param from the stored/cached params. | |
getParams ( ) : AssocArray | Gets all params (merges payload params with request params). | |
getPassword ( ) : String | Gets the password from the basic auth. | |
getPayload ( ) : AssocArray | Gets the stored/cached params. | |
getPayloadParams ( ) : AssocArray | Gets the data stored in the request payload. | |
getUser ( ) : String | Gets the user from the basic auth. | |
hasParam ( String $key ) : boolean | Determines if the param is set. | |
header ( $key, $default = null ) : mixed | Gets a header from the request headers. |
Метод | Описание | |
---|---|---|
getAuth ( ) : AssocArray | Gets the authentication details from the stored/cached params. | |
getDecodedAuth ( String $auth ) : AssocArray | Gets decoded authentication details. | |
getNullAuth ( ) : AssocArray | Gets the null authentication details. | |
getSplitAuth ( ) : boolean | Determines if the auth param is split by a space. | |
splitAuthParam ( String $authParam, String $delimeter ) : String[] | Gets the authentication details split by a delimeter. |
public all ( ) : AssocArray | ||
Результат | AssocArray | Stored/cached params. |
public getParams ( ) : AssocArray | ||
Результат | AssocArray | params. |
public getPassword ( ) : String | ||
Результат | String | password in the basic auth. |
public getPayload ( ) : AssocArray | ||
Результат | AssocArray | Stored/cached params. |
public getPayloadParams ( ) : AssocArray | ||
Результат | AssocArray | params from the payload. |
public getUser ( ) : String | ||
Результат | String | user in the basic auth. |