PHP Class PhalconRest\Mvc\Controllers\FractalController

Inheritance: extends PhalconRest\Mvc\Controller
Afficher le fichier Open project: olivierandriessen/phalcon-rest

Protected Properties

Свойство Type Description
$fractal League\Fractal\Manager

Méthodes publiques

Méthode Description
onConstruct ( )

Méthodes protégées

Méthode Description
createArrayResponse ( $array, $key )
createCollectionResponse ( $collection, $transformer, $resourceKey = null, $meta = null )
createItemOkResponse ( $item, $transformer, $resourceKey = null, $meta = null )
createItemResponse ( $item, $transformer, $resourceKey = null, $meta = null )
createOkResponse ( )
createResponse ( $response )
getUser ( )
getUserId ( )

Method Details

createArrayResponse() protected méthode

protected createArrayResponse ( $array, $key )

createCollectionResponse() protected méthode

protected createCollectionResponse ( $collection, $transformer, $resourceKey = null, $meta = null )

createItemOkResponse() protected méthode

protected createItemOkResponse ( $item, $transformer, $resourceKey = null, $meta = null )

createItemResponse() protected méthode

protected createItemResponse ( $item, $transformer, $resourceKey = null, $meta = null )

createOkResponse() protected méthode

protected createOkResponse ( )

createResponse() protected méthode

protected createResponse ( $response )

getUser() protected méthode

protected getUser ( )

getUserId() protected méthode

protected getUserId ( )

onConstruct() public méthode

public onConstruct ( )

Property Details

$fractal protected_oe property

protected Manager,League\Fractal $fractal
Résultat League\Fractal\Manager