chillerlan-QRCode-Output-QREps.html 77 KB

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