PHP Class ZF\Apigility\Admin\Controller\AbstractConfigController

Inheritance: extends Zend\Mvc\Controller\AbstractActionController
Afficher le fichier Open project: zfcampus/zf-apigility-admin

Méthodes publiques

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

Méthodes protégées

Méthode 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 méthode

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
Résultat array

getConfig() abstract public méthode

abstract public getConfig ( )

getHeaderType() protected méthode

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

processAction() public méthode

public processAction ( )

setRequest() public méthode

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