Property | Type | Description | |
---|---|---|---|
$error_messages | |||
$model |
Method | Description | |
---|---|---|
delete ( $model_id ) | ||
getAll ( ) | ||
getAllParameters ( ) | ||
getById ( $model_id ) | ||
getCreateParameters ( ) | ||
getValidator ( array $input ) | ||
store ( array $input ) | ||
update ( $model_id, array $input ) |
Method | Description | |
---|---|---|
patchInput ( $model_id, array $input ) : array | Patch the input given with the existing properties of a model and return the resulting array | |
processInput ( array $input ) | Pre-process the input by assigning default values for empty properties |
protected patchInput ( $model_id, array $input ) : array | ||
$input | array | |
return | array | model |
protected processInput ( array $input ) | ||
$input | array |