chillerlan.html 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294
  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=Open+Sans:wght@100;200;300;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/template.js"></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. <nav class="phpdocumentor-topnav">
  43. <ul class="phpdocumentor-topnav__menu">
  44. <li class="phpdocumentor-topnav__menu-item -menu">
  45. <a href="https://php-qrcode.readthedocs.io">
  46. <span>
  47. User Manual
  48. </span>
  49. </a>
  50. </li>
  51. <li class="phpdocumentor-topnav__menu-item -social">
  52. <a href="https://github.com/chillerlan/php-qrcode">
  53. <span>
  54. <i class="fab fa-github"></i>
  55. </span>
  56. </a>
  57. </li>
  58. <li class="phpdocumentor-topnav__menu-item -social">
  59. <a href="https://github.com/chillerlan/php-qrcode/discussions">
  60. <span>
  61. <i class="fas fa-envelope-open-text"></i>
  62. </span>
  63. </a>
  64. </li>
  65. </ul>
  66. </nav>
  67. </header>
  68. <main class="phpdocumentor">
  69. <div class="phpdocumentor-section">
  70. <input class="phpdocumentor-sidebar__menu-button" type="checkbox" id="sidebar-button" name="sidebar-button" />
  71. <label class="phpdocumentor-sidebar__menu-icon" for="sidebar-button">
  72. Menu
  73. </label>
  74. <aside class="phpdocumentor-column -three phpdocumentor-sidebar">
  75. <section class="phpdocumentor-sidebar__category -namespaces">
  76. <h2 class="phpdocumentor-sidebar__category-header">Namespaces</h2>
  77. <h4 class="phpdocumentor-sidebar__root-namespace">
  78. <a href="namespaces/chillerlan.html" class="-active">chillerlan</a>
  79. </h4>
  80. <ul class="phpdocumentor-list">
  81. <li>
  82. <a href="namespaces/chillerlan-qrcode.html" class="">QRCode</a>
  83. </li>
  84. <li>
  85. <a href="namespaces/chillerlan-qrcodetest.html" class="">QRCodeTest</a>
  86. </li>
  87. </ul>
  88. </section>
  89. <section class="phpdocumentor-sidebar__category -packages">
  90. <h2 class="phpdocumentor-sidebar__category-header">Packages</h2>
  91. <h4 class="phpdocumentor-sidebar__root-namespace">
  92. <a href="packages/Application.html" class="">Application</a>
  93. </h4>
  94. </section>
  95. <section class="phpdocumentor-sidebar__category -reports">
  96. <h2 class="phpdocumentor-sidebar__category-header">Reports</h2>
  97. <h3 class="phpdocumentor-sidebar__root-package"><a href="reports/deprecated.html">Deprecated</a></h3>
  98. <h3 class="phpdocumentor-sidebar__root-package"><a href="reports/errors.html">Errors</a></h3>
  99. <h3 class="phpdocumentor-sidebar__root-package"><a href="reports/markers.html">Markers</a></h3>
  100. </section>
  101. <section class="phpdocumentor-sidebar__category -indices">
  102. <h2 class="phpdocumentor-sidebar__category-header">Indices</h2>
  103. <h3 class="phpdocumentor-sidebar__root-package"><a href="indices/files.html">Files</a></h3>
  104. </section>
  105. </aside>
  106. <div class="phpdocumentor-column -nine phpdocumentor-content">
  107. <section>
  108. <ul class="phpdocumentor-breadcrumbs">
  109. </ul>
  110. <article class="phpdocumentor-element -namespace">
  111. <h2 class="phpdocumentor-content__title">chillerlan</h2>
  112. <h3 id="toc">
  113. Table of Contents
  114. <a href="namespaces/chillerlan.html#toc" class="headerlink"><i class="fas fa-link"></i></a>
  115. </h3>
  116. <h4 id="namespaces">
  117. Namespaces
  118. <a href="namespaces/chillerlan.html#namespaces" class="headerlink"><i class="fas fa-link"></i></a>
  119. </h4>
  120. <dl class="phpdocumentor-table-of-contents">
  121. <dt class="phpdocumentor-table-of-contents__entry -namespace"><a href="namespaces/chillerlan-qrcode.html"><abbr title="\chillerlan\QRCode">QRCode</abbr></a></dt>
  122. <dt class="phpdocumentor-table-of-contents__entry -namespace"><a href="namespaces/chillerlan-qrcodetest.html"><abbr title="\chillerlan\QRCodeTest">QRCodeTest</abbr></a></dt>
  123. </dl>
  124. <div class="phpdocumentor-modal" id="source-view">
  125. <div class="phpdocumentor-modal-bg" data-exit-button></div>
  126. <div class="phpdocumentor-modal-container">
  127. <div class="phpdocumentor-modal-content">
  128. <pre style="max-height: 500px; overflow-y: scroll" data-src="" class="language-php line-numbers linkable-line-numbers"></pre>
  129. </div>
  130. <button data-exit-button class="phpdocumentor-modal__close">&times;</button>
  131. </div>
  132. </div>
  133. <script type="text/javascript">
  134. (function () {
  135. function loadExternalCodeSnippet(el, url, line) {
  136. Array.prototype.slice.call(el.querySelectorAll('pre[data-src]')).forEach((pre) => {
  137. const src = url || pre.getAttribute('data-src').replace(/\\/g, '/');
  138. const language = 'php';
  139. const code = document.createElement('code');
  140. code.className = 'language-' + language;
  141. pre.textContent = '';
  142. pre.setAttribute('data-line', line)
  143. code.textContent = 'Loading…';
  144. pre.appendChild(code);
  145. var xhr = new XMLHttpRequest();
  146. xhr.open('GET', src, true);
  147. xhr.onreadystatechange = function () {
  148. if (xhr.readyState !== 4) {
  149. return;
  150. }
  151. if (xhr.status < 400 && xhr.responseText) {
  152. code.textContent = xhr.responseText;
  153. Prism.highlightElement(code);
  154. d=document.getElementsByClassName("line-numbers");
  155. d[0].scrollTop = d[0].children[1].offsetTop;
  156. return;
  157. }
  158. if (xhr.status === 404) {
  159. code.textContent = '✖ Error: File could not be found';
  160. return;
  161. }
  162. if (xhr.status >= 400) {
  163. code.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText;
  164. return;
  165. }
  166. code.textContent = '✖ Error: An unknown error occurred';
  167. };
  168. xhr.send(null);
  169. });
  170. }
  171. const modalButtons = document.querySelectorAll("[data-modal]");
  172. const openedAsLocalFile = window.location.protocol === 'file:';
  173. if (modalButtons.length > 0 && openedAsLocalFile) {
  174. console.warn(
  175. 'Viewing the source code is unavailable because you are opening this page from the file:// scheme; ' +
  176. 'browsers block XHR requests when a page is opened this way'
  177. );
  178. }
  179. modalButtons.forEach(function (trigger) {
  180. if (openedAsLocalFile) {
  181. trigger.setAttribute("hidden", "hidden");
  182. }
  183. trigger.addEventListener("click", function (event) {
  184. event.preventDefault();
  185. const modal = document.getElementById(trigger.dataset.modal);
  186. if (!modal) {
  187. console.error(`Modal with id "${trigger.dataset.modal}" could not be found`);
  188. return;
  189. }
  190. modal.classList.add("phpdocumentor-modal__open");
  191. loadExternalCodeSnippet(modal, trigger.dataset.src || null, trigger.dataset.line)
  192. const exits = modal.querySelectorAll("[data-exit-button]");
  193. exits.forEach(function (exit) {
  194. exit.addEventListener("click", function (event) {
  195. event.preventDefault();
  196. modal.classList.remove("phpdocumentor-modal__open");
  197. });
  198. });
  199. });
  200. });
  201. })();
  202. </script>
  203. </article>
  204. </section>
  205. <section class="phpdocumentor-on-this-page__sidebar">
  206. <section class="phpdocumentor-on-this-page__content">
  207. <strong class="phpdocumentor-on-this-page__title">On this page</strong>
  208. <ul class="phpdocumentor-list -clean">
  209. <li class="phpdocumentor-on-this-page-section__title">Table Of Contents</li>
  210. <li>
  211. <ul class="phpdocumentor-list -clean">
  212. </ul>
  213. </li>
  214. </ul>
  215. </section>
  216. </section>
  217. </div>
  218. <section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
  219. <section class="phpdocumentor-search-results__dialog">
  220. <header class="phpdocumentor-search-results__header">
  221. <h2 class="phpdocumentor-search-results__title">Search results</h2>
  222. <button class="phpdocumentor-search-results__close"><i class="fas fa-times"></i></button>
  223. </header>
  224. <section class="phpdocumentor-search-results__body">
  225. <ul class="phpdocumentor-search-results__entries"></ul>
  226. </section>
  227. </section>
  228. </section>
  229. </div>
  230. <a href="namespaces/chillerlan.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a>
  231. </main>
  232. <script>
  233. cssVars({});
  234. </script>
  235. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/prism.min.js"></script>
  236. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/autoloader/prism-autoloader.min.js"></script>
  237. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.min.js"></script>
  238. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.min.js"></script>
  239. </body>
  240. </html>