PHP Class ZF\Apigility\Admin\Model\ContentNegotiationResource

Inheritance: extends ZF\Rest\AbstractResourceListener
Exibir arquivo Open project: zfcampus/zf-apigility-admin

Protected Properties

Property Type Description
$model ContentNegotiationModel

Public Methods

Method Description
__construct ( ContentNegotiationModel $model )
create ( $data )
delete ( $id )
fetch ( $id )
fetchAll ( $params = [] )
patch ( $id, $data )
setInputFilter ( Zend\InputFilter\InputFilterInterface $inputFilter ) Inject the input filter.

Method Details

__construct() public method

public __construct ( ContentNegotiationModel $model )
$model ContentNegotiationModel

create() public method

public create ( $data )

delete() public method

public delete ( $id )

fetch() public method

public fetch ( $id )

fetchAll() public method

public fetchAll ( $params = [] )

patch() public method

public patch ( $id, $data )

setInputFilter() public method

Primarily present for testing; input filters will be injected via event normally.
public setInputFilter ( Zend\InputFilter\InputFilterInterface $inputFilter )
$inputFilter Zend\InputFilter\InputFilterInterface

Property Details

$model protected_oe property

protected ContentNegotiationModel,ZF\Apigility\Admin\Model $model
return ContentNegotiationModel