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

Static Public Member Functions

static getHostname ($options)
 
static getDomain ()
 

Additional Inherited Members

- Public Member Functions inherited from OMVObject
 __construct ()
 
 getLastError ()
 
- Protected Member Functions inherited from OMVObject
 setLastError ($error)
 
 debug ()
 

Detailed Description

Helper class that provides various functions regarding the systems network configuration.

Member Function Documentation

static OMVNetwork::getDomain ( )
static

Get the systems domain name.

Returns
The domain name if successful, otherwise FALSE.
static OMVNetwork::getHostname (   $options)
static

Get the systems host name.

Parameters
optionsAdditional command parameters
Returns
The host name if successful, otherwise FALSE.

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