Skip to main content
Version: v0.1 (latest)

Built-in Filter Elements

All classes live in HeimrichHannot\FlareBundle\FilterElement\ unless noted otherwise. "Form type" is the Symfony form type rendered in the frontend filter form; elements without one are applied without a user-facing form field (typically as intrinsic filters).

TypeBackend labelForm typePurpose
flare_archiveArchiveChoiceTypeFilter by parent archive (e.g. news archives).
flare_boolBoolean property valueCheckboxTypeFilter on a boolean column.
flare_calendar_currentCalendar time windowDateRangeFilterTypeTime-window filter for calendar events, recurring-aware.
flare_dateRangeDate rangeDateRangeFilterTypeFilter a date column by from/to values.
flare_dcaSelectFieldDCA field options selectionChoiceTypeChoices from a DCA select field's options.
flare_equation_simpleSimple equationIntrinsic column <operator> value condition.
flare_fieldValueChoiceDCA field value selection (beta)ChoiceTypeChoices from the distinct values of a column.
flare_publishedPublishedContao publish state incl. start/stop dates.
flare_relation_belongsToRelation: Belongs toFilter by a belongs-to (pid) relation, dynamic-ptable-aware.
flare_search_keywordsKeyword searchTextTypeKeyword search across configured columns.

Integration filter elements

Available when codefog/tags-bundle is installed (classes in HeimrichHannot\FlareBundle\Integration\CodefogTags\FilterElement\):

TypeBackend labelForm typePurpose
cfg_tags_choiceTags [codefog/tags-bundle]ChoiceTypeFilter by tags of the source field.
cfg_tags_searchSearchTypeKeyword search across tag names.

To create your own filter element, see Developers / Custom Filter Elements.