Changeset 7773 for trunk/src/inc/Network.class.php
- Timestamp:
- Apr 15, 2010, 10:40:35 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/inc/Network.class.php
r7768 r7773 146 146 return $check; 147 147 } 148 149 /* 150 * Function: toString 151 * Description: Converts the data of the network to a string 152 * Parameters: - 153 * Returns: string with all data 154 */ 155 function toString() { 156 return ' 157 Netmask: ' . $this->netmaskDecimal . ' / ' . $this->netmaskBinary . '<br/> 158 Wildcard: ' . $this->wildcardDecimal . ' / ' . $this->wildcardBinary . '<br/> 159 Network: ' . $this->networkDecimal . ' / ' . $this->networkBinary . '<br/> 160 Broadcast: ' . $this->broadcastDecimal . ' / ' . $this->broadcastBinary . '<br/> 161 HostMin: ' . $this->hostminDecimal . ' / ' . $this->hostminBinary . '<br/> 162 HostMax: ' . $this->hostmaxDecimal . ' / ' . $this->hostmaxBinary . '<br/> 163 Hosts/Net: ' . $this->numberHosts . '<br/>'; 164 } 148 165 } 149 166 ?>
Note:
See TracChangeset
for help on using the changeset viewer.