chillerlan-QRCode-Output-QRMarkup.html 98 KB

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