5 <title>Documentation
</title>
7 <meta name=
"viewport" content=
"width=device-width, initial-scale=1.0">
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>
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>
32 <section data-search-form
class=
"phpdocumentor-search">
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"/>
39 <input type=
"search" class=
"phpdocumentor-field phpdocumentor-search__field" placeholder=
"Loading .." disabled
/>
43 <nav class=
"phpdocumentor-topnav">
44 <ul class=
"phpdocumentor-topnav__menu">
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">
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>
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>
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>
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>
84 <div class=
"phpdocumentor-column -eight phpdocumentor-content">
85 <ul class=
"phpdocumentor-breadcrumbs">
88 <article class=
"phpdocumentor-element -class">
89 <h2 class=
"phpdocumentor-content__title">
93 <div class=
"phpdocumentor-element__package">
95 <ul class=
"phpdocumentor-breadcrumbs">
96 <li class=
"phpdocumentor-breadcrumb"><a href=
"packages/Application.html">Application
</a></li>
103 <aside class=
"phpdocumentor-element-found-in">
104 <abbr class=
"phpdocumentor-element-found-in__file" title=
"dist/includes/Upload.class.php"><a href=
"files/dist-includes-upload-class.html"><abbr title=
"dist/includes/Upload.class.php">Upload.class.php
</abbr></a></abbr>
106 <span class=
"phpdocumentor-element-found-in__line">27</span>
111 <section class=
"phpdocumentor-description"></section>
122 <a href=
"#toc" class=
"headerlink"><i class=
"fas fa-link"></i></a>
125 <dl class=
"phpdocumentor-table-of-contents">
126 <dt class=
"phpdocumentor-table-of-contents__entry -property -public">
127 <a href=
"classes/Upload.html#property_FILE_EXTENSION">$FILE_EXTENSION
</a>
129 : string
</span>
133 <dt class=
"phpdocumentor-table-of-contents__entry -property -public">
134 <a href=
"classes/Upload.html#property_FILE_MIME">$FILE_MIME
</a>
136 : string
</span>
140 <dt class=
"phpdocumentor-table-of-contents__entry -property -public">
141 <a href=
"classes/Upload.html#property_FILE_NAME">$FILE_NAME
</a>
143 : string
</span>
147 <dt class=
"phpdocumentor-table-of-contents__entry -property -public">
148 <a href=
"classes/Upload.html#property_FILE_SIZE">$FILE_SIZE
</a>
150 : string
</span>
154 <dt class=
"phpdocumentor-table-of-contents__entry -property -public">
155 <a href=
"classes/Upload.html#property_IP">$IP
</a>
157 : string
</span>
161 <dt class=
"phpdocumentor-table-of-contents__entry -property -public">
162 <a href=
"classes/Upload.html#property_NEW_NAME">$NEW_NAME
</a>
164 : string
</span>
168 <dt class=
"phpdocumentor-table-of-contents__entry -property -public">
169 <a href=
"classes/Upload.html#property_NEW_NAME_FULL">$NEW_NAME_FULL
</a>
171 : string
</span>
175 <dt class=
"phpdocumentor-table-of-contents__entry -property -public">
176 <a href=
"classes/Upload.html#property_SHA1">$SHA1
</a>
178 : string
</span>
182 <dt class=
"phpdocumentor-table-of-contents__entry -property -public">
183 <a href=
"classes/Upload.html#property_TEMP_FILE">$TEMP_FILE
</a>
185 : string
</span>
189 <dt class=
"phpdocumentor-table-of-contents__entry -method -public">
190 <a href=
"classes/Upload.html#method_checkExtensionBlacklist">checkExtensionBlacklist()
</a>
192 : mixed
</span>
194 <dd>Check if file extension is blacklisted
195 if it does throw an exception.
</dd>
197 <dt class=
"phpdocumentor-table-of-contents__entry -method -public">
198 <a href=
"classes/Upload.html#method_checkMimeBlacklist">checkMimeBlacklist()
</a>
200 : mixed
</span>
204 <dt class=
"phpdocumentor-table-of-contents__entry -method -public">
205 <a href=
"classes/Upload.html#method_diverseArray">diverseArray()
</a>
207 : array
<string|int, mixed
> </span>
211 <dt class=
"phpdocumentor-table-of-contents__entry -method -public">
212 <a href=
"classes/Upload.html#method_fileInfo">fileInfo()
</a>
214 : mixed
</span>
218 <dt class=
"phpdocumentor-table-of-contents__entry -method -public">
219 <a href=
"classes/Upload.html#method_generateName">generateName()
</a>
221 : string
</span>
225 <dt class=
"phpdocumentor-table-of-contents__entry -method -public">
226 <a href=
"classes/Upload.html#method_reFiles">reFiles()
</a>
228 : array
<string|int, mixed
> </span>
232 <dt class=
"phpdocumentor-table-of-contents__entry -method -public">
233 <a href=
"classes/Upload.html#method_uploadFile">uploadFile()
</a>
235 : array
<string|int, mixed
> </span>
246 <section class=
"phpdocumentor-properties">
247 <h3 class=
"phpdocumentor-elements__header" id=
"properties">
249 <a href=
"classes/Upload.html#properties" class=
"headerlink"><i class=
"fas fa-link"></i></a>
253 phpdocumentor-element
258 <h4 class=
"phpdocumentor-element__name" id=
"property_FILE_EXTENSION">
260 <a href=
"classes/Upload.html#property_FILE_EXTENSION" class=
"headerlink"><i class=
"fas fa-link"></i></a>
261 <span class=
"phpdocumentor-element__modifiers">
264 <aside class=
"phpdocumentor-element-found-in">
265 <abbr class=
"phpdocumentor-element-found-in__file" title=
"dist/includes/Upload.class.php"><a href=
"files/dist-includes-upload-class.html"><abbr title=
"dist/includes/Upload.class.php">Upload.class.php
</abbr></a></abbr>
267 <span class=
"phpdocumentor-element-found-in__line">31</span>
272 <code class=
"phpdocumentor-code phpdocumentor-signature ">
273 <span class=
"phpdocumentor-signature__visibility">public
</span>
274 <span class=
"phpdocumentor-signature__static">static
</span> <span class=
"phpdocumentor-signature__type">string
</span>
275 <span class=
"phpdocumentor-signature__name">$FILE_EXTENSION
</span>
278 <section class=
"phpdocumentor-description"></section>
280 <section class=
"phpdocumentor-description"></section>
287 phpdocumentor-element
292 <h4 class=
"phpdocumentor-element__name" id=
"property_FILE_MIME">
294 <a href=
"classes/Upload.html#property_FILE_MIME" class=
"headerlink"><i class=
"fas fa-link"></i></a>
295 <span class=
"phpdocumentor-element__modifiers">
298 <aside class=
"phpdocumentor-element-found-in">
299 <abbr class=
"phpdocumentor-element-found-in__file" title=
"dist/includes/Upload.class.php"><a href=
"files/dist-includes-upload-class.html"><abbr title=
"dist/includes/Upload.class.php">Upload.class.php
</abbr></a></abbr>
301 <span class=
"phpdocumentor-element-found-in__line">32</span>
306 <code class=
"phpdocumentor-code phpdocumentor-signature ">
307 <span class=
"phpdocumentor-signature__visibility">public
</span>
308 <span class=
"phpdocumentor-signature__static">static
</span> <span class=
"phpdocumentor-signature__type">string
</span>
309 <span class=
"phpdocumentor-signature__name">$FILE_MIME
</span>
312 <section class=
"phpdocumentor-description"></section>
314 <section class=
"phpdocumentor-description"></section>
321 phpdocumentor-element
326 <h4 class=
"phpdocumentor-element__name" id=
"property_FILE_NAME">
328 <a href=
"classes/Upload.html#property_FILE_NAME" class=
"headerlink"><i class=
"fas fa-link"></i></a>
329 <span class=
"phpdocumentor-element__modifiers">
332 <aside class=
"phpdocumentor-element-found-in">
333 <abbr class=
"phpdocumentor-element-found-in__file" title=
"dist/includes/Upload.class.php"><a href=
"files/dist-includes-upload-class.html"><abbr title=
"dist/includes/Upload.class.php">Upload.class.php
</abbr></a></abbr>
335 <span class=
"phpdocumentor-element-found-in__line">30</span>
340 <code class=
"phpdocumentor-code phpdocumentor-signature ">
341 <span class=
"phpdocumentor-signature__visibility">public
</span>
342 <span class=
"phpdocumentor-signature__static">static
</span> <span class=
"phpdocumentor-signature__type">string
</span>
343 <span class=
"phpdocumentor-signature__name">$FILE_NAME
</span>
346 <section class=
"phpdocumentor-description"></section>
348 <section class=
"phpdocumentor-description"></section>
355 phpdocumentor-element
360 <h4 class=
"phpdocumentor-element__name" id=
"property_FILE_SIZE">
362 <a href=
"classes/Upload.html#property_FILE_SIZE" class=
"headerlink"><i class=
"fas fa-link"></i></a>
363 <span class=
"phpdocumentor-element__modifiers">
366 <aside class=
"phpdocumentor-element-found-in">
367 <abbr class=
"phpdocumentor-element-found-in__file" title=
"dist/includes/Upload.class.php"><a href=
"files/dist-includes-upload-class.html"><abbr title=
"dist/includes/Upload.class.php">Upload.class.php
</abbr></a></abbr>
369 <span class=
"phpdocumentor-element-found-in__line">38</span>
374 <code class=
"phpdocumentor-code phpdocumentor-signature ">
375 <span class=
"phpdocumentor-signature__visibility">public
</span>
376 <span class=
"phpdocumentor-signature__static">static
</span> <span class=
"phpdocumentor-signature__type">string
</span>
377 <span class=
"phpdocumentor-signature__name">$FILE_SIZE
</span>
380 <section class=
"phpdocumentor-description"></section>
382 <section class=
"phpdocumentor-description"></section>
389 phpdocumentor-element
394 <h4 class=
"phpdocumentor-element__name" id=
"property_IP">
396 <a href=
"classes/Upload.html#property_IP" class=
"headerlink"><i class=
"fas fa-link"></i></a>
397 <span class=
"phpdocumentor-element__modifiers">
400 <aside class=
"phpdocumentor-element-found-in">
401 <abbr class=
"phpdocumentor-element-found-in__file" title=
"dist/includes/Upload.class.php"><a href=
"files/dist-includes-upload-class.html"><abbr title=
"dist/includes/Upload.class.php">Upload.class.php
</abbr></a></abbr>
403 <span class=
"phpdocumentor-element-found-in__line">36</span>
408 <code class=
"phpdocumentor-code phpdocumentor-signature ">
409 <span class=
"phpdocumentor-signature__visibility">public
</span>
410 <span class=
"phpdocumentor-signature__static">static
</span> <span class=
"phpdocumentor-signature__type">string
</span>
411 <span class=
"phpdocumentor-signature__name">$IP
</span>
414 <section class=
"phpdocumentor-description"></section>
416 <section class=
"phpdocumentor-description"></section>
423 phpdocumentor-element
428 <h4 class=
"phpdocumentor-element__name" id=
"property_NEW_NAME">
430 <a href=
"classes/Upload.html#property_NEW_NAME" class=
"headerlink"><i class=
"fas fa-link"></i></a>
431 <span class=
"phpdocumentor-element__modifiers">
434 <aside class=
"phpdocumentor-element-found-in">
435 <abbr class=
"phpdocumentor-element-found-in__file" title=
"dist/includes/Upload.class.php"><a href=
"files/dist-includes-upload-class.html"><abbr title=
"dist/includes/Upload.class.php">Upload.class.php
</abbr></a></abbr>
437 <span class=
"phpdocumentor-element-found-in__line">34</span>
442 <code class=
"phpdocumentor-code phpdocumentor-signature ">
443 <span class=
"phpdocumentor-signature__visibility">public
</span>
444 <span class=
"phpdocumentor-signature__static">static
</span> <span class=
"phpdocumentor-signature__type">string
</span>
445 <span class=
"phpdocumentor-signature__name">$NEW_NAME
</span>
448 <section class=
"phpdocumentor-description"></section>
450 <section class=
"phpdocumentor-description"></section>
457 phpdocumentor-element
462 <h4 class=
"phpdocumentor-element__name" id=
"property_NEW_NAME_FULL">
464 <a href=
"classes/Upload.html#property_NEW_NAME_FULL" class=
"headerlink"><i class=
"fas fa-link"></i></a>
465 <span class=
"phpdocumentor-element__modifiers">
468 <aside class=
"phpdocumentor-element-found-in">
469 <abbr class=
"phpdocumentor-element-found-in__file" title=
"dist/includes/Upload.class.php"><a href=
"files/dist-includes-upload-class.html"><abbr title=
"dist/includes/Upload.class.php">Upload.class.php
</abbr></a></abbr>
471 <span class=
"phpdocumentor-element-found-in__line">35</span>
476 <code class=
"phpdocumentor-code phpdocumentor-signature ">
477 <span class=
"phpdocumentor-signature__visibility">public
</span>
478 <span class=
"phpdocumentor-signature__static">static
</span> <span class=
"phpdocumentor-signature__type">string
</span>
479 <span class=
"phpdocumentor-signature__name">$NEW_NAME_FULL
</span>
482 <section class=
"phpdocumentor-description"></section>
484 <section class=
"phpdocumentor-description"></section>
491 phpdocumentor-element
496 <h4 class=
"phpdocumentor-element__name" id=
"property_SHA1">
498 <a href=
"classes/Upload.html#property_SHA1" class=
"headerlink"><i class=
"fas fa-link"></i></a>
499 <span class=
"phpdocumentor-element__modifiers">
502 <aside class=
"phpdocumentor-element-found-in">
503 <abbr class=
"phpdocumentor-element-found-in__file" title=
"dist/includes/Upload.class.php"><a href=
"files/dist-includes-upload-class.html"><abbr title=
"dist/includes/Upload.class.php">Upload.class.php
</abbr></a></abbr>
505 <span class=
"phpdocumentor-element-found-in__line">33</span>
510 <code class=
"phpdocumentor-code phpdocumentor-signature ">
511 <span class=
"phpdocumentor-signature__visibility">public
</span>
512 <span class=
"phpdocumentor-signature__static">static
</span> <span class=
"phpdocumentor-signature__type">string
</span>
513 <span class=
"phpdocumentor-signature__name">$SHA1
</span>
516 <section class=
"phpdocumentor-description"></section>
518 <section class=
"phpdocumentor-description"></section>
525 phpdocumentor-element
530 <h4 class=
"phpdocumentor-element__name" id=
"property_TEMP_FILE">
532 <a href=
"classes/Upload.html#property_TEMP_FILE" class=
"headerlink"><i class=
"fas fa-link"></i></a>
533 <span class=
"phpdocumentor-element__modifiers">
536 <aside class=
"phpdocumentor-element-found-in">
537 <abbr class=
"phpdocumentor-element-found-in__file" title=
"dist/includes/Upload.class.php"><a href=
"files/dist-includes-upload-class.html"><abbr title=
"dist/includes/Upload.class.php">Upload.class.php
</abbr></a></abbr>
539 <span class=
"phpdocumentor-element-found-in__line">39</span>
544 <code class=
"phpdocumentor-code phpdocumentor-signature ">
545 <span class=
"phpdocumentor-signature__visibility">public
</span>
546 <span class=
"phpdocumentor-signature__static">static
</span> <span class=
"phpdocumentor-signature__type">string
</span>
547 <span class=
"phpdocumentor-signature__name">$TEMP_FILE
</span>
550 <section class=
"phpdocumentor-description"></section>
552 <section class=
"phpdocumentor-description"></section>
559 <section class=
"phpdocumentor-methods">
560 <h3 class=
"phpdocumentor-elements__header" id=
"methods">
562 <a href=
"classes/Upload.html#methods" class=
"headerlink"><i class=
"fas fa-link"></i></a>
565 class=
"phpdocumentor-element
570 <h4 class=
"phpdocumentor-element__name" id=
"method_checkExtensionBlacklist">
571 checkExtensionBlacklist()
572 <a href=
"classes/Upload.html#method_checkExtensionBlacklist" class=
"headerlink"><i class=
"fas fa-link"></i></a>
574 <aside class=
"phpdocumentor-element-found-in">
575 <abbr class=
"phpdocumentor-element-found-in__file" title=
"dist/includes/Upload.class.php"><a href=
"files/dist-includes-upload-class.html"><abbr title=
"dist/includes/Upload.class.php">Upload.class.php
</abbr></a></abbr>
577 <span class=
"phpdocumentor-element-found-in__line">160</span>
581 <p class=
"phpdocumentor-summary">Check if file extension is blacklisted
582 if it does throw an exception.
</p>
584 <code class=
"phpdocumentor-code phpdocumentor-signature ">
585 <span class=
"phpdocumentor-signature__visibility">public
</span>
586 <span class=
"phpdocumentor-signature__name">checkExtensionBlacklist
</span><span>(
</span><span>)
</span><span> :
</span><span class=
"phpdocumentor-signature__response_type">mixed
</span></code>
591 <h5 class=
"phpdocumentor-tag-list__heading" id=
"tags">
593 <a href=
"#tags" class=
"headerlink"><i class=
"fas fa-link"></i></a>
595 <dl class=
"phpdocumentor-tag-list">
596 <dt class=
"phpdocumentor-tag-list__entry">
597 <span class=
"phpdocumentor-tag__name">throws
</span>
599 <dd class=
"phpdocumentor-tag-list__definition">
600 <span class=
"phpdocumentor-tag-link"><abbr title=
"\Exception">Exception
</abbr></span>
606 <h5 class=
"phpdocumentor-return-value__heading">Return values
</h5>
607 <span class=
"phpdocumentor-signature__response_type">mixed
</span>
613 class=
"phpdocumentor-element
618 <h4 class=
"phpdocumentor-element__name" id=
"method_checkMimeBlacklist">
620 <a href=
"classes/Upload.html#method_checkMimeBlacklist" class=
"headerlink"><i class=
"fas fa-link"></i></a>
622 <aside class=
"phpdocumentor-element-found-in">
623 <abbr class=
"phpdocumentor-element-found-in__file" title=
"dist/includes/Upload.class.php"><a href=
"files/dist-includes-upload-class.html"><abbr title=
"dist/includes/Upload.class.php">Upload.class.php
</abbr></a></abbr>
625 <span class=
"phpdocumentor-element-found-in__line">147</span>
630 <code class=
"phpdocumentor-code phpdocumentor-signature ">
631 <span class=
"phpdocumentor-signature__visibility">public
</span>
632 <span class=
"phpdocumentor-signature__name">checkMimeBlacklist
</span><span>(
</span><span>)
</span><span> :
</span><span class=
"phpdocumentor-signature__response_type">mixed
</span></code>
637 <h5 class=
"phpdocumentor-tag-list__heading" id=
"tags">
639 <a href=
"#tags" class=
"headerlink"><i class=
"fas fa-link"></i></a>
641 <dl class=
"phpdocumentor-tag-list">
642 <dt class=
"phpdocumentor-tag-list__entry">
643 <span class=
"phpdocumentor-tag__name">throws
</span>
645 <dd class=
"phpdocumentor-tag-list__definition">
646 <span class=
"phpdocumentor-tag-link"><abbr title=
"\Exception">Exception
</abbr></span>
652 <h5 class=
"phpdocumentor-return-value__heading">Return values
</h5>
653 <span class=
"phpdocumentor-signature__response_type">mixed
</span>
659 class=
"phpdocumentor-element
664 <h4 class=
"phpdocumentor-element__name" id=
"method_diverseArray">
666 <a href=
"classes/Upload.html#method_diverseArray" class=
"headerlink"><i class=
"fas fa-link"></i></a>
668 <aside class=
"phpdocumentor-element-found-in">
669 <abbr class=
"phpdocumentor-element-found-in__file" title=
"dist/includes/Upload.class.php"><a href=
"files/dist-includes-upload-class.html"><abbr title=
"dist/includes/Upload.class.php">Upload.class.php
</abbr></a></abbr>
671 <span class=
"phpdocumentor-element-found-in__line">57</span>
676 <code class=
"phpdocumentor-code phpdocumentor-signature ">
677 <span class=
"phpdocumentor-signature__visibility">public
</span>
678 <span class=
"phpdocumentor-signature__name">diverseArray
</span><span>(
</span><span class=
"phpdocumentor-signature__argument"><span class=
"phpdocumentor-signature__argument__return-type">mixed
</span><span class=
"phpdocumentor-signature__argument__name">$files
</span></span><span>)
</span><span> :
</span><span class=
"phpdocumentor-signature__response_type">array
<string|int, mixed
></span></code>
680 <section class=
"phpdocumentor-description"></section>
682 <h5 class=
"phpdocumentor-argument-list__heading">Parameters
</h5>
683 <dl class=
"phpdocumentor-argument-list">
684 <dt class=
"phpdocumentor-argument-list__entry">
685 <span class=
"phpdocumentor-signature__argument__name">$files
</span>
686 :
<span class=
"phpdocumentor-signature__argument__return-type">mixed
</span>
688 <dd class=
"phpdocumentor-argument-list__definition">
689 <section class=
"phpdocumentor-description"></section>
696 <h5 class=
"phpdocumentor-return-value__heading">Return values
</h5>
697 <span class=
"phpdocumentor-signature__response_type">array
<string|int, mixed
></span>
703 class=
"phpdocumentor-element
708 <h4 class=
"phpdocumentor-element__name" id=
"method_fileInfo">
710 <a href=
"classes/Upload.html#method_fileInfo" class=
"headerlink"><i class=
"fas fa-link"></i></a>
712 <aside class=
"phpdocumentor-element-found-in">
713 <abbr class=
"phpdocumentor-element-found-in__file" title=
"dist/includes/Upload.class.php"><a href=
"files/dist-includes-upload-class.html"><abbr title=
"dist/includes/Upload.class.php">Upload.class.php
</abbr></a></abbr>
715 <span class=
"phpdocumentor-element-found-in__line">127</span>
720 <code class=
"phpdocumentor-code phpdocumentor-signature ">
721 <span class=
"phpdocumentor-signature__visibility">public
</span>
722 <span class=
"phpdocumentor-signature__name">fileInfo
</span><span>(
</span><span>)
</span><span> :
</span><span class=
"phpdocumentor-signature__response_type">mixed
</span></code>
724 <section class=
"phpdocumentor-description"></section>
729 <h5 class=
"phpdocumentor-return-value__heading">Return values
</h5>
730 <span class=
"phpdocumentor-signature__response_type">mixed
</span>
736 class=
"phpdocumentor-element
741 <h4 class=
"phpdocumentor-element__name" id=
"method_generateName">
743 <a href=
"classes/Upload.html#method_generateName" class=
"headerlink"><i class=
"fas fa-link"></i></a>
745 <aside class=
"phpdocumentor-element-found-in">
746 <abbr class=
"phpdocumentor-element-found-in__file" title=
"dist/includes/Upload.class.php"><a href=
"files/dist-includes-upload-class.html"><abbr title=
"dist/includes/Upload.class.php">Upload.class.php
</abbr></a></abbr>
748 <span class=
"phpdocumentor-element-found-in__line">170</span>
753 <code class=
"phpdocumentor-code phpdocumentor-signature ">
754 <span class=
"phpdocumentor-signature__visibility">public
</span>
755 <span class=
"phpdocumentor-signature__name">generateName
</span><span>(
</span><span>)
</span><span> :
</span><span class=
"phpdocumentor-signature__response_type">string
</span></code>
760 <h5 class=
"phpdocumentor-tag-list__heading" id=
"tags">
762 <a href=
"#tags" class=
"headerlink"><i class=
"fas fa-link"></i></a>
764 <dl class=
"phpdocumentor-tag-list">
765 <dt class=
"phpdocumentor-tag-list__entry">
766 <span class=
"phpdocumentor-tag__name">throws
</span>
768 <dd class=
"phpdocumentor-tag-list__definition">
769 <span class=
"phpdocumentor-tag-link"><abbr title=
"\Exception">Exception
</abbr></span>
775 <h5 class=
"phpdocumentor-return-value__heading">Return values
</h5>
776 <span class=
"phpdocumentor-signature__response_type">string
</span>
782 class=
"phpdocumentor-element
787 <h4 class=
"phpdocumentor-element__name" id=
"method_reFiles">
789 <a href=
"classes/Upload.html#method_reFiles" class=
"headerlink"><i class=
"fas fa-link"></i></a>
791 <aside class=
"phpdocumentor-element-found-in">
792 <abbr class=
"phpdocumentor-element-found-in__file" title=
"dist/includes/Upload.class.php"><a href=
"files/dist-includes-upload-class.html"><abbr title=
"dist/includes/Upload.class.php">Upload.class.php
</abbr></a></abbr>
794 <span class=
"phpdocumentor-element-found-in__line">42</span>
799 <code class=
"phpdocumentor-code phpdocumentor-signature ">
800 <span class=
"phpdocumentor-signature__visibility">public
</span>
801 <span class=
"phpdocumentor-signature__name">reFiles
</span><span>(
</span><span class=
"phpdocumentor-signature__argument"><span class=
"phpdocumentor-signature__argument__return-type">mixed
</span><span class=
"phpdocumentor-signature__argument__name">$files
</span></span><span>)
</span><span> :
</span><span class=
"phpdocumentor-signature__response_type">array
<string|int, mixed
></span></code>
803 <section class=
"phpdocumentor-description"></section>
805 <h5 class=
"phpdocumentor-argument-list__heading">Parameters
</h5>
806 <dl class=
"phpdocumentor-argument-list">
807 <dt class=
"phpdocumentor-argument-list__entry">
808 <span class=
"phpdocumentor-signature__argument__name">$files
</span>
809 :
<span class=
"phpdocumentor-signature__argument__return-type">mixed
</span>
811 <dd class=
"phpdocumentor-argument-list__definition">
812 <section class=
"phpdocumentor-description"></section>
819 <h5 class=
"phpdocumentor-return-value__heading">Return values
</h5>
820 <span class=
"phpdocumentor-signature__response_type">array
<string|int, mixed
></span>
826 class=
"phpdocumentor-element
831 <h4 class=
"phpdocumentor-element__name" id=
"method_uploadFile">
833 <a href=
"classes/Upload.html#method_uploadFile" class=
"headerlink"><i class=
"fas fa-link"></i></a>
835 <aside class=
"phpdocumentor-element-found-in">
836 <abbr class=
"phpdocumentor-element-found-in__file" title=
"dist/includes/Upload.class.php"><a href=
"files/dist-includes-upload-class.html"><abbr title=
"dist/includes/Upload.class.php">Upload.class.php
</abbr></a></abbr>
838 <span class=
"phpdocumentor-element-found-in__line">72</span>
843 <code class=
"phpdocumentor-code phpdocumentor-signature ">
844 <span class=
"phpdocumentor-signature__visibility">public
</span>
845 <span class=
"phpdocumentor-signature__name">uploadFile
</span><span>(
</span><span>)
</span><span> :
</span><span class=
"phpdocumentor-signature__response_type">array
<string|int, mixed
></span></code>
850 <h5 class=
"phpdocumentor-tag-list__heading" id=
"tags">
852 <a href=
"#tags" class=
"headerlink"><i class=
"fas fa-link"></i></a>
854 <dl class=
"phpdocumentor-tag-list">
855 <dt class=
"phpdocumentor-tag-list__entry">
856 <span class=
"phpdocumentor-tag__name">throws
</span>
858 <dd class=
"phpdocumentor-tag-list__definition">
859 <span class=
"phpdocumentor-tag-link"><abbr title=
"\Exception">Exception
</abbr></span>
865 <h5 class=
"phpdocumentor-return-value__heading">Return values
</h5>
866 <span class=
"phpdocumentor-signature__response_type">array
<string|int, mixed
></span>
874 <script type=
"text/javascript">
875 function loadExternalCodeSnippets(line) {
876 Array.prototype.slice.call(document.querySelectorAll('pre[data-src]')).forEach((pre) =
> {
877 var src = pre.getAttribute('data-src').replace( /\\/g, '/');
878 var extension = (src.match(/\.(\w+)$/) || [, ''])[
1];
879 var language = 'php';
881 var code = document.createElement('code');
882 code.className = 'language-' + language;
884 pre.textContent = '';
886 pre.setAttribute('data-line', line)
887 code.textContent = 'Loading…';
889 pre.appendChild(code);
891 var xhr = new XMLHttpRequest();
893 xhr.open('GET', src, true);
895 xhr.onreadystatechange = function () {
896 if (xhr.readyState ==
4) {
898 if (xhr.status <
400 && xhr.responseText) {
899 code.textContent = xhr.responseText;
901 Prism.highlightElement(code);
903 else if (xhr.status
>=
400) {
904 code.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText;
907 code.textContent = '✖ Error: File does not exist, is empty or trying to view from localhost';
916 var modals = document.querySelectorAll("[data-modal]");
918 modals.forEach(function (trigger) {
919 trigger.addEventListener("click", function (event) {
920 //event.preventDefault();
921 const modal = document.getElementById(trigger.dataset.modal);
922 modal.classList.add("phpdocumentor-modal__open");
923 loadExternalCodeSnippets(trigger.dataset.line)
924 const exits = modal.querySelectorAll("[data-exit-button]");
925 exits.forEach(function (exit) {
926 exit.addEventListener("click", function (event) {
927 event.preventDefault();
928 modal.classList.remove("phpdocumentor-modal__open");
936 <section data-search-results
class=
"phpdocumentor-search-results phpdocumentor-search-results--hidden">
937 <section class=
"phpdocumentor-search-results__dialog">
938 <header class=
"phpdocumentor-search-results__header">
939 <h2 class=
"phpdocumentor-search-results__title">Search results
</h2>
940 <button class=
"phpdocumentor-search-results__close"><i class=
"fas fa-times"></i></button>
942 <section class=
"phpdocumentor-search-results__body">
943 <ul class=
"phpdocumentor-search-results__entries"></ul>
949 <a href=
"classes/Upload.html#top" class=
"phpdocumentor-back-to-top"><i class=
"fas fa-chevron-circle-up"></i></a>
956 <script src=
"https://cdn.jsdelivr.net/npm/prismjs@1.23.0/prism.min.js"></script>
957 <script src=
"https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/autoloader/prism-autoloader.min.js"></script>
958 <script src=
"https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.min.js"></script>
959 <script src=
"https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.min.js"></script>