Documentation

Vtiger_Menu_Model
in package

Vtiger menu model class.

Tags
copyright

YetiForce S.A.

license

YetiForce Public License 6.5 (licenses/LicenseEN.txt or yetiforce.com)

Table of Contents

getAll()  : array<string|int, mixed>
Static Function to get all the accessible menu models with/without ordering them by sequence.
getBreadcrumbs()  : mixed
getLabelToDisplay()  : string
Get label to display.
getMenuIcon()  : string
Function to get icon of element in menu.
getParentMenu()  : array<string|int, mixed>
vtranslateMenu()  : mixed

Methods

getAll()

Static Function to get all the accessible menu models with/without ordering them by sequence.

public static getAll() : array<string|int, mixed>
Return values
array<string|int, mixed>

getBreadcrumbs()

public static getBreadcrumbs([mixed $pageTitle = false ]) : mixed
Parameters
$pageTitle : mixed = false
Return values
mixed

getLabelToDisplay()

Get label to display.

public static getLabelToDisplay(array<string|int, mixed> $row) : string
Parameters
$row : array<string|int, mixed>
Return values
string

getMenuIcon()

Function to get icon of element in menu.

public static getMenuIcon(string|array<string|int, mixed> $menu[, string $title = '' ]) : string
Parameters
$menu : string|array<string|int, mixed>
$title : string = ''
Return values
string

getParentMenu()

public static getParentMenu(mixed $parentList, mixed $parent, mixed $module[, mixed $return = [] ]) : array<string|int, mixed>
Parameters
$parentList : mixed
$parent : mixed
$module : mixed
$return : mixed = []
Return values
array<string|int, mixed>

vtranslateMenu()

public static vtranslateMenu(mixed $key, mixed $module) : mixed
Parameters
$key : mixed
$module : mixed
Return values
mixed

        

Search results