\apex\coredashboard

Handles the dashboard widegts for the core package, plus other dashboard functionality such as creating the profile options, etc.

Summary

Methods
Properties
Constants
admin_top_admins_online()
admin_right_blank()
create_profile_options()
create_item_options()
get_profile()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

admin_top_admins_online()

admin_top_admins_online(): string

Get number of admins online

Returns

string —

The number of admins currencly online.

admin_right_blank()

admin_right_blank(): string

Get blank right sidebar item.

Returns

string —

Contents of the item.

create_profile_options()

create_profile_options(string  $profile_id): string

Create profile options.

Parameters

string $profile_id

The id# of the selected dashboard profile.

Returns

string —

The resulting HTML options.

create_item_options()

create_item_options(string  $selected)

Create item options

Parameters

string $selected

The ID# of the selected dashboard item.

get_profile()

get_profile(): array

Get a dashboard profile.

Determines the correct dashboard profile to display, then obtains the contents of all top and right items.

Returns

array —

The dashboard profile.