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
Clears the Interface Items Cache (clears the session).
Cache the interface items.
No description
No description
Details
string
submit(string $text, bool|string $formID = false, string $buttonAlign = 'right', string $innerClass = null, array $args = [])
Generates a submit button in the Concrete style.
string
button(string $text, string $href, string $buttonAlign = 'right', string $innerClass = null, array $args = [])
Generates a simple link button in the Concrete style.
string
buttonJs(string $text, string $onclick, string $buttonAlign = 'right', string $innerClass = null, array $args = [])
Generates a JavaScript function button in the Concrete style.
button_js($text, $onclick, $buttonAlign = 'right', $innerClass = null, $args = [])
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
false
showHelpOverlay()
deprecated
deprecated
No description
trackHelpOverlayDisplayed()
deprecated
deprecated
No description
clearInterfaceItemsCache()
Clears the Interface Items Cache (clears the session).
cacheInterfaceItems()
Cache the interface items.
string
pagetabs(Page[] $tabs)
No description
string
tabs($tabs, null|string $id = null, string $innerClass = 'nav-fill')
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