chillerlan-QRCode-Output-QRMarkupHTML.html 100 KB

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