Skip to content

Commit 0e16a4c

Browse files
committed
publish php apidocs 1.29.0
1 parent 502dab6 commit 0e16a4c

File tree

93 files changed

+8954
-2957
lines changed

Some content is hidden

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

93 files changed

+8954
-2957
lines changed

classes/rosette-api-Address.html

Lines changed: 270 additions & 131 deletions
Large diffs are not rendered by default.

classes/rosette-api-AddressSimilarityParameters.html

Lines changed: 208 additions & 104 deletions
Large diffs are not rendered by default.

classes/rosette-api-Api.html

Lines changed: 665 additions & 368 deletions
Large diffs are not rendered by default.

classes/rosette-api-CustomException.html

Lines changed: 173 additions & 82 deletions
Large diffs are not rendered by default.

classes/rosette-api-DocumentParameters.html

Lines changed: 253 additions & 135 deletions
Large diffs are not rendered by default.

classes/rosette-api-FieldedAddress.html

Lines changed: 267 additions & 129 deletions
Large diffs are not rendered by default.

classes/rosette-api-IAddress.html

Lines changed: 138 additions & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<link rel="stylesheet" href="css/normalize.css">
1111
<link rel="stylesheet" href="css/base.css">
1212
<link rel="preconnect" href="https://fonts.gstatic.com">
13-
<link href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600;700&display=swap" rel="stylesheet">
13+
<link href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@100;200;300;400;600;700&display=swap" rel="stylesheet">
1414
<link href="https://fonts.googleapis.com/css2?family=Source+Code+Pro:wght@400;600;700&display=swap" rel="stylesheet">
1515
<link rel="stylesheet" href="css/template.css">
1616
<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" />
@@ -19,6 +19,7 @@
1919
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/plugins/line-highlight/prism-line-highlight.css">
2020
<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script>
2121
<script src="https://cdn.jsdelivr.net/npm/css-vars-ponyfill@2"></script>
22+
<script src="js/template.js"></script>
2223
<script src="js/search.js"></script>
2324
<script defer src="js/searchIndex.js"></script>
2425
</head>
@@ -52,7 +53,7 @@ <h1 class="phpdocumentor-title"><a href="" class="phpdocumentor-title__link">Doc
5253
<label class="phpdocumentor-sidebar__menu-icon" for="sidebar-button">
5354
Menu
5455
</label>
55-
<aside class="phpdocumentor-column -four phpdocumentor-sidebar">
56+
<aside class="phpdocumentor-column -three phpdocumentor-sidebar">
5657
<section class="phpdocumentor-sidebar__category">
5758
<h2 class="phpdocumentor-sidebar__category-header">Namespaces</h2>
5859
<h4 class="phpdocumentor-sidebar__root-namespace">
@@ -76,7 +77,6 @@ <h4 class="phpdocumentor-sidebar__root-namespace">
7677

7778
<section class="phpdocumentor-sidebar__category">
7879
<h2 class="phpdocumentor-sidebar__category-header">Reports</h2>
79-
<h3 class="phpdocumentor-sidebar__root-package"><a href="graphs/classes.html">Class Diagram</a></h3>
8080
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/deprecated.html">Deprecated</a></h3>
8181
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/errors.html">Errors</a></h3>
8282
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/markers.html">Markers</a></h3>
@@ -88,8 +88,9 @@ <h3 class="phpdocumentor-sidebar__root-package"><a href="indices/files.html">Fil
8888
</section>
8989
</aside>
9090

91-
<div class="phpdocumentor-column -eight phpdocumentor-content">
92-
<ul class="phpdocumentor-breadcrumbs">
91+
<div class="phpdocumentor-column -nine phpdocumentor-content">
92+
<section>
93+
<ul class="phpdocumentor-breadcrumbs">
9394
<li class="phpdocumentor-breadcrumb"><a href="namespaces/rosette.html">rosette</a></li>
9495
<li class="phpdocumentor-breadcrumb"><a href="namespaces/rosette-api.html">api</a></li>
9596
</ul>
@@ -119,23 +120,36 @@ <h2 class="phpdocumentor-content__title">
119120

120121

121122

122-
123-
124-
125123
<h3 id="toc">
126124
Table of Contents
127-
<a href="#toc" class="headerlink"><i class="fas fa-link"></i></a>
125+
<a href="classes/rosette-api-IAddress.html#toc" class="headerlink"><i class="fas fa-link"></i></a>
126+
128127
</h3>
129128

