chillerlan-QRCode-Output-QRMarkup.html 101 KB

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