Sidebar

iTop Customization

"How to" examples
DataModel

User Interface

Automation & Ticket management

Portal Customization

:: Version 3.2.0 ::

๐Ÿ”™ Back

iPortalUIExtension

api

Implement this interface to add content to any enhanced portal page

Tags

since 2.4.0 interface creation2.7.0 change method signatures due to Silex to Symfony migration

API synthesis

List of the public API methods. When manipulating iPortalUIExtension, You can call those methods:

Public methods

GetBodyHTML

api public

Returns raw HTML code to put at the end of the <body> tag
public GetBodyHTML($oContainer)

Parameters

types name default description
\Symfony\Component\DependencyInjection\Container $oContainer

Returns

string

GetCSSFiles

api public

Returns an array of CSS file urls
public GetCSSFiles($oContainer)

Parameters

types name default description
\Symfony\Component\DependencyInjection\Container $oContainer

Returns

array

GetCSSInline

api public

Returns inline (raw) CSS
public GetCSSInline($oContainer)

Parameters

types name default description
\Symfony\Component\DependencyInjection\Container $oContainer

Returns

string

GetJSFiles

api public

Returns an array of JS file urls
public GetJSFiles($oContainer)

Parameters

types name default description
\Symfony\Component\DependencyInjection\Container $oContainer

Returns

array

GetJSInline

api public

Returns raw JS code
public GetJSInline($oContainer)

Parameters

types name default description
\Symfony\Component\DependencyInjection\Container $oContainer

Returns

string

GetMainContentHTML

api public

Returns raw HTML code to put at the end of the #main-wrapper element
public GetMainContentHTML($oContainer)

Parameters

types name default description
\Symfony\Component\DependencyInjection\Container $oContainer

Returns

string

GetNavigationMenuHTML

api public

Returns raw HTML code to put at the end of the #topbar and #sidebar elements
public GetNavigationMenuHTML($oContainer)

Parameters

types name default description
\Symfony\Component\DependencyInjection\Container $oContainer

Returns

string

Constants

ENUM_PORTAL_EXT_UI_BODY

ENUM_PORTAL_EXT_UI_MAIN_CONTENT

ENUM_PORTAL_EXT_UI_NAVIGATION_MENU

๐Ÿ”™ Back

3_2_0/customization/api/extensions/iportaluiextension.txt ยท Last modified: 2024/09/10 10:25 by 127.0.0.1
Back to top
Contact us