Grasenhiller\DAP\Extensions\Controllers\DAPExtension
Synopsis
class DAPExtension
extends Extension
{
- // members
- protected $dap_config;
- protected boolean $skip_dap_check = false;
- private static array $allowed_actions = ;
- private static array $url_handlers = ;
- // methods
- public void onBeforeInit()
- public mixed getDAPItem()
- public HTTPResponse dapShow()
- public DBHTMLText getDAPBreadcrumbs()
- public ArrayList getDAPBreadcrumbItems()
- public static string get_classname_for_template()
Hierarchy
Extends
- SilverStripe\Core\Extension
Members
private
- $allowed_actions
- $url_handlers
protected
- $dap_config
- $skip_dap_check
Methods
public
- dapShow() — show the found item if the request is for dap or redirect to intended action
- getDAPBreadcrumbItems() — get the breadcrumb items
- getDAPBreadcrumbs() — generate the breadcrumbs
- getDAPItem() — get the requested item
- get_classname_for_template() — create an class or id name suitable for css
- onBeforeInit()