TLNetwork Class Reference

Network information manipulation class. More...

List of all members.

Static Public Member Functions

static netmaskDot2Bit ($nmDot)
 Convert a dotted netmask representation (255.255.255.0) to a bit notation (/24).
static netmaskBit2Dot ($nmBit)
 Convert a bit netmask representation (/24) to a dotted notation (255.255.255.0).


Detailed Description

Network information manipulation class.

Definition at line 37 of file tlib.php.


Member Function Documentation

static TLNetwork::netmaskBit2Dot ( nmBit  )  [static]

Convert a bit netmask representation (/24) to a dotted notation (255.255.255.0).

Parameters:
@nmBit (int) Bit netmask representation (24)
Returns:
(string) Dotted representation of the bits. (255.255.255.0)

Definition at line 55 of file tlib.php.

static TLNetwork::netmaskDot2Bit ( nmDot  )  [static]

Convert a dotted netmask representation (255.255.255.0) to a bit notation (/24).

Parameters:
@nmDot (string) Dotted netmask representation (255.255.255.0)
Returns:
(int) Integer representation of the bits. (24)

Definition at line 44 of file tlib.php.


The documentation for this class was generated from the following file:
Generated on Sun Sep 24 22:05:25 2006 for TLib-PHP by  doxygen 1.4.7