Components
Table of Contents
Traits
- CategoryChildrenTrait
- Template data for a module's `CategoryChildrenList`: the direct children of the
current category (roots when there is none) and the way one level up.
- CategoryRailTrait
- Provides data for the shared category lists `Style_2` (tiles), `Style_4` (subcategory strip),
`Style_5` (tiles with children) and `Style_6` (row of links).
- ChildrenNavigationTrait
- One level of a nested-set tree (categories, regions): direct children of the
selected node plus its parent for the way back.
- PreferredCategoryCutTrait
- Preferred mode of a category tile list: only root categories with the `preferred` flag (set in admin on the
category) are listed, followed by an "All categories" tile that shows the rest.
- ResponseFormAccountPrefillTrait
- Prefills the contact from the logged-in user's account into the advert response form
(Bazaar and Comcat `ResponseForm`): email and phone from the account profile.
- SearchBoxRegionTrait
- Locality fields of the hero search box in Bazaar and Comcat.