Moodle  2.2.1
http://www.collinsharper.com
Zend_Service_DeveloperGarden_IpLocation_IpAddress Class Reference

Public Member Functions

 __construct ($ip, $version=4)
 setIp ($ip)
 getIp ()
 setVersion ($version)
 getVersion ()

Detailed Description

Definition at line 36 of file IpAddress.php.


Constructor & Destructor Documentation

__construct ( ip,
version = 4 
)

create ipaddress object

Parameters:
string$ip
integer$version
Returns:
Zend_Service_Developergarde_IpLocation_IpAddress

Definition at line 67 of file IpAddress.php.

Here is the call graph for this function:


Member Function Documentation

getIp ( )

returns the current address

Returns:
string

Definition at line 98 of file IpAddress.php.

returns the ip version

Returns:
integer

Definition at line 126 of file IpAddress.php.

setIp ( ip)

sets new ip address

Parameters:
string$ip
Exceptions:
Zend_Service_DeveloperGarden_Exception
Returns:
Zend_Service_DeveloperGarden_IpLocation_IpAddress

Definition at line 80 of file IpAddress.php.

Here is the caller graph for this function:

setVersion ( version)

sets new ip version

Parameters:
integer$version
Exceptions:
Zend_Service_DeveloperGarden_Exception
Returns:
Zend_Service_DeveloperGarden_IpLocation_IpAddress

Definition at line 110 of file IpAddress.php.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations