chillerlan-QRCode-Common-EccLevel.html 43 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <title>Documentation</title>
  6. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  7. <base href="../">
  8. <link rel="icon" href="images/favicon.ico"/>
  9. <link rel="stylesheet" href="css/normalize.css">
  10. <link rel="stylesheet" href="css/base.css">
  11. <link rel="preconnect" href="https://fonts.gstatic.com">
  12. <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=Source+Code+Pro:wght@400;600;700&display=swap" rel="stylesheet">
  14. <link rel="stylesheet" href="css/template.css">
  15. <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" />
  16. <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/themes/prism-okaidia.css">
  17. <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.css">
  18. <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.css">
  19. <script src="https://cdn.jsdelivr.net/npm/fuse.js@3.4.6"></script>
  20. <script src="https://cdn.jsdelivr.net/npm/css-vars-ponyfill@2"></script>
  21. <script src="js/search.js"></script>
  22. <script defer src="js/searchIndex.js"></script>
  23. </head>
  24. <body id="top">
  25. <header class="phpdocumentor-header phpdocumentor-section">
  26. <h1 class="phpdocumentor-title"><a href="" class="phpdocumentor-title__link">Documentation</a></h1>
  27. <input class="phpdocumentor-header__menu-button" type="checkbox" id="menu-button" name="menu-button" />
  28. <label class="phpdocumentor-header__menu-icon" for="menu-button">
  29. <i class="fas fa-bars"></i>
  30. </label>
  31. <section data-search-form class="phpdocumentor-search">
  32. <label>
  33. <span class="visually-hidden">Search for</span>
  34. <svg class="phpdocumentor-search__icon" width="21" height="20" viewBox="0 0 21 20" fill="none" xmlns="http://www.w3.org/2000/svg">
  35. <circle cx="7.5" cy="7.5" r="6.5" stroke="currentColor" stroke-width="2"/>
  36. <line x1="12.4892" y1="12.2727" x2="19.1559" y2="18.9393" stroke="currentColor" stroke-width="3"/>
  37. </svg>
  38. <input type="search" class="phpdocumentor-field phpdocumentor-search__field" placeholder="Loading .." disabled />
  39. </label>
  40. </section>
  41. <nav class="phpdocumentor-topnav">
  42. <ul class="phpdocumentor-topnav__menu">
  43. </ul>
  44. </nav>
  45. </header>
  46. <main class="phpdocumentor">
  47. <div class="phpdocumentor-section">
  48. <input class="phpdocumentor-sidebar__menu-button" type="checkbox" id="sidebar-button" name="sidebar-button" />
  49. <label class="phpdocumentor-sidebar__menu-icon" for="sidebar-button">
  50. Menu
  51. </label>
  52. <aside class="phpdocumentor-column -four phpdocumentor-sidebar">
  53. <section class="phpdocumentor-sidebar__category">
  54. <h2 class="phpdocumentor-sidebar__category-header">Namespaces</h2>
  55. <h4 class="phpdocumentor-sidebar__root-namespace"><a href="namespaces/chillerlan.html">chillerlan</a></h4>
  56. <ul class="phpdocumentor-list">
  57. <li>
  58. <a href="namespaces/chillerlan-qrcode.html">QRCode</a>
  59. </li>
  60. <li>
  61. <a href="namespaces/chillerlan-qrcodetest.html">QRCodeTest</a>
  62. </li>
  63. </ul>
  64. </section>
  65. <section class="phpdocumentor-sidebar__category">
  66. <h2 class="phpdocumentor-sidebar__category-header">Packages</h2>
  67. <h4 class="phpdocumentor-sidebar__root-namespace"><a href="packages/Application.html">Application</a></h4>
  68. </section>
  69. <section class="phpdocumentor-sidebar__category">
  70. <h2 class="phpdocumentor-sidebar__category-header">Reports</h2>
  71. <h3 class="phpdocumentor-sidebar__root-package"><a href="reports/deprecated.html">Deprecated</a></h3>
  72. <h3 class="phpdocumentor-sidebar__root-package"><a href="reports/errors.html">Errors</a></h3>
  73. <h3 class="phpdocumentor-sidebar__root-package"><a href="reports/markers.html">Markers</a></h3>
  74. </section>
  75. <section class="phpdocumentor-sidebar__category">
  76. <h2 class="phpdocumentor-sidebar__category-header">Indices</h2>
  77. <h3 class="phpdocumentor-sidebar__root-package"><a href="indices/files.html">Files</a></h3>
  78. </section>
  79. </aside>
  80. <div class="phpdocumentor-column -eight phpdocumentor-content">
  81. <ul class="phpdocumentor-breadcrumbs">
  82. <li class="phpdocumentor-breadcrumb"><a href="namespaces/chillerlan.html">chillerlan</a></li>
  83. <li class="phpdocumentor-breadcrumb"><a href="namespaces/chillerlan-qrcode.html">QRCode</a></li>
  84. <li class="phpdocumentor-breadcrumb"><a href="namespaces/chillerlan-qrcode-common.html">Common</a></li>
  85. </ul>
  86. <article class="phpdocumentor-element -class">
  87. <h2 class="phpdocumentor-content__title">
  88. EccLevel
  89. <div class="phpdocumentor-element__package">
  90. in package
  91. <ul class="phpdocumentor-breadcrumbs">
  92. <li class="phpdocumentor-breadcrumb"><a href="packages/Application.html">Application</a></li>
  93. </ul>
  94. </div>
  95. </h2>
  96. <aside class="phpdocumentor-element-found-in">
  97. <abbr class="phpdocumentor-element-found-in__file" title="src/Common/EccLevel.php"><a href="files/src-common-ecclevel.html"><abbr title="src/Common/EccLevel.php">EccLevel.php</abbr></a></abbr>
  98. :
  99. <span class="phpdocumentor-element-found-in__line">20</span>
  100. </aside>
  101. <h3 id="toc">
  102. Table of Contents
  103. <a href="#toc" class="headerlink"><i class="fas fa-link"></i></a>
  104. </h3>
  105. <dl class="phpdocumentor-table-of-contents">
  106. <dt class="phpdocumentor-table-of-contents__entry -constant -public">
  107. <a href="classes/chillerlan-QRCode-Common-EccLevel.html#constant_H">H</a>
  108. <span>
  109. &nbsp;= 0b10 </span>
  110. </dt>
  111. <dd></dd>
  112. <dt class="phpdocumentor-table-of-contents__entry -constant -public">
  113. <a href="classes/chillerlan-QRCode-Common-EccLevel.html#constant_L">L</a>
  114. <span>
  115. &nbsp;= 0b1 </span>
  116. </dt>
  117. <dd></dd>
  118. <dt class="phpdocumentor-table-of-contents__entry -constant -public">
  119. <a href="classes/chillerlan-QRCode-Common-EccLevel.html#constant_M">M</a>
  120. <span>
  121. &nbsp;= 0b0 </span>
  122. </dt>
  123. <dd></dd>
  124. <dt class="phpdocumentor-table-of-contents__entry -constant -public">
  125. <a href="classes/chillerlan-QRCode-Common-EccLevel.html#constant_MODES">MODES</a>
  126. <span>
  127. &nbsp;= [self::L =&gt; 0, self::M =&gt; 1, self::Q =&gt; 2, self::H =&gt; 3] </span>
  128. </dt>
  129. <dd>References to the keys of the following tables:</dd>
  130. <dt class="phpdocumentor-table-of-contents__entry -constant -public">
  131. <a href="classes/chillerlan-QRCode-Common-EccLevel.html#constant_MODES_STRING">MODES_STRING</a>
  132. <span>
  133. &nbsp;= [self::L =&gt; &#039;L&#039;, self::M =&gt; &#039;M&#039;, self::Q =&gt; &#039;Q&#039;, self::H =&gt; &#039;H&#039;] </span>
  134. </dt>
  135. <dd></dd>
  136. <dt class="phpdocumentor-table-of-contents__entry -constant -public">
  137. <a href="classes/chillerlan-QRCode-Common-EccLevel.html#constant_Q">Q</a>
  138. <span>
  139. &nbsp;= 0b11 </span>
  140. </dt>
  141. <dd></dd>
  142. <dt class="phpdocumentor-table-of-contents__entry -constant -private">
  143. <a href="classes/chillerlan-QRCode-Common-EccLevel.html#constant_FORMAT_PATTERN">FORMAT_PATTERN</a>
  144. <span>
  145. &nbsp;= [[
  146. // L
  147. 0b111011111000100,
  148. 0b111001011110011,
  149. 0b111110110101010,
  150. 0b111100010011101,
  151. 0b110011000101111,
  152. 0b110001100011000,
  153. 0b110110001000001,
  154. 0b110100101110110,
  155. ], [
  156. // M
  157. 0b101010000010010,
  158. 0b101000100100101,
  159. 0b101111001111100,
  160. 0b101101101001011,
  161. 0b100010111111001,
  162. 0b100000011001110,
  163. 0b100111110010111,
  164. 0b100101010100000,
  165. ], [
  166. // Q
  167. 0b11010101011111,
  168. 0b11000001101000,
  169. 0b11111100110001,
  170. 0b11101000000110,
  171. 0b10010010110100,
  172. 0b10000110000011,
  173. 0b10111011011010,
  174. 0b10101111101101,
  175. ], [
  176. // H
  177. 0b1011010001001,
  178. 0b1001110111110,
  179. 0b1110011100111,
  180. 0b1100111010000,
  181. 0b11101100010,
  182. 0b1001010101,
  183. 0b110100001100,
  184. 0b100000111011,
  185. ]] </span>
  186. </dt>
  187. <dd>ISO/IEC 18004:2000 Section 8.9 - Format Information</dd>
  188. <dt class="phpdocumentor-table-of-contents__entry -constant -private">
  189. <a href="classes/chillerlan-QRCode-Common-EccLevel.html#constant_MAX_BITS">MAX_BITS</a>
  190. <span>
  191. &nbsp;= [
  192. // v =&gt; [ L, M, Q, H] // modules
  193. 1 =&gt; [152, 128, 104, 72],
  194. // 21
  195. 2 =&gt; [272, 224, 176, 128],
  196. // 25
  197. 3 =&gt; [440, 352, 272, 208],
  198. // 29
  199. 4 =&gt; [640, 512, 384, 288],
  200. // 33
  201. 5 =&gt; [864, 688, 496, 368],
  202. // 37
  203. 6 =&gt; [1088, 864, 608, 480],
  204. // 41
  205. 7 =&gt; [1248, 992, 704, 528],
  206. // 45
  207. 8 =&gt; [1552, 1232, 880, 688],
  208. // 49
  209. 9 =&gt; [1856, 1456, 1056, 800],
  210. // 53
  211. 10 =&gt; [2192, 1728, 1232, 976],
  212. // 57
  213. 11 =&gt; [2592, 2032, 1440, 1120],
  214. // 61
  215. 12 =&gt; [2960, 2320, 1648, 1264],
  216. // 65
  217. 13 =&gt; [3424, 2672, 1952, 1440],
  218. // 69 NICE!
  219. 14 =&gt; [3688, 2920, 2088, 1576],
  220. // 73
  221. 15 =&gt; [4184, 3320, 2360, 1784],
  222. // 77
  223. 16 =&gt; [4712, 3624, 2600, 2024],
  224. // 81
  225. 17 =&gt; [5176, 4056, 2936, 2264],
  226. // 85
  227. 18 =&gt; [5768, 4504, 3176, 2504],
  228. // 89
  229. 19 =&gt; [6360, 5016, 3560, 2728],
  230. // 93
  231. 20 =&gt; [6888, 5352, 3880, 3080],
  232. // 97
  233. 21 =&gt; [7456, 5712, 4096, 3248],
  234. // 101
  235. 22 =&gt; [8048, 6256, 4544, 3536],
  236. // 105
  237. 23 =&gt; [8752, 6880, 4912, 3712],
  238. // 109
  239. 24 =&gt; [9392, 7312, 5312, 4112],
  240. // 113
  241. 25 =&gt; [10208, 8000, 5744, 4304],
  242. // 117
  243. 26 =&gt; [10960, 8496, 6032, 4768],
  244. // 121
  245. 27 =&gt; [11744, 9024, 6464, 5024],
  246. // 125
  247. 28 =&gt; [12248, 9544, 6968, 5288],
  248. // 129
  249. 29 =&gt; [13048, 10136, 7288, 5608],
  250. // 133
  251. 30 =&gt; [13880, 10984, 7880, 5960],
  252. // 137
  253. 31 =&gt; [14744, 11640, 8264, 6344],
  254. // 141
  255. 32 =&gt; [15640, 12328, 8920, 6760],
  256. // 145
  257. 33 =&gt; [16568, 13048, 9368, 7208],
  258. // 149
  259. 34 =&gt; [17528, 13800, 9848, 7688],
  260. // 153
  261. 35 =&gt; [18448, 14496, 10288, 7888],
  262. // 157
  263. 36 =&gt; [19472, 15312, 10832, 8432],
  264. // 161
  265. 37 =&gt; [20528, 15936, 11408, 8768],
  266. // 165
  267. 38 =&gt; [21616, 16816, 12016, 9136],
  268. // 169
  269. 39 =&gt; [22496, 17728, 12656, 9776],
  270. // 173
  271. 40 =&gt; [23648, 18672, 13328, 10208],
  272. ] </span>
  273. </dt>
  274. <dd>ISO/IEC 18004:2000 Tables 7-11 - Number of symbol characters and input data capacity for versions 1 to 40</dd>
  275. <dt class="phpdocumentor-table-of-contents__entry -property -private">
  276. <a href="classes/chillerlan-QRCode-Common-EccLevel.html#property_eccLevel">$eccLevel</a>
  277. <span>
  278. &nbsp;: int </span>
  279. </dt>
  280. <dd></dd>
  281. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  282. <a href="classes/chillerlan-QRCode-Common-EccLevel.html#method___construct">__construct()</a>
  283. <span>
  284. &nbsp;: mixed </span>
  285. </dt>
  286. <dd></dd>
  287. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  288. <a href="classes/chillerlan-QRCode-Common-EccLevel.html#method___toString">__toString()</a>
  289. <span>
  290. &nbsp;: string </span>
  291. </dt>
  292. <dd>returns the string representation of the current ECC level</dd>
  293. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  294. <a href="classes/chillerlan-QRCode-Common-EccLevel.html#method_getformatPattern">getformatPattern()</a>
  295. <span>
  296. &nbsp;: int </span>
  297. </dt>
  298. <dd>returns the format pattern for the given $eccLevel and $maskPattern</dd>
  299. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  300. <a href="classes/chillerlan-QRCode-Common-EccLevel.html#method_getLevel">getLevel()</a>
  301. <span>
  302. &nbsp;: int </span>
  303. </dt>
  304. <dd>returns the current ECC level</dd>
  305. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  306. <a href="classes/chillerlan-QRCode-Common-EccLevel.html#method_getMaxBits">getMaxBits()</a>
  307. <span>
  308. &nbsp;: array&lt;string|int, mixed&gt; </span>
  309. </dt>
  310. <dd>returns an array wit the max bit lengths for version 1-40 and the current ECC level</dd>
  311. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  312. <a href="classes/chillerlan-QRCode-Common-EccLevel.html#method_getOrdinal">getOrdinal()</a>
  313. <span>
  314. &nbsp;: int </span>
  315. </dt>
  316. <dd>returns the ordinal value of the current ECC level</dd>
  317. </dl>
  318. <section class="phpdocumentor-constants">
  319. <h3 class="phpdocumentor-elements__header" id="constants">
  320. Constants
  321. <a href="classes/chillerlan-QRCode-Common-EccLevel.html#constants" class="headerlink"><i class="fas fa-link"></i></a>
  322. </h3>
  323. <article class="phpdocumentor-element -constant -public ">
  324. <h4 class="phpdocumentor-element__name" id="constant_H">
  325. H
  326. <a href="classes/chillerlan-QRCode-Common-EccLevel.html#constant_H" class="headerlink"><i class="fas fa-link"></i></a>
  327. </h4>
  328. <aside class="phpdocumentor-element-found-in">
  329. <abbr class="phpdocumentor-element-found-in__file" title="src/Common/EccLevel.php"><a href="files/src-common-ecclevel.html"><abbr title="src/Common/EccLevel.php">EccLevel.php</abbr></a></abbr>
  330. :
  331. <span class="phpdocumentor-element-found-in__line">31</span>
  332. </aside>
  333. <code class="phpdocumentor-signature phpdocumentor-code ">
  334. <span class="phpdocumentor-signature__visibility">public</span>
  335. <span class="phpdocumentor-signature__type">int</span>
  336. <span class="phpdocumentor-signature__name">H</span>
  337. = <span class="phpdocumentor-signature__default-value">0b10</span>
  338. </code>
  339. </article>
  340. <article class="phpdocumentor-element -constant -public ">
  341. <h4 class="phpdocumentor-element__name" id="constant_L">
  342. L
  343. <a href="classes/chillerlan-QRCode-Common-EccLevel.html#constant_L" class="headerlink"><i class="fas fa-link"></i></a>
  344. </h4>
  345. <aside class="phpdocumentor-element-found-in">
  346. <abbr class="phpdocumentor-element-found-in__file" title="src/Common/EccLevel.php"><a href="files/src-common-ecclevel.html"><abbr title="src/Common/EccLevel.php">EccLevel.php</abbr></a></abbr>
  347. :
  348. <span class="phpdocumentor-element-found-in__line">25</span>
  349. </aside>
  350. <code class="phpdocumentor-signature phpdocumentor-code ">
  351. <span class="phpdocumentor-signature__visibility">public</span>
  352. <span class="phpdocumentor-signature__type">int</span>
  353. <span class="phpdocumentor-signature__name">L</span>
  354. = <span class="phpdocumentor-signature__default-value">0b1</span>
  355. </code>
  356. </article>
  357. <article class="phpdocumentor-element -constant -public ">
  358. <h4 class="phpdocumentor-element__name" id="constant_M">
  359. M
  360. <a href="classes/chillerlan-QRCode-Common-EccLevel.html#constant_M" class="headerlink"><i class="fas fa-link"></i></a>
  361. </h4>
  362. <aside class="phpdocumentor-element-found-in">
  363. <abbr class="phpdocumentor-element-found-in__file" title="src/Common/EccLevel.php"><a href="files/src-common-ecclevel.html"><abbr title="src/Common/EccLevel.php">EccLevel.php</abbr></a></abbr>
  364. :
  365. <span class="phpdocumentor-element-found-in__line">27</span>
  366. </aside>
  367. <code class="phpdocumentor-signature phpdocumentor-code ">
  368. <span class="phpdocumentor-signature__visibility">public</span>
  369. <span class="phpdocumentor-signature__type">int</span>
  370. <span class="phpdocumentor-signature__name">M</span>
  371. = <span class="phpdocumentor-signature__default-value">0b0</span>
  372. </code>
  373. </article>
  374. <article class="phpdocumentor-element -constant -public ">
  375. <h4 class="phpdocumentor-element__name" id="constant_MODES">
  376. MODES
  377. <a href="classes/chillerlan-QRCode-Common-EccLevel.html#constant_MODES" class="headerlink"><i class="fas fa-link"></i></a>
  378. </h4>
  379. <aside class="phpdocumentor-element-found-in">
  380. <abbr class="phpdocumentor-element-found-in__file" title="src/Common/EccLevel.php"><a href="files/src-common-ecclevel.html"><abbr title="src/Common/EccLevel.php">EccLevel.php</abbr></a></abbr>
  381. :
  382. <span class="phpdocumentor-element-found-in__line">42</span>
  383. </aside>
  384. <p class="phpdocumentor-summary">References to the keys of the following tables:</p>
  385. <code class="phpdocumentor-signature phpdocumentor-code ">
  386. <span class="phpdocumentor-signature__visibility">public</span>
  387. <span class="phpdocumentor-signature__type">array&lt;string|int, int&gt;</span>
  388. <span class="phpdocumentor-signature__name">MODES</span>
  389. = <span class="phpdocumentor-signature__default-value">[self::L =&gt; 0, self::M =&gt; 1, self::Q =&gt; 2, self::H =&gt; 3]</span>
  390. </code>
  391. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  392. Tags
  393. <a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
  394. </h5>
  395. <dl class="phpdocumentor-tag-list">
  396. <dt class="phpdocumentor-tag-list__entry">
  397. <span class="phpdocumentor-tag__name">see</span>
  398. </dt>
  399. <dd class="phpdocumentor-tag-list__definition">
  400. <span class="phpdocumentor-tag-link"><abbr title="\chillerlan\QRCode\Common\Version::MAX_BITS">Version::MAX_BITS</abbr></span>
  401. </dd>
  402. <dt class="phpdocumentor-tag-list__entry">
  403. <span class="phpdocumentor-tag__name">see</span>
  404. </dt>
  405. <dd class="phpdocumentor-tag-list__definition">
  406. <span class="phpdocumentor-tag-link"><abbr title="\chillerlan\QRCode\Common\EccLevel::RSBLOCKS">EccLevel::RSBLOCKS</abbr></span>
  407. </dd>
  408. <dt class="phpdocumentor-tag-list__entry">
  409. <span class="phpdocumentor-tag__name">see</span>
  410. </dt>
  411. <dd class="phpdocumentor-tag-list__definition">
  412. <span class="phpdocumentor-tag-link"><abbr title="\chillerlan\QRCode\Common\EccLevel::formatPattern">EccLevel::formatPattern</abbr></span>
  413. </dd>
  414. </dl>
  415. </article>
  416. <article class="phpdocumentor-element -constant -public ">
  417. <h4 class="phpdocumentor-element__name" id="constant_MODES_STRING">
  418. MODES_STRING
  419. <a href="classes/chillerlan-QRCode-Common-EccLevel.html#constant_MODES_STRING" class="headerlink"><i class="fas fa-link"></i></a>
  420. </h4>
  421. <aside class="phpdocumentor-element-found-in">
  422. <abbr class="phpdocumentor-element-found-in__file" title="src/Common/EccLevel.php"><a href="files/src-common-ecclevel.html"><abbr title="src/Common/EccLevel.php">EccLevel.php</abbr></a></abbr>
  423. :
  424. <span class="phpdocumentor-element-found-in__line">49</span>
  425. </aside>
  426. <code class="phpdocumentor-signature phpdocumentor-code ">
  427. <span class="phpdocumentor-signature__visibility">public</span>
  428. <span class="phpdocumentor-signature__type">mixed</span>
  429. <span class="phpdocumentor-signature__name">MODES_STRING</span>
  430. = <span class="phpdocumentor-signature__default-value">[self::L =&gt; &#039;L&#039;, self::M =&gt; &#039;M&#039;, self::Q =&gt; &#039;Q&#039;, self::H =&gt; &#039;H&#039;]</span>
  431. </code>
  432. <section class="phpdocumentor-description"></section>
  433. <section class="phpdocumentor-description"></section>
  434. </article>
  435. <article class="phpdocumentor-element -constant -public ">
  436. <h4 class="phpdocumentor-element__name" id="constant_Q">
  437. Q
  438. <a href="classes/chillerlan-QRCode-Common-EccLevel.html#constant_Q" class="headerlink"><i class="fas fa-link"></i></a>
  439. </h4>
  440. <aside class="phpdocumentor-element-found-in">
  441. <abbr class="phpdocumentor-element-found-in__file" title="src/Common/EccLevel.php"><a href="files/src-common-ecclevel.html"><abbr title="src/Common/EccLevel.php">EccLevel.php</abbr></a></abbr>
  442. :
  443. <span class="phpdocumentor-element-found-in__line">29</span>
  444. </aside>
  445. <code class="phpdocumentor-signature phpdocumentor-code ">
  446. <span class="phpdocumentor-signature__visibility">public</span>
  447. <span class="phpdocumentor-signature__type">int</span>
  448. <span class="phpdocumentor-signature__name">Q</span>
  449. = <span class="phpdocumentor-signature__default-value">0b11</span>
  450. </code>
  451. </article>
  452. <article class="phpdocumentor-element -constant -private ">
  453. <h4 class="phpdocumentor-element__name" id="constant_FORMAT_PATTERN">
  454. FORMAT_PATTERN
  455. <a href="classes/chillerlan-QRCode-Common-EccLevel.html#constant_FORMAT_PATTERN" class="headerlink"><i class="fas fa-link"></i></a>
  456. </h4>
  457. <aside class="phpdocumentor-element-found-in">
  458. <abbr class="phpdocumentor-element-found-in__file" title="src/Common/EccLevel.php"><a href="files/src-common-ecclevel.html"><abbr title="src/Common/EccLevel.php">EccLevel.php</abbr></a></abbr>
  459. :
  460. <span class="phpdocumentor-element-found-in__line">112</span>
  461. </aside>
  462. <p class="phpdocumentor-summary">ISO/IEC 18004:2000 Section 8.9 - Format Information</p>
  463. <code class="phpdocumentor-signature phpdocumentor-code ">
  464. <span class="phpdocumentor-signature__visibility">private</span>
  465. <span class="phpdocumentor-signature__type">array&lt;string|int, array&lt;string|int, int&gt;&gt;</span>
  466. <span class="phpdocumentor-signature__name">FORMAT_PATTERN</span>
  467. = <span class="phpdocumentor-signature__default-value">[[
  468. // L
  469. 0b111011111000100,
  470. 0b111001011110011,
  471. 0b111110110101010,
  472. 0b111100010011101,
  473. 0b110011000101111,
  474. 0b110001100011000,
  475. 0b110110001000001,
  476. 0b110100101110110,
  477. ], [
  478. // M
  479. 0b101010000010010,
  480. 0b101000100100101,
  481. 0b101111001111100,
  482. 0b101101101001011,
  483. 0b100010111111001,
  484. 0b100000011001110,
  485. 0b100111110010111,
  486. 0b100101010100000,
  487. ], [
  488. // Q
  489. 0b11010101011111,
  490. 0b11000001101000,
  491. 0b11111100110001,
  492. 0b11101000000110,
  493. 0b10010010110100,
  494. 0b10000110000011,
  495. 0b10111011011010,
  496. 0b10101111101101,
  497. ], [
  498. // H
  499. 0b1011010001001,
  500. 0b1001110111110,
  501. 0b1110011100111,
  502. 0b1100111010000,
  503. 0b11101100010,
  504. 0b1001010101,
  505. 0b110100001100,
  506. 0b100000111011,
  507. ]]</span>
  508. </code>
  509. <section class="phpdocumentor-description"><p>ECC level -&gt; mask pattern</p>
  510. </section>
  511. </article>
  512. <article class="phpdocumentor-element -constant -private ">
  513. <h4 class="phpdocumentor-element__name" id="constant_MAX_BITS">
  514. MAX_BITS
  515. <a href="classes/chillerlan-QRCode-Common-EccLevel.html#constant_MAX_BITS" class="headerlink"><i class="fas fa-link"></i></a>
  516. </h4>
  517. <aside class="phpdocumentor-element-found-in">
  518. <abbr class="phpdocumentor-element-found-in__file" title="src/Common/EccLevel.php"><a href="files/src-common-ecclevel.html"><abbr title="src/Common/EccLevel.php">EccLevel.php</abbr></a></abbr>
  519. :
  520. <span class="phpdocumentor-element-found-in__line">61</span>
  521. </aside>
  522. <p class="phpdocumentor-summary">ISO/IEC 18004:2000 Tables 7-11 - Number of symbol characters and input data capacity for versions 1 to 40</p>
  523. <code class="phpdocumentor-signature phpdocumentor-code ">
  524. <span class="phpdocumentor-signature__visibility">private</span>
  525. <span class="phpdocumentor-signature__type">int</span>
  526. <span class="phpdocumentor-signature__name">MAX_BITS</span>
  527. = <span class="phpdocumentor-signature__default-value">[
  528. // v =&gt; [ L, M, Q, H] // modules
  529. 1 =&gt; [152, 128, 104, 72],
  530. // 21
  531. 2 =&gt; [272, 224, 176, 128],
  532. // 25
  533. 3 =&gt; [440, 352, 272, 208],
  534. // 29
  535. 4 =&gt; [640, 512, 384, 288],
  536. // 33
  537. 5 =&gt; [864, 688, 496, 368],
  538. // 37
  539. 6 =&gt; [1088, 864, 608, 480],
  540. // 41
  541. 7 =&gt; [1248, 992, 704, 528],
  542. // 45
  543. 8 =&gt; [1552, 1232, 880, 688],
  544. // 49
  545. 9 =&gt; [1856, 1456, 1056, 800],
  546. // 53
  547. 10 =&gt; [2192, 1728, 1232, 976],
  548. // 57
  549. 11 =&gt; [2592, 2032, 1440, 1120],
  550. // 61
  551. 12 =&gt; [2960, 2320, 1648, 1264],
  552. // 65
  553. 13 =&gt; [3424, 2672, 1952, 1440],
  554. // 69 NICE!
  555. 14 =&gt; [3688, 2920, 2088, 1576],
  556. // 73
  557. 15 =&gt; [4184, 3320, 2360, 1784],
  558. // 77
  559. 16 =&gt; [4712, 3624, 2600, 2024],
  560. // 81
  561. 17 =&gt; [5176, 4056, 2936, 2264],
  562. // 85
  563. 18 =&gt; [5768, 4504, 3176, 2504],
  564. // 89
  565. 19 =&gt; [6360, 5016, 3560, 2728],
  566. // 93
  567. 20 =&gt; [6888, 5352, 3880, 3080],
  568. // 97
  569. 21 =&gt; [7456, 5712, 4096, 3248],
  570. // 101
  571. 22 =&gt; [8048, 6256, 4544, 3536],
  572. // 105
  573. 23 =&gt; [8752, 6880, 4912, 3712],
  574. // 109
  575. 24 =&gt; [9392, 7312, 5312, 4112],
  576. // 113
  577. 25 =&gt; [10208, 8000, 5744, 4304],
  578. // 117
  579. 26 =&gt; [10960, 8496, 6032, 4768],
  580. // 121
  581. 27 =&gt; [11744, 9024, 6464, 5024],
  582. // 125
  583. 28 =&gt; [12248, 9544, 6968, 5288],
  584. // 129
  585. 29 =&gt; [13048, 10136, 7288, 5608],
  586. // 133
  587. 30 =&gt; [13880, 10984, 7880, 5960],
  588. // 137
  589. 31 =&gt; [14744, 11640, 8264, 6344],
  590. // 141
  591. 32 =&gt; [15640, 12328, 8920, 6760],
  592. // 145
  593. 33 =&gt; [16568, 13048, 9368, 7208],
  594. // 149
  595. 34 =&gt; [17528, 13800, 9848, 7688],
  596. // 153
  597. 35 =&gt; [18448, 14496, 10288, 7888],
  598. // 157
  599. 36 =&gt; [19472, 15312, 10832, 8432],
  600. // 161
  601. 37 =&gt; [20528, 15936, 11408, 8768],
  602. // 165
  603. 38 =&gt; [21616, 16816, 12016, 9136],
  604. // 169
  605. 39 =&gt; [22496, 17728, 12656, 9776],
  606. // 173
  607. 40 =&gt; [23648, 18672, 13328, 10208],
  608. ]</span>
  609. </code>
  610. <section class="phpdocumentor-description"><p>[][]</p>
  611. </section>
  612. </article>
  613. </section>
  614. <section class="phpdocumentor-properties">
  615. <h3 class="phpdocumentor-elements__header" id="properties">
  616. Properties
  617. <a href="classes/chillerlan-QRCode-Common-EccLevel.html#properties" class="headerlink"><i class="fas fa-link"></i></a>
  618. </h3>
  619. <article
  620. class="
  621. phpdocumentor-element
  622. -property
  623. -private
  624. "
  625. >
  626. <h4 class="phpdocumentor-element__name" id="property_eccLevel">
  627. $eccLevel
  628. <a href="classes/chillerlan-QRCode-Common-EccLevel.html#property_eccLevel" class="headerlink"><i class="fas fa-link"></i></a>
  629. <span class="phpdocumentor-element__modifiers">
  630. </span>
  631. </h4>
  632. <aside class="phpdocumentor-element-found-in">
  633. <abbr class="phpdocumentor-element-found-in__file" title="src/Common/EccLevel.php"><a href="files/src-common-ecclevel.html"><abbr title="src/Common/EccLevel.php">EccLevel.php</abbr></a></abbr>
  634. :
  635. <span class="phpdocumentor-element-found-in__line">155</span>
  636. </aside>
  637. <code class="phpdocumentor-code phpdocumentor-signature ">
  638. <span class="phpdocumentor-signature__visibility">private</span>
  639. <span class="phpdocumentor-signature__type">int</span>
  640. <span class="phpdocumentor-signature__name">$eccLevel</span>
  641. </code>
  642. <section class="phpdocumentor-description"></section>
  643. <section class="phpdocumentor-description"></section>
  644. </article>
  645. </section>
  646. <section class="phpdocumentor-methods">
  647. <h3 class="phpdocumentor-elements__header" id="methods">
  648. Methods
  649. <a href="classes/chillerlan-QRCode-Common-EccLevel.html#methods" class="headerlink"><i class="fas fa-link"></i></a>
  650. </h3>
  651. <article
  652. class="phpdocumentor-element
  653. -method
  654. -public
  655. "
  656. >
  657. <h4 class="phpdocumentor-element__name" id="method___construct">
  658. __construct()
  659. <a href="classes/chillerlan-QRCode-Common-EccLevel.html#method___construct" class="headerlink"><i class="fas fa-link"></i></a>
  660. </h4>
  661. <aside class="phpdocumentor-element-found-in">
  662. <abbr class="phpdocumentor-element-found-in__file" title="src/Common/EccLevel.php"><a href="files/src-common-ecclevel.html"><abbr title="src/Common/EccLevel.php">EccLevel.php</abbr></a></abbr>
  663. :
  664. <span class="phpdocumentor-element-found-in__line">162</span>
  665. </aside>
  666. <code class="phpdocumentor-code phpdocumentor-signature ">
  667. <span class="phpdocumentor-signature__visibility">public</span>
  668. <span class="phpdocumentor-signature__name">__construct</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$eccLevel</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
  669. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  670. <dl class="phpdocumentor-argument-list">
  671. <dt class="phpdocumentor-argument-list__entry">
  672. <span class="phpdocumentor-signature__argument__name">$eccLevel</span>
  673. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  674. </dt>
  675. <dd class="phpdocumentor-argument-list__definition">
  676. <section class="phpdocumentor-description"><p>containing the two bits encoding a QR Code's error correction level</p>
  677. </section>
  678. </dd>
  679. </dl>
  680. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  681. Tags
  682. <a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
  683. </h5>
  684. <dl class="phpdocumentor-tag-list">
  685. <dt class="phpdocumentor-tag-list__entry">
  686. <span class="phpdocumentor-tag__name">throws</span>
  687. </dt>
  688. <dd class="phpdocumentor-tag-list__definition">
  689. <span class="phpdocumentor-tag-link"><a href="classes/chillerlan-QRCode-QRCodeException.html"><abbr title="\chillerlan\QRCode\QRCodeException">QRCodeException</abbr></a></span>
  690. </dd>
  691. </dl>
  692. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  693. <span class="phpdocumentor-signature__response_type">mixed</span>
  694. &mdash;
  695. </article>
  696. <article
  697. class="phpdocumentor-element
  698. -method
  699. -public
  700. "
  701. >
  702. <h4 class="phpdocumentor-element__name" id="method___toString">
  703. __toString()
  704. <a href="classes/chillerlan-QRCode-Common-EccLevel.html#method___toString" class="headerlink"><i class="fas fa-link"></i></a>
  705. </h4>
  706. <aside class="phpdocumentor-element-found-in">
  707. <abbr class="phpdocumentor-element-found-in__file" title="src/Common/EccLevel.php"><a href="files/src-common-ecclevel.html"><abbr title="src/Common/EccLevel.php">EccLevel.php</abbr></a></abbr>
  708. :
  709. <span class="phpdocumentor-element-found-in__line">174</span>
  710. </aside>
  711. <p class="phpdocumentor-summary">returns the string representation of the current ECC level</p>
  712. <code class="phpdocumentor-code phpdocumentor-signature ">
  713. <span class="phpdocumentor-signature__visibility">public</span>
  714. <span class="phpdocumentor-signature__name">__toString</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
  715. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  716. <span class="phpdocumentor-signature__response_type">string</span>
  717. &mdash;
  718. </article>
  719. <article
  720. class="phpdocumentor-element
  721. -method
  722. -public
  723. "
  724. >
  725. <h4 class="phpdocumentor-element__name" id="method_getformatPattern">
  726. getformatPattern()
  727. <a href="classes/chillerlan-QRCode-Common-EccLevel.html#method_getformatPattern" class="headerlink"><i class="fas fa-link"></i></a>
  728. </h4>
  729. <aside class="phpdocumentor-element-found-in">
  730. <abbr class="phpdocumentor-element-found-in__file" title="src/Common/EccLevel.php"><a href="files/src-common-ecclevel.html"><abbr title="src/Common/EccLevel.php">EccLevel.php</abbr></a></abbr>
  731. :
  732. <span class="phpdocumentor-element-found-in__line">195</span>
  733. </aside>
  734. <p class="phpdocumentor-summary">returns the format pattern for the given $eccLevel and $maskPattern</p>
  735. <code class="phpdocumentor-code phpdocumentor-signature ">
  736. <span class="phpdocumentor-signature__visibility">public</span>
  737. <span class="phpdocumentor-signature__name">getformatPattern</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><a href="classes/chillerlan-QRCode-Common-MaskPattern.html"><abbr title="\chillerlan\QRCode\Common\MaskPattern">MaskPattern</abbr></a>&nbsp;</span><span class="phpdocumentor-signature__argument__name">$maskPattern</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">int</span></code>
  738. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  739. <dl class="phpdocumentor-argument-list">
  740. <dt class="phpdocumentor-argument-list__entry">
  741. <span class="phpdocumentor-signature__argument__name">$maskPattern</span>
  742. : <span class="phpdocumentor-signature__argument__return-type"><a href="classes/chillerlan-QRCode-Common-MaskPattern.html"><abbr title="\chillerlan\QRCode\Common\MaskPattern">MaskPattern</abbr></a></span>
  743. </dt>
  744. <dd class="phpdocumentor-argument-list__definition">
  745. <section class="phpdocumentor-description"></section>
  746. </dd>
  747. </dl>
  748. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  749. <span class="phpdocumentor-signature__response_type">int</span>
  750. &mdash;
  751. </article>
  752. <article
  753. class="phpdocumentor-element
  754. -method
  755. -public
  756. "
  757. >
  758. <h4 class="phpdocumentor-element__name" id="method_getLevel">
  759. getLevel()
  760. <a href="classes/chillerlan-QRCode-Common-EccLevel.html#method_getLevel" class="headerlink"><i class="fas fa-link"></i></a>
  761. </h4>
  762. <aside class="phpdocumentor-element-found-in">
  763. <abbr class="phpdocumentor-element-found-in__file" title="src/Common/EccLevel.php"><a href="files/src-common-ecclevel.html"><abbr title="src/Common/EccLevel.php">EccLevel.php</abbr></a></abbr>
  764. :
  765. <span class="phpdocumentor-element-found-in__line">181</span>
  766. </aside>
  767. <p class="phpdocumentor-summary">returns the current ECC level</p>
  768. <code class="phpdocumentor-code phpdocumentor-signature ">
  769. <span class="phpdocumentor-signature__visibility">public</span>
  770. <span class="phpdocumentor-signature__name">getLevel</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">int</span></code>
  771. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  772. <span class="phpdocumentor-signature__response_type">int</span>
  773. &mdash;
  774. </article>
  775. <article
  776. class="phpdocumentor-element
  777. -method
  778. -public
  779. "
  780. >
  781. <h4 class="phpdocumentor-element__name" id="method_getMaxBits">
  782. getMaxBits()
  783. <a href="classes/chillerlan-QRCode-Common-EccLevel.html#method_getMaxBits" class="headerlink"><i class="fas fa-link"></i></a>
  784. </h4>
  785. <aside class="phpdocumentor-element-found-in">
  786. <abbr class="phpdocumentor-element-found-in__file" title="src/Common/EccLevel.php"><a href="files/src-common-ecclevel.html"><abbr title="src/Common/EccLevel.php">EccLevel.php</abbr></a></abbr>
  787. :
  788. <span class="phpdocumentor-element-found-in__line">202</span>
  789. </aside>
  790. <p class="phpdocumentor-summary">returns an array wit the max bit lengths for version 1-40 and the current ECC level</p>
  791. <code class="phpdocumentor-code phpdocumentor-signature ">
  792. <span class="phpdocumentor-signature__visibility">public</span>
  793. <span class="phpdocumentor-signature__name">getMaxBits</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span></code>
  794. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  795. <span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span>
  796. &mdash;
  797. </article>
  798. <article
  799. class="phpdocumentor-element
  800. -method
  801. -public
  802. "
  803. >
  804. <h4 class="phpdocumentor-element__name" id="method_getOrdinal">
  805. getOrdinal()
  806. <a href="classes/chillerlan-QRCode-Common-EccLevel.html#method_getOrdinal" class="headerlink"><i class="fas fa-link"></i></a>
  807. </h4>
  808. <aside class="phpdocumentor-element-found-in">
  809. <abbr class="phpdocumentor-element-found-in__file" title="src/Common/EccLevel.php"><a href="files/src-common-ecclevel.html"><abbr title="src/Common/EccLevel.php">EccLevel.php</abbr></a></abbr>
  810. :
  811. <span class="phpdocumentor-element-found-in__line">188</span>
  812. </aside>
  813. <p class="phpdocumentor-summary">returns the ordinal value of the current ECC level</p>
  814. <code class="phpdocumentor-code phpdocumentor-signature ">
  815. <span class="phpdocumentor-signature__visibility">public</span>
  816. <span class="phpdocumentor-signature__name">getOrdinal</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">int</span></code>
  817. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  818. <span class="phpdocumentor-signature__response_type">int</span>
  819. &mdash;
  820. </article>
  821. </section>
  822. <script type="text/javascript">
  823. function loadExternalCodeSnippets(line) {
  824. Array.prototype.slice.call(document.querySelectorAll('pre[data-src]')).forEach((pre) => {
  825. var src = pre.getAttribute('data-src').replace( /\\/g, '/');
  826. var extension = (src.match(/\.(\w+)$/) || [, ''])[1];
  827. var language = 'php';
  828. var code = document.createElement('code');
  829. code.className = 'language-' + language;
  830. pre.textContent = '';
  831. pre.setAttribute('data-line', line)
  832. code.textContent = 'Loading…';
  833. pre.appendChild(code);
  834. var xhr = new XMLHttpRequest();
  835. xhr.open('GET', src, true);
  836. xhr.onreadystatechange = function () {
  837. if (xhr.readyState == 4) {
  838. if (xhr.status < 400 && xhr.responseText) {
  839. code.textContent = xhr.responseText;
  840. Prism.highlightElement(code);
  841. }
  842. else if (xhr.status >= 400) {
  843. code.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText;
  844. }
  845. else {
  846. code.textContent = '✖ Error: File does not exist, is empty or trying to view from localhost';
  847. }
  848. }
  849. };
  850. xhr.send(null);
  851. });
  852. }
  853. var modals = document.querySelectorAll("[data-modal]");
  854. modals.forEach(function (trigger) {
  855. trigger.addEventListener("click", function (event) {
  856. //event.preventDefault();
  857. const modal = document.getElementById(trigger.dataset.modal);
  858. modal.classList.add("phpdocumentor-modal__open");
  859. loadExternalCodeSnippets(trigger.dataset.line)
  860. const exits = modal.querySelectorAll("[data-exit-button]");
  861. exits.forEach(function (exit) {
  862. exit.addEventListener("click", function (event) {
  863. event.preventDefault();
  864. modal.classList.remove("phpdocumentor-modal__open");
  865. });
  866. });
  867. });
  868. });
  869. </script>
  870. </article>
  871. <section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
  872. <section class="phpdocumentor-search-results__dialog">
  873. <header class="phpdocumentor-search-results__header">
  874. <h2 class="phpdocumentor-search-results__title">Search results</h2>
  875. <button class="phpdocumentor-search-results__close"><i class="fas fa-times"></i></button>
  876. </header>
  877. <section class="phpdocumentor-search-results__body">
  878. <ul class="phpdocumentor-search-results__entries"></ul>
  879. </section>
  880. </section>
  881. </section>
  882. </div>
  883. </div>
  884. <a href="classes/chillerlan-QRCode-Common-EccLevel.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a>
  885. </main>
  886. <script>
  887. cssVars({});
  888. </script>
  889. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/prism.min.js"></script>
  890. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/autoloader/prism-autoloader.min.js"></script>
  891. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.min.js"></script>
  892. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.min.js"></script>
  893. </body>
  894. </html>