PHP Interface Jarves\Admin\FieldTypes\RelationDefinitionInterface

Mostrar archivo Open project: jarves/jarves Interface Usage Examples

Public Methods

Method 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 method

e.g. jarves/node
public getForeignObjectKey ( ) : string
return string

getName() public method

public getName ( ) : string
return string

getOnDelete() public method

public getOnDelete ( ) : string
return string cascade|setnull|restrict|none

getOnUpdate() public method

public getOnUpdate ( ) : string
return string cascade|setnull|restrict|none

getRefName() public method

public getRefName ( ) : string
return string

getReferences() public method

public getReferences ( ) : Jarves\Admin\FieldTypes\RelationReferenceDefinitionInterface[]
return Jarves\Admin\FieldTypes\RelationReferenceDefinitionInterface[]

getType() public method

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

getWithConstraint() public method

public getWithConstraint ( ) : boolean
return boolean