Forms
Table of Contents
Traits
- AdvertBuildTrait
- Builds the `Advert` entity from the submitted admin form values.
- AdvertCategoryFieldsTrait
- Advert categories as the multiplier `categories`: each row is a category picker (suggest and
the `:Admin:Bazaar:Category` modal) plus a `paid` checkbox.
- AdvertFollowerFormTrait
- Add/edit form of an advert follower.
- AdvertFormFieldsTrait
- Admin-only advert fields (outside the dynamic parameters handled by {@see \App\Core\Form\Parameters\ParameterFieldBuilder}).
- AdvertFormTrait
- Advert add/edit form (`/admin/bazaar/advert`) as a standard admin presenter form (`createForm()`), not a component.
- AdvertLoadingTrait
- Loads the dynamic advert parameters for the selected categories, the select items (currency, region) and the pre-filled values of an edited advert.
- AdvertResponseFormTrait
- Add/edit form of an advert response.
- AdvertUploaderTrait
- Configures the shared `UploaderDropzone` components for the `IMAGE_UPLOADER` (`imgUploader`, images to
`Asset`/`assetRels`) and `FILE_UPLOADER` (`fileUploader`, files to `File`/`fileRels`) advert parameters.
- CategoryFormTrait
- Add/edit form of an advert category.
- PaymentFormTrait
- Add/edit form of an advert payment item.
- TariffFormTrait
- Add/edit form of an advert tariff, in three parts:
- multilingual texts (name, title, description): owned `TariffText` collection (derived identity),
- price matrix: `TariffPrice` per `paymentRegion` x `paymentGate` (currency is the region currency),
- express prices: `TariffQuickPrice` per region (premium SMS and similar).
- WatchdogFormTrait
- Add/edit form of an advert watchdog.