129+
130+
131+
132+
133+
134+
135+
136+
137+
138+
<h4 id="toc-methods">
139+
Methods
140+
<a href="classes/rosette-api-IAddress.html#toc-methods" class="headerlink"><i class="fas fa-link"></i></a>
141+
142+
</h4>
130143
<dl class="phpdocumentor-table-of-contents">
131-
<dt class="phpdocumentor-table-of-contents__entry -method -public">
144+
<dt class="phpdocumentor-table-of-contents__entry -method -public">
132145
<a href="classes/rosette-api-IAddress.html#method_fielded">fielded()</a>
133146
<span>
134147
&nbsp;: bool </span>
135148
</dt>
136149
<dd>Returns whether or not this address is fielded.</dd>
137150

138-
</dl>
151+
</dl>
152+
139153

140154

141155

@@ -145,6 +159,7 @@ <h3 id="toc">
145159
<h3 class="phpdocumentor-elements__header" id="methods">
146160
Methods
147161
<a href="classes/rosette-api-IAddress.html#methods" class="headerlink"><i class="fas fa-link"></i></a>
162+
148163
</h3>
149164
<article
150165
class="phpdocumentor-element
@@ -155,6 +170,7 @@ <h3 class="phpdocumentor-elements__header" id="methods">
155170
<h4 class="phpdocumentor-element__name" id="method_fielded">
156171
fielded()
157172
<a href="classes/rosette-api-IAddress.html#method_fielded" class="headerlink"><i class="fas fa-link"></i></a>
173+
158174
</h4>
159175
<aside class="phpdocumentor-element-found-in">
160176
<abbr class="phpdocumentor-element-found-in__file" title="source/rosette/api/IAddress.php"><a href="files/source-rosette-api-iaddress.html"><abbr title="source/rosette/api/IAddress.php">IAddress.php</abbr></a></abbr>
@@ -169,82 +185,140 @@ <h4 class="phpdocumentor-element__name" id="method_fielded">
169185
<span class="phpdocumentor-signature__visibility">public</span>
170186
<span class="phpdocumentor-signature__name">fielded</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">bool</span></code>
171187

188+
<div class="phpdocumentor-label-line">
189+
</div>
172190

173191

174192

175193

194+
<section>
176195
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
177-
<span class="phpdocumentor-signature__response_type">bool</span>
178-
&mdash;
179-
180-
181-
</article>
196+
<span class="phpdocumentor-signature__response_type">bool</span>
182197
</section>
183198

