openmediavault  4.0 (Arrakis)
The open network attached storage solution
Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
OMV\ControlPanel\Administration Class Reference
Inheritance diagram for OMV\ControlPanel\Administration:
OMV\ControlPanel\ControlPanelAbstract

Public Member Functions

 __construct ($mode=Administration::MODE_USER)
 
 setMode ($mode)
 
 getJavascriptIncludes ()
 
- Public Member Functions inherited from OMV\ControlPanel\ControlPanelAbstract
 render ()
 
 getJavascriptIncludes ()
 
 getCssIncludes ()
 

Public Attributes

const MODE_ADMINISTRATOR = "admin"
 
const MODE_USER = "user"
 

Protected Member Functions

 getCacheFileId ()
 
 getBodyClass ()
 
 getBodyContent ()
 
- Protected Member Functions inherited from OMV\ControlPanel\ControlPanelAbstract
 scanFiles ($fileName, &$incList)
 
 scanDir ($dirPath, &$incList, $recursive=TRUE)
 
 getTitle ()
 
 getCacheFileId ()
 
 getBodyClass ()
 
 getBaseBodyContent ()
 
 getBodyContent ()
 

Protected Attributes

 $mode = null
 

Constructor & Destructor Documentation

◆ __construct()

OMV\ControlPanel\Administration::__construct (   $mode = Administration::MODE_USER)

Constructor

Parameters
modeThe mode of the WebGUI, e.g. MODE_ADMINISTRATOR or MODE_USER.

Member Function Documentation

◆ setMode()

OMV\ControlPanel\Administration::setMode (   $mode)

Set the control panel mode.

Parameters
modeThe mode of the WebGUI, e.g. MODE_ADMINISTRATOR or MODE_USER.

The documentation for this class was generated from the following file: