chillerlan-QRCode-Output-QROutputInterface.html 75 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483
  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. </ul>
  59. </nav>
  60. </header>
  61. <main class="phpdocumentor">
  62. <div class="phpdocumentor-section">
  63. <input class="phpdocumentor-sidebar__menu-button" type="checkbox" id="sidebar-button" name="sidebar-button" />
  64. <label class="phpdocumentor-sidebar__menu-icon" for="sidebar-button">
  65. Menu
  66. </label>
  67. <aside class="phpdocumentor-column -three phpdocumentor-sidebar">
  68. <section class="phpdocumentor-sidebar__category">
  69. <h2 class="phpdocumentor-sidebar__category-header">Namespaces</h2>
  70. <h4 class="phpdocumentor-sidebar__root-namespace">
  71. <a href="namespaces/chillerlan.html" class="">chillerlan</a>
  72. </h4>
  73. <ul class="phpdocumentor-list">
  74. <li>
  75. <a href="namespaces/chillerlan-qrcode.html" class="">QRCode</a>
  76. </li>
  77. <li>
  78. <a href="namespaces/chillerlan-qrcodetest.html" class="">QRCodeTest</a>
  79. </li>
  80. </ul>
  81. </section>
  82. <section class="phpdocumentor-sidebar__category">
  83. <h2 class="phpdocumentor-sidebar__category-header">Packages</h2>
  84. <h4 class="phpdocumentor-sidebar__root-namespace">
  85. <a href="packages/Application.html" class="">Application</a>
  86. </h4>
  87. </section>
  88. <section class="phpdocumentor-sidebar__category">
  89. <h2 class="phpdocumentor-sidebar__category-header">Reports</h2>
  90. <h3 class="phpdocumentor-sidebar__root-package"><a href="reports/deprecated.html">Deprecated</a></h3>
  91. <h3 class="phpdocumentor-sidebar__root-package"><a href="reports/errors.html">Errors</a></h3>
  92. <h3 class="phpdocumentor-sidebar__root-package"><a href="reports/markers.html">Markers</a></h3>
  93. </section>
  94. <section class="phpdocumentor-sidebar__category">
  95. <h2 class="phpdocumentor-sidebar__category-header">Indices</h2>
  96. <h3 class="phpdocumentor-sidebar__root-package"><a href="indices/files.html">Files</a></h3>
  97. </section>
  98. </aside>
  99. <div class="phpdocumentor-column -nine phpdocumentor-content">
  100. <section>
  101. <ul class="phpdocumentor-breadcrumbs">
  102. <li class="phpdocumentor-breadcrumb"><a href="namespaces/chillerlan.html">chillerlan</a></li>
  103. <li class="phpdocumentor-breadcrumb"><a href="namespaces/chillerlan-qrcode.html">QRCode</a></li>
  104. <li class="phpdocumentor-breadcrumb"><a href="namespaces/chillerlan-qrcode-output.html">Output</a></li>
  105. </ul>
  106. <article class="phpdocumentor-element -interface">
  107. <h2 class="phpdocumentor-content__title">
  108. QROutputInterface
  109. <div class="phpdocumentor-element__package">
  110. in
  111. <ul class="phpdocumentor-breadcrumbs">
  112. <li><a href="packages/Application.html">Application</a></li>
  113. </ul>
  114. </div>
  115. </h2>
  116. <aside class="phpdocumentor-element-found-in">
  117. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QROutputInterface.php"><a href="files/src-output-qroutputinterface.html"><abbr title="src/Output/QROutputInterface.php">QROutputInterface.php</abbr></a></abbr>
  118. :
  119. <span class="phpdocumentor-element-found-in__line">18</span>
  120. </aside>
  121. <p class="phpdocumentor-summary">Converts the data matrix into readable output</p>
  122. <h3 id="toc">
  123. Table of Contents
  124. <a href="classes/chillerlan-QRCode-Output-QROutputInterface.html#toc" class="headerlink"><i class="fas fa-link"></i></a>
  125. </h3>
  126. <h4 id="toc-constants">
  127. Constants
  128. <a href="classes/chillerlan-QRCode-Output-QROutputInterface.html#toc-constants" class="headerlink"><i class="fas fa-link"></i></a>
  129. </h4>
  130. <dl class="phpdocumentor-table-of-contents">
  131. <dt class="phpdocumentor-table-of-contents__entry -constant -public">
  132. <a href="classes/chillerlan-QRCode-Output-QROutputInterface.html#constant_CUSTOM">CUSTOM</a>
  133. <span>
  134. &nbsp;= &#039;custom&#039; </span>
  135. </dt>
  136. <dt class="phpdocumentor-table-of-contents__entry -constant -public">
  137. <a href="classes/chillerlan-QRCode-Output-QROutputInterface.html#constant_DEFAULT_MODULE_VALUES">DEFAULT_MODULE_VALUES</a>
  138. <span>
  139. &nbsp;= [
  140. // light
  141. \chillerlan\QRCode\Data\QRMatrix::M_NULL =&gt; false,
  142. \chillerlan\QRCode\Data\QRMatrix::M_DARKMODULE_LIGHT =&gt; false,
  143. \chillerlan\QRCode\Data\QRMatrix::M_DATA =&gt; false,
  144. \chillerlan\QRCode\Data\QRMatrix::M_FINDER =&gt; false,
  145. \chillerlan\QRCode\Data\QRMatrix::M_SEPARATOR =&gt; false,
  146. \chillerlan\QRCode\Data\QRMatrix::M_ALIGNMENT =&gt; false,
  147. \chillerlan\QRCode\Data\QRMatrix::M_TIMING =&gt; false,
  148. \chillerlan\QRCode\Data\QRMatrix::M_FORMAT =&gt; false,
  149. \chillerlan\QRCode\Data\QRMatrix::M_VERSION =&gt; false,
  150. \chillerlan\QRCode\Data\QRMatrix::M_QUIETZONE =&gt; false,
  151. \chillerlan\QRCode\Data\QRMatrix::M_LOGO =&gt; false,
  152. \chillerlan\QRCode\Data\QRMatrix::M_FINDER_DOT_LIGHT =&gt; false,
  153. // dark
  154. \chillerlan\QRCode\Data\QRMatrix::M_DARKMODULE =&gt; true,
  155. \chillerlan\QRCode\Data\QRMatrix::M_DATA_DARK =&gt; true,
  156. \chillerlan\QRCode\Data\QRMatrix::M_FINDER_DARK =&gt; true,
  157. \chillerlan\QRCode\Data\QRMatrix::M_SEPARATOR_DARK =&gt; true,
  158. \chillerlan\QRCode\Data\QRMatrix::M_ALIGNMENT_DARK =&gt; true,
  159. \chillerlan\QRCode\Data\QRMatrix::M_TIMING_DARK =&gt; true,
  160. \chillerlan\QRCode\Data\QRMatrix::M_FORMAT_DARK =&gt; true,
  161. \chillerlan\QRCode\Data\QRMatrix::M_VERSION_DARK =&gt; true,
  162. \chillerlan\QRCode\Data\QRMatrix::M_QUIETZONE_DARK =&gt; true,
  163. \chillerlan\QRCode\Data\QRMatrix::M_LOGO_DARK =&gt; true,
  164. \chillerlan\QRCode\Data\QRMatrix::M_FINDER_DOT =&gt; true,
  165. ] </span>
  166. </dt>
  167. <dd>Map of module type =&gt; default value</dd>
  168. <dt class="phpdocumentor-table-of-contents__entry -constant -public">
  169. <a href="classes/chillerlan-QRCode-Output-QROutputInterface.html#constant_EPS">EPS</a>
  170. <span>
  171. &nbsp;= &#039;eps&#039; </span>
  172. </dt>
  173. <dt class="phpdocumentor-table-of-contents__entry -constant -public">
  174. <a href="classes/chillerlan-QRCode-Output-QROutputInterface.html#constant_FPDF">FPDF</a>
  175. <span>
  176. &nbsp;= &#039;fpdf&#039; </span>
  177. </dt>
  178. <dt class="phpdocumentor-table-of-contents__entry -constant -public">
  179. <a href="classes/chillerlan-QRCode-Output-QROutputInterface.html#constant_GDIMAGE_BMP">GDIMAGE_BMP</a>
  180. <span>
  181. &nbsp;= &#039;bmp&#039; </span>
  182. </dt>
  183. <dt class="phpdocumentor-table-of-contents__entry -constant -public">
  184. <a href="classes/chillerlan-QRCode-Output-QROutputInterface.html#constant_GDIMAGE_GIF">GDIMAGE_GIF</a>
  185. <span>
  186. &nbsp;= &#039;gif&#039; </span>
  187. </dt>
  188. <dt class="phpdocumentor-table-of-contents__entry -constant -public">
  189. <a href="classes/chillerlan-QRCode-Output-QROutputInterface.html#constant_GDIMAGE_JPG">GDIMAGE_JPG</a>
  190. <span>
  191. &nbsp;= &#039;jpg&#039; </span>
  192. </dt>
  193. <dt class="phpdocumentor-table-of-contents__entry -constant -public">
  194. <a href="classes/chillerlan-QRCode-Output-QROutputInterface.html#constant_GDIMAGE_PNG">GDIMAGE_PNG</a>
  195. <span>
  196. &nbsp;= &#039;png&#039; </span>
  197. </dt>
  198. <dt class="phpdocumentor-table-of-contents__entry -constant -public">
  199. <a href="classes/chillerlan-QRCode-Output-QROutputInterface.html#constant_GDIMAGE_WEBP">GDIMAGE_WEBP</a>
  200. <span>
  201. &nbsp;= &#039;webp&#039; </span>
  202. </dt>
  203. <dt class="phpdocumentor-table-of-contents__entry -constant -public">
  204. <a href="classes/chillerlan-QRCode-Output-QROutputInterface.html#constant_IMAGICK">IMAGICK</a>
  205. <span>
  206. &nbsp;= &#039;imagick&#039; </span>
  207. </dt>
  208. <dt class="phpdocumentor-table-of-contents__entry -constant -public">
  209. <a href="classes/chillerlan-QRCode-Output-QROutputInterface.html#constant_LAYERNAMES">LAYERNAMES</a>
  210. <span>
  211. &nbsp;= [
  212. // light
  213. \chillerlan\QRCode\Data\QRMatrix::M_NULL =&gt; &#039;null&#039;,
  214. \chillerlan\QRCode\Data\QRMatrix::M_DARKMODULE_LIGHT =&gt; &#039;darkmodule-light&#039;,
  215. \chillerlan\QRCode\Data\QRMatrix::M_DATA =&gt; &#039;data&#039;,
  216. \chillerlan\QRCode\Data\QRMatrix::M_FINDER =&gt; &#039;finder&#039;,
  217. \chillerlan\QRCode\Data\QRMatrix::M_SEPARATOR =&gt; &#039;separator&#039;,
  218. \chillerlan\QRCode\Data\QRMatrix::M_ALIGNMENT =&gt; &#039;alignment&#039;,
  219. \chillerlan\QRCode\Data\QRMatrix::M_TIMING =&gt; &#039;timing&#039;,
  220. \chillerlan\QRCode\Data\QRMatrix::M_FORMAT =&gt; &#039;format&#039;,
  221. \chillerlan\QRCode\Data\QRMatrix::M_VERSION =&gt; &#039;version&#039;,
  222. \chillerlan\QRCode\Data\QRMatrix::M_QUIETZONE =&gt; &#039;quietzone&#039;,
  223. \chillerlan\QRCode\Data\QRMatrix::M_LOGO =&gt; &#039;logo&#039;,
  224. \chillerlan\QRCode\Data\QRMatrix::M_FINDER_DOT_LIGHT =&gt; &#039;finder-dot-light&#039;,
  225. // dark
  226. \chillerlan\QRCode\Data\QRMatrix::M_DARKMODULE =&gt; &#039;darkmodule&#039;,
  227. \chillerlan\QRCode\Data\QRMatrix::M_DATA_DARK =&gt; &#039;data-dark&#039;,
  228. \chillerlan\QRCode\Data\QRMatrix::M_FINDER_DARK =&gt; &#039;finder-dark&#039;,
  229. \chillerlan\QRCode\Data\QRMatrix::M_SEPARATOR_DARK =&gt; &#039;separator-dark&#039;,
  230. \chillerlan\QRCode\Data\QRMatrix::M_ALIGNMENT_DARK =&gt; &#039;alignment-dark&#039;,
  231. \chillerlan\QRCode\Data\QRMatrix::M_TIMING_DARK =&gt; &#039;timing-dark&#039;,
  232. \chillerlan\QRCode\Data\QRMatrix::M_FORMAT_DARK =&gt; &#039;format-dark&#039;,
  233. \chillerlan\QRCode\Data\QRMatrix::M_VERSION_DARK =&gt; &#039;version-dark&#039;,
  234. \chillerlan\QRCode\Data\QRMatrix::M_QUIETZONE_DARK =&gt; &#039;quietzone-dark&#039;,
  235. \chillerlan\QRCode\Data\QRMatrix::M_LOGO_DARK =&gt; &#039;logo-dark&#039;,
  236. \chillerlan\QRCode\Data\QRMatrix::M_FINDER_DOT =&gt; &#039;finder-dot&#039;,
  237. ] </span>
  238. </dt>
  239. <dd>Map of module type =&gt; readable name (for CSS etc.)</dd>
  240. <dt class="phpdocumentor-table-of-contents__entry -constant -public">
  241. <a href="classes/chillerlan-QRCode-Output-QROutputInterface.html#constant_MARKUP_HTML">MARKUP_HTML</a>
  242. <span>
  243. &nbsp;= &#039;html&#039; </span>
  244. </dt>
  245. <dt class="phpdocumentor-table-of-contents__entry -constant -public">
  246. <a href="classes/chillerlan-QRCode-Output-QROutputInterface.html#constant_MARKUP_SVG">MARKUP_SVG</a>
  247. <span>
  248. &nbsp;= &#039;svg&#039; </span>
  249. </dt>
  250. <dt class="phpdocumentor-table-of-contents__entry -constant -public">
  251. <a href="classes/chillerlan-QRCode-Output-QROutputInterface.html#constant_MODES">MODES</a>
  252. <span>
  253. &nbsp;= [self::MARKUP_SVG =&gt; \chillerlan\QRCode\Output\QRMarkupSVG::class, self::MARKUP_HTML =&gt; \chillerlan\QRCode\Output\QRMarkupHTML::class, self::GDIMAGE_BMP =&gt; \chillerlan\QRCode\Output\QRGdImageBMP::class, self::GDIMAGE_GIF =&gt; \chillerlan\QRCode\Output\QRGdImageGIF::class, self::GDIMAGE_JPG =&gt; \chillerlan\QRCode\Output\QRGdImageJPEG::class, self::GDIMAGE_PNG =&gt; \chillerlan\QRCode\Output\QRGdImagePNG::class, self::GDIMAGE_WEBP =&gt; \chillerlan\QRCode\Output\QRGdImageWEBP::class, self::STRING_JSON =&gt; \chillerlan\QRCode\Output\QRStringJSON::class, self::STRING_TEXT =&gt; \chillerlan\QRCode\Output\QRStringText::class, self::IMAGICK =&gt; \chillerlan\QRCode\Output\QRImagick::class, self::FPDF =&gt; \chillerlan\QRCode\Output\QRFpdf::class, self::EPS =&gt; \chillerlan\QRCode\Output\QREps::class] </span>
  254. </dt>
  255. <dd>Map of built-in output modes =&gt; class FQN</dd>
  256. <dt class="phpdocumentor-table-of-contents__entry -constant -public">
  257. <a href="classes/chillerlan-QRCode-Output-QROutputInterface.html#constant_STRING_JSON">STRING_JSON</a>
  258. <span>
  259. &nbsp;= &#039;json&#039; </span>
  260. </dt>
  261. <dt class="phpdocumentor-table-of-contents__entry -constant -public">
  262. <a href="classes/chillerlan-QRCode-Output-QROutputInterface.html#constant_STRING_TEXT">STRING_TEXT</a>
  263. <span>
  264. &nbsp;= &#039;text&#039; </span>
  265. </dt>
  266. </dl>
  267. <h4 id="toc-methods">
  268. Methods
  269. <a href="classes/chillerlan-QRCode-Output-QROutputInterface.html#toc-methods" class="headerlink"><i class="fas fa-link"></i></a>
  270. </h4>
  271. <dl class="phpdocumentor-table-of-contents">
  272. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  273. <a href="classes/chillerlan-QRCode-Output-QROutputInterface.html#method_dump">dump()</a>
  274. <span>
  275. &nbsp;: mixed </span>
  276. </dt>
  277. <dd>Generates the output, optionally dumps it to a file, and returns it</dd>
  278. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  279. <a href="classes/chillerlan-QRCode-Output-QROutputInterface.html#method_moduleValueIsValid">moduleValueIsValid()</a>
  280. <span>
  281. &nbsp;: bool </span>
  282. </dt>
  283. <dd>Determines whether the given value is valid</dd>
  284. </dl>
  285. <section class="phpdocumentor-constants">
  286. <h3 class="phpdocumentor-elements__header" id="constants">
  287. Constants
  288. <a href="classes/chillerlan-QRCode-Output-QROutputInterface.html#constants" class="headerlink"><i class="fas fa-link"></i></a>
  289. </h3>
  290. <article class="phpdocumentor-element -constant -public -deprecated">
  291. <h4 class="phpdocumentor-element__name" id="constant_CUSTOM">
  292. CUSTOM
  293. <a href="classes/chillerlan-QRCode-Output-QROutputInterface.html#constant_CUSTOM" class="headerlink"><i class="fas fa-link"></i></a>
  294. </h4>
  295. <aside class="phpdocumentor-element-found-in">
  296. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QROutputInterface.php"><a href="files/src-output-qroutputinterface.html"><abbr title="src/Output/QROutputInterface.php">QROutputInterface.php</abbr></a></abbr>
  297. :
  298. <span class="phpdocumentor-element-found-in__line">109</span>
  299. </aside>
  300. <code class="phpdocumentor-signature phpdocumentor-code -deprecated">
  301. <span class="phpdocumentor-signature__visibility">public</span>
  302. <span class="phpdocumentor-signature__type">string</span>
  303. <span class="phpdocumentor-signature__name">CUSTOM</span>
  304. = <span class="phpdocumentor-signature__default-value">&#039;custom&#039;</span>
  305. </code>
  306. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  307. Tags
  308. <a href="classes/chillerlan-QRCode-Output-QROutputInterface.html#constant_CUSTOM#tags" class="headerlink"><i class="fas fa-link"></i></a>
  309. </h5>
  310. <dl class="phpdocumentor-tag-list">
  311. <dt class="phpdocumentor-tag-list__entry">
  312. <span class="phpdocumentor-tag__name">deprecated</span>
  313. </dt>
  314. <dd class="phpdocumentor-tag-list__definition">
  315. <span class="phpdocumentor-tag-link">5.0.0</span>
  316. <section class="phpdocumentor-description"><no replacement>
  317. </section>
  318. </dd>
  319. <dt class="phpdocumentor-tag-list__entry">
  320. <span class="phpdocumentor-tag__name">see</span>
  321. </dt>
  322. <dd class="phpdocumentor-tag-list__definition">
  323. <span class="phpdocumentor-tag-link"><a href="https://github.com/chillerlan/php-qrcode/issues/223">https://github.com/chillerlan/php-qrcode/issues/223</a></span>
  324. </dd>
  325. </dl>
  326. </article>
  327. <article class="phpdocumentor-element -constant -public ">
  328. <h4 class="phpdocumentor-element__name" id="constant_DEFAULT_MODULE_VALUES">
  329. DEFAULT_MODULE_VALUES
  330. <a href="classes/chillerlan-QRCode-Output-QROutputInterface.html#constant_DEFAULT_MODULE_VALUES" class="headerlink"><i class="fas fa-link"></i></a>
  331. </h4>
  332. <aside class="phpdocumentor-element-found-in">
  333. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QROutputInterface.php"><a href="files/src-output-qroutputinterface.html"><abbr title="src/Output/QROutputInterface.php">QROutputInterface.php</abbr></a></abbr>
  334. :
  335. <span class="phpdocumentor-element-found-in__line">138</span>
  336. </aside>
  337. <p class="phpdocumentor-summary">Map of module type =&gt; default value</p>
  338. <code class="phpdocumentor-signature phpdocumentor-code ">
  339. <span class="phpdocumentor-signature__visibility">public</span>
  340. <span class="phpdocumentor-signature__type">array&lt;string|int, bool&gt;</span>
  341. <span class="phpdocumentor-signature__name">DEFAULT_MODULE_VALUES</span>
  342. = <span class="phpdocumentor-signature__default-value">[
  343. // light
  344. \chillerlan\QRCode\Data\QRMatrix::M_NULL =&gt; false,
  345. \chillerlan\QRCode\Data\QRMatrix::M_DARKMODULE_LIGHT =&gt; false,
  346. \chillerlan\QRCode\Data\QRMatrix::M_DATA =&gt; false,
  347. \chillerlan\QRCode\Data\QRMatrix::M_FINDER =&gt; false,
  348. \chillerlan\QRCode\Data\QRMatrix::M_SEPARATOR =&gt; false,
  349. \chillerlan\QRCode\Data\QRMatrix::M_ALIGNMENT =&gt; false,
  350. \chillerlan\QRCode\Data\QRMatrix::M_TIMING =&gt; false,
  351. \chillerlan\QRCode\Data\QRMatrix::M_FORMAT =&gt; false,
  352. \chillerlan\QRCode\Data\QRMatrix::M_VERSION =&gt; false,
  353. \chillerlan\QRCode\Data\QRMatrix::M_QUIETZONE =&gt; false,
  354. \chillerlan\QRCode\Data\QRMatrix::M_LOGO =&gt; false,
  355. \chillerlan\QRCode\Data\QRMatrix::M_FINDER_DOT_LIGHT =&gt; false,
  356. // dark
  357. \chillerlan\QRCode\Data\QRMatrix::M_DARKMODULE =&gt; true,
  358. \chillerlan\QRCode\Data\QRMatrix::M_DATA_DARK =&gt; true,
  359. \chillerlan\QRCode\Data\QRMatrix::M_FINDER_DARK =&gt; true,
  360. \chillerlan\QRCode\Data\QRMatrix::M_SEPARATOR_DARK =&gt; true,
  361. \chillerlan\QRCode\Data\QRMatrix::M_ALIGNMENT_DARK =&gt; true,
  362. \chillerlan\QRCode\Data\QRMatrix::M_TIMING_DARK =&gt; true,
  363. \chillerlan\QRCode\Data\QRMatrix::M_FORMAT_DARK =&gt; true,
  364. \chillerlan\QRCode\Data\QRMatrix::M_VERSION_DARK =&gt; true,
  365. \chillerlan\QRCode\Data\QRMatrix::M_QUIETZONE_DARK =&gt; true,
  366. \chillerlan\QRCode\Data\QRMatrix::M_LOGO_DARK =&gt; true,
  367. \chillerlan\QRCode\Data\QRMatrix::M_FINDER_DOT =&gt; true,
  368. ]</span>
  369. </code>
  370. </article>
  371. <article class="phpdocumentor-element -constant -public -deprecated">
  372. <h4 class="phpdocumentor-element__name" id="constant_EPS">
  373. EPS
  374. <a href="classes/chillerlan-QRCode-Output-QROutputInterface.html#constant_EPS" class="headerlink"><i class="fas fa-link"></i></a>
  375. </h4>
  376. <aside class="phpdocumentor-element-found-in">
  377. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QROutputInterface.php"><a href="files/src-output-qroutputinterface.html"><abbr title="src/Output/QROutputInterface.php">QROutputInterface.php</abbr></a></abbr>
  378. :
  379. <span class="phpdocumentor-element-found-in__line">102</span>
  380. </aside>
  381. <code class="phpdocumentor-signature phpdocumentor-code -deprecated">
  382. <span class="phpdocumentor-signature__visibility">public</span>
  383. <span class="phpdocumentor-signature__type">string</span>
  384. <span class="phpdocumentor-signature__name">EPS</span>
  385. = <span class="phpdocumentor-signature__default-value">&#039;eps&#039;</span>
  386. </code>
  387. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  388. Tags
  389. <a href="classes/chillerlan-QRCode-Output-QROutputInterface.html#constant_EPS#tags" class="headerlink"><i class="fas fa-link"></i></a>
  390. </h5>
  391. <dl class="phpdocumentor-tag-list">
  392. <dt class="phpdocumentor-tag-list__entry">
  393. <span class="phpdocumentor-tag__name">deprecated</span>
  394. </dt>
  395. <dd class="phpdocumentor-tag-list__definition">
  396. <span class="phpdocumentor-tag-link">5.0.0</span>
  397. <section class="phpdocumentor-description"><no replacement>
  398. </section>
  399. </dd>
  400. <dt class="phpdocumentor-tag-list__entry">
  401. <span class="phpdocumentor-tag__name">see</span>
  402. </dt>
  403. <dd class="phpdocumentor-tag-list__definition">
  404. <span class="phpdocumentor-tag-link"><a href="https://github.com/chillerlan/php-qrcode/issues/223">https://github.com/chillerlan/php-qrcode/issues/223</a></span>
  405. </dd>
  406. </dl>
  407. </article>
  408. <article class="phpdocumentor-element -constant -public -deprecated">
  409. <h4 class="phpdocumentor-element__name" id="constant_FPDF">
  410. FPDF
  411. <a href="classes/chillerlan-QRCode-Output-QROutputInterface.html#constant_FPDF" class="headerlink"><i class="fas fa-link"></i></a>
  412. </h4>
  413. <aside class="phpdocumentor-element-found-in">
  414. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QROutputInterface.php"><a href="files/src-output-qroutputinterface.html"><abbr title="src/Output/QROutputInterface.php">QROutputInterface.php</abbr></a></abbr>
  415. :
  416. <span class="phpdocumentor-element-found-in__line">95</span>
  417. </aside>
  418. <code class="phpdocumentor-signature phpdocumentor-code -deprecated">
  419. <span class="phpdocumentor-signature__visibility">public</span>
  420. <span class="phpdocumentor-signature__type">string</span>
  421. <span class="phpdocumentor-signature__name">FPDF</span>
  422. = <span class="phpdocumentor-signature__default-value">&#039;fpdf&#039;</span>
  423. </code>
  424. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  425. Tags
  426. <a href="classes/chillerlan-QRCode-Output-QROutputInterface.html#constant_FPDF#tags" class="headerlink"><i class="fas fa-link"></i></a>
  427. </h5>
  428. <dl class="phpdocumentor-tag-list">
  429. <dt class="phpdocumentor-tag-list__entry">
  430. <span class="phpdocumentor-tag__name">deprecated</span>
  431. </dt>
  432. <dd class="phpdocumentor-tag-list__definition">
  433. <span class="phpdocumentor-tag-link">5.0.0</span>
  434. <section class="phpdocumentor-description"><no replacement>
  435. </section>
  436. </dd>
  437. <dt class="phpdocumentor-tag-list__entry">
  438. <span class="phpdocumentor-tag__name">see</span>
  439. </dt>
  440. <dd class="phpdocumentor-tag-list__definition">
  441. <span class="phpdocumentor-tag-link"><a href="https://github.com/chillerlan/php-qrcode/issues/223">https://github.com/chillerlan/php-qrcode/issues/223</a></span>
  442. </dd>
  443. </dl>
  444. </article>
  445. <article class="phpdocumentor-element -constant -public -deprecated">
  446. <h4 class="phpdocumentor-element__name" id="constant_GDIMAGE_BMP">
  447. GDIMAGE_BMP
  448. <a href="classes/chillerlan-QRCode-Output-QROutputInterface.html#constant_GDIMAGE_BMP" class="headerlink"><i class="fas fa-link"></i></a>
  449. </h4>
  450. <aside class="phpdocumentor-element-found-in">
  451. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QROutputInterface.php"><a href="files/src-output-qroutputinterface.html"><abbr title="src/Output/QROutputInterface.php">QROutputInterface.php</abbr></a></abbr>
  452. :
  453. <span class="phpdocumentor-element-found-in__line">39</span>
  454. </aside>
  455. <code class="phpdocumentor-signature phpdocumentor-code -deprecated">
  456. <span class="phpdocumentor-signature__visibility">public</span>
  457. <span class="phpdocumentor-signature__type">string</span>
  458. <span class="phpdocumentor-signature__name">GDIMAGE_BMP</span>
  459. = <span class="phpdocumentor-signature__default-value">&#039;bmp&#039;</span>
  460. </code>
  461. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  462. Tags
  463. <a href="classes/chillerlan-QRCode-Output-QROutputInterface.html#constant_GDIMAGE_BMP#tags" class="headerlink"><i class="fas fa-link"></i></a>
  464. </h5>
  465. <dl class="phpdocumentor-tag-list">
  466. <dt class="phpdocumentor-tag-list__entry">
  467. <span class="phpdocumentor-tag__name">deprecated</span>
  468. </dt>
  469. <dd class="phpdocumentor-tag-list__definition">
  470. <span class="phpdocumentor-tag-link">5.0.0</span>
  471. <section class="phpdocumentor-description"><no replacement>
  472. </section>
  473. </dd>
  474. <dt class="phpdocumentor-tag-list__entry">
  475. <span class="phpdocumentor-tag__name">see</span>
  476. </dt>
  477. <dd class="phpdocumentor-tag-list__definition">
  478. <span class="phpdocumentor-tag-link"><a href="https://github.com/chillerlan/php-qrcode/issues/223">https://github.com/chillerlan/php-qrcode/issues/223</a></span>
  479. </dd>
  480. </dl>
  481. </article>
  482. <article class="phpdocumentor-element -constant -public -deprecated">
  483. <h4 class="phpdocumentor-element__name" id="constant_GDIMAGE_GIF">
  484. GDIMAGE_GIF
  485. <a href="classes/chillerlan-QRCode-Output-QROutputInterface.html#constant_GDIMAGE_GIF" class="headerlink"><i class="fas fa-link"></i></a>
  486. </h4>
  487. <aside class="phpdocumentor-element-found-in">
  488. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QROutputInterface.php"><a href="files/src-output-qroutputinterface.html"><abbr title="src/Output/QROutputInterface.php">QROutputInterface.php</abbr></a></abbr>
  489. :
  490. <span class="phpdocumentor-element-found-in__line">46</span>
  491. </aside>
  492. <code class="phpdocumentor-signature phpdocumentor-code -deprecated">
  493. <span class="phpdocumentor-signature__visibility">public</span>
  494. <span class="phpdocumentor-signature__type">string</span>
  495. <span class="phpdocumentor-signature__name">GDIMAGE_GIF</span>
  496. = <span class="phpdocumentor-signature__default-value">&#039;gif&#039;</span>
  497. </code>
  498. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  499. Tags
  500. <a href="classes/chillerlan-QRCode-Output-QROutputInterface.html#constant_GDIMAGE_GIF#tags" class="headerlink"><i class="fas fa-link"></i></a>
  501. </h5>
  502. <dl class="phpdocumentor-tag-list">
  503. <dt class="phpdocumentor-tag-list__entry">
  504. <span class="phpdocumentor-tag__name">deprecated</span>
  505. </dt>
  506. <dd class="phpdocumentor-tag-list__definition">
  507. <span class="phpdocumentor-tag-link">5.0.0</span>
  508. <section class="phpdocumentor-description"><no replacement>
  509. </section>
  510. </dd>
  511. <dt class="phpdocumentor-tag-list__entry">
  512. <span class="phpdocumentor-tag__name">see</span>
  513. </dt>
  514. <dd class="phpdocumentor-tag-list__definition">
  515. <span class="phpdocumentor-tag-link"><a href="https://github.com/chillerlan/php-qrcode/issues/223">https://github.com/chillerlan/php-qrcode/issues/223</a></span>
  516. </dd>
  517. </dl>
  518. </article>
  519. <article class="phpdocumentor-element -constant -public -deprecated">
  520. <h4 class="phpdocumentor-element__name" id="constant_GDIMAGE_JPG">
  521. GDIMAGE_JPG
  522. <a href="classes/chillerlan-QRCode-Output-QROutputInterface.html#constant_GDIMAGE_JPG" class="headerlink"><i class="fas fa-link"></i></a>
  523. </h4>
  524. <aside class="phpdocumentor-element-found-in">
  525. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QROutputInterface.php"><a href="files/src-output-qroutputinterface.html"><abbr title="src/Output/QROutputInterface.php">QROutputInterface.php</abbr></a></abbr>
  526. :
  527. <span class="phpdocumentor-element-found-in__line">53</span>
  528. </aside>
  529. <code class="phpdocumentor-signature phpdocumentor-code -deprecated">
  530. <span class="phpdocumentor-signature__visibility">public</span>
  531. <span class="phpdocumentor-signature__type">string</span>
  532. <span class="phpdocumentor-signature__name">GDIMAGE_JPG</span>
  533. = <span class="phpdocumentor-signature__default-value">&#039;jpg&#039;</span>
  534. </code>
  535. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  536. Tags
  537. <a href="classes/chillerlan-QRCode-Output-QROutputInterface.html#constant_GDIMAGE_JPG#tags" class="headerlink"><i class="fas fa-link"></i></a>
  538. </h5>
  539. <dl class="phpdocumentor-tag-list">
  540. <dt class="phpdocumentor-tag-list__entry">
  541. <span class="phpdocumentor-tag__name">deprecated</span>
  542. </dt>
  543. <dd class="phpdocumentor-tag-list__definition">
  544. <span class="phpdocumentor-tag-link">5.0.0</span>
  545. <section class="phpdocumentor-description"><no replacement>
  546. </section>
  547. </dd>
  548. <dt class="phpdocumentor-tag-list__entry">
  549. <span class="phpdocumentor-tag__name">see</span>
  550. </dt>
  551. <dd class="phpdocumentor-tag-list__definition">
  552. <span class="phpdocumentor-tag-link"><a href="https://github.com/chillerlan/php-qrcode/issues/223">https://github.com/chillerlan/php-qrcode/issues/223</a></span>
  553. </dd>
  554. </dl>
  555. </article>
  556. <article class="phpdocumentor-element -constant -public -deprecated">
  557. <h4 class="phpdocumentor-element__name" id="constant_GDIMAGE_PNG">
  558. GDIMAGE_PNG
  559. <a href="classes/chillerlan-QRCode-Output-QROutputInterface.html#constant_GDIMAGE_PNG" class="headerlink"><i class="fas fa-link"></i></a>
  560. </h4>
  561. <aside class="phpdocumentor-element-found-in">
  562. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QROutputInterface.php"><a href="files/src-output-qroutputinterface.html"><abbr title="src/Output/QROutputInterface.php">QROutputInterface.php</abbr></a></abbr>
  563. :
  564. <span class="phpdocumentor-element-found-in__line">60</span>
  565. </aside>
  566. <code class="phpdocumentor-signature phpdocumentor-code -deprecated">
  567. <span class="phpdocumentor-signature__visibility">public</span>
  568. <span class="phpdocumentor-signature__type">string</span>
  569. <span class="phpdocumentor-signature__name">GDIMAGE_PNG</span>
  570. = <span class="phpdocumentor-signature__default-value">&#039;png&#039;</span>
  571. </code>
  572. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  573. Tags
  574. <a href="classes/chillerlan-QRCode-Output-QROutputInterface.html#constant_GDIMAGE_PNG#tags" class="headerlink"><i class="fas fa-link"></i></a>
  575. </h5>
  576. <dl class="phpdocumentor-tag-list">
  577. <dt class="phpdocumentor-tag-list__entry">
  578. <span class="phpdocumentor-tag__name">deprecated</span>
  579. </dt>
  580. <dd class="phpdocumentor-tag-list__definition">
  581. <span class="phpdocumentor-tag-link">5.0.0</span>
  582. <section class="phpdocumentor-description"><no replacement>
  583. </section>
  584. </dd>
  585. <dt class="phpdocumentor-tag-list__entry">
  586. <span class="phpdocumentor-tag__name">see</span>
  587. </dt>
  588. <dd class="phpdocumentor-tag-list__definition">
  589. <span class="phpdocumentor-tag-link"><a href="https://github.com/chillerlan/php-qrcode/issues/223">https://github.com/chillerlan/php-qrcode/issues/223</a></span>
  590. </dd>
  591. </dl>
  592. </article>
  593. <article class="phpdocumentor-element -constant -public -deprecated">
  594. <h4 class="phpdocumentor-element__name" id="constant_GDIMAGE_WEBP">
  595. GDIMAGE_WEBP
  596. <a href="classes/chillerlan-QRCode-Output-QROutputInterface.html#constant_GDIMAGE_WEBP" class="headerlink"><i class="fas fa-link"></i></a>
  597. </h4>
  598. <aside class="phpdocumentor-element-found-in">
  599. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QROutputInterface.php"><a href="files/src-output-qroutputinterface.html"><abbr title="src/Output/QROutputInterface.php">QROutputInterface.php</abbr></a></abbr>
  600. :
  601. <span class="phpdocumentor-element-found-in__line">67</span>
  602. </aside>
  603. <code class="phpdocumentor-signature phpdocumentor-code -deprecated">
  604. <span class="phpdocumentor-signature__visibility">public</span>
  605. <span class="phpdocumentor-signature__type">string</span>
  606. <span class="phpdocumentor-signature__name">GDIMAGE_WEBP</span>
  607. = <span class="phpdocumentor-signature__default-value">&#039;webp&#039;</span>
  608. </code>
  609. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  610. Tags
  611. <a href="classes/chillerlan-QRCode-Output-QROutputInterface.html#constant_GDIMAGE_WEBP#tags" class="headerlink"><i class="fas fa-link"></i></a>
  612. </h5>
  613. <dl class="phpdocumentor-tag-list">
  614. <dt class="phpdocumentor-tag-list__entry">
  615. <span class="phpdocumentor-tag__name">deprecated</span>
  616. </dt>
  617. <dd class="phpdocumentor-tag-list__definition">
  618. <span class="phpdocumentor-tag-link">5.0.0</span>
  619. <section class="phpdocumentor-description"><no replacement>
  620. </section>
  621. </dd>
  622. <dt class="phpdocumentor-tag-list__entry">
  623. <span class="phpdocumentor-tag__name">see</span>
  624. </dt>
  625. <dd class="phpdocumentor-tag-list__definition">
  626. <span class="phpdocumentor-tag-link"><a href="https://github.com/chillerlan/php-qrcode/issues/223">https://github.com/chillerlan/php-qrcode/issues/223</a></span>
  627. </dd>
  628. </dl>
  629. </article>
  630. <article class="phpdocumentor-element -constant -public -deprecated">
  631. <h4 class="phpdocumentor-element__name" id="constant_IMAGICK">
  632. IMAGICK
  633. <a href="classes/chillerlan-QRCode-Output-QROutputInterface.html#constant_IMAGICK" class="headerlink"><i class="fas fa-link"></i></a>
  634. </h4>
  635. <aside class="phpdocumentor-element-found-in">
  636. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QROutputInterface.php"><a href="files/src-output-qroutputinterface.html"><abbr title="src/Output/QROutputInterface.php">QROutputInterface.php</abbr></a></abbr>
  637. :
  638. <span class="phpdocumentor-element-found-in__line">88</span>
  639. </aside>
  640. <code class="phpdocumentor-signature phpdocumentor-code -deprecated">
  641. <span class="phpdocumentor-signature__visibility">public</span>
  642. <span class="phpdocumentor-signature__type">string</span>
  643. <span class="phpdocumentor-signature__name">IMAGICK</span>
  644. = <span class="phpdocumentor-signature__default-value">&#039;imagick&#039;</span>
  645. </code>
  646. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  647. Tags
  648. <a href="classes/chillerlan-QRCode-Output-QROutputInterface.html#constant_IMAGICK#tags" class="headerlink"><i class="fas fa-link"></i></a>
  649. </h5>
  650. <dl class="phpdocumentor-tag-list">
  651. <dt class="phpdocumentor-tag-list__entry">
  652. <span class="phpdocumentor-tag__name">deprecated</span>
  653. </dt>
  654. <dd class="phpdocumentor-tag-list__definition">
  655. <span class="phpdocumentor-tag-link">5.0.0</span>
  656. <section class="phpdocumentor-description"><no replacement>
  657. </section>
  658. </dd>
  659. <dt class="phpdocumentor-tag-list__entry">
  660. <span class="phpdocumentor-tag__name">see</span>
  661. </dt>
  662. <dd class="phpdocumentor-tag-list__definition">
  663. <span class="phpdocumentor-tag-link"><a href="https://github.com/chillerlan/php-qrcode/issues/223">https://github.com/chillerlan/php-qrcode/issues/223</a></span>
  664. </dd>
  665. </dl>
  666. </article>
  667. <article class="phpdocumentor-element -constant -public ">
  668. <h4 class="phpdocumentor-element__name" id="constant_LAYERNAMES">
  669. LAYERNAMES
  670. <a href="classes/chillerlan-QRCode-Output-QROutputInterface.html#constant_LAYERNAMES" class="headerlink"><i class="fas fa-link"></i></a>
  671. </h4>
  672. <aside class="phpdocumentor-element-found-in">
  673. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QROutputInterface.php"><a href="files/src-output-qroutputinterface.html"><abbr title="src/Output/QROutputInterface.php">QROutputInterface.php</abbr></a></abbr>
  674. :
  675. <span class="phpdocumentor-element-found-in__line">171</span>
  676. </aside>
  677. <p class="phpdocumentor-summary">Map of module type =&gt; readable name (for CSS etc.)</p>
  678. <code class="phpdocumentor-signature phpdocumentor-code ">
  679. <span class="phpdocumentor-signature__visibility">public</span>
  680. <span class="phpdocumentor-signature__type">array&lt;string|int, string&gt;</span>
  681. <span class="phpdocumentor-signature__name">LAYERNAMES</span>
  682. = <span class="phpdocumentor-signature__default-value">[
  683. // light
  684. \chillerlan\QRCode\Data\QRMatrix::M_NULL =&gt; &#039;null&#039;,
  685. \chillerlan\QRCode\Data\QRMatrix::M_DARKMODULE_LIGHT =&gt; &#039;darkmodule-light&#039;,
  686. \chillerlan\QRCode\Data\QRMatrix::M_DATA =&gt; &#039;data&#039;,
  687. \chillerlan\QRCode\Data\QRMatrix::M_FINDER =&gt; &#039;finder&#039;,
  688. \chillerlan\QRCode\Data\QRMatrix::M_SEPARATOR =&gt; &#039;separator&#039;,
  689. \chillerlan\QRCode\Data\QRMatrix::M_ALIGNMENT =&gt; &#039;alignment&#039;,
  690. \chillerlan\QRCode\Data\QRMatrix::M_TIMING =&gt; &#039;timing&#039;,
  691. \chillerlan\QRCode\Data\QRMatrix::M_FORMAT =&gt; &#039;format&#039;,
  692. \chillerlan\QRCode\Data\QRMatrix::M_VERSION =&gt; &#039;version&#039;,
  693. \chillerlan\QRCode\Data\QRMatrix::M_QUIETZONE =&gt; &#039;quietzone&#039;,
  694. \chillerlan\QRCode\Data\QRMatrix::M_LOGO =&gt; &#039;logo&#039;,
  695. \chillerlan\QRCode\Data\QRMatrix::M_FINDER_DOT_LIGHT =&gt; &#039;finder-dot-light&#039;,
  696. // dark
  697. \chillerlan\QRCode\Data\QRMatrix::M_DARKMODULE =&gt; &#039;darkmodule&#039;,
  698. \chillerlan\QRCode\Data\QRMatrix::M_DATA_DARK =&gt; &#039;data-dark&#039;,
  699. \chillerlan\QRCode\Data\QRMatrix::M_FINDER_DARK =&gt; &#039;finder-dark&#039;,
  700. \chillerlan\QRCode\Data\QRMatrix::M_SEPARATOR_DARK =&gt; &#039;separator-dark&#039;,
  701. \chillerlan\QRCode\Data\QRMatrix::M_ALIGNMENT_DARK =&gt; &#039;alignment-dark&#039;,
  702. \chillerlan\QRCode\Data\QRMatrix::M_TIMING_DARK =&gt; &#039;timing-dark&#039;,
  703. \chillerlan\QRCode\Data\QRMatrix::M_FORMAT_DARK =&gt; &#039;format-dark&#039;,
  704. \chillerlan\QRCode\Data\QRMatrix::M_VERSION_DARK =&gt; &#039;version-dark&#039;,
  705. \chillerlan\QRCode\Data\QRMatrix::M_QUIETZONE_DARK =&gt; &#039;quietzone-dark&#039;,
  706. \chillerlan\QRCode\Data\QRMatrix::M_LOGO_DARK =&gt; &#039;logo-dark&#039;,
  707. \chillerlan\QRCode\Data\QRMatrix::M_FINDER_DOT =&gt; &#039;finder-dot&#039;,
  708. ]</span>
  709. </code>
  710. </article>
  711. <article class="phpdocumentor-element -constant -public -deprecated">
  712. <h4 class="phpdocumentor-element__name" id="constant_MARKUP_HTML">
  713. MARKUP_HTML
  714. <a href="classes/chillerlan-QRCode-Output-QROutputInterface.html#constant_MARKUP_HTML" class="headerlink"><i class="fas fa-link"></i></a>
  715. </h4>
  716. <aside class="phpdocumentor-element-found-in">
  717. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QROutputInterface.php"><a href="files/src-output-qroutputinterface.html"><abbr title="src/Output/QROutputInterface.php">QROutputInterface.php</abbr></a></abbr>
  718. :
  719. <span class="phpdocumentor-element-found-in__line">25</span>
  720. </aside>
  721. <code class="phpdocumentor-signature phpdocumentor-code -deprecated">
  722. <span class="phpdocumentor-signature__visibility">public</span>
  723. <span class="phpdocumentor-signature__type">string</span>
  724. <span class="phpdocumentor-signature__name">MARKUP_HTML</span>
  725. = <span class="phpdocumentor-signature__default-value">&#039;html&#039;</span>
  726. </code>
  727. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  728. Tags
  729. <a href="classes/chillerlan-QRCode-Output-QROutputInterface.html#constant_MARKUP_HTML#tags" class="headerlink"><i class="fas fa-link"></i></a>
  730. </h5>
  731. <dl class="phpdocumentor-tag-list">
  732. <dt class="phpdocumentor-tag-list__entry">
  733. <span class="phpdocumentor-tag__name">deprecated</span>
  734. </dt>
  735. <dd class="phpdocumentor-tag-list__definition">
  736. <span class="phpdocumentor-tag-link">5.0.0</span>
  737. <section class="phpdocumentor-description"><no replacement>
  738. </section>
  739. </dd>
  740. <dt class="phpdocumentor-tag-list__entry">
  741. <span class="phpdocumentor-tag__name">see</span>
  742. </dt>
  743. <dd class="phpdocumentor-tag-list__definition">
  744. <span class="phpdocumentor-tag-link"><a href="https://github.com/chillerlan/php-qrcode/issues/223">https://github.com/chillerlan/php-qrcode/issues/223</a></span>
  745. </dd>
  746. </dl>
  747. </article>
  748. <article class="phpdocumentor-element -constant -public -deprecated">
  749. <h4 class="phpdocumentor-element__name" id="constant_MARKUP_SVG">
  750. MARKUP_SVG
  751. <a href="classes/chillerlan-QRCode-Output-QROutputInterface.html#constant_MARKUP_SVG" class="headerlink"><i class="fas fa-link"></i></a>
  752. </h4>
  753. <aside class="phpdocumentor-element-found-in">
  754. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QROutputInterface.php"><a href="files/src-output-qroutputinterface.html"><abbr title="src/Output/QROutputInterface.php">QROutputInterface.php</abbr></a></abbr>
  755. :
  756. <span class="phpdocumentor-element-found-in__line">32</span>
  757. </aside>
  758. <code class="phpdocumentor-signature phpdocumentor-code -deprecated">
  759. <span class="phpdocumentor-signature__visibility">public</span>
  760. <span class="phpdocumentor-signature__type">string</span>
  761. <span class="phpdocumentor-signature__name">MARKUP_SVG</span>
  762. = <span class="phpdocumentor-signature__default-value">&#039;svg&#039;</span>
  763. </code>
  764. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  765. Tags
  766. <a href="classes/chillerlan-QRCode-Output-QROutputInterface.html#constant_MARKUP_SVG#tags" class="headerlink"><i class="fas fa-link"></i></a>
  767. </h5>
  768. <dl class="phpdocumentor-tag-list">
  769. <dt class="phpdocumentor-tag-list__entry">
  770. <span class="phpdocumentor-tag__name">deprecated</span>
  771. </dt>
  772. <dd class="phpdocumentor-tag-list__definition">
  773. <span class="phpdocumentor-tag-link">5.0.0</span>
  774. <section class="phpdocumentor-description"><no replacement>
  775. </section>
  776. </dd>
  777. <dt class="phpdocumentor-tag-list__entry">
  778. <span class="phpdocumentor-tag__name">see</span>
  779. </dt>
  780. <dd class="phpdocumentor-tag-list__definition">
  781. <span class="phpdocumentor-tag-link"><a href="https://github.com/chillerlan/php-qrcode/issues/223">https://github.com/chillerlan/php-qrcode/issues/223</a></span>
  782. </dd>
  783. </dl>
  784. </article>
  785. <article class="phpdocumentor-element -constant -public -deprecated">
  786. <h4 class="phpdocumentor-element__name" id="constant_MODES">
  787. MODES
  788. <a href="classes/chillerlan-QRCode-Output-QROutputInterface.html#constant_MODES" class="headerlink"><i class="fas fa-link"></i></a>
  789. </h4>
  790. <aside class="phpdocumentor-element-found-in">
  791. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QROutputInterface.php"><a href="files/src-output-qroutputinterface.html"><abbr title="src/Output/QROutputInterface.php">QROutputInterface.php</abbr></a></abbr>
  792. :
  793. <span class="phpdocumentor-element-found-in__line">118</span>
  794. </aside>
  795. <p class="phpdocumentor-summary">Map of built-in output modes =&gt; class FQN</p>
  796. <code class="phpdocumentor-signature phpdocumentor-code -deprecated">
  797. <span class="phpdocumentor-signature__visibility">public</span>
  798. <span class="phpdocumentor-signature__type">array&lt;string|int, string&gt;</span>
  799. <span class="phpdocumentor-signature__name">MODES</span>
  800. = <span class="phpdocumentor-signature__default-value">[self::MARKUP_SVG =&gt; \chillerlan\QRCode\Output\QRMarkupSVG::class, self::MARKUP_HTML =&gt; \chillerlan\QRCode\Output\QRMarkupHTML::class, self::GDIMAGE_BMP =&gt; \chillerlan\QRCode\Output\QRGdImageBMP::class, self::GDIMAGE_GIF =&gt; \chillerlan\QRCode\Output\QRGdImageGIF::class, self::GDIMAGE_JPG =&gt; \chillerlan\QRCode\Output\QRGdImageJPEG::class, self::GDIMAGE_PNG =&gt; \chillerlan\QRCode\Output\QRGdImagePNG::class, self::GDIMAGE_WEBP =&gt; \chillerlan\QRCode\Output\QRGdImageWEBP::class, self::STRING_JSON =&gt; \chillerlan\QRCode\Output\QRStringJSON::class, self::STRING_TEXT =&gt; \chillerlan\QRCode\Output\QRStringText::class, self::IMAGICK =&gt; \chillerlan\QRCode\Output\QRImagick::class, self::FPDF =&gt; \chillerlan\QRCode\Output\QRFpdf::class, self::EPS =&gt; \chillerlan\QRCode\Output\QREps::class]</span>
  801. </code>
  802. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  803. Tags
  804. <a href="classes/chillerlan-QRCode-Output-QROutputInterface.html#constant_MODES#tags" class="headerlink"><i class="fas fa-link"></i></a>
  805. </h5>
  806. <dl class="phpdocumentor-tag-list">
  807. <dt class="phpdocumentor-tag-list__entry">
  808. <span class="phpdocumentor-tag__name">deprecated</span>
  809. </dt>
  810. <dd class="phpdocumentor-tag-list__definition">
  811. <span class="phpdocumentor-tag-link">5.0.0</span>
  812. <section class="phpdocumentor-description"><no replacement>
  813. </section>
  814. </dd>
  815. <dt class="phpdocumentor-tag-list__entry">
  816. <span class="phpdocumentor-tag__name">see</span>
  817. </dt>
  818. <dd class="phpdocumentor-tag-list__definition">
  819. <span class="phpdocumentor-tag-link"><a href="https://github.com/chillerlan/php-qrcode/issues/223">https://github.com/chillerlan/php-qrcode/issues/223</a></span>
  820. </dd>
  821. </dl>
  822. </article>
  823. <article class="phpdocumentor-element -constant -public -deprecated">
  824. <h4 class="phpdocumentor-element__name" id="constant_STRING_JSON">
  825. STRING_JSON
  826. <a href="classes/chillerlan-QRCode-Output-QROutputInterface.html#constant_STRING_JSON" class="headerlink"><i class="fas fa-link"></i></a>
  827. </h4>
  828. <aside class="phpdocumentor-element-found-in">
  829. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QROutputInterface.php"><a href="files/src-output-qroutputinterface.html"><abbr title="src/Output/QROutputInterface.php">QROutputInterface.php</abbr></a></abbr>
  830. :
  831. <span class="phpdocumentor-element-found-in__line">74</span>
  832. </aside>
  833. <code class="phpdocumentor-signature phpdocumentor-code -deprecated">
  834. <span class="phpdocumentor-signature__visibility">public</span>
  835. <span class="phpdocumentor-signature__type">string</span>
  836. <span class="phpdocumentor-signature__name">STRING_JSON</span>
  837. = <span class="phpdocumentor-signature__default-value">&#039;json&#039;</span>
  838. </code>
  839. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  840. Tags
  841. <a href="classes/chillerlan-QRCode-Output-QROutputInterface.html#constant_STRING_JSON#tags" class="headerlink"><i class="fas fa-link"></i></a>
  842. </h5>
  843. <dl class="phpdocumentor-tag-list">
  844. <dt class="phpdocumentor-tag-list__entry">
  845. <span class="phpdocumentor-tag__name">deprecated</span>
  846. </dt>
  847. <dd class="phpdocumentor-tag-list__definition">
  848. <span class="phpdocumentor-tag-link">5.0.0</span>
  849. <section class="phpdocumentor-description"><no replacement>
  850. </section>
  851. </dd>
  852. <dt class="phpdocumentor-tag-list__entry">
  853. <span class="phpdocumentor-tag__name">see</span>
  854. </dt>
  855. <dd class="phpdocumentor-tag-list__definition">
  856. <span class="phpdocumentor-tag-link"><a href="https://github.com/chillerlan/php-qrcode/issues/223">https://github.com/chillerlan/php-qrcode/issues/223</a></span>
  857. </dd>
  858. </dl>
  859. </article>
  860. <article class="phpdocumentor-element -constant -public -deprecated">
  861. <h4 class="phpdocumentor-element__name" id="constant_STRING_TEXT">
  862. STRING_TEXT
  863. <a href="classes/chillerlan-QRCode-Output-QROutputInterface.html#constant_STRING_TEXT" class="headerlink"><i class="fas fa-link"></i></a>
  864. </h4>
  865. <aside class="phpdocumentor-element-found-in">
  866. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QROutputInterface.php"><a href="files/src-output-qroutputinterface.html"><abbr title="src/Output/QROutputInterface.php">QROutputInterface.php</abbr></a></abbr>
  867. :
  868. <span class="phpdocumentor-element-found-in__line">81</span>
  869. </aside>
  870. <code class="phpdocumentor-signature phpdocumentor-code -deprecated">
  871. <span class="phpdocumentor-signature__visibility">public</span>
  872. <span class="phpdocumentor-signature__type">string</span>
  873. <span class="phpdocumentor-signature__name">STRING_TEXT</span>
  874. = <span class="phpdocumentor-signature__default-value">&#039;text&#039;</span>
  875. </code>
  876. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  877. Tags
  878. <a href="classes/chillerlan-QRCode-Output-QROutputInterface.html#constant_STRING_TEXT#tags" class="headerlink"><i class="fas fa-link"></i></a>
  879. </h5>
  880. <dl class="phpdocumentor-tag-list">
  881. <dt class="phpdocumentor-tag-list__entry">
  882. <span class="phpdocumentor-tag__name">deprecated</span>
  883. </dt>
  884. <dd class="phpdocumentor-tag-list__definition">
  885. <span class="phpdocumentor-tag-link">5.0.0</span>
  886. <section class="phpdocumentor-description"><no replacement>
  887. </section>
  888. </dd>
  889. <dt class="phpdocumentor-tag-list__entry">
  890. <span class="phpdocumentor-tag__name">see</span>
  891. </dt>
  892. <dd class="phpdocumentor-tag-list__definition">
  893. <span class="phpdocumentor-tag-link"><a href="https://github.com/chillerlan/php-qrcode/issues/223">https://github.com/chillerlan/php-qrcode/issues/223</a></span>
  894. </dd>
  895. </dl>
  896. </article>
  897. </section>
  898. <section class="phpdocumentor-methods">
  899. <h3 class="phpdocumentor-elements__header" id="methods">
  900. Methods
  901. <a href="classes/chillerlan-QRCode-Output-QROutputInterface.html#methods" class="headerlink"><i class="fas fa-link"></i></a>
  902. </h3>
  903. <article
  904. class="phpdocumentor-element
  905. -method
  906. -public
  907. "
  908. >
  909. <h4 class="phpdocumentor-element__name" id="method_dump">
  910. dump()
  911. <a href="classes/chillerlan-QRCode-Output-QROutputInterface.html#method_dump" class="headerlink"><i class="fas fa-link"></i></a>
  912. </h4>
  913. <aside class="phpdocumentor-element-found-in">
  914. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QROutputInterface.php"><a href="files/src-output-qroutputinterface.html"><abbr title="src/Output/QROutputInterface.php">QROutputInterface.php</abbr></a></abbr>
  915. :
  916. <span class="phpdocumentor-element-found-in__line">224</span>
  917. </aside>
  918. <p class="phpdocumentor-summary">Generates the output, optionally dumps it to a file, and returns it</p>
  919. <code class="phpdocumentor-code phpdocumentor-signature ">
  920. <span class="phpdocumentor-signature__visibility">public</span>
  921. <span class="phpdocumentor-signature__name">dump</span><span>(</span><span class="phpdocumentor-signature__argument"><span>[</span><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$file</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
  922. <div class="phpdocumentor-label-line">
  923. </div>
  924. <section class="phpdocumentor-description"><p>please note that the value of QROptions::$cachefile is already evaluated at this point.
  925. if the output module is invoked manually, it has no effect at all.
  926. you need to supply the $file parameter here in that case (or handle the option value in your custom output module).</p>
  927. </section>
  928. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  929. <dl class="phpdocumentor-argument-list">
  930. <dt class="phpdocumentor-argument-list__entry">
  931. <span class="phpdocumentor-signature__argument__name">$file</span>
  932. : <span class="phpdocumentor-signature__argument__return-type">string</span>
  933. = <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
  934. <dd class="phpdocumentor-argument-list__definition">
  935. </dd>
  936. </dl>
  937. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  938. Tags
  939. <a href="classes/chillerlan-QRCode-Output-QROutputInterface.html#method_dump#tags" class="headerlink"><i class="fas fa-link"></i></a>
  940. </h5>
  941. <dl class="phpdocumentor-tag-list">
  942. <dt class="phpdocumentor-tag-list__entry">
  943. <span class="phpdocumentor-tag__name">see</span>
  944. </dt>
  945. <dd class="phpdocumentor-tag-list__definition">
  946. <span class="phpdocumentor-tag-link"><a href="classes/chillerlan-QRCode-QRCode.html#method_renderMatrix"><abbr title="\chillerlan\QRCode\QRCode::renderMatrix()">QRCode::renderMatrix()</abbr></a></span>
  947. </dd>
  948. </dl>
  949. </article>
  950. <article
  951. class="phpdocumentor-element
  952. -method
  953. -public
  954. -static "
  955. >
  956. <h4 class="phpdocumentor-element__name" id="method_moduleValueIsValid">
  957. moduleValueIsValid()
  958. <a href="classes/chillerlan-QRCode-Output-QROutputInterface.html#method_moduleValueIsValid" class="headerlink"><i class="fas fa-link"></i></a>
  959. </h4>
  960. <aside class="phpdocumentor-element-found-in">
  961. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QROutputInterface.php"><a href="files/src-output-qroutputinterface.html"><abbr title="src/Output/QROutputInterface.php">QROutputInterface.php</abbr></a></abbr>
  962. :
  963. <span class="phpdocumentor-element-found-in__line">211</span>
  964. </aside>
  965. <p class="phpdocumentor-summary">Determines whether the given value is valid</p>
  966. <code class="phpdocumentor-code phpdocumentor-signature ">
  967. <span class="phpdocumentor-signature__visibility">public</span>
  968. <span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">moduleValueIsValid</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">mixed&nbsp;</span><span class="phpdocumentor-signature__argument__name">$value</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">bool</span></code>
  969. <div class="phpdocumentor-label-line">
  970. </div>
  971. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  972. <dl class="phpdocumentor-argument-list">
  973. <dt class="phpdocumentor-argument-list__entry">
  974. <span class="phpdocumentor-signature__argument__name">$value</span>
  975. : <span class="phpdocumentor-signature__argument__return-type">mixed</span>
  976. </dt>
  977. <dd class="phpdocumentor-argument-list__definition">
  978. </dd>
  979. </dl>
  980. <section>
  981. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  982. <span class="phpdocumentor-signature__response_type">bool</span>
  983. </section>
  984. </article>
  985. </section>
  986. <div class="phpdocumentor-modal" id="source-view">
  987. <div class="phpdocumentor-modal-bg" data-exit-button></div>
  988. <div class="phpdocumentor-modal-container">
  989. <div class="phpdocumentor-modal-content">
  990. <pre style="max-height: 500px; overflow-y: scroll" data-src="files/src/Output/QROutputInterface.php.txt" class="language-php line-numbers linkable-line-numbers"></pre>
  991. </div>
  992. <button data-exit-button class="phpdocumentor-modal__close">&times;</button>
  993. </div>
  994. </div>
  995. <script type="text/javascript">
  996. (function () {
  997. function loadExternalCodeSnippet(el, url, line) {
  998. Array.prototype.slice.call(el.querySelectorAll('pre[data-src]')).forEach((pre) => {
  999. const src = url || pre.getAttribute('data-src').replace(/\\/g, '/');
  1000. const language = 'php';
  1001. const code = document.createElement('code');
  1002. code.className = 'language-' + language;
  1003. pre.textContent = '';
  1004. pre.setAttribute('data-line', line)
  1005. code.textContent = 'Loading…';
  1006. pre.appendChild(code);
  1007. var xhr = new XMLHttpRequest();
  1008. xhr.open('GET', src, true);
  1009. xhr.onreadystatechange = function () {
  1010. if (xhr.readyState !== 4) {
  1011. return;
  1012. }
  1013. if (xhr.status < 400 && xhr.responseText) {
  1014. code.textContent = xhr.responseText;
  1015. Prism.highlightElement(code);
  1016. return;
  1017. }
  1018. if (xhr.status === 404) {
  1019. code.textContent = '✖ Error: File could not be found';
  1020. return;
  1021. }
  1022. if (xhr.status >= 400) {
  1023. code.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText;
  1024. return;
  1025. }
  1026. code.textContent = '✖ Error: An unknown error occurred';
  1027. };
  1028. xhr.send(null);
  1029. });
  1030. }
  1031. const modalButtons = document.querySelectorAll("[data-modal]");
  1032. const openedAsLocalFile = window.location.protocol === 'file:';
  1033. if (modalButtons.length > 0 && openedAsLocalFile) {
  1034. console.warn(
  1035. 'Viewing the source code is unavailable because you are opening this page from the file:// scheme; ' +
  1036. 'browsers block XHR requests when a page is opened this way'
  1037. );
  1038. }
  1039. modalButtons.forEach(function (trigger) {
  1040. if (openedAsLocalFile) {
  1041. trigger.setAttribute("hidden", "hidden");
  1042. }
  1043. trigger.addEventListener("click", function (event) {
  1044. event.preventDefault();
  1045. const modal = document.getElementById(trigger.dataset.modal);
  1046. if (!modal) {
  1047. console.error(`Modal with id "${trigger.dataset.modal}" could not be found`);
  1048. return;
  1049. }
  1050. modal.classList.add("phpdocumentor-modal__open");
  1051. loadExternalCodeSnippet(modal, trigger.dataset.src || null, trigger.dataset.line)
  1052. const exits = modal.querySelectorAll("[data-exit-button]");
  1053. exits.forEach(function (exit) {
  1054. exit.addEventListener("click", function (event) {
  1055. event.preventDefault();
  1056. modal.classList.remove("phpdocumentor-modal__open");
  1057. });
  1058. });
  1059. });
  1060. });
  1061. })();
  1062. </script>
  1063. </article>
  1064. </section>
  1065. <section class="phpdocumentor-on-this-page__sidebar">
  1066. <section class="phpdocumentor-on-this-page__content">
  1067. <strong class="phpdocumentor-on-this-page__title">On this page</strong>
  1068. <ul class="phpdocumentor-list -clean">
  1069. <li class="phpdocumentor-on-this-page-section__title">Table Of Contents</li>
  1070. <li>
  1071. <ul class="phpdocumentor-list -clean">
  1072. <li><a href="classes/chillerlan-QRCode-Output-QROutputInterface.html#toc-constants">Constants</a></li>
  1073. <li><a href="classes/chillerlan-QRCode-Output-QROutputInterface.html#toc-methods">Methods</a></li>
  1074. </ul>
  1075. </li>
  1076. <li class="phpdocumentor-on-this-page-section__title">Methods</li>
  1077. <li>
  1078. <ul class="phpdocumentor-list -clean">
  1079. <li><a href="classes/chillerlan-QRCode-Output-QROutputInterface.html#method_dump">dump()</a></li>
  1080. <li><a href="classes/chillerlan-QRCode-Output-QROutputInterface.html#method_moduleValueIsValid">moduleValueIsValid()</a></li>
  1081. </ul>
  1082. </li>
  1083. <li class="phpdocumentor-on-this-page-section__title">Constants</li>
  1084. <li>
  1085. <ul class="phpdocumentor-list -clean">
  1086. <li><a href="classes/chillerlan-QRCode-Output-QROutputInterface.html#constant_CUSTOM">CUSTOM</a></li>
  1087. <li><a href="classes/chillerlan-QRCode-Output-QROutputInterface.html#constant_DEFAULT_MODULE_VALUES">DEFAULT_MODULE_VALUES</a></li>
  1088. <li><a href="classes/chillerlan-QRCode-Output-QROutputInterface.html#constant_EPS">EPS</a></li>
  1089. <li><a href="classes/chillerlan-QRCode-Output-QROutputInterface.html#constant_FPDF">FPDF</a></li>
  1090. <li><a href="classes/chillerlan-QRCode-Output-QROutputInterface.html#constant_GDIMAGE_BMP">GDIMAGE_BMP</a></li>
  1091. <li><a href="classes/chillerlan-QRCode-Output-QROutputInterface.html#constant_GDIMAGE_GIF">GDIMAGE_GIF</a></li>
  1092. <li><a href="classes/chillerlan-QRCode-Output-QROutputInterface.html#constant_GDIMAGE_JPG">GDIMAGE_JPG</a></li>
  1093. <li><a href="classes/chillerlan-QRCode-Output-QROutputInterface.html#constant_GDIMAGE_PNG">GDIMAGE_PNG</a></li>
  1094. <li><a href="classes/chillerlan-QRCode-Output-QROutputInterface.html#constant_GDIMAGE_WEBP">GDIMAGE_WEBP</a></li>
  1095. <li><a href="classes/chillerlan-QRCode-Output-QROutputInterface.html#constant_IMAGICK">IMAGICK</a></li>
  1096. <li><a href="classes/chillerlan-QRCode-Output-QROutputInterface.html#constant_LAYERNAMES">LAYERNAMES</a></li>
  1097. <li><a href="classes/chillerlan-QRCode-Output-QROutputInterface.html#constant_MARKUP_HTML">MARKUP_HTML</a></li>
  1098. <li><a href="classes/chillerlan-QRCode-Output-QROutputInterface.html#constant_MARKUP_SVG">MARKUP_SVG</a></li>
  1099. <li><a href="classes/chillerlan-QRCode-Output-QROutputInterface.html#constant_MODES">MODES</a></li>
  1100. <li><a href="classes/chillerlan-QRCode-Output-QROutputInterface.html#constant_STRING_JSON">STRING_JSON</a></li>
  1101. <li><a href="classes/chillerlan-QRCode-Output-QROutputInterface.html#constant_STRING_TEXT">STRING_TEXT</a></li>
  1102. </ul>
  1103. </li>
  1104. </ul>
  1105. </section>
  1106. </section>
  1107. </div>
  1108. <section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
  1109. <section class="phpdocumentor-search-results__dialog">
  1110. <header class="phpdocumentor-search-results__header">
  1111. <h2 class="phpdocumentor-search-results__title">Search results</h2>
  1112. <button class="phpdocumentor-search-results__close"><i class="fas fa-times"></i></button>
  1113. </header>
  1114. <section class="phpdocumentor-search-results__body">
  1115. <ul class="phpdocumentor-search-results__entries"></ul>
  1116. </section>
  1117. </section>
  1118. </section>
  1119. </div>
  1120. <a href="classes/chillerlan-QRCode-Output-QROutputInterface.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a>
  1121. </main>
  1122. <script>
  1123. cssVars({});
  1124. </script>
  1125. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/prism.min.js"></script>
  1126. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/autoloader/prism-autoloader.min.js"></script>
  1127. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.min.js"></script>
  1128. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.min.js"></script>
  1129. </body>
  1130. </html>