chillerlan-QRCode-Output-QRMarkupSVG.html 96 KB

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