RelationshipCacheMetadata
extends SqlEntityMetadata
in package
Table of Contents
Properties
- $entityName : string
Methods
- __construct() : mixed
- getCustomFields() : array<string|int, array<string|int, mixed>>
- Retrieves the custom fields associated with the entity, in the same format as returned by `getFields()`
- getFields() : array<string|int, mixed>
- getOptions() : array<string|int, mixed>|null
- getProperty() : mixed
- getEntity() : array{name: string, table: string, class: string, module: string, getInfo: callable, getPaths: callable, getIndices: callable, getFields: callable, metaProvider: callable, storageProvider: callable}
Properties
$entityName
protected
string
$entityName
Methods
__construct()
public
__construct(string $entityName) : mixed
Parameters
- $entityName : string
getCustomFields()
Retrieves the custom fields associated with the entity, in the same format as returned by `getFields()`
public
getCustomFields([array<string|int, mixed> $customGroupFilters = [] ]) : array<string|int, array<string|int, mixed>>
Parameters
- $customGroupFilters : array<string|int, mixed> = []
-
Optional. Additional filters to apply when retrieving custom groups. Defaults to an empty array.
Return values
array<string|int, array<string|int, mixed>> —The array keys are formatted as "customGroup.fieldName", and the array values are associative arrays containing the field details.
getFields()
public
getFields() : array<string|int, mixed>
Return values
array<string|int, mixed>getOptions()
public
getOptions(string $fieldName[, array<string|int, mixed> $values = [] ][, bool $includeDisabled = false ][, bool $checkPermissions = false ][, int|null $userId = null ][, bool $isView = false ]) : array<string|int, mixed>|null
Parameters
- $fieldName : string
- $values : array<string|int, mixed> = []
- $includeDisabled : bool = false
- $checkPermissions : bool = false
- $userId : int|null = null
- $isView : bool = false
Return values
array<string|int, mixed>|nullgetProperty()
public
getProperty(string $propertyName) : mixed
Parameters
- $propertyName : string
getEntity()
protected
getEntity() : array{name: string, table: string, class: string, module: string, getInfo: callable, getPaths: callable, getIndices: callable, getFields: callable, metaProvider: callable, storageProvider: callable}