class CToolbarLibrary


Located at : UKNOWVA_ROOT/components/com_community/libraries/toolbar.php

Properties

$items

Methods

static 
getInstance()

No description

getItems()

No description

addItem($groupKey, $itemKey, $caption = '', $link = '', $order = 'append', $isScriptCall = false, $hasSeparator = false)

No description

removeItem($groupKey, $itemKey)

No description

addGroup($key, $caption = '', $link = '')

No description

removeGroup($key)

No description

getHTML($userId = '')

No description

getHTMLCustom($userId = '')

No description

addLegacyToolbars($menus)

No description

int
getTotalNotifications(string $app)

Get total number of unread or awaiting notifications

Details

at line 433
static getInstance()

at line 442
getItems()

at line 458
addItem($groupKey, $itemKey, $caption = '', $link = '', $order = 'append', $isScriptCall = false, $hasSeparator = false)

Parameters

$groupKey
$itemKey
$caption
$link
$order
$isScriptCall
$hasSeparator

at line 476
removeItem($groupKey, $itemKey)

Parameters

$groupKey
$itemKey

at line 496
addGroup($key, $caption = '', $link = '')

Parameters

$key
$caption
$link

at line 510
removeGroup($key)

Parameters

$key

at line 524
getHTML($userId = '')

Parameters

$userId

at line 609
getHTMLCustom($userId = '')

Parameters

$userId

at line 694
addLegacyToolbars($menus)

Parameters

$menus

at line 788
int getTotalNotifications(string $app)

Get total number of unread or awaiting notifications

Parameters

string $app The unique application or view name.

Return Value

int The number of unread notifications.