yiicod / yii2-datafilter
Awesome data filter.
Installs: 865
Dependents: 0
Suggesters: 0
Security: 0
Stars: 4
Watchers: 2
Forks: 0
Open Issues: 0
Type:yii2-extension
Requires
- yiisoft/yii2: 2.*
This package is auto-updated.
Last update: 2024-11-27 00:47:04 UTC
README
Provides the functionality to create data filters logic. Using handlers you can create chains of filters.
Usage
$filteredData = DataFilter::filter(new MyAwesomeFilter($notFilteredData, $additionalParamsForFilteringData));
Where MyAwesomeFilter extends DataFilterAbstract and has list of handlers, which filters data in course. Each handler should implements DataHandlerInterface