517 lines
11 KiB
HTML
517 lines
11 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
|
|
<title>Class GeoIp2\Model\Country | GeoIP2 PHP API v2.1.0</title>
|
|
|
|
<link rel="stylesheet" href="resources/style.css?1648332946">
|
|
|
|
</head>
|
|
|
|
<body>
|
|
<div id="left">
|
|
<div id="menu">
|
|
<a href="index.html" title="Overview"><span>Overview</span></a>
|
|
|
|
|
|
<div id="groups">
|
|
<h3>Namespaces</h3>
|
|
<ul>
|
|
<li class="active"><a href="namespace-GeoIp2.html">GeoIp2<span></span></a>
|
|
<ul>
|
|
<li><a href="namespace-GeoIp2.Database.html">Database</a>
|
|
</li>
|
|
<li><a href="namespace-GeoIp2.Exception.html">Exception</a>
|
|
</li>
|
|
<li class="active"><a href="namespace-GeoIp2.Model.html">Model</a>
|
|
</li>
|
|
<li><a href="namespace-GeoIp2.Record.html">Record</a>
|
|
</li>
|
|
<li><a href="namespace-GeoIp2.WebService.html">WebService</a>
|
|
</li>
|
|
</ul></li>
|
|
<li><a href="namespace-PHP.html">PHP</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
|
|
<hr>
|
|
|
|
|
|
<div id="elements">
|
|
<h3>Classes</h3>
|
|
<ul>
|
|
<li><a href="class-GeoIp2.Model.AnonymousIp.html">AnonymousIp</a></li>
|
|
<li><a href="class-GeoIp2.Model.City.html">City</a></li>
|
|
<li><a href="class-GeoIp2.Model.ConnectionType.html">ConnectionType</a></li>
|
|
<li class="active"><a href="class-GeoIp2.Model.Country.html">Country</a></li>
|
|
<li><a href="class-GeoIp2.Model.Domain.html">Domain</a></li>
|
|
<li><a href="class-GeoIp2.Model.Insights.html">Insights</a></li>
|
|
<li><a href="class-GeoIp2.Model.Isp.html">Isp</a></li>
|
|
</ul>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="splitter"></div>
|
|
|
|
<div id="right">
|
|
<div id="rightInner">
|
|
<form id="search">
|
|
<input type="hidden" name="cx" value="">
|
|
<input type="hidden" name="ie" value="UTF-8">
|
|
<input type="text" name="q" class="text" placeholder="Search">
|
|
</form>
|
|
|
|
<div id="navigation">
|
|
<ul>
|
|
<li>
|
|
<a href="index.html" title="Overview"><span>Overview</span></a>
|
|
</li>
|
|
<li>
|
|
<a href="namespace-GeoIp2.Model.html" title="Summary of GeoIp2\Model"><span>Namespace</span></a>
|
|
</li>
|
|
<li class="active">
|
|
<span>Class</span> </li>
|
|
</ul>
|
|
<ul>
|
|
<li>
|
|
<a href="tree.html" title="Tree view of classes, interfaces, traits and exceptions"><span>Tree</span></a>
|
|
</li>
|
|
</ul>
|
|
<ul>
|
|
</ul>
|
|
</div>
|
|
|
|
<div id="content" class="class">
|
|
<h1>Class Country</h1>
|
|
|
|
|
|
<div class="description">
|
|
<p>Model class for the data returned by GeoIP2 Country web service and database.</p>
|
|
|
|
<p>The only difference between the City and Insights model classes is which
|
|
fields in each record may be populated. See
|
|
http://dev.maxmind.com/geoip/geoip2/web-services more details.</p>
|
|
|
|
</div>
|
|
|
|
<dl class="tree">
|
|
<dd style="padding-left:0px">
|
|
GeoIp2\Model\AbstractModel
|
|
implements
|
|
<a href="class-JsonSerializable.html"><span>JsonSerializable</span></a>
|
|
|
|
|
|
</dd>
|
|
<dd style="padding-left:30px">
|
|
<img src="resources/inherit.png" alt="Extended by">
|
|
<b><span>GeoIp2\Model\Country</span></b>
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
<div>
|
|
<h4>Direct known subclasses</h4>
|
|
<a href="class-GeoIp2.Model.City.html">GeoIp2\Model\City</a>
|
|
</div>
|
|
|
|
<div>
|
|
<h4>Indirect known subclasses</h4>
|
|
<a href="class-GeoIp2.Model.Insights.html">GeoIp2\Model\Insights</a>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="info">
|
|
|
|
|
|
<b>Namespace:</b> GeoIp2\Model<br>
|
|
|
|
|
|
<b>Located at</b> <a href="source-class-GeoIp2.Model.Country.html#5-73" title="Go to source code">GeoIp2/Model/Country.php</a><br>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<table class="summary inherited">
|
|
<caption>Methods inherited from GeoIp2\Model\AbstractModel</caption>
|
|
<tr>
|
|
<td><code>
|
|
__construct(),
|
|
__get(),
|
|
__isset(),
|
|
get(),
|
|
jsonSerialize()
|
|
</code></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<table class="summary properties" id="properties">
|
|
<caption>Properties summary</caption>
|
|
<tr data-order="continent" id="$continent">
|
|
<td class="attributes"><code>
|
|
protected
|
|
mixed
|
|
</code></td>
|
|
|
|
<td class="name">
|
|
<a href="source-class-GeoIp2.Model.Country.html#37" title="Go to source code"><var>$continent</var></a>
|
|
|
|
<div class="description short">
|
|
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
|
|
|
|
</div>
|
|
</td>
|
|
<td class="value">
|
|
<div>
|
|
<a href="#$continent" class="anchor">#</a>
|
|
<code></code>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr data-order="country" id="$country">
|
|
<td class="attributes"><code>
|
|
protected
|
|
mixed
|
|
</code></td>
|
|
|
|
<td class="name">
|
|
<a href="source-class-GeoIp2.Model.Country.html#38" title="Go to source code"><var>$country</var></a>
|
|
|
|
<div class="description short">
|
|
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
|
|
|
|
</div>
|
|
</td>
|
|
<td class="value">
|
|
<div>
|
|
<a href="#$country" class="anchor">#</a>
|
|
<code></code>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr data-order="locales" id="$locales">
|
|
<td class="attributes"><code>
|
|
protected
|
|
mixed
|
|
</code></td>
|
|
|
|
<td class="name">
|
|
<a href="source-class-GeoIp2.Model.Country.html#39" title="Go to source code"><var>$locales</var></a>
|
|
|
|
<div class="description short">
|
|
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
|
|
|
|
</div>
|
|
</td>
|
|
<td class="value">
|
|
<div>
|
|
<a href="#$locales" class="anchor">#</a>
|
|
<code></code>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr data-order="maxmind" id="$maxmind">
|
|
<td class="attributes"><code>
|
|
protected
|
|
mixed
|
|
</code></td>
|
|
|
|
<td class="name">
|
|
<a href="source-class-GeoIp2.Model.Country.html#40" title="Go to source code"><var>$maxmind</var></a>
|
|
|
|
<div class="description short">
|
|
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
|
|
|
|
</div>
|
|
</td>
|
|
<td class="value">
|
|
<div>
|
|
<a href="#$maxmind" class="anchor">#</a>
|
|
<code></code>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr data-order="registeredCountry" id="$registeredCountry">
|
|
<td class="attributes"><code>
|
|
protected
|
|
mixed
|
|
</code></td>
|
|
|
|
<td class="name">
|
|
<a href="source-class-GeoIp2.Model.Country.html#41" title="Go to source code"><var>$registeredCountry</var></a>
|
|
|
|
<div class="description short">
|
|
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
|
|
|
|
</div>
|
|
</td>
|
|
<td class="value">
|
|
<div>
|
|
<a href="#$registeredCountry" class="anchor">#</a>
|
|
<code></code>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr data-order="representedCountry" id="$representedCountry">
|
|
<td class="attributes"><code>
|
|
protected
|
|
mixed
|
|
</code></td>
|
|
|
|
<td class="name">
|
|
<a href="source-class-GeoIp2.Model.Country.html#42" title="Go to source code"><var>$representedCountry</var></a>
|
|
|
|
<div class="description short">
|
|
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
|
|
|
|
</div>
|
|
</td>
|
|
<td class="value">
|
|
<div>
|
|
<a href="#$representedCountry" class="anchor">#</a>
|
|
<code></code>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr data-order="traits" id="$traits">
|
|
<td class="attributes"><code>
|
|
protected
|
|
mixed
|
|
</code></td>
|
|
|
|
<td class="name">
|
|
<a href="source-class-GeoIp2.Model.Country.html#43" title="Go to source code"><var>$traits</var></a>
|
|
|
|
<div class="description short">
|
|
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
|
|
|
|
</div>
|
|
</td>
|
|
<td class="value">
|
|
<div>
|
|
<a href="#$traits" class="anchor">#</a>
|
|
<code></code>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<table class="summary inherited">
|
|
<caption>Properties inherited from GeoIp2\Model\AbstractModel</caption>
|
|
<tr>
|
|
<td><code>
|
|
<var>$raw</var>
|
|
</code></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<table class="summary properties" id="magicProperties">
|
|
<caption>Magic properties summary</caption>
|
|
<tr data-order="continent" id="m$continent">
|
|
<td class="attributes"><code>
|
|
public
|
|
<code><a href="class-GeoIp2.Record.Continent.html">GeoIp2\Record\Continent</a></code>
|
|
</code></td>
|
|
|
|
<td class="name">
|
|
<a href="source-class-GeoIp2.Model.Country.html#12-13" title="Go to source code"><var>$continent</var></a>
|
|
|
|
<div class="description short">
|
|
<p>Continent data for the requested IP address.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
|
|
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr data-order="country" id="m$country">
|
|
<td class="attributes"><code>
|
|
public
|
|
<code><a href="class-GeoIp2.Record.Country.html">GeoIp2\Record\Country</a></code>
|
|
</code></td>
|
|
|
|
<td class="name">
|
|
<a href="source-class-GeoIp2.Model.Country.html#15-17" title="Go to source code"><var>$country</var></a>
|
|
|
|
<div class="description short">
|
|
<p>Country data for the requested IP address. This object represents the country where MaxMind believes the end user is located.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
|
|
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr data-order="maxmind" id="m$maxmind">
|
|
<td class="attributes"><code>
|
|
public
|
|
<code><a href="class-GeoIp2.Record.MaxMind.html">GeoIp2\Record\MaxMind</a></code>
|
|
</code></td>
|
|
|
|
<td class="name">
|
|
<a href="source-class-GeoIp2.Model.Country.html#19-20" title="Go to source code"><var>$maxmind</var></a>
|
|
|
|
<div class="description short">
|
|
<p>Data related to your MaxMind account.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
|
|
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr data-order="registeredCountry" id="m$registeredCountry">
|
|
<td class="attributes"><code>
|
|
public
|
|
<code><a href="class-GeoIp2.Record.Country.html">GeoIp2\Record\Country</a></code>
|
|
</code></td>
|
|
|
|
<td class="name">
|
|
<a href="source-class-GeoIp2.Model.Country.html#22-25" title="Go to source code"><var>$registeredCountry</var></a>
|
|
|
|
<div class="description short">
|
|
<p>Registered country data for the requested IP address. This record represents the country where the ISP has registered a given IP block and may differ from the user's country.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
|
|
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr data-order="representedCountry" id="m$representedCountry">
|
|
<td class="attributes"><code>
|
|
public
|
|
<code><a href="class-GeoIp2.Record.RepresentedCountry.html">GeoIp2\Record\RepresentedCountry</a></code>
|
|
</code></td>
|
|
|
|
<td class="name">
|
|
<a href="source-class-GeoIp2.Model.Country.html#27-30" title="Go to source code"><var>$representedCountry</var></a>
|
|
|
|
<div class="description short">
|
|
<p>Represented country data for the requested IP address. The represented country is used for things like military bases. It is only present when the represented country differs from the country.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
|
|
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr data-order="traits" id="m$traits">
|
|
<td class="attributes"><code>
|
|
public
|
|
<code><a href="class-GeoIp2.Record.Traits.html">GeoIp2\Record\Traits</a></code>
|
|
</code></td>
|
|
|
|
<td class="name">
|
|
<a href="source-class-GeoIp2.Model.Country.html#32-33" title="Go to source code"><var>$traits</var></a>
|
|
|
|
<div class="description short">
|
|
<p>Data for the traits of the requested IP address.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
|
|
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
<div id="footer">
|
|
GeoIP2 PHP API v2.1.0 API documentation generated by <a href="http://apigen.org">ApiGen</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<script src="resources/combined.js?721046668"></script>
|
|
<script src="elementlist.js?1983305385"></script>
|
|
</body>
|
|
</html>
|