GeoIP Locator
[ class tree: GeoIP Locator ] [ index: GeoIP Locator ] [ all elements ]

Class: IPAddress

Source Location: /IPAddress.class.php

Class Overview


IP Address model


Author(s):

  • Arlind Nushi

Version:

  • 1.0

Methods



Class Details

[line 11]
IP Address model



Tags:

author:  Arlind Nushi
version:  1.0


[ Top ]


Class Methods


constructor __construct [line 26]

IPAddress __construct( $ip, $status, $countrycode, $countryname, $regioncode, $regionname, $cityname, $zipcode, $latitude, $longitude, $timezone)



Tags:

access:  public


Parameters:

   $ip  
   $status  
   $countrycode  
   $countryname  
   $regioncode  
   $regionname  
   $cityname  
   $zipcode  
   $latitude  
   $longitude  
   $timezone  

[ Top ]

method getCityName [line 113]

void getCityName( )



Tags:

access:  public


[ Top ]

method getCountryCode [line 65]

void getCountryCode( )



Tags:

access:  public


[ Top ]

method getCountryName [line 77]

void getCountryName( )



Tags:

access:  public


[ Top ]

method getIp [line 41]

void getIp( )



Tags:

access:  public


[ Top ]

method getLatitude [line 137]

void getLatitude( )



Tags:

access:  public


[ Top ]

method getLongitude [line 148]

void getLongitude( )



Tags:

access:  public


[ Top ]

method getRegionCode [line 89]

void getRegionCode( )



Tags:

access:  public


[ Top ]

method getRegionName [line 101]

void getRegionName( )



Tags:

access:  public


[ Top ]

method getStatus [line 53]

void getStatus( )



Tags:

access:  public


[ Top ]

method getTimezone [line 160]

void getTimezone( )



Tags:

access:  public


[ Top ]

method getZipCode [line 125]

void getZipCode( )



Tags:

access:  public


[ Top ]

method setCityName [line 119]

void setCityName( $cityname)



Tags:

access:  public


Parameters:

   $cityname  

[ Top ]

method setCountryCode [line 71]

void setCountryCode( $countrycode)



Tags:

access:  public


Parameters:

   $countrycode  

[ Top ]

method setCountryName [line 83]

void setCountryName( $countryname)



Tags:

access:  public


Parameters:

   $countryname  

[ Top ]

method setIp [line 47]

void setIp( $ip)



Tags:

access:  public


Parameters:

   $ip  

[ Top ]

method setLatitude [line 143]

void setLatitude( $latitude)



Tags:

access:  public


Parameters:

   $latitude  

[ Top ]

method setLongitude [line 154]

void setLongitude( $longitude)



Tags:

access:  public


Parameters:

   $longitude  

[ Top ]

method setRegionCode [line 95]

void setRegionCode( $regioncode)



Tags:

access:  public


Parameters:

   $regioncode  

[ Top ]

method setRegionName [line 107]

void setRegionName( $regionname)



Tags:

access:  public


Parameters:

   $regionname  

[ Top ]

method setStatus [line 59]

void setStatus( $status)



Tags:

access:  public


Parameters:

   $status  

[ Top ]

method setTimezone [line 166]

void setTimezone( $timezone)



Tags:

access:  public


Parameters:

   $timezone  

[ Top ]

method setZipCode [line 131]

void setZipCode( $zipcode)



Tags:

access:  public


Parameters:

   $zipcode  

[ Top ]

method __toString [line 270]

void __toString( )

If your PHP version is >= 5 then you can use the method below for SET/GET



Tags:

access:  public


[ Top ]


Documentation generated on Mon, 15 Feb 2010 21:00:50 +0100 by phpDocumentor 1.4.3