chillerlan-QRCode-Output-QRMarkupHTML.html 74 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510
  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 -class">
  107. <h2 class="phpdocumentor-content__title">
  108. QRMarkupHTML
  109. <span class="phpdocumentor-element__extends">
  110. extends <a href="classes/chillerlan-QRCode-Output-QRMarkup.html"><abbr title="\chillerlan\QRCode\Output\QRMarkup">QRMarkup</abbr></a>
  111. </span>
  112. <div class="phpdocumentor-element__package">
  113. in package
  114. <ul class="phpdocumentor-breadcrumbs">
  115. <li class="phpdocumentor-breadcrumb"><a href="packages/Application.html">Application</a></li>
  116. </ul>
  117. </div>
  118. </h2>
  119. <div class="phpdocumentor-label-line">
  120. </div>
  121. <aside class="phpdocumentor-element-found-in">
  122. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QRMarkupHTML.php"><a href="files/src-output-qrmarkuphtml.html"><abbr title="src/Output/QRMarkupHTML.php">QRMarkupHTML.php</abbr></a></abbr>
  123. :
  124. <span class="phpdocumentor-element-found-in__line">18</span>
  125. </aside>
  126. <p class="phpdocumentor-summary">HTML output (a cheap markup substitute when SVG is not available or not an option)</p>
  127. <h3 id="toc">
  128. Table of Contents
  129. <a href="classes/chillerlan-QRCode-Output-QRMarkupHTML.html#toc" class="headerlink"><i class="fas fa-link"></i></a>
  130. </h3>
  131. <h4 id="toc-properties">
  132. Properties
  133. <a href="classes/chillerlan-QRCode-Output-QRMarkupHTML.html#toc-properties" class="headerlink"><i class="fas fa-link"></i></a>
  134. </h4>
  135. <dl class="phpdocumentor-table-of-contents">
  136. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  137. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_length">$length</a>
  138. <span>
  139. &nbsp;: int </span>
  140. </dt>
  141. <dd>the side length of the QR image (modules * scale)</dd>
  142. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  143. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_matrix">$matrix</a>
  144. <span>
  145. &nbsp;: <a href="classes/chillerlan-QRCode-Data-QRMatrix.html"><abbr title="\chillerlan\QRCode\Data\QRMatrix">QRMatrix</abbr></a> </span>
  146. </dt>
  147. <dd>the (filled) data matrix object</dd>
  148. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  149. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_moduleCount">$moduleCount</a>
  150. <span>
  151. &nbsp;: int </span>
  152. </dt>
  153. <dd>the current size of the QR matrix</dd>
  154. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  155. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_moduleValues">$moduleValues</a>
  156. <span>
  157. &nbsp;: array&lt;string|int, mixed&gt; </span>
  158. </dt>
  159. <dd>an (optional) array of color values for the several QR matrix parts</dd>
  160. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  161. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_options">$options</a>
  162. <span>
  163. &nbsp;: <abbr title="\chillerlan\Settings\SettingsContainerInterface">SettingsContainerInterface</abbr>|<a href="classes/chillerlan-QRCode-QROptions.html"><abbr title="\chillerlan\QRCode\QROptions">QROptions</abbr></a> </span>
  164. </dt>
  165. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  166. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_scale">$scale</a>
  167. <span>
  168. &nbsp;: int </span>
  169. </dt>
  170. <dd>the current scaling for a QR pixel</dd>
  171. </dl>
  172. <h4 id="toc-methods">
  173. Methods
  174. <a href="classes/chillerlan-QRCode-Output-QRMarkupHTML.html#toc-methods" class="headerlink"><i class="fas fa-link"></i></a>
  175. </h4>
  176. <dl class="phpdocumentor-table-of-contents">
  177. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  178. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method___construct">__construct()</a>
  179. <span>
  180. &nbsp;: mixed </span>
  181. </dt>
  182. <dd>QROutputAbstract constructor.</dd>
  183. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  184. <a href="classes/chillerlan-QRCode-Output-QRMarkup.html#method_dump">dump()</a>
  185. <span>
  186. &nbsp;: string </span>
  187. </dt>
  188. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  189. <a href="classes/chillerlan-QRCode-Output-QRMarkup.html#method_moduleValueIsValid">moduleValueIsValid()</a>
  190. <span>
  191. &nbsp;: bool </span>
  192. </dt>
  193. <dd>note: we&#039;re not necessarily validating the several values, just checking the general syntax
  194. note: css4 colors are not included</dd>
  195. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  196. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_collectModules">collectModules()</a>
  197. <span>
  198. &nbsp;: array&lt;string|int, mixed&gt; </span>
  199. </dt>
  200. <dd>collects the modules per QRMatrix::M_* type and runs a $transform function on each module and
  201. returns an array with the transformed modules</dd>
  202. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  203. <a href="classes/chillerlan-QRCode-Output-QRMarkupHTML.html#method_createMarkup">createMarkup()</a>
  204. <span>
  205. &nbsp;: string </span>
  206. </dt>
  207. <dd>returns the fully parsed and rendered markup string for the given input</dd>
  208. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  209. <a href="classes/chillerlan-QRCode-Output-QRMarkup.html#method_getCssClass">getCssClass()</a>
  210. <span>
  211. &nbsp;: string </span>
  212. </dt>
  213. <dd>returns a string with all css classes for the current element</dd>
  214. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  215. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_getDefaultModuleValue">getDefaultModuleValue()</a>
  216. <span>
  217. &nbsp;: mixed|null </span>
  218. </dt>
  219. <dd>Returns a default value for either dark or light modules</dd>
  220. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  221. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_getModuleValue">getModuleValue()</a>
  222. <span>
  223. &nbsp;: mixed|null </span>
  224. </dt>
  225. <dd>Returns the prepared value for the given $M_TYPE</dd>
  226. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  227. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_getModuleValueAt">getModuleValueAt()</a>
  228. <span>
  229. &nbsp;: mixed|null </span>
  230. </dt>
  231. <dd>Returns the prepared module value at the given coordinate [$x, $y] (convenience)</dd>
  232. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  233. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_prepareModuleValue">prepareModuleValue()</a>
  234. <span>
  235. &nbsp;: mixed|null </span>
  236. </dt>
  237. <dd>Prepares the value for the given input ()</dd>
  238. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  239. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_saveToFile">saveToFile()</a>
  240. <span>
  241. &nbsp;: void </span>
  242. </dt>
  243. <dd>Saves the qr $data to a $file. If $file is null, nothing happens.</dd>
  244. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  245. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_setMatrixDimensions">setMatrixDimensions()</a>
  246. <span>
  247. &nbsp;: void </span>
  248. </dt>
  249. <dd>Sets/updates the matrix dimensions</dd>
  250. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  251. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_setModuleValues">setModuleValues()</a>
  252. <span>
  253. &nbsp;: void </span>
  254. </dt>
  255. <dd>Sets the initial module values</dd>
  256. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  257. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_toBase64DataURI">toBase64DataURI()</a>
  258. <span>
  259. &nbsp;: string </span>
  260. </dt>
  261. <dd>Returns a base64 data URI for the given string and mime type</dd>
  262. </dl>
  263. <section class="phpdocumentor-properties">
  264. <h3 class="phpdocumentor-elements__header" id="properties">
  265. Properties
  266. <a href="classes/chillerlan-QRCode-Output-QRMarkupHTML.html#properties" class="headerlink"><i class="fas fa-link"></i></a>
  267. </h3>
  268. <article
  269. class="
  270. phpdocumentor-element
  271. -property
  272. -protected
  273. "
  274. >
  275. <h4 class="phpdocumentor-element__name" id="property_length">
  276. $length
  277. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_length" class="headerlink"><i class="fas fa-link"></i></a>
  278. <span class="phpdocumentor-element__modifiers">
  279. </span>
  280. </h4>
  281. <aside class="phpdocumentor-element-found-in">
  282. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QROutputAbstract.php"><a href="files/src-output-qroutputabstract.html"><abbr title="src/Output/QROutputAbstract.php">QROutputAbstract.php</abbr></a></abbr>
  283. :
  284. <span class="phpdocumentor-element-found-in__line">40</span>
  285. </aside>
  286. <p class="phpdocumentor-summary">the side length of the QR image (modules * scale)</p>
  287. <code class="phpdocumentor-code phpdocumentor-signature ">
  288. <span class="phpdocumentor-signature__visibility">protected</span>
  289. <span class="phpdocumentor-signature__type">int</span>
  290. <span class="phpdocumentor-signature__name">$length</span>
  291. </code>
  292. </article>
  293. <article
  294. class="
  295. phpdocumentor-element
  296. -property
  297. -protected
  298. "
  299. >
  300. <h4 class="phpdocumentor-element__name" id="property_matrix">
  301. $matrix
  302. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_matrix" class="headerlink"><i class="fas fa-link"></i></a>
  303. <span class="phpdocumentor-element__modifiers">
  304. </span>
  305. </h4>
  306. <aside class="phpdocumentor-element-found-in">
  307. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QROutputAbstract.php"><a href="files/src-output-qroutputabstract.html"><abbr title="src/Output/QROutputAbstract.php">QROutputAbstract.php</abbr></a></abbr>
  308. :
  309. <span class="phpdocumentor-element-found-in__line">50</span>
  310. </aside>
  311. <p class="phpdocumentor-summary">the (filled) data matrix object</p>
  312. <code class="phpdocumentor-code phpdocumentor-signature ">
  313. <span class="phpdocumentor-signature__visibility">protected</span>
  314. <span class="phpdocumentor-signature__type"><a href="classes/chillerlan-QRCode-Data-QRMatrix.html"><abbr title="\chillerlan\QRCode\Data\QRMatrix">QRMatrix</abbr></a></span>
  315. <span class="phpdocumentor-signature__name">$matrix</span>
  316. </code>
  317. </article>
  318. <article
  319. class="
  320. phpdocumentor-element
  321. -property
  322. -protected
  323. "
  324. >
  325. <h4 class="phpdocumentor-element__name" id="property_moduleCount">
  326. $moduleCount
  327. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_moduleCount" class="headerlink"><i class="fas fa-link"></i></a>
  328. <span class="phpdocumentor-element__modifiers">
  329. </span>
  330. </h4>
  331. <aside class="phpdocumentor-element-found-in">
  332. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QROutputAbstract.php"><a href="files/src-output-qroutputabstract.html"><abbr title="src/Output/QROutputAbstract.php">QROutputAbstract.php</abbr></a></abbr>
  333. :
  334. <span class="phpdocumentor-element-found-in__line">28</span>
  335. </aside>
  336. <p class="phpdocumentor-summary">the current size of the QR matrix</p>
  337. <code class="phpdocumentor-code phpdocumentor-signature ">
  338. <span class="phpdocumentor-signature__visibility">protected</span>
  339. <span class="phpdocumentor-signature__type">int</span>
  340. <span class="phpdocumentor-signature__name">$moduleCount</span>
  341. </code>
  342. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  343. Tags
  344. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_moduleCount#tags" class="headerlink"><i class="fas fa-link"></i></a>
  345. </h5>
  346. <dl class="phpdocumentor-tag-list">
  347. <dt class="phpdocumentor-tag-list__entry">
  348. <span class="phpdocumentor-tag__name">see</span>
  349. </dt>
  350. <dd class="phpdocumentor-tag-list__definition">
  351. <span class="phpdocumentor-tag-link"><a href="classes/chillerlan-QRCode-Data-QRMatrix.html#method_getSize"><abbr title="\chillerlan\QRCode\Data\QRMatrix::getSize()">QRMatrix::getSize()</abbr></a></span>
  352. </dd>
  353. </dl>
  354. </article>
  355. <article
  356. class="
  357. phpdocumentor-element
  358. -property
  359. -protected
  360. "
  361. >
  362. <h4 class="phpdocumentor-element__name" id="property_moduleValues">
  363. $moduleValues
  364. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_moduleValues" class="headerlink"><i class="fas fa-link"></i></a>
  365. <span class="phpdocumentor-element__modifiers">
  366. </span>
  367. </h4>
  368. <aside class="phpdocumentor-element-found-in">
  369. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QROutputAbstract.php"><a href="files/src-output-qroutputabstract.html"><abbr title="src/Output/QROutputAbstract.php">QROutputAbstract.php</abbr></a></abbr>
  370. :
  371. <span class="phpdocumentor-element-found-in__line">45</span>
  372. </aside>
  373. <p class="phpdocumentor-summary">an (optional) array of color values for the several QR matrix parts</p>
  374. <code class="phpdocumentor-code phpdocumentor-signature ">
  375. <span class="phpdocumentor-signature__visibility">protected</span>
  376. <span class="phpdocumentor-signature__type">array&lt;string|int, mixed&gt;</span>
  377. <span class="phpdocumentor-signature__name">$moduleValues</span>
  378. </code>
  379. </article>
  380. <article
  381. class="
  382. phpdocumentor-element
  383. -property
  384. -protected
  385. "
  386. >
  387. <h4 class="phpdocumentor-element__name" id="property_options">
  388. $options
  389. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_options" class="headerlink"><i class="fas fa-link"></i></a>
  390. <span class="phpdocumentor-element__modifiers">
  391. </span>
  392. </h4>
  393. <aside class="phpdocumentor-element-found-in">
  394. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QROutputAbstract.php"><a href="files/src-output-qroutputabstract.html"><abbr title="src/Output/QROutputAbstract.php">QROutputAbstract.php</abbr></a></abbr>
  395. :
  396. <span class="phpdocumentor-element-found-in__line">55</span>
  397. </aside>
  398. <code class="phpdocumentor-code phpdocumentor-signature ">
  399. <span class="phpdocumentor-signature__visibility">protected</span>
  400. <span class="phpdocumentor-signature__type"><abbr title="\chillerlan\Settings\SettingsContainerInterface">SettingsContainerInterface</abbr>|<a href="classes/chillerlan-QRCode-QROptions.html"><abbr title="\chillerlan\QRCode\QROptions">QROptions</abbr></a></span>
  401. <span class="phpdocumentor-signature__name">$options</span>
  402. </code>
  403. </article>
  404. <article
  405. class="
  406. phpdocumentor-element
  407. -property
  408. -protected
  409. "
  410. >
  411. <h4 class="phpdocumentor-element__name" id="property_scale">
  412. $scale
  413. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_scale" class="headerlink"><i class="fas fa-link"></i></a>
  414. <span class="phpdocumentor-element__modifiers">
  415. </span>
  416. </h4>
  417. <aside class="phpdocumentor-element-found-in">
  418. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QROutputAbstract.php"><a href="files/src-output-qroutputabstract.html"><abbr title="src/Output/QROutputAbstract.php">QROutputAbstract.php</abbr></a></abbr>
  419. :
  420. <span class="phpdocumentor-element-found-in__line">35</span>
  421. </aside>
  422. <p class="phpdocumentor-summary">the current scaling for a QR pixel</p>
  423. <code class="phpdocumentor-code phpdocumentor-signature ">
  424. <span class="phpdocumentor-signature__visibility">protected</span>
  425. <span class="phpdocumentor-signature__type">int</span>
  426. <span class="phpdocumentor-signature__name">$scale</span>
  427. </code>
  428. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  429. Tags
  430. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_scale#tags" class="headerlink"><i class="fas fa-link"></i></a>
  431. </h5>
  432. <dl class="phpdocumentor-tag-list">
  433. <dt class="phpdocumentor-tag-list__entry">
  434. <span class="phpdocumentor-tag__name">see</span>
  435. </dt>
  436. <dd class="phpdocumentor-tag-list__definition">
  437. <span class="phpdocumentor-tag-link"><abbr title="\chillerlan\QRCode\QROptions::$scale">QROptions::$scale</abbr></span>
  438. </dd>
  439. </dl>
  440. </article>
  441. </section>
  442. <section class="phpdocumentor-methods">
  443. <h3 class="phpdocumentor-elements__header" id="methods">
  444. Methods
  445. <a href="classes/chillerlan-QRCode-Output-QRMarkupHTML.html#methods" class="headerlink"><i class="fas fa-link"></i></a>
  446. </h3>
  447. <article
  448. class="phpdocumentor-element
  449. -method
  450. -public
  451. "
  452. >
  453. <h4 class="phpdocumentor-element__name" id="method___construct">
  454. __construct()
  455. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method___construct" 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/Output/QROutputAbstract.php"><a href="files/src-output-qroutputabstract.html"><abbr title="src/Output/QROutputAbstract.php">QROutputAbstract.php</abbr></a></abbr>
  459. :
  460. <span class="phpdocumentor-element-found-in__line">60</span>
  461. </aside>
  462. <p class="phpdocumentor-summary">QROutputAbstract constructor.</p>
  463. <code class="phpdocumentor-code phpdocumentor-signature ">
  464. <span class="phpdocumentor-signature__visibility">public</span>
  465. <span class="phpdocumentor-signature__name">__construct</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><abbr title="\chillerlan\Settings\SettingsContainerInterface">SettingsContainerInterface</abbr>&nbsp;</span><span class="phpdocumentor-signature__argument__name">$options</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type"><a href="classes/chillerlan-QRCode-Data-QRMatrix.html"><abbr title="\chillerlan\QRCode\Data\QRMatrix">QRMatrix</abbr></a>&nbsp;</span><span class="phpdocumentor-signature__argument__name">$matrix</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
  466. <div class="phpdocumentor-label-line">
  467. </div>
  468. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  469. <dl class="phpdocumentor-argument-list">
  470. <dt class="phpdocumentor-argument-list__entry">
  471. <span class="phpdocumentor-signature__argument__name">$options</span>
  472. : <span class="phpdocumentor-signature__argument__return-type"><abbr title="\chillerlan\Settings\SettingsContainerInterface">SettingsContainerInterface</abbr></span>
  473. </dt>
  474. <dd class="phpdocumentor-argument-list__definition">
  475. </dd>
  476. <dt class="phpdocumentor-argument-list__entry">
  477. <span class="phpdocumentor-signature__argument__name">$matrix</span>
  478. : <span class="phpdocumentor-signature__argument__return-type"><a href="classes/chillerlan-QRCode-Data-QRMatrix.html"><abbr title="\chillerlan\QRCode\Data\QRMatrix">QRMatrix</abbr></a></span>
  479. </dt>
  480. <dd class="phpdocumentor-argument-list__definition">
  481. </dd>
  482. </dl>
  483. </article>
  484. <article
  485. class="phpdocumentor-element
  486. -method
  487. -public
  488. "
  489. >
  490. <h4 class="phpdocumentor-element__name" id="method_dump">
  491. dump()
  492. <a href="classes/chillerlan-QRCode-Output-QRMarkup.html#method_dump" class="headerlink"><i class="fas fa-link"></i></a>
  493. </h4>
  494. <aside class="phpdocumentor-element-found-in">
  495. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QRMarkup.php"><a href="files/src-output-qrmarkup.html"><abbr title="src/Output/QRMarkup.php">QRMarkup.php</abbr></a></abbr>
  496. :
  497. <span class="phpdocumentor-element-found-in__line">74</span>
  498. </aside>
  499. <code class="phpdocumentor-code phpdocumentor-signature ">
  500. <span class="phpdocumentor-signature__visibility">public</span>
  501. <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">string</span></code>
  502. <div class="phpdocumentor-label-line">
  503. </div>
  504. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  505. <dl class="phpdocumentor-argument-list">
  506. <dt class="phpdocumentor-argument-list__entry">
  507. <span class="phpdocumentor-signature__argument__name">$file</span>
  508. : <span class="phpdocumentor-signature__argument__return-type">string</span>
  509. = <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
  510. <dd class="phpdocumentor-argument-list__definition">
  511. </dd>
  512. </dl>
  513. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  514. Tags
  515. <a href="classes/chillerlan-QRCode-Output-QRMarkup.html#method_dump#tags" class="headerlink"><i class="fas fa-link"></i></a>
  516. </h5>
  517. <dl class="phpdocumentor-tag-list">
  518. <dt class="phpdocumentor-tag-list__entry">
  519. <span class="phpdocumentor-tag__name">inheritDoc</span>
  520. </dt>
  521. <dd class="phpdocumentor-tag-list__definition">
  522. </dd>
  523. </dl>
  524. <section>
  525. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  526. <span class="phpdocumentor-signature__response_type">string</span>
  527. </section>
  528. </article>
  529. <article
  530. class="phpdocumentor-element
  531. -method
  532. -public
  533. -static "
  534. >
  535. <h4 class="phpdocumentor-element__name" id="method_moduleValueIsValid">
  536. moduleValueIsValid()
  537. <a href="classes/chillerlan-QRCode-Output-QRMarkup.html#method_moduleValueIsValid" class="headerlink"><i class="fas fa-link"></i></a>
  538. </h4>
  539. <aside class="phpdocumentor-element-found-in">
  540. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QRMarkup.php"><a href="files/src-output-qrmarkup.html"><abbr title="src/Output/QRMarkup.php">QRMarkup.php</abbr></a></abbr>
  541. :
  542. <span class="phpdocumentor-element-found-in__line">29</span>
  543. </aside>
  544. <p class="phpdocumentor-summary">note: we&#039;re not necessarily validating the several values, just checking the general syntax
  545. note: css4 colors are not included</p>
  546. <code class="phpdocumentor-code phpdocumentor-signature ">
  547. <span class="phpdocumentor-signature__visibility">public</span>
  548. <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>
  549. <div class="phpdocumentor-label-line">
  550. </div>
  551. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  552. <dl class="phpdocumentor-argument-list">
  553. <dt class="phpdocumentor-argument-list__entry">
  554. <span class="phpdocumentor-signature__argument__name">$value</span>
  555. : <span class="phpdocumentor-signature__argument__return-type">mixed</span>
  556. </dt>
  557. <dd class="phpdocumentor-argument-list__definition">
  558. </dd>
  559. </dl>
  560. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  561. Tags
  562. <a href="classes/chillerlan-QRCode-Output-QRMarkup.html#method_moduleValueIsValid#tags" class="headerlink"><i class="fas fa-link"></i></a>
  563. </h5>
  564. <dl class="phpdocumentor-tag-list">
  565. <dt class="phpdocumentor-tag-list__entry">
  566. <span class="phpdocumentor-tag__name">todo:</span>
  567. </dt>
  568. <dd class="phpdocumentor-tag-list__definition">
  569. <section class="phpdocumentor-description"><p>XSS proof</p>
  570. </section>
  571. </dd>
  572. <dt class="phpdocumentor-tag-list__entry">
  573. <span class="phpdocumentor-tag__name">see</span>
  574. </dt>
  575. <dd class="phpdocumentor-tag-list__definition">
  576. <span class="phpdocumentor-tag-link"><a href="https://developer.mozilla.org/en-US/docs/Web/CSS/color_value">https://developer.mozilla.org/en-US/docs/Web/CSS/color_value</a></span>
  577. </dd>
  578. <dt class="phpdocumentor-tag-list__entry">
  579. <span class="phpdocumentor-tag__name">inheritDoc</span>
  580. </dt>
  581. <dd class="phpdocumentor-tag-list__definition">
  582. </dd>
  583. </dl>
  584. <section>
  585. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  586. <span class="phpdocumentor-signature__response_type">bool</span>
  587. </section>
  588. </article>
  589. <article
  590. class="phpdocumentor-element
  591. -method
  592. -protected
  593. "
  594. >
  595. <h4 class="phpdocumentor-element__name" id="method_collectModules">
  596. collectModules()
  597. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_collectModules" class="headerlink"><i class="fas fa-link"></i></a>
  598. </h4>
  599. <aside class="phpdocumentor-element-found-in">
  600. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QROutputAbstract.php"><a href="files/src-output-qroutputabstract.html"><abbr title="src/Output/QROutputAbstract.php">QROutputAbstract.php</abbr></a></abbr>
  601. :
  602. <span class="phpdocumentor-element-found-in__line">176</span>
  603. </aside>
  604. <p class="phpdocumentor-summary">collects the modules per QRMatrix::M_* type and runs a $transform function on each module and
  605. returns an array with the transformed modules</p>
  606. <code class="phpdocumentor-code phpdocumentor-signature ">
  607. <span class="phpdocumentor-signature__visibility">protected</span>
  608. <span class="phpdocumentor-signature__name">collectModules</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><abbr title="\Closure">Closure</abbr>&nbsp;</span><span class="phpdocumentor-signature__argument__name">$transform</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span></code>
  609. <div class="phpdocumentor-label-line">
  610. </div>
  611. <section class="phpdocumentor-description"><p>The transform callback is called with the following parameters:</p>
  612. <p>$x - current column
  613. $y - current row
  614. $M_TYPE - field value
  615. $M_TYPE_LAYER - (possibly modified) field value that acts as layer id</p>
  616. </section>
  617. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  618. <dl class="phpdocumentor-argument-list">
  619. <dt class="phpdocumentor-argument-list__entry">
  620. <span class="phpdocumentor-signature__argument__name">$transform</span>
  621. : <span class="phpdocumentor-signature__argument__return-type"><abbr title="\Closure">Closure</abbr></span>
  622. </dt>
  623. <dd class="phpdocumentor-argument-list__definition">
  624. </dd>
  625. </dl>
  626. <section>
  627. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  628. <span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span>
  629. </section>
  630. </article>
  631. <article
  632. class="phpdocumentor-element
  633. -method
  634. -protected
  635. "
  636. >
  637. <h4 class="phpdocumentor-element__name" id="method_createMarkup">
  638. createMarkup()
  639. <a href="classes/chillerlan-QRCode-Output-QRMarkupHTML.html#method_createMarkup" class="headerlink"><i class="fas fa-link"></i></a>
  640. </h4>
  641. <aside class="phpdocumentor-element-found-in">
  642. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QRMarkupHTML.php"><a href="files/src-output-qrmarkuphtml.html"><abbr title="src/Output/QRMarkupHTML.php">QRMarkupHTML.php</abbr></a></abbr>
  643. :
  644. <span class="phpdocumentor-element-found-in__line">23</span>
  645. </aside>
  646. <p class="phpdocumentor-summary">returns the fully parsed and rendered markup string for the given input</p>
  647. <code class="phpdocumentor-code phpdocumentor-signature ">
  648. <span class="phpdocumentor-signature__visibility">protected</span>
  649. <span class="phpdocumentor-signature__name">createMarkup</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">bool&nbsp;</span><span class="phpdocumentor-signature__argument__name">$saveToFile</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
  650. <div class="phpdocumentor-label-line">
  651. </div>
  652. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  653. <dl class="phpdocumentor-argument-list">
  654. <dt class="phpdocumentor-argument-list__entry">
  655. <span class="phpdocumentor-signature__argument__name">$saveToFile</span>
  656. : <span class="phpdocumentor-signature__argument__return-type">bool</span>
  657. </dt>
  658. <dd class="phpdocumentor-argument-list__definition">
  659. </dd>
  660. </dl>
  661. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  662. Tags
  663. <a href="classes/chillerlan-QRCode-Output-QRMarkupHTML.html#method_createMarkup#tags" class="headerlink"><i class="fas fa-link"></i></a>
  664. </h5>
  665. <dl class="phpdocumentor-tag-list">
  666. <dt class="phpdocumentor-tag-list__entry">
  667. <span class="phpdocumentor-tag__name">inheritDoc</span>
  668. </dt>
  669. <dd class="phpdocumentor-tag-list__definition">
  670. </dd>
  671. </dl>
  672. <section>
  673. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  674. <span class="phpdocumentor-signature__response_type">string</span>
  675. </section>
  676. </article>
  677. <article
  678. class="phpdocumentor-element
  679. -method
  680. -protected
  681. "
  682. >
  683. <h4 class="phpdocumentor-element__name" id="method_getCssClass">
  684. getCssClass()
  685. <a href="classes/chillerlan-QRCode-Output-QRMarkup.html#method_getCssClass" class="headerlink"><i class="fas fa-link"></i></a>
  686. </h4>
  687. <aside class="phpdocumentor-element-found-in">
  688. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QRMarkup.php"><a href="files/src-output-qrmarkup.html"><abbr title="src/Output/QRMarkup.php">QRMarkup.php</abbr></a></abbr>
  689. :
  690. <span class="phpdocumentor-element-found-in__line">85</span>
  691. </aside>
  692. <p class="phpdocumentor-summary">returns a string with all css classes for the current element</p>
  693. <code class="phpdocumentor-code phpdocumentor-signature ">
  694. <span class="phpdocumentor-signature__visibility">protected</span>
  695. <span class="phpdocumentor-signature__name">getCssClass</span><span>(</span><span class="phpdocumentor-signature__argument"><span>[</span><span class="phpdocumentor-signature__argument__return-type">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$M_TYPE</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">0</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
  696. <div class="phpdocumentor-label-line">
  697. </div>
  698. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  699. <dl class="phpdocumentor-argument-list">
  700. <dt class="phpdocumentor-argument-list__entry">
  701. <span class="phpdocumentor-signature__argument__name">$M_TYPE</span>
  702. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  703. = <span class="phpdocumentor-signature__argument__default-value">0</span> </dt>
  704. <dd class="phpdocumentor-argument-list__definition">
  705. </dd>
  706. </dl>
  707. <section>
  708. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  709. <span class="phpdocumentor-signature__response_type">string</span>
  710. </section>
  711. </article>
  712. <article
  713. class="phpdocumentor-element
  714. -method
  715. -protected
  716. -abstract "
  717. >
  718. <h4 class="phpdocumentor-element__name" id="method_getDefaultModuleValue">
  719. getDefaultModuleValue()
  720. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_getDefaultModuleValue" class="headerlink"><i class="fas fa-link"></i></a>
  721. </h4>
  722. <aside class="phpdocumentor-element-found-in">
  723. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QROutputAbstract.php"><a href="files/src-output-qroutputabstract.html"><abbr title="src/Output/QROutputAbstract.php">QROutputAbstract.php</abbr></a></abbr>
  724. :
  725. <span class="phpdocumentor-element-found-in__line">133</span>
  726. </aside>
  727. <p class="phpdocumentor-summary">Returns a default value for either dark or light modules</p>
  728. <code class="phpdocumentor-code phpdocumentor-signature ">
  729. <span class="phpdocumentor-signature__visibility">protected</span>
  730. <span class="phpdocumentor-signature__abstract">abstract</span> <span class="phpdocumentor-signature__name">getDefaultModuleValue</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">bool&nbsp;</span><span class="phpdocumentor-signature__argument__name">$isDark</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed|null</span></code>
  731. <div class="phpdocumentor-label-line">
  732. </div>
  733. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  734. <dl class="phpdocumentor-argument-list">
  735. <dt class="phpdocumentor-argument-list__entry">
  736. <span class="phpdocumentor-signature__argument__name">$isDark</span>
  737. : <span class="phpdocumentor-signature__argument__return-type">bool</span>
  738. </dt>
  739. <dd class="phpdocumentor-argument-list__definition">
  740. </dd>
  741. </dl>
  742. <section>
  743. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  744. <span class="phpdocumentor-signature__response_type">mixed|null</span>
  745. &mdash;
  746. <section class="phpdocumentor-description"><p>return value depends on the output class</p>
  747. </section>
  748. </section>
  749. </article>
  750. <article
  751. class="phpdocumentor-element
  752. -method
  753. -protected
  754. "
  755. >
  756. <h4 class="phpdocumentor-element__name" id="method_getModuleValue">
  757. getModuleValue()
  758. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_getModuleValue" class="headerlink"><i class="fas fa-link"></i></a>
  759. </h4>
  760. <aside class="phpdocumentor-element-found-in">
  761. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QROutputAbstract.php"><a href="files/src-output-qroutputabstract.html"><abbr title="src/Output/QROutputAbstract.php">QROutputAbstract.php</abbr></a></abbr>
  762. :
  763. <span class="phpdocumentor-element-found-in__line">100</span>
  764. </aside>
  765. <p class="phpdocumentor-summary">Returns the prepared value for the given $M_TYPE</p>
  766. <code class="phpdocumentor-code phpdocumentor-signature ">
  767. <span class="phpdocumentor-signature__visibility">protected</span>
  768. <span class="phpdocumentor-signature__name">getModuleValue</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$M_TYPE</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed|null</span></code>
  769. <div class="phpdocumentor-label-line">
  770. </div>
  771. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  772. <dl class="phpdocumentor-argument-list">
  773. <dt class="phpdocumentor-argument-list__entry">
  774. <span class="phpdocumentor-signature__argument__name">$M_TYPE</span>
  775. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  776. </dt>
  777. <dd class="phpdocumentor-argument-list__definition">
  778. </dd>
  779. </dl>
  780. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  781. Tags
  782. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_getModuleValue#tags" class="headerlink"><i class="fas fa-link"></i></a>
  783. </h5>
  784. <dl class="phpdocumentor-tag-list">
  785. <dt class="phpdocumentor-tag-list__entry">
  786. <span class="phpdocumentor-tag__name">throws</span>
  787. </dt>
  788. <dd class="phpdocumentor-tag-list__definition">
  789. <span class="phpdocumentor-tag-link"><a href="classes/chillerlan-QRCode-Output-QRCodeOutputException.html"><abbr title="\chillerlan\QRCode\Output\QRCodeOutputException">QRCodeOutputException</abbr></a></span>
  790. </dd>
  791. </dl>
  792. <section>
  793. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  794. <span class="phpdocumentor-signature__response_type">mixed|null</span>
  795. &mdash;
  796. <section class="phpdocumentor-description"><p>return value depends on the output class, null if $moduleValues[$M_TYPE] doesn't exist</p>
  797. </section>
  798. </section>
  799. </article>
  800. <article
  801. class="phpdocumentor-element
  802. -method
  803. -protected
  804. "
  805. >
  806. <h4 class="phpdocumentor-element__name" id="method_getModuleValueAt">
  807. getModuleValueAt()
  808. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_getModuleValueAt" class="headerlink"><i class="fas fa-link"></i></a>
  809. </h4>
  810. <aside class="phpdocumentor-element-found-in">
  811. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QROutputAbstract.php"><a href="files/src-output-qroutputabstract.html"><abbr title="src/Output/QROutputAbstract.php">QROutputAbstract.php</abbr></a></abbr>
  812. :
  813. <span class="phpdocumentor-element-found-in__line">115</span>
  814. </aside>
  815. <p class="phpdocumentor-summary">Returns the prepared module value at the given coordinate [$x, $y] (convenience)</p>
  816. <code class="phpdocumentor-code phpdocumentor-signature ">
  817. <span class="phpdocumentor-signature__visibility">protected</span>
  818. <span class="phpdocumentor-signature__name">getModuleValueAt</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$x</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$y</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed|null</span></code>
  819. <div class="phpdocumentor-label-line">
  820. </div>
  821. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  822. <dl class="phpdocumentor-argument-list">
  823. <dt class="phpdocumentor-argument-list__entry">
  824. <span class="phpdocumentor-signature__argument__name">$x</span>
  825. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  826. </dt>
  827. <dd class="phpdocumentor-argument-list__definition">
  828. </dd>
  829. <dt class="phpdocumentor-argument-list__entry">
  830. <span class="phpdocumentor-signature__argument__name">$y</span>
  831. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  832. </dt>
  833. <dd class="phpdocumentor-argument-list__definition">
  834. </dd>
  835. </dl>
  836. <section>
  837. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  838. <span class="phpdocumentor-signature__response_type">mixed|null</span>
  839. </section>
  840. </article>
  841. <article
  842. class="phpdocumentor-element
  843. -method
  844. -protected
  845. -abstract "
  846. >
  847. <h4 class="phpdocumentor-element__name" id="method_prepareModuleValue">
  848. prepareModuleValue()
  849. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_prepareModuleValue" class="headerlink"><i class="fas fa-link"></i></a>
  850. </h4>
  851. <aside class="phpdocumentor-element-found-in">
  852. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QROutputAbstract.php"><a href="files/src-output-qroutputabstract.html"><abbr title="src/Output/QROutputAbstract.php">QROutputAbstract.php</abbr></a></abbr>
  853. :
  854. <span class="phpdocumentor-element-found-in__line">126</span>
  855. </aside>
  856. <p class="phpdocumentor-summary">Prepares the value for the given input ()</p>
  857. <code class="phpdocumentor-code phpdocumentor-signature ">
  858. <span class="phpdocumentor-signature__visibility">protected</span>
  859. <span class="phpdocumentor-signature__abstract">abstract</span> <span class="phpdocumentor-signature__name">prepareModuleValue</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">mixed|null</span></code>
  860. <div class="phpdocumentor-label-line">
  861. </div>
  862. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  863. <dl class="phpdocumentor-argument-list">
  864. <dt class="phpdocumentor-argument-list__entry">
  865. <span class="phpdocumentor-signature__argument__name">$value</span>
  866. : <span class="phpdocumentor-signature__argument__return-type">mixed</span>
  867. </dt>
  868. <dd class="phpdocumentor-argument-list__definition">
  869. </dd>
  870. </dl>
  871. <section>
  872. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  873. <span class="phpdocumentor-signature__response_type">mixed|null</span>
  874. &mdash;
  875. <section class="phpdocumentor-description"><p>return value depends on the output class</p>
  876. </section>
  877. </section>
  878. </article>
  879. <article
  880. class="phpdocumentor-element
  881. -method
  882. -protected
  883. "
  884. >
  885. <h4 class="phpdocumentor-element__name" id="method_saveToFile">
  886. saveToFile()
  887. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_saveToFile" class="headerlink"><i class="fas fa-link"></i></a>
  888. </h4>
  889. <aside class="phpdocumentor-element-found-in">
  890. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QROutputAbstract.php"><a href="files/src-output-qroutputabstract.html"><abbr title="src/Output/QROutputAbstract.php">QROutputAbstract.php</abbr></a></abbr>
  891. :
  892. <span class="phpdocumentor-element-found-in__line">150</span>
  893. </aside>
  894. <p class="phpdocumentor-summary">Saves the qr $data to a $file. If $file is null, nothing happens.</p>
  895. <code class="phpdocumentor-code phpdocumentor-signature ">
  896. <span class="phpdocumentor-signature__visibility">protected</span>
  897. <span class="phpdocumentor-signature__name">saveToFile</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$data</span></span><span class="phpdocumentor-signature__argument"><span>[</span><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">void</span></code>
  898. <div class="phpdocumentor-label-line">
  899. </div>
  900. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  901. <dl class="phpdocumentor-argument-list">
  902. <dt class="phpdocumentor-argument-list__entry">
  903. <span class="phpdocumentor-signature__argument__name">$data</span>
  904. : <span class="phpdocumentor-signature__argument__return-type">string</span>
  905. </dt>
  906. <dd class="phpdocumentor-argument-list__definition">
  907. </dd>
  908. <dt class="phpdocumentor-argument-list__entry">
  909. <span class="phpdocumentor-signature__argument__name">$file</span>
  910. : <span class="phpdocumentor-signature__argument__return-type">string</span>
  911. = <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
  912. <dd class="phpdocumentor-argument-list__definition">
  913. </dd>
  914. </dl>
  915. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  916. Tags
  917. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_saveToFile#tags" class="headerlink"><i class="fas fa-link"></i></a>
  918. </h5>
  919. <dl class="phpdocumentor-tag-list">
  920. <dt class="phpdocumentor-tag-list__entry">
  921. <span class="phpdocumentor-tag__name">see</span>
  922. </dt>
  923. <dd class="phpdocumentor-tag-list__definition">
  924. <span class="phpdocumentor-tag-link"><abbr title="\chillerlan\QRCode\Output\file_put_contents()">file_put_contents()</abbr></span>
  925. </dd>
  926. <dt class="phpdocumentor-tag-list__entry">
  927. <span class="phpdocumentor-tag__name">see</span>
  928. </dt>
  929. <dd class="phpdocumentor-tag-list__definition">
  930. <span class="phpdocumentor-tag-link"><abbr title="\chillerlan\QRCode\QROptions::$cachefile">QROptions::$cachefile</abbr></span>
  931. </dd>
  932. <dt class="phpdocumentor-tag-list__entry">
  933. <span class="phpdocumentor-tag__name">throws</span>
  934. </dt>
  935. <dd class="phpdocumentor-tag-list__definition">
  936. <span class="phpdocumentor-tag-link"><a href="classes/chillerlan-QRCode-Output-QRCodeOutputException.html"><abbr title="\chillerlan\QRCode\Output\QRCodeOutputException">QRCodeOutputException</abbr></a></span>
  937. </dd>
  938. </dl>
  939. </article>
  940. <article
  941. class="phpdocumentor-element
  942. -method
  943. -protected
  944. "
  945. >
  946. <h4 class="phpdocumentor-element__name" id="method_setMatrixDimensions">
  947. setMatrixDimensions()
  948. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_setMatrixDimensions" class="headerlink"><i class="fas fa-link"></i></a>
  949. </h4>
  950. <aside class="phpdocumentor-element-found-in">
  951. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QROutputAbstract.php"><a href="files/src-output-qroutputabstract.html"><abbr title="src/Output/QROutputAbstract.php">QROutputAbstract.php</abbr></a></abbr>
  952. :
  953. <span class="phpdocumentor-element-found-in__line">73</span>
  954. </aside>
  955. <p class="phpdocumentor-summary">Sets/updates the matrix dimensions</p>
  956. <code class="phpdocumentor-code phpdocumentor-signature ">
  957. <span class="phpdocumentor-signature__visibility">protected</span>
  958. <span class="phpdocumentor-signature__name">setMatrixDimensions</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  959. <div class="phpdocumentor-label-line">
  960. </div>
  961. <section class="phpdocumentor-description"><p>Call this method if you modify the matrix from within your custom module in case the dimensions have been changed</p>
  962. </section>
  963. </article>
  964. <article
  965. class="phpdocumentor-element
  966. -method
  967. -protected
  968. "
  969. >
  970. <h4 class="phpdocumentor-element__name" id="method_setModuleValues">
  971. setModuleValues()
  972. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_setModuleValues" class="headerlink"><i class="fas fa-link"></i></a>
  973. </h4>
  974. <aside class="phpdocumentor-element-found-in">
  975. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QROutputAbstract.php"><a href="files/src-output-qroutputabstract.html"><abbr title="src/Output/QROutputAbstract.php">QROutputAbstract.php</abbr></a></abbr>
  976. :
  977. <span class="phpdocumentor-element-found-in__line">82</span>
  978. </aside>
  979. <p class="phpdocumentor-summary">Sets the initial module values</p>
  980. <code class="phpdocumentor-code phpdocumentor-signature ">
  981. <span class="phpdocumentor-signature__visibility">protected</span>
  982. <span class="phpdocumentor-signature__name">setModuleValues</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  983. <div class="phpdocumentor-label-line">
  984. </div>
  985. </article>
  986. <article
  987. class="phpdocumentor-element
  988. -method
  989. -protected
  990. "
  991. >
  992. <h4 class="phpdocumentor-element__name" id="method_toBase64DataURI">
  993. toBase64DataURI()
  994. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_toBase64DataURI" class="headerlink"><i class="fas fa-link"></i></a>
  995. </h4>
  996. <aside class="phpdocumentor-element-found-in">
  997. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QROutputAbstract.php"><a href="files/src-output-qroutputabstract.html"><abbr title="src/Output/QROutputAbstract.php">QROutputAbstract.php</abbr></a></abbr>
  998. :
  999. <span class="phpdocumentor-element-found-in__line">138</span>
  1000. </aside>
  1001. <p class="phpdocumentor-summary">Returns a base64 data URI for the given string and mime type</p>
  1002. <code class="phpdocumentor-code phpdocumentor-signature ">
  1003. <span class="phpdocumentor-signature__visibility">protected</span>
  1004. <span class="phpdocumentor-signature__name">toBase64DataURI</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$data</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">$mime</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
  1005. <div class="phpdocumentor-label-line">
  1006. </div>
  1007. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  1008. <dl class="phpdocumentor-argument-list">
  1009. <dt class="phpdocumentor-argument-list__entry">
  1010. <span class="phpdocumentor-signature__argument__name">$data</span>
  1011. : <span class="phpdocumentor-signature__argument__return-type">string</span>
  1012. </dt>
  1013. <dd class="phpdocumentor-argument-list__definition">
  1014. </dd>
  1015. <dt class="phpdocumentor-argument-list__entry">
  1016. <span class="phpdocumentor-signature__argument__name">$mime</span>
  1017. : <span class="phpdocumentor-signature__argument__return-type">string</span>
  1018. </dt>
  1019. <dd class="phpdocumentor-argument-list__definition">
  1020. </dd>
  1021. </dl>
  1022. <section>
  1023. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  1024. <span class="phpdocumentor-signature__response_type">string</span>
  1025. </section>
  1026. </article>
  1027. </section>
  1028. <div class="phpdocumentor-modal" id="source-view">
  1029. <div class="phpdocumentor-modal-bg" data-exit-button></div>
  1030. <div class="phpdocumentor-modal-container">
  1031. <div class="phpdocumentor-modal-content">
  1032. <pre style="max-height: 500px; overflow-y: scroll" data-src="files/src/Output/QRMarkupHTML.php.txt" class="language-php line-numbers linkable-line-numbers"></pre>
  1033. </div>
  1034. <button data-exit-button class="phpdocumentor-modal__close">&times;</button>
  1035. </div>
  1036. </div>
  1037. <script type="text/javascript">
  1038. (function () {
  1039. function loadExternalCodeSnippet(el, url, line) {
  1040. Array.prototype.slice.call(el.querySelectorAll('pre[data-src]')).forEach((pre) => {
  1041. const src = url || pre.getAttribute('data-src').replace(/\\/g, '/');
  1042. const language = 'php';
  1043. const code = document.createElement('code');
  1044. code.className = 'language-' + language;
  1045. pre.textContent = '';
  1046. pre.setAttribute('data-line', line)
  1047. code.textContent = 'Loading…';
  1048. pre.appendChild(code);
  1049. var xhr = new XMLHttpRequest();
  1050. xhr.open('GET', src, true);
  1051. xhr.onreadystatechange = function () {
  1052. if (xhr.readyState !== 4) {
  1053. return;
  1054. }
  1055. if (xhr.status < 400 && xhr.responseText) {
  1056. code.textContent = xhr.responseText;
  1057. Prism.highlightElement(code);
  1058. return;
  1059. }
  1060. if (xhr.status === 404) {
  1061. code.textContent = '✖ Error: File could not be found';
  1062. return;
  1063. }
  1064. if (xhr.status >= 400) {
  1065. code.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText;
  1066. return;
  1067. }
  1068. code.textContent = '✖ Error: An unknown error occurred';
  1069. };
  1070. xhr.send(null);
  1071. });
  1072. }
  1073. const modalButtons = document.querySelectorAll("[data-modal]");
  1074. const openedAsLocalFile = window.location.protocol === 'file:';
  1075. if (modalButtons.length > 0 && openedAsLocalFile) {
  1076. console.warn(
  1077. 'Viewing the source code is unavailable because you are opening this page from the file:// scheme; ' +
  1078. 'browsers block XHR requests when a page is opened this way'
  1079. );
  1080. }
  1081. modalButtons.forEach(function (trigger) {
  1082. if (openedAsLocalFile) {
  1083. trigger.setAttribute("hidden", "hidden");
  1084. }
  1085. trigger.addEventListener("click", function (event) {
  1086. event.preventDefault();
  1087. const modal = document.getElementById(trigger.dataset.modal);
  1088. if (!modal) {
  1089. console.error(`Modal with id "${trigger.dataset.modal}" could not be found`);
  1090. return;
  1091. }
  1092. modal.classList.add("phpdocumentor-modal__open");
  1093. loadExternalCodeSnippet(modal, trigger.dataset.src || null, trigger.dataset.line)
  1094. const exits = modal.querySelectorAll("[data-exit-button]");
  1095. exits.forEach(function (exit) {
  1096. exit.addEventListener("click", function (event) {
  1097. event.preventDefault();
  1098. modal.classList.remove("phpdocumentor-modal__open");
  1099. });
  1100. });
  1101. });
  1102. });
  1103. })();
  1104. </script>
  1105. </article>
  1106. </section>
  1107. <section class="phpdocumentor-on-this-page__sidebar">
  1108. <section class="phpdocumentor-on-this-page__content">
  1109. <strong class="phpdocumentor-on-this-page__title">On this page</strong>
  1110. <ul class="phpdocumentor-list -clean">
  1111. <li class="phpdocumentor-on-this-page-section__title">Table Of Contents</li>
  1112. <li>
  1113. <ul class="phpdocumentor-list -clean">
  1114. <li><a href="classes/chillerlan-QRCode-Output-QRMarkupHTML.html#toc-properties">Properties</a></li>
  1115. <li><a href="classes/chillerlan-QRCode-Output-QRMarkupHTML.html#toc-methods">Methods</a></li>
  1116. </ul>
  1117. </li>
  1118. <li class="phpdocumentor-on-this-page-section__title">Properties</li>
  1119. <li>
  1120. <ul class="phpdocumentor-list -clean">
  1121. <li><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_length">$length<a href="classes/chillerlan-QRCode-Output-QRMarkupHTML.html"></li>
  1122. <li><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_matrix">$matrix<a href="classes/chillerlan-QRCode-Output-QRMarkupHTML.html"></li>
  1123. <li><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_moduleCount">$moduleCount<a href="classes/chillerlan-QRCode-Output-QRMarkupHTML.html"></li>
  1124. <li><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_moduleValues">$moduleValues<a href="classes/chillerlan-QRCode-Output-QRMarkupHTML.html"></li>
  1125. <li><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_options">$options<a href="classes/chillerlan-QRCode-Output-QRMarkupHTML.html"></li>
  1126. <li><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_scale">$scale<a href="classes/chillerlan-QRCode-Output-QRMarkupHTML.html"></li>
  1127. </ul>
  1128. </li>
  1129. <li class="phpdocumentor-on-this-page-section__title">Methods</li>
  1130. <li>
  1131. <ul class="phpdocumentor-list -clean">
  1132. <li><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method___construct">__construct()</a></li>
  1133. <li><a href="classes/chillerlan-QRCode-Output-QRMarkup.html#method_dump">dump()</a></li>
  1134. <li><a href="classes/chillerlan-QRCode-Output-QRMarkup.html#method_moduleValueIsValid">moduleValueIsValid()</a></li>
  1135. <li><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_collectModules">collectModules()</a></li>
  1136. <li><a href="classes/chillerlan-QRCode-Output-QRMarkupHTML.html#method_createMarkup">createMarkup()</a></li>
  1137. <li><a href="classes/chillerlan-QRCode-Output-QRMarkup.html#method_getCssClass">getCssClass()</a></li>
  1138. <li><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_getDefaultModuleValue">getDefaultModuleValue()</a></li>
  1139. <li><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_getModuleValue">getModuleValue()</a></li>
  1140. <li><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_getModuleValueAt">getModuleValueAt()</a></li>
  1141. <li><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_prepareModuleValue">prepareModuleValue()</a></li>
  1142. <li><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_saveToFile">saveToFile()</a></li>
  1143. <li><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_setMatrixDimensions">setMatrixDimensions()</a></li>
  1144. <li><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_setModuleValues">setModuleValues()</a></li>
  1145. <li><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_toBase64DataURI">toBase64DataURI()</a></li>
  1146. </ul>
  1147. </li>
  1148. </ul>
  1149. </section>
  1150. </section>
  1151. </div>
  1152. <section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
  1153. <section class="phpdocumentor-search-results__dialog">
  1154. <header class="phpdocumentor-search-results__header">
  1155. <h2 class="phpdocumentor-search-results__title">Search results</h2>
  1156. <button class="phpdocumentor-search-results__close"><i class="fas fa-times"></i></button>
  1157. </header>
  1158. <section class="phpdocumentor-search-results__body">
  1159. <ul class="phpdocumentor-search-results__entries"></ul>
  1160. </section>
  1161. </section>
  1162. </section>
  1163. </div>
  1164. <a href="classes/chillerlan-QRCode-Output-QRMarkupHTML.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a>
  1165. </main>
  1166. <script>
  1167. cssVars({});
  1168. </script>
  1169. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/prism.min.js"></script>
  1170. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/autoloader/prism-autoloader.min.js"></script>
  1171. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.min.js"></script>
  1172. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.min.js"></script>
  1173. </body>
  1174. </html>