class ModelsResponseHandler

Methods

__construct(ModelManager $ModelManager, Framework $Framework)

Create a new model manager

array
executeModelFieldUpdate(integer $modelFieldId, array $input)

Updates a single model field for this model (attribute)

array
executeModelFieldsUpdate(array $input)

Loops over all fields for this model and updates the model with new values (model)

array
executeModelFieldsCreate(array $input)

Model creators use this to create new model fields for a model (model creator)

Details

at line 19
__construct(ModelManager $ModelManager, Framework $Framework)

Create a new model manager

Parameters

ModelManager $ModelManager
Framework $Framework

at line 32
array executeModelFieldUpdate(integer $modelFieldId, array $input)

Updates a single model field for this model (attribute)

Parameters

integer $modelFieldId
array $input

Return Value

array

at line 56
array executeModelFieldsUpdate(array $input)

Loops over all fields for this model and updates the model with new values (model)

Parameters

array $input

Return Value

array

at line 74
array executeModelFieldsCreate(array $input)

Model creators use this to create new model fields for a model (model creator)

Parameters

array $input

Return Value

array