PHP Class Jarves\Admin\FieldTypes\RelationDefinition

Inheritance: implements Jarves\Admin\FieldTypes\RelationDefinitionInterface
Afficher le fichier Open project: jarves/jarves Class Usage Examples

Protected Properties

Свойство Type Description
$foreignObjectKey string
$name string The actual relation name.
$onDelete string cascade|setnull|restrict|none
$onUpdate string cascade|setnull|restrict|none
$refName string The relation name on the foreign object that points back.
$references Jarves\Admin\FieldTypes\RelationReferenceDefinitionInterface[]
$type string
$withConstraint boolean If the storage backend should also create a constraint so its not possible to pass a invalid reference id

Méthodes publiques

Méthode Description
getForeignObjectKey ( ) : string
getName ( ) : string
getOnDelete ( ) : string
getOnUpdate ( ) : string
getRefName ( ) : string
getReferences ( ) : Jarves\Admin\FieldTypes\RelationReferenceDefinitionInterface[]
getType ( ) : string
getWithConstraint ( ) : boolean
setForeignObjectKey ( string $foreignObjectKey )
setName ( string $name )
setOnDelete ( string $onDelete )
setOnUpdate ( string $onUpdate )
setRefName ( string $refName )
setReferences ( Jarves\Admin\FieldTypes\RelationReferenceDefinitionInterface[] $references )
setType ( string $type )
setWithConstraint ( boolean $withConstraint ) If the storage backend should also create a constraint so its not possible to pass a invalid reference id.

Method Details

getForeignObjectKey() public méthode

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

getOnUpdate() public méthode

public getOnUpdate ( ) : string
Résultat string

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

public getType ( ) : string
Résultat string

getWithConstraint() public méthode

public getWithConstraint ( ) : boolean
Résultat boolean

setForeignObjectKey() public méthode

public setForeignObjectKey ( string $foreignObjectKey )
$foreignObjectKey string

setName() public méthode

public setName ( string $name )
$name string

setOnDelete() public méthode

public setOnDelete ( string $onDelete )
$onDelete string

setOnUpdate() public méthode

public setOnUpdate ( string $onUpdate )
$onUpdate string

setRefName() public méthode

public setRefName ( string $refName )
$refName string

setReferences() public méthode

public setReferences ( Jarves\Admin\FieldTypes\RelationReferenceDefinitionInterface[] $references )
$references Jarves\Admin\FieldTypes\RelationReferenceDefinitionInterface[]

setType() public méthode

public setType ( string $type )
$type string

setWithConstraint() public méthode

If the storage backend should also create a constraint so its not possible to pass a invalid reference id.
public setWithConstraint ( boolean $withConstraint )
$withConstraint boolean

Property Details

$foreignObjectKey protected_oe property

protected string $foreignObjectKey
Résultat string

$name protected_oe property

The actual relation name.
protected string $name
Résultat string

$onDelete protected_oe property

cascade|setnull|restrict|none
protected string $onDelete
Résultat string

$onUpdate protected_oe property

cascade|setnull|restrict|none
protected string $onUpdate
Résultat string

$refName protected_oe property

The relation name on the foreign object that points back.
protected string $refName
Résultat string

$references protected_oe property

protected RelationReferenceDefinitionInterface[],Jarves\Admin\FieldTypes $references
Résultat Jarves\Admin\FieldTypes\RelationReferenceDefinitionInterface[]

$type protected_oe property

protected string $type
Résultat string

$withConstraint protected_oe property

If the storage backend should also create a constraint so its not possible to pass a invalid reference id
protected bool $withConstraint
Résultat boolean