PHP Class ZF\Apigility\Admin\Controller\AbstractConfigController

Inheritance: extends Zend\Mvc\Controller\AbstractActionController
Show file Open project: zfcampus/zf-apigility-admin

Public Methods

Method Description
getConfig ( )
processAction ( )
setRequest ( Zend\Http\Request $request ) Set the request object manually

Protected Methods

Method Description
getBodyParams ( boolean $useTrees ) : array Get the body params
getHeaderType ( Zend\Http\Headers $headers, string $header ) : string Get the mediatype from a given header

Method Details

getBodyParams() protected method

The body params plugin only knows about application/json, not our custom vendor type; if using our custom vendor type, parse the content.
protected getBodyParams ( boolean $useTrees ) : array
$useTrees boolean
return array

getConfig() abstract public method

abstract public getConfig ( )

getHeaderType() protected method

Get the mediatype from a given header
protected getHeaderType ( Zend\Http\Headers $headers, string $header ) : string
$headers Zend\Http\Headers
$header string
return string

processAction() public method

public processAction ( )

setRequest() public method

Provided for testing.
public setRequest ( Zend\Http\Request $request )
$request Zend\Http\Request