\Menu

Implements the menu of actions (not global menu of application).

Summary

Methods
Properties
Constants
__construct()
factory()
singleton()
remove()
isEmpty()
add()
del()
addPrint()
addPdf()
addCsv()
addSearch()
addJavaScript()
addRss()
addSave()
addDelete()
addSubmenu()
get()
getItem()
No public properties found
ACTION
PRINTER
PDF
CSV
SEARCH
JS
RSS
SAVE
DELETE
SUBMENU
No protected methods found
No protected properties found
N/A
No private methods found
$menu
$array
N/A

Constants

ACTION

ACTION

PRINTER

PRINTER

PDF

PDF

CSV

CSV

JS

JS

RSS

RSS

SAVE

SAVE

DELETE

DELETE

SUBMENU

SUBMENU

Properties

$menu

$menu : 

Type

$array

$array : 

Type

Methods

__construct()

__construct(  $input) 

Parameters

$input

factory()

factory(  $drive,   $array) 

Parameters

$drive
$array

singleton()

singleton(  $input = FALSE) 

Parameters

$input

remove()

remove(  $match) 

Parameters

$match

isEmpty()

isEmpty() 

add()

add(  $action,   $label,   $itemId,   $section,   $img = FALSE,   $id = NULL) 

Parameters

$action
$label
$itemId
$section
$img
$id

del()

del(  $id) 

Parameters

$id

addPrint()

addPrint(  $label = '',   $img = '') 

Parameters

$label
$img

addPdf()

addPdf(  $label = '',   $img = '') 

Parameters

$label
$img

addCsv()

addCsv(  $label = '',   $img = '') 

Parameters

$label
$img

addSearch()

addSearch(  $label = '',   $img = '') 

Parameters

$label
$img

addJavaScript()

addJavaScript(  $label,   $img,   $js) 

Parameters

$label
$img
$js

addRss()

addRss(  $label = '',   $img = '') 

Parameters

$label
$img

addSave()

addSave(  $label = '',   $img = '',   $goTo = '') 

Parameters

$label
$img
$goTo

addDelete()

addDelete(  $label = '',   $img = '') 

Parameters

$label
$img

addSubmenu()

addSubmenu(  $label,   $img,   $item) 

Parameters

$label
$img
$item

get()

get() 

getItem()

getItem()