184-
185-
<script type="text/javascript">
186-
function loadExternalCodeSnippets(line) {
187-
Array.prototype.slice.call(document.querySelectorAll('pre[data-src]')).forEach((pre) => {
188-
var src = pre.getAttribute('data-src').replace( /\\/g, '/');
189-
var extension = (src.match(/\.(\w+)$/) || [, ''])[1];
190-
var language = 'php';
191-
192-
var code = document.createElement('code');
193-
code.className = 'language-' + language;
194-
195-
pre.textContent = '';
196-
197-
pre.setAttribute('data-line', line)
198-
code.textContent = 'Loading…';
199-
200-
pre.appendChild(code);
201-
202-
var xhr = new XMLHttpRequest();
199+
</article>
200+
</section>
203201

204-
xhr.open('GET', src, true);
202+
<div class="phpdocumentor-modal" id="source-view">
203+
<div class="phpdocumentor-modal-bg" data-exit-button></div>
204+
<div class="phpdocumentor-modal-container">
205+
<div class="phpdocumentor-modal-content">
206+
<pre style="max-height: 500px; overflow-y: scroll" data-src="files/source/rosette/api/IAddress.php.txt" class="language-php line-numbers linkable-line-numbers"></pre>
207+
</div>
208+
<button data-exit-button class="phpdocumentor-modal__close">&times;</button>
209+
</div>
210+
</div>
205211

206-
xhr.onreadystatechange = function () {
207-
if (xhr.readyState == 4) {
212+
<script type="text/javascript">
213+
(function () {
214+
function loadExternalCodeSnippet(el, url, line) {
215+
Array.prototype.slice.call(el.querySelectorAll('pre[data-src]')).forEach((pre) => {
216+
const src = url || pre.getAttribute('data-src').replace(/\\/g, '/');
217+
const language = 'php';
218+
219+
const code = document.createElement('code');
220+
code.className = 'language-' + language;
221+
pre.textContent = '';
222+
pre.setAttribute('data-line', line)
223+
code.textContent = 'Loading…';
224+
pre.appendChild(code);
225+
226+
var xhr = new XMLHttpRequest();
227+
228+
xhr.open('GET', src, true);
229+
230+
xhr.onreadystatechange = function () {
231+
if (xhr.readyState !== 4) {
232+
return;
233+
}
208234

209235
if (xhr.status < 400 && xhr.responseText) {
210236
code.textContent = xhr.responseText;
211-
212237
Prism.highlightElement(code);
238+
return;
213239
}
214-
else if (xhr.status >= 400) {
215-
code.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText;
240+
241+
if (xhr.status === 404) {
242+
code.textContent = '✖ Error: File could not be found';
243+
return;
216244
}
217-
else {
218-
code.textContent = '✖ Error: File does not exist, is empty or trying to view from localhost';
245+
246+
if (xhr.status >= 400) {
247+
code.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText;
248+
return;
219249
}
220-
}
221-
};
222250

223-
xhr.send(null);
224-
});
225-
}
226-
227-
var modals = document.querySelectorAll("[data-modal]");
228-
229-
modals.forEach(function (trigger) {
230-
trigger.addEventListener("click", function (event) {
231-
//event.preventDefault();
232-
const modal = document.getElementById(trigger.dataset.modal);
233-
modal.classList.add("phpdocumentor-modal__open");
234-
loadExternalCodeSnippets(trigger.dataset.line)
235-
const exits = modal.querySelectorAll("[data-exit-button]");
236-
exits.forEach(function (exit) {
237-
exit.addEventListener("click", function (event) {
238-
event.preventDefault();
239-
modal.classList.remove("phpdocumentor-modal__open");
251+
code.textContent = '✖ Error: An unknown error occurred';
252+
};
253+
254+
xhr.send(null);
255+
});
256+
}
257+
258+
const modalButtons = document.querySelectorAll("[data-modal]");
259+
const openedAsLocalFile = window.location.protocol === 'file:';
260+
if (modalButtons.length > 0 && openedAsLocalFile) {
261+
console.warn(
262+
'Viewing the source code is unavailable because you are opening this page from the file:// scheme; ' +
263+
'browsers block XHR requests when a page is opened this way'
264+
);
265+
}
266+
267+
modalButtons.forEach(function (trigger) {
268+
if (openedAsLocalFile) {
269+
trigger.setAttribute("hidden", "hidden");
270+
}
271+
272+
trigger.addEventListener("click", function (event) {
273+
event.preventDefault();
274+
const modal = document.getElementById(trigger.dataset.modal);
275+
if (!modal) {
276+
console.error(`Modal with id "${trigger.dataset.modal}" could not be found`);
277+
return;
278+
}
279+
modal.classList.add("phpdocumentor-modal__open");
280+
281+
loadExternalCodeSnippet(modal, trigger.dataset.src || null, trigger.dataset.line)
282+
const exits = modal.querySelectorAll("[data-exit-button]");
283+
exits.forEach(function (exit) {
284+
exit.addEventListener("click", function (event) {
285+
event.preventDefault();
286+
modal.classList.remove("phpdocumentor-modal__open");
287+
});
240288
});
241289
});
242290
});
243-
});
291+
})();
244292
</script>
245293

246294
</article>
247-
<section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
295+
</section>
296+
<section class="phpdocumentor-on-this-page__sidebar">
297+
298+
<section class="phpdocumentor-on-this-page__content">
299+
<strong class="phpdocumentor-on-this-page__title">On this page</strong>
300+
301+
<ul class="phpdocumentor-list -clean">
302+
<li class="phpdocumentor-on-this-page-section__title">Table Of Contents</li>
303+
<li>
304+
<ul class="phpdocumentor-list -clean">
305+
<li><a href="classes/rosette-api-IAddress.html#toc-constants">Constants</a></li>
306+
<li><a href="classes/rosette-api-IAddress.html#toc-methods">Methods</a></li>
307+
</ul>
308+
</li>
309+
<li class="phpdocumentor-on-this-page-section__title">Methods</li>
310+
<li>
311+
<ul class="phpdocumentor-list -clean">
312+
<li><a href="classes/rosette-api-IAddress.html#method_fielded">fielded()</a></li>
313+
</ul>
314+
</li>
315+
316+
</ul>
317+
</section>
318+
319+
</section>
320+
</div>
321+
<section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
248322
<section class="phpdocumentor-search-results__dialog">
249323
<header class="phpdocumentor-search-results__header">
250324
<h2 class="phpdocumentor-search-results__title">Search results</h2>
@@ -255,7 +329,6 @@ <h2 class="phpdocumentor-search-results__title">Search results</h2>
255329
</section>
256330
</section>
257331
</section>
258-
</div>
259332
</div>
260333
<a href="classes/rosette-api-IAddress.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a>
261334

0 commit comments

Comments
 (0)