chillerlan-QRCode-Output-QRMarkup.html 98 KB

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