프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$CollectionInstance | DvsCollectionInstance | DvsCollectionInstance model | |
$Field | DvsField | DvsField model |
메소드 | 설명 | |
---|---|---|
__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 |
메소드 | 설명 | |
---|---|---|
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 | |
리턴 | CollectionInstance |
public createNewInstanceField ( [type] $instance, $fieldInput ) : [type] | ||
$instance | [type] | |
리턴 | [type] |
protected findSortNumber ( $instance ) : [type] | ||
리턴 | [type] |
public removeInstance ( integer $id ) : boolean | ||
$id | integer | |
리턴 | boolean |
public updateInstanceName ( $id, $name ) : CollectionInstance | ||
리턴 | CollectionInstance |
public updateInstanceSort ( $id, $sort ) : CollectionInstance | ||
리턴 | CollectionInstance |
protected DvsCollectionInstance $CollectionInstance | ||
리턴 | DvsCollectionInstance |