| Net_MAC::__construct() (Previous) | (Next) importVendors() | ||||
| |
|||||
|
|||||
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.
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
booléen - Returns TRUE if the MAC address is set correctly, FALSE otherwise (i.e. the MAC address is not valid).
Exemple 54-1. Using setMAC()
|
| Net_MAC::__construct() (Previous) | (Next) importVendors() | ||||||||
| |
|||||||||
|
|||||||||