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

Static Public Member Functions

static get ()
 
static enumerate ()
 
static getByType ($type)
 
static enumerateByType ($type)
 

Additional Inherited Members

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

Detailed Description

Helper class to get all existing Linux network interfaces.

Member Function Documentation

static OMVNetworkInterfaces::enumerate ( )
static

Enumerate all network interfaces.

Returns
A list of network interfaces, e.g. eth0 or lo, otherwise FALSE.
static OMVNetworkInterfaces::enumerateByType (   $type)
static

Enumerate all network interfaces by type.

Parameters
typeThe type of interface, e.g. eth, lo or bond.
Returns
A list of network interfaces, otherwise FALSE.
static OMVNetworkInterfaces::get ( )
static

Get a list of all network interfaces.

Deprecated:
Returns
A list of network interfaces, otherwise FALSE.
static OMVNetworkInterfaces::getByType (   $type)
static

Get a list of network interfaces by type.

Deprecated:
Parameters
typeThe type of interface, e.g. eth, lo or bond.
Returns
A list of network interfaces, otherwise FALSE.

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