Contents

Dashboard\Classes\DashManager\HasDashboards


Public Methods

public hasDashboardAccess()

public hasDashboardAccess($code, $user = null): bool 

hasDashboardAccess returns false when a registered dashboard requires permissions the user does not have

public listDashboardDefinitions()

public listDashboardDefinitions(): array 

listDashboardDefinitions returns registered dashboard definitions keyed by code, loading those supplied as a YAML file path