Net_MAC::__construct()

Net_MAC::__construct() -- Constructor

Synopsis

require_once 'Net/MAC.php';

Net_MAC::__construct (object $db, array $options)

Beschreibung

This is the constructor that will create and populate a valid Net_MAC object.

Parameter

Rückgabewert

void - No return value. A Net_MAC_Exception Exception object will be thrown if there is an error during construction

Hinweise

The constructor can throw exceptions on error, so the constructor should always be called from inside a try/catch block.

Beispiel

Fehler-Meldungen

throws Net_MAC_Exception

Siehe auch

MDB2::factory()

MDB2::isError()

PEAR_Error::getUserInfo()