Dashboard
class Dashboard (View source)
Methods
bool
canRead()
Checks to see if a user has access to the C5 dashboard.
bool
canAccessComposer()
No description
bool
inDashboard(Page|string|null $pageOrPath = null)
Test if the a page or path path is within the dashboard.
getDashboardPaneHeaderWrapper($title = false, $help = false, $span = 'span12', $includeDefaultBody = true, $navigatePages = [], $upToPage = false, $favorites = true)
deprecated
No description
string
getDashboardPaneHeader(bool $title = false, bool $help = false, array $navigatePages = [], bool $upToPage = false, bool $favorites = true)
No description
mixed
getIntelligentSearchMenu()
No description
Details
bool
canRead()
Checks to see if a user has access to the C5 dashboard.
bool
canAccessComposer()
No description
bool
inDashboard(Page|string|null $pageOrPath = null)
Test if the a page or path path is within the dashboard.
If an empty (or no) argument is passed, we'll check the current page.
getDashboardPaneFooterWrapper($includeDefaultBody = true)
deprecated
deprecated
No description
getDashboardPaneHeaderWrapper($title = false, $help = false, $span = 'span12', $includeDefaultBody = true, $navigatePages = [], $upToPage = false, $favorites = true)
deprecated
deprecated
No description
string
getDashboardPaneHeader(bool $title = false, bool $help = false, array $navigatePages = [], bool $upToPage = false, bool $favorites = true)
No description
mixed
getIntelligentSearchMenu()
No description