Ignore:
Timestamp:
Apr 15, 2010, 10:40:35 PM (15 years ago)
Author:
Pieter Naber
Message:

Created interlinks!
Fixed LogHandler to output at the end (so we have a valid KML file)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/inc/Network.class.php

    r7768 r7773  
    146146                return $check;
    147147        }
     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        }
    148165}
    149166?>
Note: See TracChangeset for help on using the changeset viewer.