Skip to content

Commit 720029a

Browse files
committed
Updated for v3.2.0
1 parent 7fffa4e commit 720029a

File tree

84 files changed

+36066
-2
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

84 files changed

+36066
-2
lines changed

doc/v3.2.0/classes/GeoIp2-Database-Reader.html

Lines changed: 1494 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 313 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,313 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="utf-8">
5+
<title>GeoIP2 PHP API v3.2.0</title>
6+
7+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
8+
<base href="../">
9+
<link rel="icon" href="images/favicon.ico"/>
10+
<link rel="stylesheet" href="css/normalize.css">
11+
<link rel="stylesheet" href="css/base.css">
12+
<link rel="preconnect" href="https://fonts.gstatic.com">
13+
<link href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@100;200;300;400;600;700&display=swap" rel="stylesheet">
14+
<link href="https://fonts.googleapis.com/css2?family=Source+Code+Pro:wght@400;600;700&display=swap" rel="stylesheet">
15+
<link rel="stylesheet" href="css/template.css">
16+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/css/all.min.css" integrity="sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=" crossorigin="anonymous" />
17+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/themes/prism-okaidia.css">
18+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/plugins/line-numbers/prism-line-numbers.css">
19+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/plugins/line-highlight/prism-line-highlight.css">
20+
<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script>
21+
<script src="https://cdn.jsdelivr.net/npm/css-vars-ponyfill@2"></script>
22+
<script src="js/template.js"></script>
23+
<script src="js/search.js"></script>
24+
<script defer src="js/searchIndex.js"></script>
25+
</head>
26+
<body id="top">
27+
<header class="phpdocumentor-header phpdocumentor-section">
28+
<h1 class="phpdocumentor-title"><a href="" class="phpdocumentor-title__link">GeoIP2 PHP API v3.2.0</a></h1>
29+
<input class="phpdocumentor-header__menu-button" type="checkbox" id="menu-button" name="menu-button" />
30+
<label class="phpdocumentor-header__menu-icon" for="menu-button">
31+
<i class="fas fa-bars"></i>
32+
</label>
33+
<section data-search-form class="phpdocumentor-search">
34+
<label>
35+
<span class="visually-hidden">Search for</span>
36+
<svg class="phpdocumentor-search__icon" width="21" height="20" viewBox="0 0 21 20" fill="none" xmlns="http://www.w3.org/2000/svg">
37+
<circle cx="7.5" cy="7.5" r="6.5" stroke="currentColor" stroke-width="2"/>
38+
<line x1="12.4892" y1="12.2727" x2="19.1559" y2="18.9393" stroke="currentColor" stroke-width="3"/>
39+
</svg>
40+
<input type="search" class="phpdocumentor-field phpdocumentor-search__field" placeholder="Loading .." disabled />
41+
</label>
42+
</section>
43+
44+
<nav class="phpdocumentor-topnav">
45+
<ul class="phpdocumentor-topnav__menu">
46+
</ul>
47+
</nav>
48+
</header>
49+
50+
<main class="phpdocumentor">
51+
<div class="phpdocumentor-section">
52+
<input class="phpdocumentor-sidebar__menu-button" type="checkbox" id="sidebar-button" name="sidebar-button" />
53+
<label class="phpdocumentor-sidebar__menu-icon" for="sidebar-button">
54+
Menu
55+
</label>
56+
<aside class="phpdocumentor-column -three phpdocumentor-sidebar">
57+
<section class="phpdocumentor-sidebar__category -namespaces">
58+
<h2 class="phpdocumentor-sidebar__category-header">Namespaces</h2>
59+
<h4 class="phpdocumentor-sidebar__root-namespace">
60+
<a href="namespaces/geoip2.html" class="">GeoIp2</a>
61+
</h4>
62+
<ul class="phpdocumentor-list">
63+
<li>
64+
<a href="namespaces/geoip2-database.html" class="">Database</a>
65+
66+
</li>
67+
<li>
68+
<a href="namespaces/geoip2-exception.html" class="">Exception</a>
69+
70+
</li>
71+
<li>
72+
<a href="namespaces/geoip2-model.html" class="">Model</a>
73+
74+
</li>
75+
<li>
76+
<a href="namespaces/geoip2-record.html" class="">Record</a>
77+
78+
</li>
79+
<li>
80+
<a href="namespaces/geoip2-webservice.html" class="">WebService</a>
81+
82+
</li>
83+
</ul>
84+
85+
</section>
86+
<section class="phpdocumentor-sidebar__category -packages">
87+
<h2 class="phpdocumentor-sidebar__category-header">Packages</h2>
88+
<h4 class="phpdocumentor-sidebar__root-namespace">
89+
<a href="packages/Application.html" class="">Application</a>
90+
</h4>
91+
92+
</section>
93+
94+
<section class="phpdocumentor-sidebar__category -reports">
95+
<h2 class="phpdocumentor-sidebar__category-header">Reports</h2>
96+
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/deprecated.html">Deprecated</a></h3>
97+
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/errors.html">Errors</a></h3>
98+
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/markers.html">Markers</a></h3>
99+
</section>
100+
101+
<section class="phpdocumentor-sidebar__category -indices">
102+
<h2 class="phpdocumentor-sidebar__category-header">Indices</h2>
103+
<h3 class="phpdocumentor-sidebar__root-package"><a href="indices/files.html">Files</a></h3>
104+
</section>
105+
</aside>
106+
107+
<div class="phpdocumentor-column -nine phpdocumentor-content">
108+
<section>
109+
<ul class="phpdocumentor-breadcrumbs">
110+
<li class="phpdocumentor-breadcrumb"><a href="namespaces/geoip2.html">GeoIp2</a></li>
111+
<li class="phpdocumentor-breadcrumb"><a href="namespaces/geoip2-exception.html">Exception</a></li>
112+
</ul>
113+
114+
<article class="phpdocumentor-element -class">
115+
<h2 class="phpdocumentor-content__title">
116+
AddressNotFoundException
117+
118+
<span class="phpdocumentor-element__extends">
119+
extends <a href="classes/GeoIp2-Exception-GeoIp2Exception.html"><abbr title="\GeoIp2\Exception\GeoIp2Exception">GeoIp2Exception</abbr></a>
120+
</span>
121+
122+
<div class="phpdocumentor-element__package">
123+
in package
124+
<ul class="phpdocumentor-breadcrumbs">
125+
<li class="phpdocumentor-breadcrumb"><a href="packages/Application.html">Application</a></li>
126+
</ul>
127+
</div>
128+
129+
130+
</h2>
131+
132+
<div class="phpdocumentor-label-line">
133+
134+
135+
</div>
136+
137+
<aside class="phpdocumentor-element-found-in">
138+
<abbr class="phpdocumentor-element-found-in__file" title="Exception/AddressNotFoundException.php"><a href="files/exception-addressnotfoundexception.html"><abbr title="Exception/AddressNotFoundException.php">AddressNotFoundException.php</abbr></a></abbr>
139+
:
140+
<span class="phpdocumentor-element-found-in__line">11</span>
141+
142+
</aside>
143+
144+
<p class="phpdocumentor-summary">This class represents a generic error.</p>
145+
146+
147+
148+
149+
150+
151+
152+
153+
154+
<h3 id="toc">
155+
Table of Contents
156+
<a href="classes/GeoIp2-Exception-AddressNotFoundException.html#toc" class="headerlink"><i class="fas fa-link"></i></a>
157+
158+
</h3>
159+
160+
161+
162+
163+
164+
165+
166+
167+
168+
169+
170+
171+
172+
173+
174+
175+
176+
177+
<div class="phpdocumentor-modal" id="source-view">
178+
<div class="phpdocumentor-modal-bg" data-exit-button></div>
179+
<div class="phpdocumentor-modal-container">
180+
<div class="phpdocumentor-modal-content">
181+
<pre style="max-height: 500px; overflow-y: scroll" data-src="files/Exception/AddressNotFoundException.php.txt" class="language-php line-numbers linkable-line-numbers"></pre>
182+
</div>
183+
<button data-exit-button class="phpdocumentor-modal__close">&times;</button>
184+
</div>
185+
</div>
186+
187+
<script type="text/javascript">
188+
(function () {
189+
function loadExternalCodeSnippet(el, url, line) {
190+
Array.prototype.slice.call(el.querySelectorAll('pre[data-src]')).forEach((pre) => {
191+
const src = url || pre.getAttribute('data-src').replace(/\\/g, '/');
192+
const language = 'php';
193+
194+
const code = document.createElement('code');
195+
code.className = 'language-' + language;
196+
pre.textContent = '';
197+
pre.setAttribute('data-line', line)
198+
code.textContent = 'Loading…';
199+
pre.appendChild(code);
200+
201+
var xhr = new XMLHttpRequest();
202+
203+
xhr.open('GET', src, true);
204+
205+
xhr.onreadystatechange = function () {
206+
if (xhr.readyState !== 4) {
207+
return;
208+
}
209+
210+
if (xhr.status < 400 && xhr.responseText) {
211+
code.textContent = xhr.responseText;
212+
Prism.highlightElement(code);
213+
return;
214+
}
215+
216+
if (xhr.status === 404) {
217+
code.textContent = '✖ Error: File could not be found';
218+
return;
219+
}
220+
221+
if (xhr.status >= 400) {
222+
code.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText;
223+
return;
224+
}
225+
226+
code.textContent = '✖ Error: An unknown error occurred';
227+
};
228+
229+
xhr.send(null);
230+
});
231+
}
232+
233+
const modalButtons = document.querySelectorAll("[data-modal]");
234+
const openedAsLocalFile = window.location.protocol === 'file:';
235+
if (modalButtons.length > 0 && openedAsLocalFile) {
236+
console.warn(
237+
'Viewing the source code is unavailable because you are opening this page from the file:// scheme; ' +
238+
'browsers block XHR requests when a page is opened this way'
239+
);
240+
}
241+
242+
modalButtons.forEach(function (trigger) {
243+
if (openedAsLocalFile) {
244+
trigger.setAttribute("hidden", "hidden");
245+
}
246+
247+
trigger.addEventListener("click", function (event) {
248+
event.preventDefault();
249+
const modal = document.getElementById(trigger.dataset.modal);
250+
if (!modal) {
251+
console.error(`Modal with id "${trigger.dataset.modal}" could not be found`);
252+
return;
253+
}
254+
modal.classList.add("phpdocumentor-modal__open");
255+
256+
loadExternalCodeSnippet(modal, trigger.dataset.src || null, trigger.dataset.line)
257+
const exits = modal.querySelectorAll("[data-exit-button]");
258+
exits.forEach(function (exit) {
259+
exit.addEventListener("click", function (event) {
260+
event.preventDefault();
261+
modal.classList.remove("phpdocumentor-modal__open");
262+
});
263+
});
264+
});
265+
});
266+
})();
267+
</script>
268+
269+
</article>
270+
</section>
271+
<section class="phpdocumentor-on-this-page__sidebar">
272+
273+
<section class="phpdocumentor-on-this-page__content">
274+
<strong class="phpdocumentor-on-this-page__title">On this page</strong>
275+
276+
<ul class="phpdocumentor-list -clean">
277+
<li class="phpdocumentor-on-this-page-section__title">Table Of Contents</li>
278+
<li>
279+
<ul class="phpdocumentor-list -clean">
280+
</ul>
281+
</li>
282+
283+
284+
</ul>
285+
</section>
286+
287+
</section>
288+
</div>
289+
<section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
290+
<section class="phpdocumentor-search-results__dialog">
291+
<header class="phpdocumentor-search-results__header">
292+
<h2 class="phpdocumentor-search-results__title">Search results</h2>
293+
<button class="phpdocumentor-search-results__close"><i class="fas fa-times"></i></button>
294+
</header>
295+
<section class="phpdocumentor-search-results__body">
296+
<ul class="phpdocumentor-search-results__entries"></ul>
297+
</section>
298+
</section>
299+
</section>
300+
</div>
301+
<a href="classes/GeoIp2-Exception-AddressNotFoundException.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a>
302+
303+
</main>
304+
305+
<script>
306+
cssVars({});
307+
</script>
308+
<script src="https://cdn.jsdelivr.net/npm/[email protected]/prism.min.js"></script>
309+
<script src="https://cdn.jsdelivr.net/npm/[email protected]/plugins/autoloader/prism-autoloader.min.js"></script>
310+
<script src="https://cdn.jsdelivr.net/npm/[email protected]/plugins/line-numbers/prism-line-numbers.min.js"></script>
311+
<script src="https://cdn.jsdelivr.net/npm/[email protected]/plugins/line-highlight/prism-line-highlight.min.js"></script>
312+
</body>
313+
</html>

0 commit comments

Comments
 (0)