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

View this page in Last updated: Sun, 31 Aug 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.

Parameter

  • string $macaddr - The string representing the MAC address

  • string $delimiter - The string representing the delimiter to use when verifying the MAC Address

Return value

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

Note

This function can not be called statically.

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

Download Documentation Last updated: Sun, 31 Aug 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.