PHP Interface Jarves\Admin\FieldTypes\RelationDefinitionInterface

Afficher le fichier Open project: jarves/jarves Interface Usage Examples

Méthodes publiques

Méthode Description
getForeignObjectKey ( ) : string The objectKey this relation points to.
getName ( ) : string
getOnDelete ( ) : string
getOnUpdate ( ) : string
getRefName ( ) : string
getReferences ( ) : Jarves\Admin\FieldTypes\RelationReferenceDefinitionInterface[]
getType ( ) : string One of
getWithConstraint ( ) : boolean

Method Details

getForeignObjectKey() public méthode

e.g. jarves/node
public getForeignObjectKey ( ) : string
Résultat string

getName() public méthode

public getName ( ) : string
Résultat string

getOnDelete() public méthode

public getOnDelete ( ) : string
Résultat string cascade|setnull|restrict|none

getOnUpdate() public méthode

public getOnUpdate ( ) : string
Résultat string cascade|setnull|restrict|none

getRefName() public méthode

public getRefName ( ) : string
Résultat string

getReferences() public méthode

public getReferences ( ) : Jarves\Admin\FieldTypes\RelationReferenceDefinitionInterface[]
Résultat Jarves\Admin\FieldTypes\RelationReferenceDefinitionInterface[]

getType() public méthode

\Jarves\ORM\ORMAbstract:: MANY_TO_ONE = 'nTo1', ONE_TO_MANY = '1ToN', ONE_TO_ONE = '1To1', MANY_TO_MANY = 'nToM';
public getType ( ) : string
Résultat string

getWithConstraint() public méthode

public getWithConstraint ( ) : boolean
Résultat boolean