Skip to content
Corex

SettingsPages

Corex\Config\Settings\SettingsPages · class · Config layer

The pages of the Settings screen (spec 119, US-SET-01, DECISIONS #440). The screen was one form of nine tabs with one button. Each page here is a form of its own with its own address, reached from under Settings in the CoreX rail, and a save writes that page only. An add-on’s section is a page by itself, so it can leave the navigation when the add-on is not installed and still be answered at its address.

requested(string $page, string $legacyTab): ?SettingsPage

Section titled “requested(string $page, string $legacyTab): ?SettingsPage”

The page an address asks for: section=<page>, or the older corex_tab=<section> the Overview, Email Studio and the mail delivery policy link with. Null for a page that does not exist; the first page when nothing is asked for.

holding(string $sectionKey): ?SettingsPage

Section titled “holding(string $sectionKey): ?SettingsPage”

The page a registry section is saved on.