Net_MAC::__construct() (Previous) (Next) importVendors()

View this page in Last updated: Sun, 28 Sep 2008
English | French | German | Hungarian | Japanese | Polish | Spanish | Plain HTML

setMAC()

setMAC() -- Sets the MAC address in the object

Description

This method will set the MAC address in the object given the passed MAC address and the MAC address delimiter. This method also makes use of the check() method to make sure that the MAC address is valid.

Paramètres

  • chaîne de caractères $macaddr - The chaîne de caractères representing the MAC address

  • chaîne de caractères $delimiter - The chaîne de caractères representing the delimiter to use when verifying the MAC Address

Valeur retournée

booléen - Returns TRUE if the MAC address is set correctly, FALSE otherwise (i.e. the MAC address is not valid).

Note

Cette fonction ne peut pas être appelée de façon statique.

Net_MAC::__construct() (Previous) (Next) importVendors()

Download Documentation Last updated: Sun, 28 Sep 2008
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.