SilverStripe\CKANRegistry\Page\CKANRegistryPageController
Synopsis
class CKANRegistryPageController
extends PageController
{
- // members
- private static array $allowed_actions = ;
- private static array $url_handlers = ;
- // methods
- protected void init()
- public array getCKANClientConfig()
- public void readSchema()
- public string getBasePath()
Hierarchy
Extends
- PageController
Members
private
- $allowed_actions
- $url_handlers
Methods
protected
public
- getBasePath() — Returns the base path for the resource's page with a leading slash
- getCKANClientConfig() — Loads model data encapsulated as JSON in order to power front end technologies used to render that data. Includes critical info such as the CKAN site to query (e.g. which domain, datastore, etc.) but also can be extended to be used for configuring the component used to show this (e.g. React.js or Vue.js component configuration).
- readSchema() — Returns the frontend application client configuration schema