PHP Класс Jarves\Admin\FieldTypes\RelationDefinition

Наследование: implements Jarves\Admin\FieldTypes\RelationDefinitionInterface
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$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

Открытые методы

Метод Описание
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.

Описание методов

getForeignObjectKey() публичный метод

public getForeignObjectKey ( ) : string
Результат string

getName() публичный метод

public getName ( ) : string
Результат string

getOnDelete() публичный метод

public getOnDelete ( ) : string
Результат string

getOnUpdate() публичный метод

public getOnUpdate ( ) : string
Результат string

getRefName() публичный метод

public getRefName ( ) : string
Результат string

getReferences() публичный метод

public getReferences ( ) : Jarves\Admin\FieldTypes\RelationReferenceDefinitionInterface[]
Результат Jarves\Admin\FieldTypes\RelationReferenceDefinitionInterface[]

getType() публичный метод

public getType ( ) : string
Результат string

getWithConstraint() публичный метод

public getWithConstraint ( ) : boolean
Результат boolean

setForeignObjectKey() публичный метод

public setForeignObjectKey ( string $foreignObjectKey )
$foreignObjectKey string

setName() публичный метод

public setName ( string $name )
$name string

setOnDelete() публичный метод

public setOnDelete ( string $onDelete )
$onDelete string

setOnUpdate() публичный метод

public setOnUpdate ( string $onUpdate )
$onUpdate string

setRefName() публичный метод

public setRefName ( string $refName )
$refName string

setReferences() публичный метод

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

setType() публичный метод

public setType ( string $type )
$type string

setWithConstraint() публичный метод

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

Описание свойств

$foreignObjectKey защищенное свойство

protected string $foreignObjectKey
Результат string

$name защищенное свойство

The actual relation name.
protected string $name
Результат string

$onDelete защищенное свойство

cascade|setnull|restrict|none
protected string $onDelete
Результат string

$onUpdate защищенное свойство

cascade|setnull|restrict|none
protected string $onUpdate
Результат string

$refName защищенное свойство

The relation name on the foreign object that points back.
protected string $refName
Результат string

$references защищенное свойство

protected RelationReferenceDefinitionInterface[],Jarves\Admin\FieldTypes $references
Результат Jarves\Admin\FieldTypes\RelationReferenceDefinitionInterface[]

$type защищенное свойство

protected string $type
Результат string

$withConstraint защищенное свойство

If the storage backend should also create a constraint so its not possible to pass a invalid reference id
protected bool $withConstraint
Результат boolean