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

Public Member Functions

 refresh ()
 
 getName ()
 
 getVersion ()
 
 getVersionName ()
 
 getURL ()
 
 getCopyright ()
 
 getPackageName ()
 
- Public Member Functions inherited from OMVObject
 __construct ()
 
 getLastError ()
 

Additional Inherited Members

- 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/. This class provides a simple interface to get product informations.

Member Function Documentation

OMVProduct::getCopyright ( )

Get the copyright text.

Returns
The copyright text, otherwise FALSE.
OMVProduct::getName ( )

Get the product name.

Returns
The product name string, otherwise FALSE.
OMVProduct::getPackageName ( )

Get the Debian package name.

Returns
The package name, otherwise FALSE.
OMVProduct::getURL ( )

Get the URL to the product homepage.

Returns
The URL, otherwise FALSE.
OMVProduct::getVersion ( )

Get the product version.

Returns
The product version as string, otherwise FALSE.
OMVProduct::getVersionName ( )

Get the product version/release name.

Returns
The release name as string, otherwise FALSE.
OMVProduct::refresh ( )

Refresh the cached informations.

Returns
TRUE if successful, otherwise FALSE.

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