\Ceo\Core\HttpRequest

Extend the base request class to add some helper methods.

Loaded via the base services interface.

Summary

Methods
Properties
Constants
setBodyOverride()
setMethodOverride()
getJsonRawBody()
isMethod()
getSegments()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$methodOverride
$bodyOverride
N/A

Properties

$methodOverride

$methodOverride : 

Type

$bodyOverride

$bodyOverride : 

Type

Methods

setBodyOverride()

setBodyOverride(  $data) 

Parameters

$data

setMethodOverride()

setMethodOverride(  $method) 

Parameters

$method

getJsonRawBody()

getJsonRawBody(  $associative = false) 

Parameters

$associative

isMethod()

isMethod(  $methods = array(),   $strict = false) 

Parameters

$methods
$strict

getSegments()

getSegments(  $i = null) 

Get request segments. If you don't provide a segment number will return all segments.

Parameters

$i