AdminDashboard
Corex\Config\Settings\AdminDashboard · class · Config layer
The CoreX Overview and Settings screens. Writes stay on the shared AdminGuard. Settings is a set of pages (spec 119): this class finds the page an address asks for, draws it with its place in the rail, and saves it: verify, save that page, keep the result, redirect.
Public API
Section titled “Public API”__construct(SettingsRegistry $registry, SettingsStore $store, SettingsPages $pages, SettingsPageRenderer $renderer, SettingsSaver $saver, SettingsSaveFlash $flash, SettingsSectionStates $states, AdminGuard $guard, AdminPage $page, OverviewRenderer $overview)
Section titled “__construct(SettingsRegistry $registry, SettingsStore $store, SettingsPages $pages, SettingsPageRenderer $renderer, SettingsSaver $saver, SettingsSaveFlash $flash, SettingsSectionStates $states, AdminGuard $guard, AdminPage $page, OverviewRenderer $overview)”register(): void
Section titled “register(): void”menu(): void
Section titled “menu(): void”maybeEnqueue(string $hook): void
Section titled “maybeEnqueue(string $hook): void”render(): void
Section titled “render(): void”renderSettings(): void
Section titled “renderSettings(): void”maybeSave(): void
Section titled “maybeSave(): void”Saves the page that was posted, keeps what happened for the person who saved, and sends the browser to the page, so a reload never sends the form again (spec 119, FR-006).