Skip to content

Commit 91a1624

Browse files
committed
Updated for v3.3.0
1 parent 720029a commit 91a1624

File tree

86 files changed

+37780
-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.

86 files changed

+37780
-2
lines changed

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

Lines changed: 1498 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 315 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,315 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="utf-8">
5+
<title>GeoIP2 PHP API v3.3.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.3.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+
d=document.getElementsByClassName("line-numbers");
214+
d[0].scrollTop = d[0].children[1].offsetTop;
215+
return;
216+
}
217+
218+
if (xhr.status === 404) {
219+
code.textContent = '✖ Error: File could not be found';
220+
return;
221+
}
222+
223+
if (xhr.status >= 400) {
224+
code.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText;
225+
return;
226+
}
227+
228+
code.textContent = '✖ Error: An unknown error occurred';
229+
};
230+
231+
xhr.send(null);
232+
});
233+
}
234+
235+
const modalButtons = document.querySelectorAll("[data-modal]");
236+
const openedAsLocalFile = window.location.protocol === 'file:';
237+
if (modalButtons.length > 0 && openedAsLocalFile) {
238+
console.warn(
239+
'Viewing the source code is unavailable because you are opening this page from the file:// scheme; ' +
240+
'browsers block XHR requests when a page is opened this way'
241+
);
242+
}
243+
244+
modalButtons.forEach(function (trigger) {
245+
if (openedAsLocalFile) {
246+
trigger.setAttribute("hidden", "hidden");
247+
}
248+
249+
trigger.addEventListener("click", function (event) {
250+
event.preventDefault();
251+
const modal = document.getElementById(trigger.dataset.modal);
252+
if (!modal) {
253+
console.error(`Modal with id "${trigger.dataset.modal}" could not be found`);
254+
return;
255+
}
256+
modal.classList.add("phpdocumentor-modal__open");
257+
258+
loadExternalCodeSnippet(modal, trigger.dataset.src || null, trigger.dataset.line)
259+
const exits = modal.querySelectorAll("[data-exit-button]");
260+
exits.forEach(function (exit) {
261+
exit.addEventListener("click", function (event) {
262+
event.preventDefault();
263+
modal.classList.remove("phpdocumentor-modal__open");
264+
});
265+
});
266+
});
267+
});
268+
})();
269+
</script>
270+
271+
</article>
272+
</section>
273+
<section class="phpdocumentor-on-this-page__sidebar">
274+
275+
<section class="phpdocumentor-on-this-page__content">
276+
<strong class="phpdocumentor-on-this-page__title">On this page</strong>
277+
278+
<ul class="phpdocumentor-list -clean">
279+
<li class="phpdocumentor-on-this-page-section__title">Table Of Contents</li>
280+
<li>
281+
<ul class="phpdocumentor-list -clean">
282+
</ul>
283+
</li>
284+
285+
286+
</ul>
287+
</section>
288+
289+
</section>
290+
</div>
291+
<section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
292+
<section class="phpdocumentor-search-results__dialog">
293+
<header class="phpdocumentor-search-results__header">
294+
<h2 class="phpdocumentor-search-results__title">Search results</h2>
295+
<button class="phpdocumentor-search-results__close"><i class="fas fa-times"></i></button>
296+
</header>
297+
<section class="phpdocumentor-search-results__body">
298+
<ul class="phpdocumentor-search-results__entries"></ul>
299+
</section>
300+
</section>
301+
</section>
302+
</div>
303+
<a href="classes/GeoIp2-Exception-AddressNotFoundException.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a>
304+
305+
</main>
306+
307+
<script>
308+
cssVars({});
309+
</script>
310+
<script src="https://cdn.jsdelivr.net/npm/[email protected]/prism.min.js"></script>
311+
<script src="https://cdn.jsdelivr.net/npm/[email protected]/plugins/autoloader/prism-autoloader.min.js"></script>
312+
<script src="https://cdn.jsdelivr.net/npm/[email protected]/plugins/line-numbers/prism-line-numbers.min.js"></script>
313+
<script src="https://cdn.jsdelivr.net/npm/[email protected]/plugins/line-highlight/prism-line-highlight.min.js"></script>
314+
</body>
315+
</html>

0 commit comments

Comments
 (0)