Méthode | Description | |
---|---|---|
batchDelete ( $ids ) | Deletes multiple filters at once. | |
delete ( $id ) | Removes a filter with the given id. | |
findByIdAndLocale ( integer $id, string $locale ) : |
Finds a filter by id and locale. | |
findFiltersForUserAndContext ( string $context, $userId, string $locale ) : |
Finds all filters filtered by context and user and for the given locale. | |
getFeaturesForContext ( $context ) : array | null | Returns the configured features for a context. | |
getFieldDescriptors ( $locale ) : |
Returns an array of field descriptors. | |
getListFieldDescriptors ( $locale ) : |
Returns an array of field descriptors specific for the list. | |
hasContext ( $context ) : boolean | Checks if the context exists. | |
isFeatureEnabled ( $context, $feature ) : boolean | Checks if a feature is enabled for a context. | |
save ( array $data, string $locale, integer $userId, integer $id = null ) : |
Saves the given filter. |
public findByIdAndLocale ( integer $id, string $locale ) : |
||
$id | integer | |
$locale | string | |
Résultat |
public findFiltersForUserAndContext ( string $context, $userId, string $locale ) : |
||
$context | string | |
$userId | ||
$locale | string | |
Résultat |
public getFeaturesForContext ( $context ) : array | null | ||
$context | ||
Résultat | array | null |
public getFieldDescriptors ( $locale ) : |
||
$locale | ||
Résultat |
public getListFieldDescriptors ( $locale ) : |
||
$locale | ||
Résultat |
public hasContext ( $context ) : boolean | ||
$context | ||
Résultat | boolean |
public isFeatureEnabled ( $context, $feature ) : boolean | ||
$context | ||
$feature | ||
Résultat | boolean |