OpenMediaVault  0.6 (Kralizec)
The open network attached storage solution
 All Classes Functions Variables Groups Pages
Public Member Functions | Protected Member Functions | List of all members
OMVHtmlPageAbstract Class Reference
Inheritance diagram for OMVHtmlPageAbstract:
OMVObject OMVWebGui OMVWebGuiLogin

Public Member Functions

 render ()
 
 getJavascriptIncludes ()
 
 getCssIncludes ()
 
- Public Member Functions inherited from OMVObject
 __construct ()
 
 getLastError ()
 

Protected Member Functions

 scanFiles ($fileName, &$incList)
 
 scanDir ($dirPath, &$incList, $recursive=TRUE)
 
 getTitle ()
 
 getBodyId ()
 
 getBodyContent ()
 
- Protected Member Functions inherited from OMVObject
 setLastError ($error)
 
 debug ()
 

Detailed Description

This file is part of OpenMediaVault.

License:
http://www.gnu.org/licenses/gpl.html GPL Version 3
Author
Volker Theile volke.nosp@m.r.th.nosp@m.eile@.nosp@m.open.nosp@m.media.nosp@m.vaul.nosp@m.t.org

OpenMediaVault is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or any later version.

OpenMediaVault is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with OpenMediaVault. If not, see http://www.gnu.org/licenses/. Base class for a HTML page.

Member Function Documentation

OMVHtmlPageAbstract::getBodyContent ( )
abstractprotected

Get the HTML body code

OMVHtmlPageAbstract::getBodyId ( )
abstractprotected

Get the body ID.

OMVHtmlPageAbstract::getCssIncludes ( )

Get an list of CSS files to be included.

Returns
An array of files to be included.
OMVHtmlPageAbstract::getJavascriptIncludes ( )

Get an list of javascript files to be included.

Returns
An array of files to be included.
OMVHtmlPageAbstract::getTitle ( )
protected

Get the title of the HTML page.

Returns
The page title string.
OMVHtmlPageAbstract::render ( )

Renders the HTML page

OMVHtmlPageAbstract::scanDir (   $dirPath,
$incList,
  $recursive = TRUE 
)
protected

Scan the given directory for Javascript files to be added

Parameters
dirPathThe name of the directory to scan
incListThe list where to add the files to include
recursiveScan subdirs
OMVHtmlPageAbstract::scanFiles (   $fileName,
$incList 
)
protected

Includes the given file

Parameters
fileNameThe name of the file to add
incListThe list where to add the files to include

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