Filters facade: Difference between revisions
From Sunhill Framework Documentation
Page created |
|||
Line 6: | Line 6: | ||
== executeFilters(array $filters, FilterContainer $container): string == | == executeFilters(array $filters, FilterContainer $container): string == | ||
Takes a list of filters and executes them on the given container. This method has three possible results: | |||
* INSUFFICIENT = There was no error but the execution of the filter chain was not sufficient. | |||
* SUCCESS = The filter chain was executed sucessfully. | |||
* FAILURE = Something went wrong and the filter chain couln't be executed. | |||
== execute(string $group, FilterContainer $container): string == | == execute(string $group, FilterContainer $container): string == |
Revision as of 10:01, 7 October 2024
clearFilters()
addFilters($filters)
getFiltersByGroup(string $group): array
executeFilters(array $filters, FilterContainer $container): string
Takes a list of filters and executes them on the given container. This method has three possible results:
- INSUFFICIENT = There was no error but the execution of the filter chain was not sufficient.
- SUCCESS = The filter chain was executed sucessfully.
- FAILURE = Something went wrong and the filter chain couln't be executed.