PHP Class Devise\Pages\Models\ModelsResponseHandler

Afficher le fichier Open project: devisephp/cms

Protected Properties

Свойство Type Description
$ModelManager ModelManager Model Manager

Méthodes publiques

Méthode Description
__construct ( ModelManager $ModelManager, Framework $Framework ) Create a new model manager
executeModelFieldUpdate ( integer $modelFieldId, array $input ) : array Updates a single model field for this model (attribute)
executeModelFieldsCreate ( array $input ) : array Model creators use this to create new model fields for a model (model creator)
executeModelFieldsUpdate ( array $input ) : array Loops over all fields for this model and updates the model with new values (model)

Method Details

__construct() public méthode

Create a new model manager
public __construct ( ModelManager $ModelManager, Framework $Framework )
$ModelManager ModelManager
$Framework Devise\Support\Framework

executeModelFieldUpdate() public méthode

Updates a single model field for this model (attribute)
public executeModelFieldUpdate ( integer $modelFieldId, array $input ) : array
$modelFieldId integer
$input array
Résultat array

executeModelFieldsCreate() public méthode

Model creators use this to create new model fields for a model (model creator)
public executeModelFieldsCreate ( array $input ) : array
$input array
Résultat array

executeModelFieldsUpdate() public méthode

Loops over all fields for this model and updates the model with new values (model)
public executeModelFieldsUpdate ( array $input ) : array
$input array
Résultat array

Property Details

$ModelManager protected_oe property

Model Manager
protected ModelManager,Devise\Pages\Models $ModelManager
Résultat ModelManager