Skip to content
Corex

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.

__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)”

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).