프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$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 $refName | ||
리턴 | string |
protected RelationReferenceDefinitionInterface[],Jarves\Admin\FieldTypes $references | ||
리턴 | Jarves\Admin\FieldTypes\RelationReferenceDefinitionInterface[] |
protected bool $withConstraint | ||
리턴 | boolean |