chillerlan-QRCode-Output-QRMarkup.html 98 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041
  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. QRMarkup
  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 class="phpdocumentor-label phpdocumentor-label--success"><span>Abstract</span><span>Yes</span></div>
  121. </div>
  122. <aside class="phpdocumentor-element-found-in">
  123. <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>
  124. :
  125. <span class="phpdocumentor-element-found-in__line">18</span>
  126. </aside>
  127. <p class="phpdocumentor-summary">Abstract for markup types: HTML, SVG, ... XML anyone?</p>
  128. <h3 id="toc">
  129. Table of Contents
  130. <a href="classes/chillerlan-QRCode-Output-QRMarkup.html#toc" class="headerlink"><i class="fas fa-link"></i></a>
  131. </h3>
  132. <h4 id="toc-properties">
  133. Properties
  134. <a href="classes/chillerlan-QRCode-Output-QRMarkup.html#toc-properties" class="headerlink"><i class="fas fa-link"></i></a>
  135. </h4>
  136. <dl class="phpdocumentor-table-of-contents">
  137. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  138. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_circleDiameter">$circleDiameter</a>
  139. <span>
  140. &nbsp;: float </span>
  141. </dt>
  142. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  143. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_circleRadius">$circleRadius</a>
  144. <span>
  145. &nbsp;: float </span>
  146. </dt>
  147. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  148. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_connectPaths">$connectPaths</a>
  149. <span>
  150. &nbsp;: bool </span>
  151. </dt>
  152. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  153. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_drawCircularModules">$drawCircularModules</a>
  154. <span>
  155. &nbsp;: bool </span>
  156. </dt>
  157. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  158. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_drawLightModules">$drawLightModules</a>
  159. <span>
  160. &nbsp;: bool </span>
  161. </dt>
  162. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  163. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_eol">$eol</a>
  164. <span>
  165. &nbsp;: string </span>
  166. </dt>
  167. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  168. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_excludeFromConnect">$excludeFromConnect</a>
  169. <span>
  170. &nbsp;: array&lt;string|int, mixed&gt; </span>
  171. </dt>
  172. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  173. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_keepAsSquare">$keepAsSquare</a>
  174. <span>
  175. &nbsp;: array&lt;string|int, mixed&gt; </span>
  176. </dt>
  177. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  178. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_length">$length</a>
  179. <span>
  180. &nbsp;: int </span>
  181. </dt>
  182. <dd>the side length of the QR image (modules * scale)</dd>
  183. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  184. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_matrix">$matrix</a>
  185. <span>
  186. &nbsp;: <a href="classes/chillerlan-QRCode-Data-QRMatrix.html"><abbr title="\chillerlan\QRCode\Data\QRMatrix">QRMatrix</abbr></a> </span>
  187. </dt>
  188. <dd>the (filled) data matrix object</dd>
  189. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  190. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_moduleCount">$moduleCount</a>
  191. <span>
  192. &nbsp;: int </span>
  193. </dt>
  194. <dd>the current size of the QR matrix</dd>
  195. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  196. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_moduleValues">$moduleValues</a>
  197. <span>
  198. &nbsp;: array&lt;string|int, mixed&gt; </span>
  199. </dt>
  200. <dd>an (optional) array of color values for the several QR matrix parts</dd>
  201. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  202. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_options">$options</a>
  203. <span>
  204. &nbsp;: <abbr title="\chillerlan\Settings\SettingsContainerInterface">SettingsContainerInterface</abbr>|<a href="classes/chillerlan-QRCode-QROptions.html"><abbr title="\chillerlan\QRCode\QROptions">QROptions</abbr></a> </span>
  205. </dt>
  206. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  207. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_scale">$scale</a>
  208. <span>
  209. &nbsp;: int </span>
  210. </dt>
  211. </dl>
  212. <h4 id="toc-methods">
  213. Methods
  214. <a href="classes/chillerlan-QRCode-Output-QRMarkup.html#toc-methods" class="headerlink"><i class="fas fa-link"></i></a>
  215. </h4>
  216. <dl class="phpdocumentor-table-of-contents">
  217. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  218. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method___construct">__construct()</a>
  219. <span>
  220. &nbsp;: mixed </span>
  221. </dt>
  222. <dd>QROutputAbstract constructor.</dd>
  223. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  224. <a href="classes/chillerlan-QRCode-Output-QRMarkup.html#method_dump">dump()</a>
  225. <span>
  226. &nbsp;: string </span>
  227. </dt>
  228. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  229. <a href="classes/chillerlan-QRCode-Output-QRMarkup.html#method_moduleValueIsValid">moduleValueIsValid()</a>
  230. <span>
  231. &nbsp;: bool </span>
  232. </dt>
  233. <dd>note: we&#039;re not necessarily validating the several values, just checking the general syntax
  234. note: css4 colors are not included</dd>
  235. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  236. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_collectModules">collectModules()</a>
  237. <span>
  238. &nbsp;: array&lt;string|int, mixed&gt; </span>
  239. </dt>
  240. <dd>collects the modules per QRMatrix::M_* type and runs a $transform function on each module and
  241. returns an array with the transformed modules</dd>
  242. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  243. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_copyVars">copyVars()</a>
  244. <span>
  245. &nbsp;: void </span>
  246. </dt>
  247. <dd>Creates copies of several QROptions values to avoid calling the magic getters
  248. in long loops for a significant performance increase.</dd>
  249. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  250. <a href="classes/chillerlan-QRCode-Output-QRMarkup.html#method_createMarkup">createMarkup()</a>
  251. <span>
  252. &nbsp;: string </span>
  253. </dt>
  254. <dd>returns the fully parsed and rendered markup string for the given input</dd>
  255. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  256. <a href="classes/chillerlan-QRCode-Output-QRMarkup.html#method_getCssClass">getCssClass()</a>
  257. <span>
  258. &nbsp;: string </span>
  259. </dt>
  260. <dd>returns a string with all css classes for the current element</dd>
  261. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  262. <a href="classes/chillerlan-QRCode-Output-QRMarkup.html#method_getDefaultModuleValue">getDefaultModuleValue()</a>
  263. <span>
  264. &nbsp;: mixed|null </span>
  265. </dt>
  266. <dd>Returns a default value for either dark or light modules</dd>
  267. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  268. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_getModuleValue">getModuleValue()</a>
  269. <span>
  270. &nbsp;: mixed </span>
  271. </dt>
  272. <dd>Returns the prepared value for the given $M_TYPE</dd>
  273. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  274. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_getModuleValueAt">getModuleValueAt()</a>
  275. <span>
  276. &nbsp;: mixed|null </span>
  277. </dt>
  278. <dd>Returns the prepared module value at the given coordinate [$x, $y] (convenience)</dd>
  279. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  280. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_getOutputDimensions">getOutputDimensions()</a>
  281. <span>
  282. &nbsp;: array&lt;string|int, mixed&gt; </span>
  283. </dt>
  284. <dd>Returns a 2 element array with the current output width and height</dd>
  285. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  286. <a href="classes/chillerlan-QRCode-Output-QRMarkup.html#method_prepareModuleValue">prepareModuleValue()</a>
  287. <span>
  288. &nbsp;: mixed|null </span>
  289. </dt>
  290. <dd>Prepares the value for the given input ()</dd>
  291. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  292. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_saveToFile">saveToFile()</a>
  293. <span>
  294. &nbsp;: void </span>
  295. </dt>
  296. <dd>Saves the qr $data to a $file. If $file is null, nothing happens.</dd>
  297. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  298. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_setMatrixDimensions">setMatrixDimensions()</a>
  299. <span>
  300. &nbsp;: void </span>
  301. </dt>
  302. <dd>Sets/updates the matrix dimensions</dd>
  303. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  304. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_setModuleValues">setModuleValues()</a>
  305. <span>
  306. &nbsp;: void </span>
  307. </dt>
  308. <dd>Sets the initial module values</dd>
  309. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  310. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_toBase64DataURI">toBase64DataURI()</a>
  311. <span>
  312. &nbsp;: string </span>
  313. </dt>
  314. <dd>Returns a base64 data URI for the given string and mime type</dd>
  315. </dl>
  316. <section class="phpdocumentor-properties">
  317. <h3 class="phpdocumentor-elements__header" id="properties">
  318. Properties
  319. <a href="classes/chillerlan-QRCode-Output-QRMarkup.html#properties" class="headerlink"><i class="fas fa-link"></i></a>
  320. </h3>
  321. <article
  322. class="
  323. phpdocumentor-element
  324. -property
  325. -protected
  326. "
  327. >
  328. <h4 class="phpdocumentor-element__name" id="property_circleDiameter">
  329. $circleDiameter
  330. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_circleDiameter" 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">66</span>
  338. </aside>
  339. <code class="phpdocumentor-code phpdocumentor-signature ">
  340. <span class="phpdocumentor-signature__visibility">protected</span>
  341. <span class="phpdocumentor-signature__type">float</span>
  342. <span class="phpdocumentor-signature__name">$circleDiameter</span>
  343. </code>
  344. </article>
  345. <article
  346. class="
  347. phpdocumentor-element
  348. -property
  349. -protected
  350. "
  351. >
  352. <h4 class="phpdocumentor-element__name" id="property_circleRadius">
  353. $circleRadius
  354. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_circleRadius" class="headerlink"><i class="fas fa-link"></i></a>
  355. <span class="phpdocumentor-element__modifiers">
  356. </span>
  357. </h4>
  358. <aside class="phpdocumentor-element-found-in">
  359. <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>
  360. :
  361. <span class="phpdocumentor-element-found-in__line">65</span>
  362. </aside>
  363. <code class="phpdocumentor-code phpdocumentor-signature ">
  364. <span class="phpdocumentor-signature__visibility">protected</span>
  365. <span class="phpdocumentor-signature__type">float</span>
  366. <span class="phpdocumentor-signature__name">$circleRadius</span>
  367. </code>
  368. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  369. Tags
  370. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_circleRadius#tags" class="headerlink"><i class="fas fa-link"></i></a>
  371. </h5>
  372. <dl class="phpdocumentor-tag-list">
  373. <dt class="phpdocumentor-tag-list__entry">
  374. <span class="phpdocumentor-tag__name">see</span>
  375. </dt>
  376. <dd class="phpdocumentor-tag-list__definition">
  377. <span class="phpdocumentor-tag-link"><abbr title="\chillerlan\QRCode\QROptions::$circleRadius">QROptions::$circleRadius</abbr></span>
  378. </dd>
  379. </dl>
  380. </article>
  381. <article
  382. class="
  383. phpdocumentor-element
  384. -property
  385. -protected
  386. "
  387. >
  388. <h4 class="phpdocumentor-element__name" id="property_connectPaths">
  389. $connectPaths
  390. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_connectPaths" class="headerlink"><i class="fas fa-link"></i></a>
  391. <span class="phpdocumentor-element__modifiers">
  392. </span>
  393. </h4>
  394. <aside class="phpdocumentor-element-found-in">
  395. <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>
  396. :
  397. <span class="phpdocumentor-element-found-in__line">53</span>
  398. </aside>
  399. <code class="phpdocumentor-code phpdocumentor-signature ">
  400. <span class="phpdocumentor-signature__visibility">protected</span>
  401. <span class="phpdocumentor-signature__type">bool</span>
  402. <span class="phpdocumentor-signature__name">$connectPaths</span>
  403. </code>
  404. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  405. Tags
  406. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_connectPaths#tags" class="headerlink"><i class="fas fa-link"></i></a>
  407. </h5>
  408. <dl class="phpdocumentor-tag-list">
  409. <dt class="phpdocumentor-tag-list__entry">
  410. <span class="phpdocumentor-tag__name">see</span>
  411. </dt>
  412. <dd class="phpdocumentor-tag-list__definition">
  413. <span class="phpdocumentor-tag-link"><abbr title="\chillerlan\QRCode\QROptions::$connectPaths">QROptions::$connectPaths</abbr></span>
  414. </dd>
  415. </dl>
  416. </article>
  417. <article
  418. class="
  419. phpdocumentor-element
  420. -property
  421. -protected
  422. "
  423. >
  424. <h4 class="phpdocumentor-element__name" id="property_drawCircularModules">
  425. $drawCircularModules
  426. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_drawCircularModules" class="headerlink"><i class="fas fa-link"></i></a>
  427. <span class="phpdocumentor-element__modifiers">
  428. </span>
  429. </h4>
  430. <aside class="phpdocumentor-element-found-in">
  431. <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>
  432. :
  433. <span class="phpdocumentor-element-found-in__line">61</span>
  434. </aside>
  435. <code class="phpdocumentor-code phpdocumentor-signature ">
  436. <span class="phpdocumentor-signature__visibility">protected</span>
  437. <span class="phpdocumentor-signature__type">bool</span>
  438. <span class="phpdocumentor-signature__name">$drawCircularModules</span>
  439. </code>
  440. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  441. Tags
  442. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_drawCircularModules#tags" class="headerlink"><i class="fas fa-link"></i></a>
  443. </h5>
  444. <dl class="phpdocumentor-tag-list">
  445. <dt class="phpdocumentor-tag-list__entry">
  446. <span class="phpdocumentor-tag__name">see</span>
  447. </dt>
  448. <dd class="phpdocumentor-tag-list__definition">
  449. <span class="phpdocumentor-tag-link"><abbr title="\chillerlan\QRCode\QROptions::$drawCircularModules">QROptions::$drawCircularModules</abbr></span>
  450. </dd>
  451. </dl>
  452. </article>
  453. <article
  454. class="
  455. phpdocumentor-element
  456. -property
  457. -protected
  458. "
  459. >
  460. <h4 class="phpdocumentor-element__name" id="property_drawLightModules">
  461. $drawLightModules
  462. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_drawLightModules" class="headerlink"><i class="fas fa-link"></i></a>
  463. <span class="phpdocumentor-element__modifiers">
  464. </span>
  465. </h4>
  466. <aside class="phpdocumentor-element-found-in">
  467. <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>
  468. :
  469. <span class="phpdocumentor-element-found-in__line">59</span>
  470. </aside>
  471. <code class="phpdocumentor-code phpdocumentor-signature ">
  472. <span class="phpdocumentor-signature__visibility">protected</span>
  473. <span class="phpdocumentor-signature__type">bool</span>
  474. <span class="phpdocumentor-signature__name">$drawLightModules</span>
  475. </code>
  476. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  477. Tags
  478. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_drawLightModules#tags" class="headerlink"><i class="fas fa-link"></i></a>
  479. </h5>
  480. <dl class="phpdocumentor-tag-list">
  481. <dt class="phpdocumentor-tag-list__entry">
  482. <span class="phpdocumentor-tag__name">see</span>
  483. </dt>
  484. <dd class="phpdocumentor-tag-list__definition">
  485. <span class="phpdocumentor-tag-link"><abbr title="\chillerlan\QRCode\QROptions::$drawLightModules">QROptions::$drawLightModules</abbr></span>
  486. </dd>
  487. </dl>
  488. </article>
  489. <article
  490. class="
  491. phpdocumentor-element
  492. -property
  493. -protected
  494. "
  495. >
  496. <h4 class="phpdocumentor-element__name" id="property_eol">
  497. $eol
  498. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_eol" class="headerlink"><i class="fas fa-link"></i></a>
  499. <span class="phpdocumentor-element__modifiers">
  500. </span>
  501. </h4>
  502. <aside class="phpdocumentor-element-found-in">
  503. <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>
  504. :
  505. <span class="phpdocumentor-element-found-in__line">57</span>
  506. </aside>
  507. <code class="phpdocumentor-code phpdocumentor-signature ">
  508. <span class="phpdocumentor-signature__visibility">protected</span>
  509. <span class="phpdocumentor-signature__type">string</span>
  510. <span class="phpdocumentor-signature__name">$eol</span>
  511. </code>
  512. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  513. Tags
  514. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_eol#tags" class="headerlink"><i class="fas fa-link"></i></a>
  515. </h5>
  516. <dl class="phpdocumentor-tag-list">
  517. <dt class="phpdocumentor-tag-list__entry">
  518. <span class="phpdocumentor-tag__name">see</span>
  519. </dt>
  520. <dd class="phpdocumentor-tag-list__definition">
  521. <span class="phpdocumentor-tag-link"><abbr title="\chillerlan\QRCode\QROptions::$eol">QROptions::$eol</abbr></span>
  522. </dd>
  523. </dl>
  524. </article>
  525. <article
  526. class="
  527. phpdocumentor-element
  528. -property
  529. -protected
  530. "
  531. >
  532. <h4 class="phpdocumentor-element__name" id="property_excludeFromConnect">
  533. $excludeFromConnect
  534. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_excludeFromConnect" class="headerlink"><i class="fas fa-link"></i></a>
  535. <span class="phpdocumentor-element__modifiers">
  536. </span>
  537. </h4>
  538. <aside class="phpdocumentor-element-found-in">
  539. <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>
  540. :
  541. <span class="phpdocumentor-element-found-in__line">55</span>
  542. </aside>
  543. <code class="phpdocumentor-code phpdocumentor-signature ">
  544. <span class="phpdocumentor-signature__visibility">protected</span>
  545. <span class="phpdocumentor-signature__type">array&lt;string|int, mixed&gt;</span>
  546. <span class="phpdocumentor-signature__name">$excludeFromConnect</span>
  547. </code>
  548. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  549. Tags
  550. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_excludeFromConnect#tags" class="headerlink"><i class="fas fa-link"></i></a>
  551. </h5>
  552. <dl class="phpdocumentor-tag-list">
  553. <dt class="phpdocumentor-tag-list__entry">
  554. <span class="phpdocumentor-tag__name">see</span>
  555. </dt>
  556. <dd class="phpdocumentor-tag-list__definition">
  557. <span class="phpdocumentor-tag-link"><abbr title="\chillerlan\QRCode\QROptions::$excludeFromConnect">QROptions::$excludeFromConnect</abbr></span>
  558. </dd>
  559. </dl>
  560. </article>
  561. <article
  562. class="
  563. phpdocumentor-element
  564. -property
  565. -protected
  566. "
  567. >
  568. <h4 class="phpdocumentor-element__name" id="property_keepAsSquare">
  569. $keepAsSquare
  570. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_keepAsSquare" class="headerlink"><i class="fas fa-link"></i></a>
  571. <span class="phpdocumentor-element__modifiers">
  572. </span>
  573. </h4>
  574. <aside class="phpdocumentor-element-found-in">
  575. <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>
  576. :
  577. <span class="phpdocumentor-element-found-in__line">63</span>
  578. </aside>
  579. <code class="phpdocumentor-code phpdocumentor-signature ">
  580. <span class="phpdocumentor-signature__visibility">protected</span>
  581. <span class="phpdocumentor-signature__type">array&lt;string|int, mixed&gt;</span>
  582. <span class="phpdocumentor-signature__name">$keepAsSquare</span>
  583. </code>
  584. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  585. Tags
  586. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_keepAsSquare#tags" class="headerlink"><i class="fas fa-link"></i></a>
  587. </h5>
  588. <dl class="phpdocumentor-tag-list">
  589. <dt class="phpdocumentor-tag-list__entry">
  590. <span class="phpdocumentor-tag__name">see</span>
  591. </dt>
  592. <dd class="phpdocumentor-tag-list__definition">
  593. <span class="phpdocumentor-tag-link"><abbr title="\chillerlan\QRCode\QROptions::$keepAsSquare">QROptions::$keepAsSquare</abbr></span>
  594. </dd>
  595. </dl>
  596. </article>
  597. <article
  598. class="
  599. phpdocumentor-element
  600. -property
  601. -protected
  602. "
  603. >
  604. <h4 class="phpdocumentor-element__name" id="property_length">
  605. $length
  606. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_length" class="headerlink"><i class="fas fa-link"></i></a>
  607. <span class="phpdocumentor-element__modifiers">
  608. </span>
  609. </h4>
  610. <aside class="phpdocumentor-element-found-in">
  611. <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>
  612. :
  613. <span class="phpdocumentor-element-found-in__line">33</span>
  614. </aside>
  615. <p class="phpdocumentor-summary">the side length of the QR image (modules * scale)</p>
  616. <code class="phpdocumentor-code phpdocumentor-signature ">
  617. <span class="phpdocumentor-signature__visibility">protected</span>
  618. <span class="phpdocumentor-signature__type">int</span>
  619. <span class="phpdocumentor-signature__name">$length</span>
  620. </code>
  621. </article>
  622. <article
  623. class="
  624. phpdocumentor-element
  625. -property
  626. -protected
  627. "
  628. >
  629. <h4 class="phpdocumentor-element__name" id="property_matrix">
  630. $matrix
  631. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_matrix" class="headerlink"><i class="fas fa-link"></i></a>
  632. <span class="phpdocumentor-element__modifiers">
  633. </span>
  634. </h4>
  635. <aside class="phpdocumentor-element-found-in">
  636. <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>
  637. :
  638. <span class="phpdocumentor-element-found-in__line">43</span>
  639. </aside>
  640. <p class="phpdocumentor-summary">the (filled) data matrix object</p>
  641. <code class="phpdocumentor-code phpdocumentor-signature ">
  642. <span class="phpdocumentor-signature__visibility">protected</span>
  643. <span class="phpdocumentor-signature__type"><a href="classes/chillerlan-QRCode-Data-QRMatrix.html"><abbr title="\chillerlan\QRCode\Data\QRMatrix">QRMatrix</abbr></a></span>
  644. <span class="phpdocumentor-signature__name">$matrix</span>
  645. </code>
  646. </article>
  647. <article
  648. class="
  649. phpdocumentor-element
  650. -property
  651. -protected
  652. "
  653. >
  654. <h4 class="phpdocumentor-element__name" id="property_moduleCount">
  655. $moduleCount
  656. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_moduleCount" class="headerlink"><i class="fas fa-link"></i></a>
  657. <span class="phpdocumentor-element__modifiers">
  658. </span>
  659. </h4>
  660. <aside class="phpdocumentor-element-found-in">
  661. <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>
  662. :
  663. <span class="phpdocumentor-element-found-in__line">28</span>
  664. </aside>
  665. <p class="phpdocumentor-summary">the current size of the QR matrix</p>
  666. <code class="phpdocumentor-code phpdocumentor-signature ">
  667. <span class="phpdocumentor-signature__visibility">protected</span>
  668. <span class="phpdocumentor-signature__type">int</span>
  669. <span class="phpdocumentor-signature__name">$moduleCount</span>
  670. </code>
  671. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  672. Tags
  673. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_moduleCount#tags" class="headerlink"><i class="fas fa-link"></i></a>
  674. </h5>
  675. <dl class="phpdocumentor-tag-list">
  676. <dt class="phpdocumentor-tag-list__entry">
  677. <span class="phpdocumentor-tag__name">see</span>
  678. </dt>
  679. <dd class="phpdocumentor-tag-list__definition">
  680. <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>
  681. </dd>
  682. </dl>
  683. </article>
  684. <article
  685. class="
  686. phpdocumentor-element
  687. -property
  688. -protected
  689. "
  690. >
  691. <h4 class="phpdocumentor-element__name" id="property_moduleValues">
  692. $moduleValues
  693. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_moduleValues" class="headerlink"><i class="fas fa-link"></i></a>
  694. <span class="phpdocumentor-element__modifiers">
  695. </span>
  696. </h4>
  697. <aside class="phpdocumentor-element-found-in">
  698. <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>
  699. :
  700. <span class="phpdocumentor-element-found-in__line">38</span>
  701. </aside>
  702. <p class="phpdocumentor-summary">an (optional) array of color values for the several QR matrix parts</p>
  703. <code class="phpdocumentor-code phpdocumentor-signature ">
  704. <span class="phpdocumentor-signature__visibility">protected</span>
  705. <span class="phpdocumentor-signature__type">array&lt;string|int, mixed&gt;</span>
  706. <span class="phpdocumentor-signature__name">$moduleValues</span>
  707. </code>
  708. </article>
  709. <article
  710. class="
  711. phpdocumentor-element
  712. -property
  713. -protected
  714. "
  715. >
  716. <h4 class="phpdocumentor-element__name" id="property_options">
  717. $options
  718. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_options" class="headerlink"><i class="fas fa-link"></i></a>
  719. <span class="phpdocumentor-element__modifiers">
  720. </span>
  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">48</span>
  726. </aside>
  727. <code class="phpdocumentor-code phpdocumentor-signature ">
  728. <span class="phpdocumentor-signature__visibility">protected</span>
  729. <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>
  730. <span class="phpdocumentor-signature__name">$options</span>
  731. </code>
  732. </article>
  733. <article
  734. class="
  735. phpdocumentor-element
  736. -property
  737. -protected
  738. "
  739. >
  740. <h4 class="phpdocumentor-element__name" id="property_scale">
  741. $scale
  742. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_scale" class="headerlink"><i class="fas fa-link"></i></a>
  743. <span class="phpdocumentor-element__modifiers">
  744. </span>
  745. </h4>
  746. <aside class="phpdocumentor-element-found-in">
  747. <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>
  748. :
  749. <span class="phpdocumentor-element-found-in__line">51</span>
  750. </aside>
  751. <code class="phpdocumentor-code phpdocumentor-signature ">
  752. <span class="phpdocumentor-signature__visibility">protected</span>
  753. <span class="phpdocumentor-signature__type">int</span>
  754. <span class="phpdocumentor-signature__name">$scale</span>
  755. </code>
  756. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  757. Tags
  758. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_scale#tags" class="headerlink"><i class="fas fa-link"></i></a>
  759. </h5>
  760. <dl class="phpdocumentor-tag-list">
  761. <dt class="phpdocumentor-tag-list__entry">
  762. <span class="phpdocumentor-tag__name">see</span>
  763. </dt>
  764. <dd class="phpdocumentor-tag-list__definition">
  765. <span class="phpdocumentor-tag-link"><abbr title="\chillerlan\QRCode\QROptions::$scale">QROptions::$scale</abbr></span>
  766. </dd>
  767. </dl>
  768. </article>
  769. </section>
  770. <section class="phpdocumentor-methods">
  771. <h3 class="phpdocumentor-elements__header" id="methods">
  772. Methods
  773. <a href="classes/chillerlan-QRCode-Output-QRMarkup.html#methods" class="headerlink"><i class="fas fa-link"></i></a>
  774. </h3>
  775. <article
  776. class="phpdocumentor-element
  777. -method
  778. -public
  779. "
  780. >
  781. <h4 class="phpdocumentor-element__name" id="method___construct">
  782. __construct()
  783. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method___construct" class="headerlink"><i class="fas fa-link"></i></a>
  784. </h4>
  785. <aside class="phpdocumentor-element-found-in">
  786. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QROutputAbstract.php"><a href="files/src-output-qroutputabstract.html"><abbr title="src/Output/QROutputAbstract.php">QROutputAbstract.php</abbr></a></abbr>
  787. :
  788. <span class="phpdocumentor-element-found-in__line">71</span>
  789. </aside>
  790. <p class="phpdocumentor-summary">QROutputAbstract constructor.</p>
  791. <code class="phpdocumentor-code phpdocumentor-signature ">
  792. <span class="phpdocumentor-signature__visibility">public</span>
  793. <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>
  794. <div class="phpdocumentor-label-line">
  795. </div>
  796. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  797. <dl class="phpdocumentor-argument-list">
  798. <dt class="phpdocumentor-argument-list__entry">
  799. <span class="phpdocumentor-signature__argument__name">$options</span>
  800. : <span class="phpdocumentor-signature__argument__return-type"><abbr title="\chillerlan\Settings\SettingsContainerInterface">SettingsContainerInterface</abbr></span>
  801. </dt>
  802. <dd class="phpdocumentor-argument-list__definition">
  803. </dd>
  804. <dt class="phpdocumentor-argument-list__entry">
  805. <span class="phpdocumentor-signature__argument__name">$matrix</span>
  806. : <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>
  807. </dt>
  808. <dd class="phpdocumentor-argument-list__definition">
  809. </dd>
  810. </dl>
  811. </article>
  812. <article
  813. class="phpdocumentor-element
  814. -method
  815. -public
  816. "
  817. >
  818. <h4 class="phpdocumentor-element__name" id="method_dump">
  819. dump()
  820. <a href="classes/chillerlan-QRCode-Output-QRMarkup.html#method_dump" class="headerlink"><i class="fas fa-link"></i></a>
  821. </h4>
  822. <aside class="phpdocumentor-element-found-in">
  823. <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>
  824. :
  825. <span class="phpdocumentor-element-found-in__line">74</span>
  826. </aside>
  827. <code class="phpdocumentor-code phpdocumentor-signature ">
  828. <span class="phpdocumentor-signature__visibility">public</span>
  829. <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>
  830. <div class="phpdocumentor-label-line">
  831. </div>
  832. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  833. <dl class="phpdocumentor-argument-list">
  834. <dt class="phpdocumentor-argument-list__entry">
  835. <span class="phpdocumentor-signature__argument__name">$file</span>
  836. : <span class="phpdocumentor-signature__argument__return-type">string</span>
  837. = <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
  838. <dd class="phpdocumentor-argument-list__definition">
  839. </dd>
  840. </dl>
  841. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  842. Tags
  843. <a href="classes/chillerlan-QRCode-Output-QRMarkup.html#method_dump#tags" class="headerlink"><i class="fas fa-link"></i></a>
  844. </h5>
  845. <dl class="phpdocumentor-tag-list">
  846. <dt class="phpdocumentor-tag-list__entry">
  847. <span class="phpdocumentor-tag__name">inheritDoc</span>
  848. </dt>
  849. <dd class="phpdocumentor-tag-list__definition">
  850. </dd>
  851. </dl>
  852. <section>
  853. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  854. <span class="phpdocumentor-signature__response_type">string</span>
  855. </section>
  856. </article>
  857. <article
  858. class="phpdocumentor-element
  859. -method
  860. -public
  861. -static "
  862. >
  863. <h4 class="phpdocumentor-element__name" id="method_moduleValueIsValid">
  864. moduleValueIsValid()
  865. <a href="classes/chillerlan-QRCode-Output-QRMarkup.html#method_moduleValueIsValid" class="headerlink"><i class="fas fa-link"></i></a>
  866. </h4>
  867. <aside class="phpdocumentor-element-found-in">
  868. <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>
  869. :
  870. <span class="phpdocumentor-element-found-in__line">29</span>
  871. </aside>
  872. <p class="phpdocumentor-summary">note: we&#039;re not necessarily validating the several values, just checking the general syntax
  873. note: css4 colors are not included</p>
  874. <code class="phpdocumentor-code phpdocumentor-signature ">
  875. <span class="phpdocumentor-signature__visibility">public</span>
  876. <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>
  877. <div class="phpdocumentor-label-line">
  878. </div>
  879. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  880. <dl class="phpdocumentor-argument-list">
  881. <dt class="phpdocumentor-argument-list__entry">
  882. <span class="phpdocumentor-signature__argument__name">$value</span>
  883. : <span class="phpdocumentor-signature__argument__return-type">mixed</span>
  884. </dt>
  885. <dd class="phpdocumentor-argument-list__definition">
  886. </dd>
  887. </dl>
  888. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  889. Tags
  890. <a href="classes/chillerlan-QRCode-Output-QRMarkup.html#method_moduleValueIsValid#tags" class="headerlink"><i class="fas fa-link"></i></a>
  891. </h5>
  892. <dl class="phpdocumentor-tag-list">
  893. <dt class="phpdocumentor-tag-list__entry">
  894. <span class="phpdocumentor-tag__name">todo:</span>
  895. </dt>
  896. <dd class="phpdocumentor-tag-list__definition">
  897. <section class="phpdocumentor-description"><p>XSS proof</p>
  898. </section>
  899. </dd>
  900. <dt class="phpdocumentor-tag-list__entry">
  901. <span class="phpdocumentor-tag__name">see</span>
  902. </dt>
  903. <dd class="phpdocumentor-tag-list__definition">
  904. <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>
  905. </dd>
  906. <dt class="phpdocumentor-tag-list__entry">
  907. <span class="phpdocumentor-tag__name">inheritDoc</span>
  908. </dt>
  909. <dd class="phpdocumentor-tag-list__definition">
  910. </dd>
  911. </dl>
  912. <section>
  913. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  914. <span class="phpdocumentor-signature__response_type">bool</span>
  915. </section>
  916. </article>
  917. <article
  918. class="phpdocumentor-element
  919. -method
  920. -protected
  921. "
  922. >
  923. <h4 class="phpdocumentor-element__name" id="method_collectModules">
  924. collectModules()
  925. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_collectModules" class="headerlink"><i class="fas fa-link"></i></a>
  926. </h4>
  927. <aside class="phpdocumentor-element-found-in">
  928. <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>
  929. :
  930. <span class="phpdocumentor-element-found-in__line">229</span>
  931. </aside>
  932. <p class="phpdocumentor-summary">collects the modules per QRMatrix::M_* type and runs a $transform function on each module and
  933. returns an array with the transformed modules</p>
  934. <code class="phpdocumentor-code phpdocumentor-signature ">
  935. <span class="phpdocumentor-signature__visibility">protected</span>
  936. <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>
  937. <div class="phpdocumentor-label-line">
  938. </div>
  939. <section class="phpdocumentor-description"><p>The transform callback is called with the following parameters:</p>
  940. <p>$x - current column
  941. $y - current row
  942. $M_TYPE - field value
  943. $M_TYPE_LAYER - (possibly modified) field value that acts as layer id</p>
  944. </section>
  945. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  946. <dl class="phpdocumentor-argument-list">
  947. <dt class="phpdocumentor-argument-list__entry">
  948. <span class="phpdocumentor-signature__argument__name">$transform</span>
  949. : <span class="phpdocumentor-signature__argument__return-type"><abbr title="\Closure">Closure</abbr></span>
  950. </dt>
  951. <dd class="phpdocumentor-argument-list__definition">
  952. </dd>
  953. </dl>
  954. <section>
  955. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  956. <span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span>
  957. </section>
  958. </article>
  959. <article
  960. class="phpdocumentor-element
  961. -method
  962. -protected
  963. "
  964. >
  965. <h4 class="phpdocumentor-element__name" id="method_copyVars">
  966. copyVars()
  967. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_copyVars" class="headerlink"><i class="fas fa-link"></i></a>
  968. </h4>
  969. <aside class="phpdocumentor-element-found-in">
  970. <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>
  971. :
  972. <span class="phpdocumentor-element-found-in__line">90</span>
  973. </aside>
  974. <p class="phpdocumentor-summary">Creates copies of several QROptions values to avoid calling the magic getters
  975. in long loops for a significant performance increase.</p>
  976. <code class="phpdocumentor-code phpdocumentor-signature ">
  977. <span class="phpdocumentor-signature__visibility">protected</span>
  978. <span class="phpdocumentor-signature__name">copyVars</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  979. <div class="phpdocumentor-label-line">
  980. </div>
  981. <section class="phpdocumentor-description"><p>These variables are usually used in the &quot;module&quot; methods and are called up to 31329 times (at version 40).</p>
  982. </section>
  983. </article>
  984. <article
  985. class="phpdocumentor-element
  986. -method
  987. -protected
  988. -abstract "
  989. >
  990. <h4 class="phpdocumentor-element__name" id="method_createMarkup">
  991. createMarkup()
  992. <a href="classes/chillerlan-QRCode-Output-QRMarkup.html#method_createMarkup" class="headerlink"><i class="fas fa-link"></i></a>
  993. </h4>
  994. <aside class="phpdocumentor-element-found-in">
  995. <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>
  996. :
  997. <span class="phpdocumentor-element-found-in__line">92</span>
  998. </aside>
  999. <p class="phpdocumentor-summary">returns the fully parsed and rendered markup string for the given input</p>
  1000. <code class="phpdocumentor-code phpdocumentor-signature ">
  1001. <span class="phpdocumentor-signature__visibility">protected</span>
  1002. <span class="phpdocumentor-signature__abstract">abstract</span> <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>
  1003. <div class="phpdocumentor-label-line">
  1004. </div>
  1005. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  1006. <dl class="phpdocumentor-argument-list">
  1007. <dt class="phpdocumentor-argument-list__entry">
  1008. <span class="phpdocumentor-signature__argument__name">$saveToFile</span>
  1009. : <span class="phpdocumentor-signature__argument__return-type">bool</span>
  1010. </dt>
  1011. <dd class="phpdocumentor-argument-list__definition">
  1012. </dd>
  1013. </dl>
  1014. <section>
  1015. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  1016. <span class="phpdocumentor-signature__response_type">string</span>
  1017. </section>
  1018. </article>
  1019. <article
  1020. class="phpdocumentor-element
  1021. -method
  1022. -protected
  1023. "
  1024. >
  1025. <h4 class="phpdocumentor-element__name" id="method_getCssClass">
  1026. getCssClass()
  1027. <a href="classes/chillerlan-QRCode-Output-QRMarkup.html#method_getCssClass" class="headerlink"><i class="fas fa-link"></i></a>
  1028. </h4>
  1029. <aside class="phpdocumentor-element-found-in">
  1030. <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>
  1031. :
  1032. <span class="phpdocumentor-element-found-in__line">85</span>
  1033. </aside>
  1034. <p class="phpdocumentor-summary">returns a string with all css classes for the current element</p>
  1035. <code class="phpdocumentor-code phpdocumentor-signature ">
  1036. <span class="phpdocumentor-signature__visibility">protected</span>
  1037. <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>
  1038. <div class="phpdocumentor-label-line">
  1039. </div>
  1040. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  1041. <dl class="phpdocumentor-argument-list">
  1042. <dt class="phpdocumentor-argument-list__entry">
  1043. <span class="phpdocumentor-signature__argument__name">$M_TYPE</span>
  1044. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  1045. = <span class="phpdocumentor-signature__argument__default-value">0</span> </dt>
  1046. <dd class="phpdocumentor-argument-list__definition">
  1047. </dd>
  1048. </dl>
  1049. <section>
  1050. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  1051. <span class="phpdocumentor-signature__response_type">string</span>
  1052. </section>
  1053. </article>
  1054. <article
  1055. class="phpdocumentor-element
  1056. -method
  1057. -protected
  1058. "
  1059. >
  1060. <h4 class="phpdocumentor-element__name" id="method_getDefaultModuleValue">
  1061. getDefaultModuleValue()
  1062. <a href="classes/chillerlan-QRCode-Output-QRMarkup.html#method_getDefaultModuleValue" class="headerlink"><i class="fas fa-link"></i></a>
  1063. </h4>
  1064. <aside class="phpdocumentor-element-found-in">
  1065. <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>
  1066. :
  1067. <span class="phpdocumentor-element-found-in__line">67</span>
  1068. </aside>
  1069. <p class="phpdocumentor-summary">Returns a default value for either dark or light modules</p>
  1070. <code class="phpdocumentor-code phpdocumentor-signature ">
  1071. <span class="phpdocumentor-signature__visibility">protected</span>
  1072. <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>
  1073. <div class="phpdocumentor-label-line">
  1074. </div>
  1075. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  1076. <dl class="phpdocumentor-argument-list">
  1077. <dt class="phpdocumentor-argument-list__entry">
  1078. <span class="phpdocumentor-signature__argument__name">$isDark</span>
  1079. : <span class="phpdocumentor-signature__argument__return-type">bool</span>
  1080. </dt>
  1081. <dd class="phpdocumentor-argument-list__definition">
  1082. </dd>
  1083. </dl>
  1084. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  1085. Tags
  1086. <a href="classes/chillerlan-QRCode-Output-QRMarkup.html#method_getDefaultModuleValue#tags" class="headerlink"><i class="fas fa-link"></i></a>
  1087. </h5>
  1088. <dl class="phpdocumentor-tag-list">
  1089. <dt class="phpdocumentor-tag-list__entry">
  1090. <span class="phpdocumentor-tag__name">inheritDoc</span>
  1091. </dt>
  1092. <dd class="phpdocumentor-tag-list__definition">
  1093. </dd>
  1094. </dl>
  1095. <section>
  1096. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  1097. <span class="phpdocumentor-signature__response_type">mixed|null</span>
  1098. &mdash;
  1099. <section class="phpdocumentor-description"><p>return value depends on the output class</p>
  1100. </section>
  1101. </section>
  1102. </article>
  1103. <article
  1104. class="phpdocumentor-element
  1105. -method
  1106. -protected
  1107. "
  1108. >
  1109. <h4 class="phpdocumentor-element__name" id="method_getModuleValue">
  1110. getModuleValue()
  1111. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_getModuleValue" class="headerlink"><i class="fas fa-link"></i></a>
  1112. </h4>
  1113. <aside class="phpdocumentor-element-found-in">
  1114. <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>
  1115. :
  1116. <span class="phpdocumentor-element-found-in__line">154</span>
  1117. </aside>
  1118. <p class="phpdocumentor-summary">Returns the prepared value for the given $M_TYPE</p>
  1119. <code class="phpdocumentor-code phpdocumentor-signature ">
  1120. <span class="phpdocumentor-signature__visibility">protected</span>
  1121. <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</span></code>
  1122. <div class="phpdocumentor-label-line">
  1123. </div>
  1124. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  1125. <dl class="phpdocumentor-argument-list">
  1126. <dt class="phpdocumentor-argument-list__entry">
  1127. <span class="phpdocumentor-signature__argument__name">$M_TYPE</span>
  1128. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  1129. </dt>
  1130. <dd class="phpdocumentor-argument-list__definition">
  1131. </dd>
  1132. </dl>
  1133. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  1134. Tags
  1135. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_getModuleValue#tags" class="headerlink"><i class="fas fa-link"></i></a>
  1136. </h5>
  1137. <dl class="phpdocumentor-tag-list">
  1138. <dt class="phpdocumentor-tag-list__entry">
  1139. <span class="phpdocumentor-tag__name">throws</span>
  1140. </dt>
  1141. <dd class="phpdocumentor-tag-list__definition">
  1142. <span class="phpdocumentor-tag-link"><a href="classes/chillerlan-QRCode-Output-QRCodeOutputException.html"><abbr title="\chillerlan\QRCode\Output\QRCodeOutputException">QRCodeOutputException</abbr></a></span>
  1143. <section class="phpdocumentor-description"><p>if $moduleValues[$M_TYPE] doesn't exist</p>
  1144. </section>
  1145. </dd>
  1146. </dl>
  1147. <section>
  1148. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  1149. <span class="phpdocumentor-signature__response_type">mixed</span>
  1150. &mdash;
  1151. <section class="phpdocumentor-description"><p>return value depends on the output class</p>
  1152. </section>
  1153. </section>
  1154. </article>
  1155. <article
  1156. class="phpdocumentor-element
  1157. -method
  1158. -protected
  1159. "
  1160. >
  1161. <h4 class="phpdocumentor-element__name" id="method_getModuleValueAt">
  1162. getModuleValueAt()
  1163. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_getModuleValueAt" class="headerlink"><i class="fas fa-link"></i></a>
  1164. </h4>
  1165. <aside class="phpdocumentor-element-found-in">
  1166. <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>
  1167. :
  1168. <span class="phpdocumentor-element-found-in__line">168</span>
  1169. </aside>
  1170. <p class="phpdocumentor-summary">Returns the prepared module value at the given coordinate [$x, $y] (convenience)</p>
  1171. <code class="phpdocumentor-code phpdocumentor-signature ">
  1172. <span class="phpdocumentor-signature__visibility">protected</span>
  1173. <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>
  1174. <div class="phpdocumentor-label-line">
  1175. </div>
  1176. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  1177. <dl class="phpdocumentor-argument-list">
  1178. <dt class="phpdocumentor-argument-list__entry">
  1179. <span class="phpdocumentor-signature__argument__name">$x</span>
  1180. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  1181. </dt>
  1182. <dd class="phpdocumentor-argument-list__definition">
  1183. </dd>
  1184. <dt class="phpdocumentor-argument-list__entry">
  1185. <span class="phpdocumentor-signature__argument__name">$y</span>
  1186. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  1187. </dt>
  1188. <dd class="phpdocumentor-argument-list__definition">
  1189. </dd>
  1190. </dl>
  1191. <section>
  1192. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  1193. <span class="phpdocumentor-signature__response_type">mixed|null</span>
  1194. </section>
  1195. </article>
  1196. <article
  1197. class="phpdocumentor-element
  1198. -method
  1199. -protected
  1200. "
  1201. >
  1202. <h4 class="phpdocumentor-element__name" id="method_getOutputDimensions">
  1203. getOutputDimensions()
  1204. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_getOutputDimensions" class="headerlink"><i class="fas fa-link"></i></a>
  1205. </h4>
  1206. <aside class="phpdocumentor-element-found-in">
  1207. <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>
  1208. :
  1209. <span class="phpdocumentor-element-found-in__line">125</span>
  1210. </aside>
  1211. <p class="phpdocumentor-summary">Returns a 2 element array with the current output width and height</p>
  1212. <code class="phpdocumentor-code phpdocumentor-signature ">
  1213. <span class="phpdocumentor-signature__visibility">protected</span>
  1214. <span class="phpdocumentor-signature__name">getOutputDimensions</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span></code>
  1215. <div class="phpdocumentor-label-line">
  1216. </div>
  1217. <section class="phpdocumentor-description"><p>The type and units of the values depend on the output class. The default value is the current module count * scale.</p>
  1218. </section>
  1219. <section>
  1220. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  1221. <span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span>
  1222. </section>
  1223. </article>
  1224. <article
  1225. class="phpdocumentor-element
  1226. -method
  1227. -protected
  1228. "
  1229. >
  1230. <h4 class="phpdocumentor-element__name" id="method_prepareModuleValue">
  1231. prepareModuleValue()
  1232. <a href="classes/chillerlan-QRCode-Output-QRMarkup.html#method_prepareModuleValue" class="headerlink"><i class="fas fa-link"></i></a>
  1233. </h4>
  1234. <aside class="phpdocumentor-element-found-in">
  1235. <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>
  1236. :
  1237. <span class="phpdocumentor-element-found-in__line">60</span>
  1238. </aside>
  1239. <p class="phpdocumentor-summary">Prepares the value for the given input ()</p>
  1240. <code class="phpdocumentor-code phpdocumentor-signature ">
  1241. <span class="phpdocumentor-signature__visibility">protected</span>
  1242. <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>
  1243. <div class="phpdocumentor-label-line">
  1244. </div>
  1245. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  1246. <dl class="phpdocumentor-argument-list">
  1247. <dt class="phpdocumentor-argument-list__entry">
  1248. <span class="phpdocumentor-signature__argument__name">$value</span>
  1249. : <span class="phpdocumentor-signature__argument__return-type">mixed</span>
  1250. </dt>
  1251. <dd class="phpdocumentor-argument-list__definition">
  1252. </dd>
  1253. </dl>
  1254. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  1255. Tags
  1256. <a href="classes/chillerlan-QRCode-Output-QRMarkup.html#method_prepareModuleValue#tags" class="headerlink"><i class="fas fa-link"></i></a>
  1257. </h5>
  1258. <dl class="phpdocumentor-tag-list">
  1259. <dt class="phpdocumentor-tag-list__entry">
  1260. <span class="phpdocumentor-tag__name">inheritDoc</span>
  1261. </dt>
  1262. <dd class="phpdocumentor-tag-list__definition">
  1263. </dd>
  1264. </dl>
  1265. <section>
  1266. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  1267. <span class="phpdocumentor-signature__response_type">mixed|null</span>
  1268. &mdash;
  1269. <section class="phpdocumentor-description"><p>return value depends on the output class</p>
  1270. </section>
  1271. </section>
  1272. </article>
  1273. <article
  1274. class="phpdocumentor-element
  1275. -method
  1276. -protected
  1277. "
  1278. >
  1279. <h4 class="phpdocumentor-element__name" id="method_saveToFile">
  1280. saveToFile()
  1281. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_saveToFile" class="headerlink"><i class="fas fa-link"></i></a>
  1282. </h4>
  1283. <aside class="phpdocumentor-element-found-in">
  1284. <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>
  1285. :
  1286. <span class="phpdocumentor-element-found-in__line">203</span>
  1287. </aside>
  1288. <p class="phpdocumentor-summary">Saves the qr $data to a $file. If $file is null, nothing happens.</p>
  1289. <code class="phpdocumentor-code phpdocumentor-signature ">
  1290. <span class="phpdocumentor-signature__visibility">protected</span>
  1291. <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>
  1292. <div class="phpdocumentor-label-line">
  1293. </div>
  1294. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  1295. <dl class="phpdocumentor-argument-list">
  1296. <dt class="phpdocumentor-argument-list__entry">
  1297. <span class="phpdocumentor-signature__argument__name">$data</span>
  1298. : <span class="phpdocumentor-signature__argument__return-type">string</span>
  1299. </dt>
  1300. <dd class="phpdocumentor-argument-list__definition">
  1301. </dd>
  1302. <dt class="phpdocumentor-argument-list__entry">
  1303. <span class="phpdocumentor-signature__argument__name">$file</span>
  1304. : <span class="phpdocumentor-signature__argument__return-type">string</span>
  1305. = <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
  1306. <dd class="phpdocumentor-argument-list__definition">
  1307. </dd>
  1308. </dl>
  1309. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  1310. Tags
  1311. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_saveToFile#tags" class="headerlink"><i class="fas fa-link"></i></a>
  1312. </h5>
  1313. <dl class="phpdocumentor-tag-list">
  1314. <dt class="phpdocumentor-tag-list__entry">
  1315. <span class="phpdocumentor-tag__name">see</span>
  1316. </dt>
  1317. <dd class="phpdocumentor-tag-list__definition">
  1318. <span class="phpdocumentor-tag-link"><abbr title="\chillerlan\QRCode\Output\file_put_contents()">file_put_contents()</abbr></span>
  1319. </dd>
  1320. <dt class="phpdocumentor-tag-list__entry">
  1321. <span class="phpdocumentor-tag__name">see</span>
  1322. </dt>
  1323. <dd class="phpdocumentor-tag-list__definition">
  1324. <span class="phpdocumentor-tag-link"><abbr title="\chillerlan\QRCode\QROptions::$cachefile">QROptions::$cachefile</abbr></span>
  1325. </dd>
  1326. <dt class="phpdocumentor-tag-list__entry">
  1327. <span class="phpdocumentor-tag__name">throws</span>
  1328. </dt>
  1329. <dd class="phpdocumentor-tag-list__definition">
  1330. <span class="phpdocumentor-tag-link"><a href="classes/chillerlan-QRCode-Output-QRCodeOutputException.html"><abbr title="\chillerlan\QRCode\Output\QRCodeOutputException">QRCodeOutputException</abbr></a></span>
  1331. </dd>
  1332. </dl>
  1333. </article>
  1334. <article
  1335. class="phpdocumentor-element
  1336. -method
  1337. -protected
  1338. "
  1339. >
  1340. <h4 class="phpdocumentor-element__name" id="method_setMatrixDimensions">
  1341. setMatrixDimensions()
  1342. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_setMatrixDimensions" class="headerlink"><i class="fas fa-link"></i></a>
  1343. </h4>
  1344. <aside class="phpdocumentor-element-found-in">
  1345. <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>
  1346. :
  1347. <span class="phpdocumentor-element-found-in__line">114</span>
  1348. </aside>
  1349. <p class="phpdocumentor-summary">Sets/updates the matrix dimensions</p>
  1350. <code class="phpdocumentor-code phpdocumentor-signature ">
  1351. <span class="phpdocumentor-signature__visibility">protected</span>
  1352. <span class="phpdocumentor-signature__name">setMatrixDimensions</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  1353. <div class="phpdocumentor-label-line">
  1354. </div>
  1355. <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>
  1356. </section>
  1357. </article>
  1358. <article
  1359. class="phpdocumentor-element
  1360. -method
  1361. -protected
  1362. "
  1363. >
  1364. <h4 class="phpdocumentor-element__name" id="method_setModuleValues">
  1365. setModuleValues()
  1366. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_setModuleValues" class="headerlink"><i class="fas fa-link"></i></a>
  1367. </h4>
  1368. <aside class="phpdocumentor-element-found-in">
  1369. <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>
  1370. :
  1371. <span class="phpdocumentor-element-found-in__line">132</span>
  1372. </aside>
  1373. <p class="phpdocumentor-summary">Sets the initial module values</p>
  1374. <code class="phpdocumentor-code phpdocumentor-signature ">
  1375. <span class="phpdocumentor-signature__visibility">protected</span>
  1376. <span class="phpdocumentor-signature__name">setModuleValues</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  1377. <div class="phpdocumentor-label-line">
  1378. </div>
  1379. </article>
  1380. <article
  1381. class="phpdocumentor-element
  1382. -method
  1383. -protected
  1384. "
  1385. >
  1386. <h4 class="phpdocumentor-element__name" id="method_toBase64DataURI">
  1387. toBase64DataURI()
  1388. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_toBase64DataURI" class="headerlink"><i class="fas fa-link"></i></a>
  1389. </h4>
  1390. <aside class="phpdocumentor-element-found-in">
  1391. <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>
  1392. :
  1393. <span class="phpdocumentor-element-found-in__line">191</span>
  1394. </aside>
  1395. <p class="phpdocumentor-summary">Returns a base64 data URI for the given string and mime type</p>
  1396. <code class="phpdocumentor-code phpdocumentor-signature ">
  1397. <span class="phpdocumentor-signature__visibility">protected</span>
  1398. <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>, </span><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$mime</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>
  1399. <div class="phpdocumentor-label-line">
  1400. </div>
  1401. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  1402. <dl class="phpdocumentor-argument-list">
  1403. <dt class="phpdocumentor-argument-list__entry">
  1404. <span class="phpdocumentor-signature__argument__name">$data</span>
  1405. : <span class="phpdocumentor-signature__argument__return-type">string</span>
  1406. </dt>
  1407. <dd class="phpdocumentor-argument-list__definition">
  1408. </dd>
  1409. <dt class="phpdocumentor-argument-list__entry">
  1410. <span class="phpdocumentor-signature__argument__name">$mime</span>
  1411. : <span class="phpdocumentor-signature__argument__return-type">string</span>
  1412. = <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
  1413. <dd class="phpdocumentor-argument-list__definition">
  1414. </dd>
  1415. </dl>
  1416. <section>
  1417. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  1418. <span class="phpdocumentor-signature__response_type">string</span>
  1419. </section>
  1420. </article>
  1421. </section>
  1422. <div class="phpdocumentor-modal" id="source-view">
  1423. <div class="phpdocumentor-modal-bg" data-exit-button></div>
  1424. <div class="phpdocumentor-modal-container">
  1425. <div class="phpdocumentor-modal-content">
  1426. <pre style="max-height: 500px; overflow-y: scroll" data-src="files/src/Output/QRMarkup.php.txt" class="language-php line-numbers linkable-line-numbers"></pre>
  1427. </div>
  1428. <button data-exit-button class="phpdocumentor-modal__close">&times;</button>
  1429. </div>
  1430. </div>
  1431. <script type="text/javascript">
  1432. (function () {
  1433. function loadExternalCodeSnippet(el, url, line) {
  1434. Array.prototype.slice.call(el.querySelectorAll('pre[data-src]')).forEach((pre) => {
  1435. const src = url || pre.getAttribute('data-src').replace(/\\/g, '/');
  1436. const language = 'php';
  1437. const code = document.createElement('code');
  1438. code.className = 'language-' + language;
  1439. pre.textContent = '';
  1440. pre.setAttribute('data-line', line)
  1441. code.textContent = 'Loading…';
  1442. pre.appendChild(code);
  1443. var xhr = new XMLHttpRequest();
  1444. xhr.open('GET', src, true);
  1445. xhr.onreadystatechange = function () {
  1446. if (xhr.readyState !== 4) {
  1447. return;
  1448. }
  1449. if (xhr.status < 400 && xhr.responseText) {
  1450. code.textContent = xhr.responseText;
  1451. Prism.highlightElement(code);
  1452. return;
  1453. }
  1454. if (xhr.status === 404) {
  1455. code.textContent = '✖ Error: File could not be found';
  1456. return;
  1457. }
  1458. if (xhr.status >= 400) {
  1459. code.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText;
  1460. return;
  1461. }
  1462. code.textContent = '✖ Error: An unknown error occurred';
  1463. };
  1464. xhr.send(null);
  1465. });
  1466. }
  1467. const modalButtons = document.querySelectorAll("[data-modal]");
  1468. const openedAsLocalFile = window.location.protocol === 'file:';
  1469. if (modalButtons.length > 0 && openedAsLocalFile) {
  1470. console.warn(
  1471. 'Viewing the source code is unavailable because you are opening this page from the file:// scheme; ' +
  1472. 'browsers block XHR requests when a page is opened this way'
  1473. );
  1474. }
  1475. modalButtons.forEach(function (trigger) {
  1476. if (openedAsLocalFile) {
  1477. trigger.setAttribute("hidden", "hidden");
  1478. }
  1479. trigger.addEventListener("click", function (event) {
  1480. event.preventDefault();
  1481. const modal = document.getElementById(trigger.dataset.modal);
  1482. if (!modal) {
  1483. console.error(`Modal with id "${trigger.dataset.modal}" could not be found`);
  1484. return;
  1485. }
  1486. modal.classList.add("phpdocumentor-modal__open");
  1487. loadExternalCodeSnippet(modal, trigger.dataset.src || null, trigger.dataset.line)
  1488. const exits = modal.querySelectorAll("[data-exit-button]");
  1489. exits.forEach(function (exit) {
  1490. exit.addEventListener("click", function (event) {
  1491. event.preventDefault();
  1492. modal.classList.remove("phpdocumentor-modal__open");
  1493. });
  1494. });
  1495. });
  1496. });
  1497. })();
  1498. </script>
  1499. </article>
  1500. </section>
  1501. <section class="phpdocumentor-on-this-page__sidebar">
  1502. <section class="phpdocumentor-on-this-page__content">
  1503. <strong class="phpdocumentor-on-this-page__title">On this page</strong>
  1504. <ul class="phpdocumentor-list -clean">
  1505. <li class="phpdocumentor-on-this-page-section__title">Table Of Contents</li>
  1506. <li>
  1507. <ul class="phpdocumentor-list -clean">
  1508. <li><a href="classes/chillerlan-QRCode-Output-QRMarkup.html#toc-properties">Properties</a></li>
  1509. <li><a href="classes/chillerlan-QRCode-Output-QRMarkup.html#toc-methods">Methods</a></li>
  1510. </ul>
  1511. </li>
  1512. <li class="phpdocumentor-on-this-page-section__title">Properties</li>
  1513. <li>
  1514. <ul class="phpdocumentor-list -clean">
  1515. <li><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_circleDiameter">$circleDiameter<a href="classes/chillerlan-QRCode-Output-QRMarkup.html"></li>
  1516. <li><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_circleRadius">$circleRadius<a href="classes/chillerlan-QRCode-Output-QRMarkup.html"></li>
  1517. <li><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_connectPaths">$connectPaths<a href="classes/chillerlan-QRCode-Output-QRMarkup.html"></li>
  1518. <li><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_drawCircularModules">$drawCircularModules<a href="classes/chillerlan-QRCode-Output-QRMarkup.html"></li>
  1519. <li><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_drawLightModules">$drawLightModules<a href="classes/chillerlan-QRCode-Output-QRMarkup.html"></li>
  1520. <li><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_eol">$eol<a href="classes/chillerlan-QRCode-Output-QRMarkup.html"></li>
  1521. <li><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_excludeFromConnect">$excludeFromConnect<a href="classes/chillerlan-QRCode-Output-QRMarkup.html"></li>
  1522. <li><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_keepAsSquare">$keepAsSquare<a href="classes/chillerlan-QRCode-Output-QRMarkup.html"></li>
  1523. <li><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_length">$length<a href="classes/chillerlan-QRCode-Output-QRMarkup.html"></li>
  1524. <li><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_matrix">$matrix<a href="classes/chillerlan-QRCode-Output-QRMarkup.html"></li>
  1525. <li><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_moduleCount">$moduleCount<a href="classes/chillerlan-QRCode-Output-QRMarkup.html"></li>
  1526. <li><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_moduleValues">$moduleValues<a href="classes/chillerlan-QRCode-Output-QRMarkup.html"></li>
  1527. <li><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_options">$options<a href="classes/chillerlan-QRCode-Output-QRMarkup.html"></li>
  1528. <li><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_scale">$scale<a href="classes/chillerlan-QRCode-Output-QRMarkup.html"></li>
  1529. </ul>
  1530. </li>
  1531. <li class="phpdocumentor-on-this-page-section__title">Methods</li>
  1532. <li>
  1533. <ul class="phpdocumentor-list -clean">
  1534. <li><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method___construct">__construct()</a></li>
  1535. <li><a href="classes/chillerlan-QRCode-Output-QRMarkup.html#method_dump">dump()</a></li>
  1536. <li><a href="classes/chillerlan-QRCode-Output-QRMarkup.html#method_moduleValueIsValid">moduleValueIsValid()</a></li>
  1537. <li><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_collectModules">collectModules()</a></li>
  1538. <li><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_copyVars">copyVars()</a></li>
  1539. <li><a href="classes/chillerlan-QRCode-Output-QRMarkup.html#method_createMarkup">createMarkup()</a></li>
  1540. <li><a href="classes/chillerlan-QRCode-Output-QRMarkup.html#method_getCssClass">getCssClass()</a></li>
  1541. <li><a href="classes/chillerlan-QRCode-Output-QRMarkup.html#method_getDefaultModuleValue">getDefaultModuleValue()</a></li>
  1542. <li><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_getModuleValue">getModuleValue()</a></li>
  1543. <li><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_getModuleValueAt">getModuleValueAt()</a></li>
  1544. <li><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_getOutputDimensions">getOutputDimensions()</a></li>
  1545. <li><a href="classes/chillerlan-QRCode-Output-QRMarkup.html#method_prepareModuleValue">prepareModuleValue()</a></li>
  1546. <li><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_saveToFile">saveToFile()</a></li>
  1547. <li><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_setMatrixDimensions">setMatrixDimensions()</a></li>
  1548. <li><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_setModuleValues">setModuleValues()</a></li>
  1549. <li><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_toBase64DataURI">toBase64DataURI()</a></li>
  1550. </ul>
  1551. </li>
  1552. </ul>
  1553. </section>
  1554. </section>
  1555. </div>
  1556. <section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
  1557. <section class="phpdocumentor-search-results__dialog">
  1558. <header class="phpdocumentor-search-results__header">
  1559. <h2 class="phpdocumentor-search-results__title">Search results</h2>
  1560. <button class="phpdocumentor-search-results__close"><i class="fas fa-times"></i></button>
  1561. </header>
  1562. <section class="phpdocumentor-search-results__body">
  1563. <ul class="phpdocumentor-search-results__entries"></ul>
  1564. </section>
  1565. </section>
  1566. </section>
  1567. </div>
  1568. <a href="classes/chillerlan-QRCode-Output-QRMarkup.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a>
  1569. </main>
  1570. <script>
  1571. cssVars({});
  1572. </script>
  1573. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/prism.min.js"></script>
  1574. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/autoloader/prism-autoloader.min.js"></script>
  1575. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.min.js"></script>
  1576. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.min.js"></script>
  1577. </body>
  1578. </html>