]>
Commit | Line | Data |
---|---|---|
2d0bf4f3 GJ |
1 | <!DOCTYPE html> |
2 | <html lang="en"> | |
3 | <head> | |
4 | <meta charset="utf-8"> | |
5 | <title>Documentation</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=Source+Sans+Pro:wght@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/prismjs@1.23.0/themes/prism-okaidia.css"> | |
18 | <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.css"> | |
19 | <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.css"> | |
20 | <script src="https://cdn.jsdelivr.net/npm/fuse.js@3.4.6"></script> | |
21 | <script src="https://cdn.jsdelivr.net/npm/css-vars-ponyfill@2"></script> | |
22 | <script src="js/search.js"></script> | |
23 | <script defer src="js/searchIndex.js"></script> | |
24 | </head> | |
25 | <body id="top"> | |
26 | <header class="phpdocumentor-header phpdocumentor-section"> | |
27 | <h1 class="phpdocumentor-title"><a href="" class="phpdocumentor-title__link">Documentation</a></h1> | |
28 | <input class="phpdocumentor-header__menu-button" type="checkbox" id="menu-button" name="menu-button" /> | |
29 | <label class="phpdocumentor-header__menu-icon" for="menu-button"> | |
30 | <i class="fas fa-bars"></i> | |
31 | </label> | |
32 | <section data-search-form class="phpdocumentor-search"> | |
33 | <label> | |
34 | <span class="visually-hidden">Search for</span> | |
35 | <svg class="phpdocumentor-search__icon" width="21" height="20" viewBox="0 0 21 20" fill="none" xmlns="http://www.w3.org/2000/svg"> | |
36 | <circle cx="7.5" cy="7.5" r="6.5" stroke="currentColor" stroke-width="2"/> | |
37 | <line x1="12.4892" y1="12.2727" x2="19.1559" y2="18.9393" stroke="currentColor" stroke-width="3"/> | |
38 | </svg> | |
39 | <input type="search" class="phpdocumentor-field phpdocumentor-search__field" placeholder="Loading .." disabled /> | |
40 | </label> | |
41 | </section> | |
42 | ||
43 | <nav class="phpdocumentor-topnav"> | |
44 | <ul class="phpdocumentor-topnav__menu"> | |
45 | </ul> | |
46 | </nav> | |
47 | </header> | |
48 | ||
49 | <main class="phpdocumentor"> | |
50 | <div class="phpdocumentor-section"> | |
51 | <input class="phpdocumentor-sidebar__menu-button" type="checkbox" id="sidebar-button" name="sidebar-button" /> | |
52 | <label class="phpdocumentor-sidebar__menu-icon" for="sidebar-button"> | |
53 | Menu | |
54 | </label> | |
55 | <aside class="phpdocumentor-column -four phpdocumentor-sidebar"> | |
56 | <section class="phpdocumentor-sidebar__category"> | |
57 | <h2 class="phpdocumentor-sidebar__category-header">Namespaces</h2> | |
58 | <h4 class="phpdocumentor-sidebar__root-namespace"> | |
59 | <a href="namespaces/core.html" class="">Core</a> | |
60 | </h4> | |
61 | ||
62 | </section> | |
63 | <section class="phpdocumentor-sidebar__category"> | |
64 | <h2 class="phpdocumentor-sidebar__category-header">Packages</h2> | |
65 | <h4 class="phpdocumentor-sidebar__root-namespace"> | |
66 | <a href="packages/Application.html" class="">Application</a> | |
67 | </h4> | |
68 | ||
69 | </section> | |
70 | ||
71 | <section class="phpdocumentor-sidebar__category"> | |
72 | <h2 class="phpdocumentor-sidebar__category-header">Reports</h2> | |
73 | <h3 class="phpdocumentor-sidebar__root-package"><a href="reports/deprecated.html">Deprecated</a></h3> | |
74 | <h3 class="phpdocumentor-sidebar__root-package"><a href="reports/errors.html">Errors</a></h3> | |
75 | <h3 class="phpdocumentor-sidebar__root-package"><a href="reports/markers.html">Markers</a></h3> | |
76 | </section> | |
77 | ||
78 | <section class="phpdocumentor-sidebar__category"> | |
79 | <h2 class="phpdocumentor-sidebar__category-header">Indices</h2> | |
80 | <h3 class="phpdocumentor-sidebar__root-package"><a href="indices/files.html">Files</a></h3> | |
81 | </section> | |
82 | </aside> | |
83 | ||
84 | <div class="phpdocumentor-column -eight phpdocumentor-content"> | |
85 | <ul class="phpdocumentor-breadcrumbs"> | |
86 | <li class="phpdocumentor-breadcrumb"><a href="namespaces/core.html">Core</a></li> | |
87 | </ul> | |
88 | ||
89 | <article class="phpdocumentor-element -class"> | |
90 | <h2 class="phpdocumentor-content__title"> | |
91 | Database | |
92 | ||
93 | ||
94 | <div class="phpdocumentor-element__package"> | |
95 | in package | |
96 | <ul class="phpdocumentor-breadcrumbs"> | |
97 | <li class="phpdocumentor-breadcrumb"><a href="packages/Application.html">Application</a></li> | |
98 | </ul> | |
99 | </div> | |
100 | ||
101 | ||
102 | </h2> | |
103 | ||
104 | <aside class="phpdocumentor-element-found-in"> | |
105 | <abbr class="phpdocumentor-element-found-in__file" title="dist/includes/Core.namespace.php"><a href="files/dist-includes-core-namespace.html"><abbr title="dist/includes/Core.namespace.php">Core.namespace.php</abbr></a></abbr> | |
106 | : | |
107 | <span class="phpdocumentor-element-found-in__line">266</span> | |
108 | ||
109 | </aside> | |
110 | ||
111 | ||
112 | <section class="phpdocumentor-description"></section> | |
113 | ||
114 | ||
115 | ||
116 | ||
117 | ||
118 | ||
119 | ||
120 | ||
121 | <h3 id="toc"> | |
122 | Table of Contents | |
123 | <a href="#toc" class="headerlink"><i class="fas fa-link"></i></a> | |
124 | </h3> | |
125 | ||
126 | <dl class="phpdocumentor-table-of-contents"> | |
127 | <dt class="phpdocumentor-table-of-contents__entry -method -public"> | |
128 | <a href="classes/Core-Database.html#method_antiDupe">antiDupe()</a> | |
129 | <span> | |
130 | : mixed </span> | |
131 | </dt> | |
132 | <dd></dd> | |
133 | ||
134 | <dt class="phpdocumentor-table-of-contents__entry -method -public"> | |
135 | <a href="classes/Core-Database.html#method_assemblePDO">assemblePDO()</a> | |
136 | <span> | |
137 | : mixed </span> | |
138 | </dt> | |
139 | <dd></dd> | |
140 | ||
141 | <dt class="phpdocumentor-table-of-contents__entry -method -public"> | |
142 | <a href="classes/Core-Database.html#method_checkFileBlacklist">checkFileBlacklist()</a> | |
143 | <span> | |
144 | : mixed </span> | |
145 | </dt> | |
146 | <dd></dd> | |
147 | ||
148 | <dt class="phpdocumentor-table-of-contents__entry -method -public"> | |
149 | <a href="classes/Core-Database.html#method_dbCheckNameExists">dbCheckNameExists()</a> | |
150 | <span> | |
151 | : mixed </span> | |
152 | </dt> | |
153 | <dd></dd> | |
154 | ||
155 | <dt class="phpdocumentor-table-of-contents__entry -method -public"> | |
156 | <a href="classes/Core-Database.html#method_newIntoDB">newIntoDB()</a> | |
157 | <span> | |
158 | : mixed </span> | |
159 | </dt> | |
160 | <dd></dd> | |
161 | ||
162 | </dl> | |
163 | ||
164 | ||
165 | ||
166 | ||
167 | ||
168 | ||
169 | ||
170 | <section class="phpdocumentor-methods"> | |
171 | <h3 class="phpdocumentor-elements__header" id="methods"> | |
172 | Methods | |
173 | <a href="classes/Core-Database.html#methods" class="headerlink"><i class="fas fa-link"></i></a> | |
174 | </h3> | |
175 | <article | |
176 | class="phpdocumentor-element | |
177 | -method | |
178 | -public | |
179 | " | |
180 | > | |
181 | <h4 class="phpdocumentor-element__name" id="method_antiDupe"> | |
182 | antiDupe() | |
183 | <a href="classes/Core-Database.html#method_antiDupe" class="headerlink"><i class="fas fa-link"></i></a> | |
184 | </h4> | |
185 | <aside class="phpdocumentor-element-found-in"> | |
186 | <abbr class="phpdocumentor-element-found-in__file" title="dist/includes/Core.namespace.php"><a href="files/dist-includes-core-namespace.html"><abbr title="dist/includes/Core.namespace.php">Core.namespace.php</abbr></a></abbr> | |
187 | : | |
188 | <span class="phpdocumentor-element-found-in__line">319</span> | |
189 | ||
190 | </aside> | |
191 | ||
192 | ||
193 | <code class="phpdocumentor-code phpdocumentor-signature "> | |
194 | <span class="phpdocumentor-signature__visibility">public</span> | |
195 | <span class="phpdocumentor-signature__name">antiDupe</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code> | |
196 | ||
197 | ||
198 | ||
199 | ||
200 | <h5 class="phpdocumentor-tag-list__heading" id="tags"> | |
201 | Tags | |
202 | <a href="#tags" class="headerlink"><i class="fas fa-link"></i></a> | |
203 | </h5> | |
204 | <dl class="phpdocumentor-tag-list"> | |
205 | <dt class="phpdocumentor-tag-list__entry"> | |
206 | <span class="phpdocumentor-tag__name">throws</span> | |
207 | </dt> | |
208 | <dd class="phpdocumentor-tag-list__definition"> | |
209 | <span class="phpdocumentor-tag-link"><abbr title="\Exception">Exception</abbr></span> | |
210 | ||
211 | ||
212 | </dd> | |
213 | </dl> | |
214 | ||
215 | <h5 class="phpdocumentor-return-value__heading">Return values</h5> | |
216 | <span class="phpdocumentor-signature__response_type">mixed</span> | |
217 | — | |
218 | ||
219 | ||
220 | </article> | |
221 | <article | |
222 | class="phpdocumentor-element | |
223 | -method | |
224 | -public | |
225 | -static " | |
226 | > | |
227 | <h4 class="phpdocumentor-element__name" id="method_assemblePDO"> | |
228 | assemblePDO() | |
229 | <a href="classes/Core-Database.html#method_assemblePDO" class="headerlink"><i class="fas fa-link"></i></a> | |
230 | </h4> | |
231 | <aside class="phpdocumentor-element-found-in"> | |
232 | <abbr class="phpdocumentor-element-found-in__file" title="dist/includes/Core.namespace.php"><a href="files/dist-includes-core-namespace.html"><abbr title="dist/includes/Core.namespace.php">Core.namespace.php</abbr></a></abbr> | |
233 | : | |
234 | <span class="phpdocumentor-element-found-in__line">271</span> | |
235 | ||
236 | </aside> | |
237 | ||
238 | ||
239 | <code class="phpdocumentor-code phpdocumentor-signature "> | |
240 | <span class="phpdocumentor-signature__visibility">public</span> | |
241 | <span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">assemblePDO</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code> | |
242 | ||
243 | ||
244 | ||
245 | ||
246 | <h5 class="phpdocumentor-tag-list__heading" id="tags"> | |
247 | Tags | |
248 | <a href="#tags" class="headerlink"><i class="fas fa-link"></i></a> | |
249 | </h5> | |
250 | <dl class="phpdocumentor-tag-list"> | |
251 | <dt class="phpdocumentor-tag-list__entry"> | |
252 | <span class="phpdocumentor-tag__name">throws</span> | |
253 | </dt> | |
254 | <dd class="phpdocumentor-tag-list__definition"> | |
255 | <span class="phpdocumentor-tag-link"><abbr title="\Exception">Exception</abbr></span> | |
256 | ||
257 | ||
258 | </dd> | |
259 | </dl> | |
260 | ||
261 | <h5 class="phpdocumentor-return-value__heading">Return values</h5> | |
262 | <span class="phpdocumentor-signature__response_type">mixed</span> | |
263 | — | |
264 | ||
265 | ||
266 | </article> | |
267 | <article | |
268 | class="phpdocumentor-element | |
269 | -method | |
270 | -public | |
271 | " | |
272 | > | |
273 | <h4 class="phpdocumentor-element__name" id="method_checkFileBlacklist"> | |
274 | checkFileBlacklist() | |
275 | <a href="classes/Core-Database.html#method_checkFileBlacklist" class="headerlink"><i class="fas fa-link"></i></a> | |
276 | </h4> | |
277 | <aside class="phpdocumentor-element-found-in"> | |
278 | <abbr class="phpdocumentor-element-found-in__file" title="dist/includes/Core.namespace.php"><a href="files/dist-includes-core-namespace.html"><abbr title="dist/includes/Core.namespace.php">Core.namespace.php</abbr></a></abbr> | |
279 | : | |
280 | <span class="phpdocumentor-element-found-in__line">301</span> | |
281 | ||
282 | </aside> | |
283 | ||
284 | ||
285 | <code class="phpdocumentor-code phpdocumentor-signature "> | |
286 | <span class="phpdocumentor-signature__visibility">public</span> | |
287 | <span class="phpdocumentor-signature__name">checkFileBlacklist</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code> | |
288 | ||
289 | ||
290 | ||
291 | ||
292 | <h5 class="phpdocumentor-tag-list__heading" id="tags"> | |
293 | Tags | |
294 | <a href="#tags" class="headerlink"><i class="fas fa-link"></i></a> | |
295 | </h5> | |
296 | <dl class="phpdocumentor-tag-list"> | |
297 | <dt class="phpdocumentor-tag-list__entry"> | |
298 | <span class="phpdocumentor-tag__name">throws</span> | |
299 | </dt> | |
300 | <dd class="phpdocumentor-tag-list__definition"> | |
301 | <span class="phpdocumentor-tag-link"><abbr title="\Exception">Exception</abbr></span> | |
302 | ||
303 | ||
304 | </dd> | |
305 | </dl> | |
306 | ||
307 | <h5 class="phpdocumentor-return-value__heading">Return values</h5> | |
308 | <span class="phpdocumentor-signature__response_type">mixed</span> | |
309 | — | |
310 | ||
311 | ||
312 | </article> | |
313 | <article | |
314 | class="phpdocumentor-element | |
315 | -method | |
316 | -public | |
317 | " | |
318 | > | |
319 | <h4 class="phpdocumentor-element__name" id="method_dbCheckNameExists"> | |
320 | dbCheckNameExists() | |
321 | <a href="classes/Core-Database.html#method_dbCheckNameExists" class="headerlink"><i class="fas fa-link"></i></a> | |
322 | </h4> | |
323 | <aside class="phpdocumentor-element-found-in"> | |
324 | <abbr class="phpdocumentor-element-found-in__file" title="dist/includes/Core.namespace.php"><a href="files/dist-includes-core-namespace.html"><abbr title="dist/includes/Core.namespace.php">Core.namespace.php</abbr></a></abbr> | |
325 | : | |
326 | <span class="phpdocumentor-element-found-in__line">286</span> | |
327 | ||
328 | </aside> | |
329 | ||
330 | ||
331 | <code class="phpdocumentor-code phpdocumentor-signature "> | |
332 | <span class="phpdocumentor-signature__visibility">public</span> | |
333 | <span class="phpdocumentor-signature__name">dbCheckNameExists</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code> | |
334 | ||
335 | ||
336 | ||
337 | ||
338 | <h5 class="phpdocumentor-tag-list__heading" id="tags"> | |
339 | Tags | |
340 | <a href="#tags" class="headerlink"><i class="fas fa-link"></i></a> | |
341 | </h5> | |
342 | <dl class="phpdocumentor-tag-list"> | |
343 | <dt class="phpdocumentor-tag-list__entry"> | |
344 | <span class="phpdocumentor-tag__name">throws</span> | |
345 | </dt> | |
346 | <dd class="phpdocumentor-tag-list__definition"> | |
347 | <span class="phpdocumentor-tag-link"><abbr title="\Exception">Exception</abbr></span> | |
348 | ||
349 | ||
350 | </dd> | |
351 | </dl> | |
352 | ||
353 | <h5 class="phpdocumentor-return-value__heading">Return values</h5> | |
354 | <span class="phpdocumentor-signature__response_type">mixed</span> | |
355 | — | |
356 | ||
357 | ||
358 | </article> | |
359 | <article | |
360 | class="phpdocumentor-element | |
361 | -method | |
362 | -public | |
363 | " | |
364 | > | |
365 | <h4 class="phpdocumentor-element__name" id="method_newIntoDB"> | |
366 | newIntoDB() | |
367 | <a href="classes/Core-Database.html#method_newIntoDB" class="headerlink"><i class="fas fa-link"></i></a> | |
368 | </h4> | |
369 | <aside class="phpdocumentor-element-found-in"> | |
370 | <abbr class="phpdocumentor-element-found-in__file" title="dist/includes/Core.namespace.php"><a href="files/dist-includes-core-namespace.html"><abbr title="dist/includes/Core.namespace.php">Core.namespace.php</abbr></a></abbr> | |
371 | : | |
372 | <span class="phpdocumentor-element-found-in__line">340</span> | |
373 | ||
374 | </aside> | |
375 | ||
376 | ||
377 | <code class="phpdocumentor-code phpdocumentor-signature "> | |
378 | <span class="phpdocumentor-signature__visibility">public</span> | |
379 | <span class="phpdocumentor-signature__name">newIntoDB</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code> | |
380 | ||
381 | ||
382 | ||
383 | ||
384 | <h5 class="phpdocumentor-tag-list__heading" id="tags"> | |
385 | Tags | |
386 | <a href="#tags" class="headerlink"><i class="fas fa-link"></i></a> | |
387 | </h5> | |
388 | <dl class="phpdocumentor-tag-list"> | |
389 | <dt class="phpdocumentor-tag-list__entry"> | |
390 | <span class="phpdocumentor-tag__name">throws</span> | |
391 | </dt> | |
392 | <dd class="phpdocumentor-tag-list__definition"> | |
393 | <span class="phpdocumentor-tag-link"><abbr title="\Exception">Exception</abbr></span> | |
394 | ||
395 | ||
396 | </dd> | |
397 | </dl> | |
398 | ||
399 | <h5 class="phpdocumentor-return-value__heading">Return values</h5> | |
400 | <span class="phpdocumentor-signature__response_type">mixed</span> | |
401 | — | |
402 | ||
403 | ||
404 | </article> | |
405 | </section> | |
406 | ||
407 | ||
408 | <script type="text/javascript"> | |
409 | function loadExternalCodeSnippets(line) { | |
410 | Array.prototype.slice.call(document.querySelectorAll('pre[data-src]')).forEach((pre) => { | |
411 | var src = pre.getAttribute('data-src').replace( /\\/g, '/'); | |
412 | var extension = (src.match(/\.(\w+)$/) || [, ''])[1]; | |
413 | var language = 'php'; | |
414 | ||
415 | var code = document.createElement('code'); | |
416 | code.className = 'language-' + language; | |
417 | ||
418 | pre.textContent = ''; | |
419 | ||
420 | pre.setAttribute('data-line', line) | |
421 | code.textContent = 'Loading…'; | |
422 | ||
423 | pre.appendChild(code); | |
424 | ||
425 | var xhr = new XMLHttpRequest(); | |
426 | ||
427 | xhr.open('GET', src, true); | |
428 | ||
429 | xhr.onreadystatechange = function () { | |
430 | if (xhr.readyState == 4) { | |
431 | ||
432 | if (xhr.status < 400 && xhr.responseText) { | |
433 | code.textContent = xhr.responseText; | |
434 | ||
435 | Prism.highlightElement(code); | |
436 | } | |
437 | else if (xhr.status >= 400) { | |
438 | code.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText; | |
439 | } | |
440 | else { | |
441 | code.textContent = '✖ Error: File does not exist, is empty or trying to view from localhost'; | |
442 | } | |
443 | } | |
444 | }; | |
445 | ||
446 | xhr.send(null); | |
447 | }); | |
448 | } | |
449 | ||
450 | var modals = document.querySelectorAll("[data-modal]"); | |
451 | ||
452 | modals.forEach(function (trigger) { | |
453 | trigger.addEventListener("click", function (event) { | |
454 | //event.preventDefault(); | |
455 | const modal = document.getElementById(trigger.dataset.modal); | |
456 | modal.classList.add("phpdocumentor-modal__open"); | |
457 | loadExternalCodeSnippets(trigger.dataset.line) | |
458 | const exits = modal.querySelectorAll("[data-exit-button]"); | |
459 | exits.forEach(function (exit) { | |
460 | exit.addEventListener("click", function (event) { | |
461 | event.preventDefault(); | |
462 | modal.classList.remove("phpdocumentor-modal__open"); | |
463 | }); | |
464 | }); | |
465 | }); | |
466 | }); | |
467 | </script> | |
468 | ||
469 | </article> | |
470 | <section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden"> | |
471 | <section class="phpdocumentor-search-results__dialog"> | |
472 | <header class="phpdocumentor-search-results__header"> | |
473 | <h2 class="phpdocumentor-search-results__title">Search results</h2> | |
474 | <button class="phpdocumentor-search-results__close"><i class="fas fa-times"></i></button> | |
475 | </header> | |
476 | <section class="phpdocumentor-search-results__body"> | |
477 | <ul class="phpdocumentor-search-results__entries"></ul> | |
478 | </section> | |
479 | </section> | |
480 | </section> | |
481 | </div> | |
482 | </div> | |
483 | <a href="classes/Core-Database.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a> | |
484 | ||
485 | </main> | |
486 | ||
487 | <script> | |
488 | cssVars({}); | |
489 | </script> | |
490 | <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/prism.min.js"></script> | |
491 | <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/autoloader/prism-autoloader.min.js"></script> | |
492 | <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.min.js"></script> | |
493 | <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.min.js"></script> | |
494 | </body> | |
495 | </html> |