UserInterface
class UserInterface (View source)
Useful functions for generating elements on the Concrete interface.
Properties
static | $menuItems |
Methods
Generates a submit button in the Concrete style.
Generates a simple link button in the Concrete style.
Generates a JavaScript function button in the Concrete style.
No description
Outputs button text passed as arguments with a special Concrete wrapper for positioning
$bh->buttons($myButton1, $myButton2, $myButton3);
```.
No description
No description
No description
Shall we show the introductive help overlay?
No description
Clears the Interface Items Cache (clears the session).
Cache the interface items.
No description
Details
string
submit(string $text, bool|string $formID = false, string $buttonAlign = 'right', string $innerClass = null, array $args = array())
Generates a submit button in the Concrete style.
string
button(string $text, string $href, string $buttonAlign = 'right', string $innerClass = null, array $args = array())
Generates a simple link button in the Concrete style.
string
buttonJs(string $text, string $onclick, string $buttonAlign = 'right', string $innerClass = null, array $args = array())
Generates a JavaScript function button in the Concrete style.
button_js($text, $onclick, $buttonAlign = 'right', $innerClass = null, $args = array())
deprecated
deprecated
No description
string
buttons(string $buttons = null)
Outputs button text passed as arguments with a special Concrete wrapper for positioning
$bh->buttons($myButton1, $myButton2, $myButton3);
```.
string
getQuickNavigationLinkHTML(Page $c)
No description
bool
showWhiteLabelMessage()
No description
string
getToolbarLogoSRC()
No description
bool
showNewsflowOverlay()
No description
bool
showHelpOverlay()
Shall we show the introductive help overlay?
trackHelpOverlayDisplayed()
No description
clearInterfaceItemsCache()
Clears the Interface Items Cache (clears the session).
cacheInterfaceItems()
Cache the interface items.
string
pagetabs(Page[] $tabs)
No description
string
tabs(Page[] $tabs, bool $jstabs = true, string $callback = 'ccm_activateTabBar')
No description
renderError(string $title, string $error, bool|Exception $exception = false)
No description
buildErrorResponse(string $title, string $error, bool|Exception $exception = false)
No description
string
notify(array $arguments)
No description