CoolCMS API

Route.php

Table of Contents

Classes

Route
Admin variant of a route (`cms_system_routes`), hydrated from the Api endpoint `api/system/route` via `ApiBridge`. The admin needs it only as the source of options for the `route` multiselect in the page form: the label is built from module/presenter/action (see `PageFormTrait::prepareRouteOptions()`). The link to pages is held by `cms_system_pages.routes` (owning many-to-many side), so the admin `Route` maps neither `pages` nor translations (`RouteText`).
On this page

Search results