You are browsing the documentation for iTop 2.7 which is not the current version.

Consider browsing to iTop 3.2 documentation

๐Ÿ”™ Back

iPortalUIExtension

api

Implement this interface to add content to any enhanced portal page

IMPORTANT! Experimental API, may be removed at anytime, we don't recommend to use it just now!

Tags

since 2.4.0

Public methods

GetBodyHTML

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

public

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

Parameters

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

Returns

array

GetCSSInline

public

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

Parameters

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

Returns

string

GetJSFiles

public

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

Parameters

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

Returns

array

GetJSInline

public

Returns raw JS code
public GetJSInline($oContainer)

Parameters

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

Returns

string

GetMainContentHTML

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

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

2_7_0/customization/api/extensions/iportaluiextension.txt ยท Last modified: 2020/04/15 15:23 by 127.0.0.1
Back to top
Contact us