Method |
Description |
|
__construct ( null | string $name = null, AbstractEntity $parent = null, string $relatedAttribute ) |
|
|
getOnDelete ( ) : string |
Get action to perform when parent entity is being deleted. |
|
getRelatedAttribute ( ) |
Get attribute that defines a foreign key |
|
getValue ( array $params = [], boolean $processCallbacks = true ) : boolean | null | AbstractEntity |
Set or get attribute value |
|
hasValue ( ) |
|
|
isLoaded ( ) |
|
|
setFilter ( array | callable $filter ) |
Filter returned result set |
|
setOnDelete ( string $action = 'cascade' ) |
Set action to perform when parent entity is being deleted. |
|
setSorter ( array | string $sorter ) |
Sort returned result set |
|
setValue ( $value = null, $fromDb = false ) |
|
|