Dynamic\Locator\React\Extensions\LocatorControllerExtension
Class LocatorControllerExtension
Synopsis
class LocatorControllerExtension
extends Extension
{
- // members
- private static array $allowed_actions = ;
- private static array $dependencies = ;
- protected FormSchema $schema = NULL;
- // methods
- public FormSchema getFormSchema()
- public $this setFormSchema()
- public void onBeforeInit()
- public void customScript()
- public static null|string getSearchIconImage()
- public bool isResourcePath()
- public bool|string getClusterImageFromPath()
- public array|bool getClusterImages()
- public string categoriesString()
- public string getClientConfig()
- public HTTPResponse schema()
- protected bool getSchemaRequested()
- protected HTTPResponse getSchemaResponse()
Hierarchy
Extends
- SilverStripe\Core\Extension
Members
private
- $allowed_actions — array
- $dependencies — array
protected
- $schema
—
SilverStripe\Forms\Schema\FormSchema
Current form schema helper
Methods
protected
- getSchemaRequested() — Check if the current request has a X-Formschema-Request header set.
- getSchemaResponse() — Generate schema for the given form based on the X-Formschema-Request header value
public
- categoriesString()
- customScript() — Generates the custom script for settings
- getClientConfig()
- getClusterImageFromPath()
- getClusterImages()
- getFormSchema() — Get form schema helper
- getSearchIconImage() — Gets the maker icon image
- isResourcePath()
- onBeforeInit()
- schema() — Gets a JSON schema representing the search form.
- setFormSchema() — Set form schema helper for this controller