Property | Type | Description | |
---|---|---|---|
$CollectionInstance | DvsCollectionInstance | DvsCollectionInstance model | |
$Field | DvsField | DvsField model |
Method | Description | |
---|---|---|
__construct ( DvsCollectionInstance $CollectionInstance, DvsField $Field ) | Create a new collections manager object | |
createNewInstance ( array $input ) : CollectionInstance | Create a new collection instance | |
createNewInstanceField ( [type] $instance, $fieldInput ) : [type] | [createNewInstanceField description] | |
removeInstance ( integer $id ) : boolean | Remove instance from database | |
updateInstanceName ( $id, $name ) : CollectionInstance | Update the collection instance name | |
updateInstanceSort ( $id, $sort ) : CollectionInstance | Updates the instance with input data |
Method | Description | |
---|---|---|
findSortNumber ( $instance ) : [type] | Gets the correct sort number |
public __construct ( DvsCollectionInstance $CollectionInstance, DvsField $Field ) | ||
$CollectionInstance | DvsCollectionInstance | |
$Field | DvsField |
public createNewInstance ( array $input ) : CollectionInstance | ||
$input | array | |
return | CollectionInstance |
public createNewInstanceField ( [type] $instance, $fieldInput ) : [type] | ||
$instance | [type] | |
return | [type] |
protected findSortNumber ( $instance ) : [type] | ||
return | [type] |
public removeInstance ( integer $id ) : boolean | ||
$id | integer | |
return | boolean |
public updateInstanceName ( $id, $name ) : CollectionInstance | ||
return | CollectionInstance |
public updateInstanceSort ( $id, $sort ) : CollectionInstance | ||
return | CollectionInstance |
protected DvsCollectionInstance $CollectionInstance | ||
return | DvsCollectionInstance |