class ModelManager

Methods

__construct(DvsModelField $DvsModelField, Framework $Framework)

Create a new model manager

[type]
updateField([type] $field, [type] $page)

Updates a single field

array(Collection,
createFieldsAndModel(array $fields, array $page)

Creates a new model from the given fields

[type]
updateFields([type] $fields, [type] $page)

Update each field in this fields array

Details

at line 13
__construct(DvsModelField $DvsModelField, Framework $Framework)

Create a new model manager

Parameters

DvsModelField $DvsModelField [description]
Framework $Framework [description]

at line 29
[type] updateField([type] $field, [type] $page)

Updates a single field

Parameters

[type] $field [description]
[type] $page [description]

Return Value

[type] [description]

at line 43
array(Collection, createFieldsAndModel(array $fields, array $page)

Creates a new model from the given fields

Parameters

array $fields
array $page

Return Value

array(Collection, Eloquent)

at line 89
[type] updateFields([type] $fields, [type] $page)

Update each field in this fields array

Parameters

[type] $fields [description]
[type] $page [description]

Return Value

[type] [description]