class CollectionsManager
Manage collections in the database by creating, updating and removing them.
Methods
|
__construct(DvsCollectionInstance $CollectionInstance)
Create a new collections manager object |
||
| CollectionInstance |
createNewInstance(array $inputData)
Create a new collection instance |
|
| CollectionInstance |
updateInstanceSort($id, $sort)
Updates the instance with input data |
|
| CollectionInstance |
updateInstanceName($id, $name)
Update the collection instance name |
|
| bool |
removeInstance(integer $id)
Remove instance from database |
Details
at line 21
public
__construct(DvsCollectionInstance $CollectionInstance)
Create a new collections manager object
at line 33
public CollectionInstance
createNewInstance(array $inputData)
Create a new collection instance
at line 53
public CollectionInstance
updateInstanceSort($id, $sort)
Updates the instance with input data
at line 68
public CollectionInstance
updateInstanceName($id, $name)
Update the collection instance name
at line 83
public bool
removeInstance(integer $id)
Remove instance from database