Net_MAC::__construct()

Net_MAC::__construct() -- Constructor

Synopsis

require_once 'Net/MAC.php';

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

Description

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

Parameter

Return value

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

Note

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

Example

Throws

throws Net_MAC_Exception

See

MDB2::factory()

MDB2::isError()

PEAR_Error::getUserInfo()