Class UserInterface

Useful functions for generating elements on the Concrete interface.

Namespace: Concrete\Core\Application\Service
Package: Helpers\Concrete
Copyright: Copyright (c) 2003-2008 Concrete5. (http://www.concrete5.org)
License: MIT License
Author: Andrew Embler andrew@concrete5.org
Located at src/Application/Service/UserInterface.php

Methods summary

public string
# submit( string $text, boolean|string $formID = false, string $buttonAlign = 'right', string $innerClass = null, array $args = array() )

Generates a submit button in the Concrete style.

public string
# button( string $text, string $href, string $buttonAlign = 'right', string $innerClass = null, array $args = array() )

Generates a simple link button in the Concrete style.

public string
# buttonJs( string $text, string $onclick, string $buttonAlign = 'right', string $innerClass = null, array $args = array() )

Generates a JavaScript function button in the Concrete style.

public
# button_js( $text, $onclick, $buttonAlign = 'right', $innerClass = null, $args = array() )
public string
# buttons( string $buttons = null )

Outputs button text passed as arguments with a special Concrete wrapper for positioning

$bh->buttons($myButton1, $myButton2, $myButton3);
public string
# getQuickNavigationLinkHTML( Concrete\Core\Page\Page $c )
public boolean
# showWhiteLabelMessage( )
public string
# getToolbarLogoSRC( )
public boolean
# showNewsflowOverlay( )
public boolean
# showHelpOverlay( )

Shall we show the introductive help overlay?

public
public
# clearInterfaceItemsCache( )

Clears the Interface Items Cache (clears the session).

public
# cacheInterfaceItems( )

Cache the interface items.

public string
# pagetabs( Concrete\Core\Page\Page[] $tabs )
public string
# tabs( Concrete\Core\Page\Page[] $tabs, boolean $jstabs = true, string $callback = 'ccm_activateTabBar' )
public
# renderError( string $title, string $error, boolean|Exception $exception = false )
public string
# notify( array $arguments )

Properties summary

public static array $menuItems
# array()