Свойство | Тип | Описание | |
---|---|---|---|
$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. |
public getReferences ( ) : Jarves\Admin\FieldTypes\RelationReferenceDefinitionInterface[] | ||
Результат | Jarves\Admin\FieldTypes\RelationReferenceDefinitionInterface[] |
public setForeignObjectKey ( string $foreignObjectKey ) | ||
$foreignObjectKey | string |
public setReferences ( Jarves\Admin\FieldTypes\RelationReferenceDefinitionInterface[] $references ) | ||
$references | Jarves\Admin\FieldTypes\RelationReferenceDefinitionInterface[] |
public setWithConstraint ( boolean $withConstraint ) | ||
$withConstraint | boolean |
protected string $onDelete | ||
Результат | string |
protected string $onUpdate | ||
Результат | string |
protected string $refName | ||
Результат | string |
protected RelationReferenceDefinitionInterface[],Jarves\Admin\FieldTypes $references | ||
Результат | Jarves\Admin\FieldTypes\RelationReferenceDefinitionInterface[] |
protected bool $withConstraint | ||
Результат | boolean |