chillerlan-QRCode-Output-QRMarkup.html 74 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <title>Documentation</title>
  6. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  7. <base href="../">
  8. <link rel="icon" href="images/favicon.ico"/>
  9. <link rel="stylesheet" href="css/normalize.css">
  10. <link rel="stylesheet" href="css/base.css">
  11. <link rel="preconnect" href="https://fonts.gstatic.com">
  12. <link href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@100;200;300;400;600;700&display=swap" rel="stylesheet">
  13. <link href="https://fonts.googleapis.com/css2?family=Source+Code+Pro:wght@400;600;700&display=swap" rel="stylesheet">
  14. <link rel="stylesheet" href="css/template.css">
  15. <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/css/all.min.css" integrity="sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=" crossorigin="anonymous" />
  16. <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/themes/prism-okaidia.css">
  17. <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.css">
  18. <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.css">
  19. <script src="https://cdn.jsdelivr.net/npm/fuse.js@3.4.6"></script>
  20. <script src="https://cdn.jsdelivr.net/npm/css-vars-ponyfill@2"></script>
  21. <script src="js/template.js"></script>
  22. <script src="js/search.js"></script>
  23. <script defer src="js/searchIndex.js"></script>
  24. </head>
  25. <body id="top">
  26. <header class="phpdocumentor-header phpdocumentor-section">
  27. <h1 class="phpdocumentor-title"><a href="" class="phpdocumentor-title__link">Documentation</a></h1>
  28. <input class="phpdocumentor-header__menu-button" type="checkbox" id="menu-button" name="menu-button" />
  29. <label class="phpdocumentor-header__menu-icon" for="menu-button">
  30. <i class="fas fa-bars"></i>
  31. </label>
  32. <section data-search-form class="phpdocumentor-search">
  33. <label>
  34. <span class="visually-hidden">Search for</span>
  35. <svg class="phpdocumentor-search__icon" width="21" height="20" viewBox="0 0 21 20" fill="none" xmlns="http://www.w3.org/2000/svg">
  36. <circle cx="7.5" cy="7.5" r="6.5" stroke="currentColor" stroke-width="2"/>
  37. <line x1="12.4892" y1="12.2727" x2="19.1559" y2="18.9393" stroke="currentColor" stroke-width="3"/>
  38. </svg>
  39. <input type="search" class="phpdocumentor-field phpdocumentor-search__field" placeholder="Loading .." disabled />
  40. </label>
  41. </section>
  42. <nav class="phpdocumentor-topnav">
  43. <ul class="phpdocumentor-topnav__menu">
  44. <li class="phpdocumentor-topnav__menu-item -menu">
  45. <a href="https://php-qrcode.readthedocs.io">
  46. <span>
  47. User Manual
  48. </span>
  49. </a>
  50. </li>
  51. <li class="phpdocumentor-topnav__menu-item -social">
  52. <a href="https://github.com/chillerlan/php-qrcode">
  53. <span>
  54. <i class="fab fa-github"></i>
  55. </span>
  56. </a>
  57. </li>
  58. </ul>
  59. </nav>
  60. </header>
  61. <main class="phpdocumentor">
  62. <div class="phpdocumentor-section">
  63. <input class="phpdocumentor-sidebar__menu-button" type="checkbox" id="sidebar-button" name="sidebar-button" />
  64. <label class="phpdocumentor-sidebar__menu-icon" for="sidebar-button">
  65. Menu
  66. </label>
  67. <aside class="phpdocumentor-column -three phpdocumentor-sidebar">
  68. <section class="phpdocumentor-sidebar__category">
  69. <h2 class="phpdocumentor-sidebar__category-header">Namespaces</h2>
  70. <h4 class="phpdocumentor-sidebar__root-namespace">
  71. <a href="namespaces/chillerlan.html" class="">chillerlan</a>
  72. </h4>
  73. <ul class="phpdocumentor-list">
  74. <li>
  75. <a href="namespaces/chillerlan-qrcode.html" class="">QRCode</a>
  76. </li>
  77. <li>
  78. <a href="namespaces/chillerlan-qrcodetest.html" class="">QRCodeTest</a>
  79. </li>
  80. </ul>
  81. </section>
  82. <section class="phpdocumentor-sidebar__category">
  83. <h2 class="phpdocumentor-sidebar__category-header">Packages</h2>
  84. <h4 class="phpdocumentor-sidebar__root-namespace">
  85. <a href="packages/Application.html" class="">Application</a>
  86. </h4>
  87. </section>
  88. <section class="phpdocumentor-sidebar__category">
  89. <h2 class="phpdocumentor-sidebar__category-header">Reports</h2>
  90. <h3 class="phpdocumentor-sidebar__root-package"><a href="reports/deprecated.html">Deprecated</a></h3>
  91. <h3 class="phpdocumentor-sidebar__root-package"><a href="reports/errors.html">Errors</a></h3>
  92. <h3 class="phpdocumentor-sidebar__root-package"><a href="reports/markers.html">Markers</a></h3>
  93. </section>
  94. <section class="phpdocumentor-sidebar__category">
  95. <h2 class="phpdocumentor-sidebar__category-header">Indices</h2>
  96. <h3 class="phpdocumentor-sidebar__root-package"><a href="indices/files.html">Files</a></h3>
  97. </section>
  98. </aside>
  99. <div class="phpdocumentor-column -nine phpdocumentor-content">
  100. <section>
  101. <ul class="phpdocumentor-breadcrumbs">
  102. <li class="phpdocumentor-breadcrumb"><a href="namespaces/chillerlan.html">chillerlan</a></li>
  103. <li class="phpdocumentor-breadcrumb"><a href="namespaces/chillerlan-qrcode.html">QRCode</a></li>
  104. <li class="phpdocumentor-breadcrumb"><a href="namespaces/chillerlan-qrcode-output.html">Output</a></li>
  105. </ul>
  106. <article class="phpdocumentor-element -class">
  107. <h2 class="phpdocumentor-content__title">
  108. QRMarkup
  109. <span class="phpdocumentor-element__extends">
  110. extends <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html"><abbr title="\chillerlan\QRCode\Output\QROutputAbstract">QROutputAbstract</abbr></a>
  111. </span>
  112. <div class="phpdocumentor-element__package">
  113. in package
  114. <ul class="phpdocumentor-breadcrumbs">
  115. <li class="phpdocumentor-breadcrumb"><a href="packages/Application.html">Application</a></li>
  116. </ul>
  117. </div>
  118. </h2>
  119. <div class="phpdocumentor-label-line">
  120. <div class="phpdocumentor-label phpdocumentor-label--success"><span>Abstract</span><span>Yes</span></div>
  121. </div>
  122. <aside class="phpdocumentor-element-found-in">
  123. <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>
  124. :
  125. <span class="phpdocumentor-element-found-in__line">18</span>
  126. </aside>
  127. <p class="phpdocumentor-summary">Abstract for markup types: HTML, SVG, ... XML anyone?</p>
  128. <h3 id="toc">
  129. Table of Contents
  130. <a href="classes/chillerlan-QRCode-Output-QRMarkup.html#toc" class="headerlink"><i class="fas fa-link"></i></a>
  131. </h3>
  132. <h4 id="toc-properties">
  133. Properties
  134. <a href="classes/chillerlan-QRCode-Output-QRMarkup.html#toc-properties" class="headerlink"><i class="fas fa-link"></i></a>
  135. </h4>
  136. <dl class="phpdocumentor-table-of-contents">
  137. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  138. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_length">$length</a>
  139. <span>
  140. &nbsp;: int </span>
  141. </dt>
  142. <dd>the side length of the QR image (modules * scale)</dd>
  143. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  144. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_matrix">$matrix</a>
  145. <span>
  146. &nbsp;: <a href="classes/chillerlan-QRCode-Data-QRMatrix.html"><abbr title="\chillerlan\QRCode\Data\QRMatrix">QRMatrix</abbr></a> </span>
  147. </dt>
  148. <dd>the (filled) data matrix object</dd>
  149. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  150. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_moduleCount">$moduleCount</a>
  151. <span>
  152. &nbsp;: int </span>
  153. </dt>
  154. <dd>the current size of the QR matrix</dd>
  155. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  156. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_moduleValues">$moduleValues</a>
  157. <span>
  158. &nbsp;: array&lt;string|int, mixed&gt; </span>
  159. </dt>
  160. <dd>an (optional) array of color values for the several QR matrix parts</dd>
  161. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  162. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_options">$options</a>
  163. <span>
  164. &nbsp;: <abbr title="\chillerlan\Settings\SettingsContainerInterface">SettingsContainerInterface</abbr>|<a href="classes/chillerlan-QRCode-QROptions.html"><abbr title="\chillerlan\QRCode\QROptions">QROptions</abbr></a> </span>
  165. </dt>
  166. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  167. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_scale">$scale</a>
  168. <span>
  169. &nbsp;: int </span>
  170. </dt>
  171. <dd>the current scaling for a QR pixel</dd>
  172. </dl>
  173. <h4 id="toc-methods">
  174. Methods
  175. <a href="classes/chillerlan-QRCode-Output-QRMarkup.html#toc-methods" class="headerlink"><i class="fas fa-link"></i></a>
  176. </h4>
  177. <dl class="phpdocumentor-table-of-contents">
  178. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  179. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method___construct">__construct()</a>
  180. <span>
  181. &nbsp;: mixed </span>
  182. </dt>
  183. <dd>QROutputAbstract constructor.</dd>
  184. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  185. <a href="classes/chillerlan-QRCode-Output-QRMarkup.html#method_dump">dump()</a>
  186. <span>
  187. &nbsp;: string </span>
  188. </dt>
  189. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  190. <a href="classes/chillerlan-QRCode-Output-QRMarkup.html#method_moduleValueIsValid">moduleValueIsValid()</a>
  191. <span>
  192. &nbsp;: bool </span>
  193. </dt>
  194. <dd>note: we&#039;re not necessarily validating the several values, just checking the general syntax
  195. note: css4 colors are not included</dd>
  196. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  197. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_collectModules">collectModules()</a>
  198. <span>
  199. &nbsp;: array&lt;string|int, mixed&gt; </span>
  200. </dt>
  201. <dd>collects the modules per QRMatrix::M_* type and runs a $transform function on each module and
  202. returns an array with the transformed modules</dd>
  203. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  204. <a href="classes/chillerlan-QRCode-Output-QRMarkup.html#method_createMarkup">createMarkup()</a>
  205. <span>
  206. &nbsp;: string </span>
  207. </dt>
  208. <dd>returns the fully parsed and rendered markup string for the given input</dd>
  209. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  210. <a href="classes/chillerlan-QRCode-Output-QRMarkup.html#method_getCssClass">getCssClass()</a>
  211. <span>
  212. &nbsp;: string </span>
  213. </dt>
  214. <dd>returns a string with all css classes for the current element</dd>
  215. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  216. <a href="classes/chillerlan-QRCode-Output-QRMarkup.html#method_getDefaultModuleValue">getDefaultModuleValue()</a>
  217. <span>
  218. &nbsp;: mixed|null </span>
  219. </dt>
  220. <dd>Returns a default value for either dark or light modules</dd>
  221. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  222. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_getModuleValue">getModuleValue()</a>
  223. <span>
  224. &nbsp;: mixed|null </span>
  225. </dt>
  226. <dd>Returns the prepared value for the given $M_TYPE</dd>
  227. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  228. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_getModuleValueAt">getModuleValueAt()</a>
  229. <span>
  230. &nbsp;: mixed|null </span>
  231. </dt>
  232. <dd>Returns the prepared module value at the given coordinate [$x, $y] (convenience)</dd>
  233. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  234. <a href="classes/chillerlan-QRCode-Output-QRMarkup.html#method_prepareModuleValue">prepareModuleValue()</a>
  235. <span>
  236. &nbsp;: mixed|null </span>
  237. </dt>
  238. <dd>Prepares the value for the given input ()</dd>
  239. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  240. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_saveToFile">saveToFile()</a>
  241. <span>
  242. &nbsp;: void </span>
  243. </dt>
  244. <dd>Saves the qr $data to a $file. If $file is null, nothing happens.</dd>
  245. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  246. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_setMatrixDimensions">setMatrixDimensions()</a>
  247. <span>
  248. &nbsp;: void </span>
  249. </dt>
  250. <dd>Sets/updates the matrix dimensions</dd>
  251. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  252. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_setModuleValues">setModuleValues()</a>
  253. <span>
  254. &nbsp;: void </span>
  255. </dt>
  256. <dd>Sets the initial module values</dd>
  257. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  258. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_toBase64DataURI">toBase64DataURI()</a>
  259. <span>
  260. &nbsp;: string </span>
  261. </dt>
  262. <dd>Returns a base64 data URI for the given string and mime type</dd>
  263. </dl>
  264. <section class="phpdocumentor-properties">
  265. <h3 class="phpdocumentor-elements__header" id="properties">
  266. Properties
  267. <a href="classes/chillerlan-QRCode-Output-QRMarkup.html#properties" class="headerlink"><i class="fas fa-link"></i></a>
  268. </h3>
  269. <article
  270. class="
  271. phpdocumentor-element
  272. -property
  273. -protected
  274. "
  275. >
  276. <h4 class="phpdocumentor-element__name" id="property_length">
  277. $length
  278. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_length" class="headerlink"><i class="fas fa-link"></i></a>
  279. <span class="phpdocumentor-element__modifiers">
  280. </span>
  281. </h4>
  282. <aside class="phpdocumentor-element-found-in">
  283. <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>
  284. :
  285. <span class="phpdocumentor-element-found-in__line">40</span>
  286. </aside>
  287. <p class="phpdocumentor-summary">the side length of the QR image (modules * scale)</p>
  288. <code class="phpdocumentor-code phpdocumentor-signature ">
  289. <span class="phpdocumentor-signature__visibility">protected</span>
  290. <span class="phpdocumentor-signature__type">int</span>
  291. <span class="phpdocumentor-signature__name">$length</span>
  292. </code>
  293. </article>
  294. <article
  295. class="
  296. phpdocumentor-element
  297. -property
  298. -protected
  299. "
  300. >
  301. <h4 class="phpdocumentor-element__name" id="property_matrix">
  302. $matrix
  303. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_matrix" class="headerlink"><i class="fas fa-link"></i></a>
  304. <span class="phpdocumentor-element__modifiers">
  305. </span>
  306. </h4>
  307. <aside class="phpdocumentor-element-found-in">
  308. <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>
  309. :
  310. <span class="phpdocumentor-element-found-in__line">50</span>
  311. </aside>
  312. <p class="phpdocumentor-summary">the (filled) data matrix object</p>
  313. <code class="phpdocumentor-code phpdocumentor-signature ">
  314. <span class="phpdocumentor-signature__visibility">protected</span>
  315. <span class="phpdocumentor-signature__type"><a href="classes/chillerlan-QRCode-Data-QRMatrix.html"><abbr title="\chillerlan\QRCode\Data\QRMatrix">QRMatrix</abbr></a></span>
  316. <span class="phpdocumentor-signature__name">$matrix</span>
  317. </code>
  318. </article>
  319. <article
  320. class="
  321. phpdocumentor-element
  322. -property
  323. -protected
  324. "
  325. >
  326. <h4 class="phpdocumentor-element__name" id="property_moduleCount">
  327. $moduleCount
  328. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_moduleCount" class="headerlink"><i class="fas fa-link"></i></a>
  329. <span class="phpdocumentor-element__modifiers">
  330. </span>
  331. </h4>
  332. <aside class="phpdocumentor-element-found-in">
  333. <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>
  334. :
  335. <span class="phpdocumentor-element-found-in__line">28</span>
  336. </aside>
  337. <p class="phpdocumentor-summary">the current size of the QR matrix</p>
  338. <code class="phpdocumentor-code phpdocumentor-signature ">
  339. <span class="phpdocumentor-signature__visibility">protected</span>
  340. <span class="phpdocumentor-signature__type">int</span>
  341. <span class="phpdocumentor-signature__name">$moduleCount</span>
  342. </code>
  343. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  344. Tags
  345. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_moduleCount#tags" class="headerlink"><i class="fas fa-link"></i></a>
  346. </h5>
  347. <dl class="phpdocumentor-tag-list">
  348. <dt class="phpdocumentor-tag-list__entry">
  349. <span class="phpdocumentor-tag__name">see</span>
  350. </dt>
  351. <dd class="phpdocumentor-tag-list__definition">
  352. <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>
  353. </dd>
  354. </dl>
  355. </article>
  356. <article
  357. class="
  358. phpdocumentor-element
  359. -property
  360. -protected
  361. "
  362. >
  363. <h4 class="phpdocumentor-element__name" id="property_moduleValues">
  364. $moduleValues
  365. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_moduleValues" class="headerlink"><i class="fas fa-link"></i></a>
  366. <span class="phpdocumentor-element__modifiers">
  367. </span>
  368. </h4>
  369. <aside class="phpdocumentor-element-found-in">
  370. <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>
  371. :
  372. <span class="phpdocumentor-element-found-in__line">45</span>
  373. </aside>
  374. <p class="phpdocumentor-summary">an (optional) array of color values for the several QR matrix parts</p>
  375. <code class="phpdocumentor-code phpdocumentor-signature ">
  376. <span class="phpdocumentor-signature__visibility">protected</span>
  377. <span class="phpdocumentor-signature__type">array&lt;string|int, mixed&gt;</span>
  378. <span class="phpdocumentor-signature__name">$moduleValues</span>
  379. </code>
  380. </article>
  381. <article
  382. class="
  383. phpdocumentor-element
  384. -property
  385. -protected
  386. "
  387. >
  388. <h4 class="phpdocumentor-element__name" id="property_options">
  389. $options
  390. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_options" class="headerlink"><i class="fas fa-link"></i></a>
  391. <span class="phpdocumentor-element__modifiers">
  392. </span>
  393. </h4>
  394. <aside class="phpdocumentor-element-found-in">
  395. <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>
  396. :
  397. <span class="phpdocumentor-element-found-in__line">55</span>
  398. </aside>
  399. <code class="phpdocumentor-code phpdocumentor-signature ">
  400. <span class="phpdocumentor-signature__visibility">protected</span>
  401. <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>
  402. <span class="phpdocumentor-signature__name">$options</span>
  403. </code>
  404. </article>
  405. <article
  406. class="
  407. phpdocumentor-element
  408. -property
  409. -protected
  410. "
  411. >
  412. <h4 class="phpdocumentor-element__name" id="property_scale">
  413. $scale
  414. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_scale" class="headerlink"><i class="fas fa-link"></i></a>
  415. <span class="phpdocumentor-element__modifiers">
  416. </span>
  417. </h4>
  418. <aside class="phpdocumentor-element-found-in">
  419. <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>
  420. :
  421. <span class="phpdocumentor-element-found-in__line">35</span>
  422. </aside>
  423. <p class="phpdocumentor-summary">the current scaling for a QR pixel</p>
  424. <code class="phpdocumentor-code phpdocumentor-signature ">
  425. <span class="phpdocumentor-signature__visibility">protected</span>
  426. <span class="phpdocumentor-signature__type">int</span>
  427. <span class="phpdocumentor-signature__name">$scale</span>
  428. </code>
  429. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  430. Tags
  431. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_scale#tags" class="headerlink"><i class="fas fa-link"></i></a>
  432. </h5>
  433. <dl class="phpdocumentor-tag-list">
  434. <dt class="phpdocumentor-tag-list__entry">
  435. <span class="phpdocumentor-tag__name">see</span>
  436. </dt>
  437. <dd class="phpdocumentor-tag-list__definition">
  438. <span class="phpdocumentor-tag-link"><abbr title="\chillerlan\QRCode\QROptions::$scale">QROptions::$scale</abbr></span>
  439. </dd>
  440. </dl>
  441. </article>
  442. </section>
  443. <section class="phpdocumentor-methods">
  444. <h3 class="phpdocumentor-elements__header" id="methods">
  445. Methods
  446. <a href="classes/chillerlan-QRCode-Output-QRMarkup.html#methods" class="headerlink"><i class="fas fa-link"></i></a>
  447. </h3>
  448. <article
  449. class="phpdocumentor-element
  450. -method
  451. -public
  452. "
  453. >
  454. <h4 class="phpdocumentor-element__name" id="method___construct">
  455. __construct()
  456. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method___construct" class="headerlink"><i class="fas fa-link"></i></a>
  457. </h4>
  458. <aside class="phpdocumentor-element-found-in">
  459. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QROutputAbstract.php"><a href="files/src-output-qroutputabstract.html"><abbr title="src/Output/QROutputAbstract.php">QROutputAbstract.php</abbr></a></abbr>
  460. :
  461. <span class="phpdocumentor-element-found-in__line">60</span>
  462. </aside>
  463. <p class="phpdocumentor-summary">QROutputAbstract constructor.</p>
  464. <code class="phpdocumentor-code phpdocumentor-signature ">
  465. <span class="phpdocumentor-signature__visibility">public</span>
  466. <span class="phpdocumentor-signature__name">__construct</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><abbr title="\chillerlan\Settings\SettingsContainerInterface">SettingsContainerInterface</abbr>&nbsp;</span><span class="phpdocumentor-signature__argument__name">$options</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type"><a href="classes/chillerlan-QRCode-Data-QRMatrix.html"><abbr title="\chillerlan\QRCode\Data\QRMatrix">QRMatrix</abbr></a>&nbsp;</span><span class="phpdocumentor-signature__argument__name">$matrix</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
  467. <div class="phpdocumentor-label-line">
  468. </div>
  469. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  470. <dl class="phpdocumentor-argument-list">
  471. <dt class="phpdocumentor-argument-list__entry">
  472. <span class="phpdocumentor-signature__argument__name">$options</span>
  473. : <span class="phpdocumentor-signature__argument__return-type"><abbr title="\chillerlan\Settings\SettingsContainerInterface">SettingsContainerInterface</abbr></span>
  474. </dt>
  475. <dd class="phpdocumentor-argument-list__definition">
  476. </dd>
  477. <dt class="phpdocumentor-argument-list__entry">
  478. <span class="phpdocumentor-signature__argument__name">$matrix</span>
  479. : <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>
  480. </dt>
  481. <dd class="phpdocumentor-argument-list__definition">
  482. </dd>
  483. </dl>
  484. </article>
  485. <article
  486. class="phpdocumentor-element
  487. -method
  488. -public
  489. "
  490. >
  491. <h4 class="phpdocumentor-element__name" id="method_dump">
  492. dump()
  493. <a href="classes/chillerlan-QRCode-Output-QRMarkup.html#method_dump" class="headerlink"><i class="fas fa-link"></i></a>
  494. </h4>
  495. <aside class="phpdocumentor-element-found-in">
  496. <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>
  497. :
  498. <span class="phpdocumentor-element-found-in__line">74</span>
  499. </aside>
  500. <code class="phpdocumentor-code phpdocumentor-signature ">
  501. <span class="phpdocumentor-signature__visibility">public</span>
  502. <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>
  503. <div class="phpdocumentor-label-line">
  504. </div>
  505. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  506. <dl class="phpdocumentor-argument-list">
  507. <dt class="phpdocumentor-argument-list__entry">
  508. <span class="phpdocumentor-signature__argument__name">$file</span>
  509. : <span class="phpdocumentor-signature__argument__return-type">string</span>
  510. = <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
  511. <dd class="phpdocumentor-argument-list__definition">
  512. </dd>
  513. </dl>
  514. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  515. Tags
  516. <a href="classes/chillerlan-QRCode-Output-QRMarkup.html#method_dump#tags" class="headerlink"><i class="fas fa-link"></i></a>
  517. </h5>
  518. <dl class="phpdocumentor-tag-list">
  519. <dt class="phpdocumentor-tag-list__entry">
  520. <span class="phpdocumentor-tag__name">inheritDoc</span>
  521. </dt>
  522. <dd class="phpdocumentor-tag-list__definition">
  523. </dd>
  524. </dl>
  525. <section>
  526. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  527. <span class="phpdocumentor-signature__response_type">string</span>
  528. </section>
  529. </article>
  530. <article
  531. class="phpdocumentor-element
  532. -method
  533. -public
  534. -static "
  535. >
  536. <h4 class="phpdocumentor-element__name" id="method_moduleValueIsValid">
  537. moduleValueIsValid()
  538. <a href="classes/chillerlan-QRCode-Output-QRMarkup.html#method_moduleValueIsValid" class="headerlink"><i class="fas fa-link"></i></a>
  539. </h4>
  540. <aside class="phpdocumentor-element-found-in">
  541. <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>
  542. :
  543. <span class="phpdocumentor-element-found-in__line">29</span>
  544. </aside>
  545. <p class="phpdocumentor-summary">note: we&#039;re not necessarily validating the several values, just checking the general syntax
  546. note: css4 colors are not included</p>
  547. <code class="phpdocumentor-code phpdocumentor-signature ">
  548. <span class="phpdocumentor-signature__visibility">public</span>
  549. <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>
  550. <div class="phpdocumentor-label-line">
  551. </div>
  552. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  553. <dl class="phpdocumentor-argument-list">
  554. <dt class="phpdocumentor-argument-list__entry">
  555. <span class="phpdocumentor-signature__argument__name">$value</span>
  556. : <span class="phpdocumentor-signature__argument__return-type">mixed</span>
  557. </dt>
  558. <dd class="phpdocumentor-argument-list__definition">
  559. </dd>
  560. </dl>
  561. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  562. Tags
  563. <a href="classes/chillerlan-QRCode-Output-QRMarkup.html#method_moduleValueIsValid#tags" class="headerlink"><i class="fas fa-link"></i></a>
  564. </h5>
  565. <dl class="phpdocumentor-tag-list">
  566. <dt class="phpdocumentor-tag-list__entry">
  567. <span class="phpdocumentor-tag__name">todo:</span>
  568. </dt>
  569. <dd class="phpdocumentor-tag-list__definition">
  570. <section class="phpdocumentor-description"><p>XSS proof</p>
  571. </section>
  572. </dd>
  573. <dt class="phpdocumentor-tag-list__entry">
  574. <span class="phpdocumentor-tag__name">see</span>
  575. </dt>
  576. <dd class="phpdocumentor-tag-list__definition">
  577. <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>
  578. </dd>
  579. <dt class="phpdocumentor-tag-list__entry">
  580. <span class="phpdocumentor-tag__name">inheritDoc</span>
  581. </dt>
  582. <dd class="phpdocumentor-tag-list__definition">
  583. </dd>
  584. </dl>
  585. <section>
  586. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  587. <span class="phpdocumentor-signature__response_type">bool</span>
  588. </section>
  589. </article>
  590. <article
  591. class="phpdocumentor-element
  592. -method
  593. -protected
  594. "
  595. >
  596. <h4 class="phpdocumentor-element__name" id="method_collectModules">
  597. collectModules()
  598. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_collectModules" class="headerlink"><i class="fas fa-link"></i></a>
  599. </h4>
  600. <aside class="phpdocumentor-element-found-in">
  601. <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>
  602. :
  603. <span class="phpdocumentor-element-found-in__line">180</span>
  604. </aside>
  605. <p class="phpdocumentor-summary">collects the modules per QRMatrix::M_* type and runs a $transform function on each module and
  606. returns an array with the transformed modules</p>
  607. <code class="phpdocumentor-code phpdocumentor-signature ">
  608. <span class="phpdocumentor-signature__visibility">protected</span>
  609. <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>
  610. <div class="phpdocumentor-label-line">
  611. </div>
  612. <section class="phpdocumentor-description"><p>The transform callback is called with the following parameters:</p>
  613. <p>$x - current column
  614. $y - current row
  615. $M_TYPE - field value
  616. $M_TYPE_LAYER - (possibly modified) field value that acts as layer id</p>
  617. </section>
  618. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  619. <dl class="phpdocumentor-argument-list">
  620. <dt class="phpdocumentor-argument-list__entry">
  621. <span class="phpdocumentor-signature__argument__name">$transform</span>
  622. : <span class="phpdocumentor-signature__argument__return-type"><abbr title="\Closure">Closure</abbr></span>
  623. </dt>
  624. <dd class="phpdocumentor-argument-list__definition">
  625. </dd>
  626. </dl>
  627. <section>
  628. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  629. <span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span>
  630. </section>
  631. </article>
  632. <article
  633. class="phpdocumentor-element
  634. -method
  635. -protected
  636. -abstract "
  637. >
  638. <h4 class="phpdocumentor-element__name" id="method_createMarkup">
  639. createMarkup()
  640. <a href="classes/chillerlan-QRCode-Output-QRMarkup.html#method_createMarkup" class="headerlink"><i class="fas fa-link"></i></a>
  641. </h4>
  642. <aside class="phpdocumentor-element-found-in">
  643. <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>
  644. :
  645. <span class="phpdocumentor-element-found-in__line">92</span>
  646. </aside>
  647. <p class="phpdocumentor-summary">returns the fully parsed and rendered markup string for the given input</p>
  648. <code class="phpdocumentor-code phpdocumentor-signature ">
  649. <span class="phpdocumentor-signature__visibility">protected</span>
  650. <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>
  651. <div class="phpdocumentor-label-line">
  652. </div>
  653. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  654. <dl class="phpdocumentor-argument-list">
  655. <dt class="phpdocumentor-argument-list__entry">
  656. <span class="phpdocumentor-signature__argument__name">$saveToFile</span>
  657. : <span class="phpdocumentor-signature__argument__return-type">bool</span>
  658. </dt>
  659. <dd class="phpdocumentor-argument-list__definition">
  660. </dd>
  661. </dl>
  662. <section>
  663. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  664. <span class="phpdocumentor-signature__response_type">string</span>
  665. </section>
  666. </article>
  667. <article
  668. class="phpdocumentor-element
  669. -method
  670. -protected
  671. "
  672. >
  673. <h4 class="phpdocumentor-element__name" id="method_getCssClass">
  674. getCssClass()
  675. <a href="classes/chillerlan-QRCode-Output-QRMarkup.html#method_getCssClass" class="headerlink"><i class="fas fa-link"></i></a>
  676. </h4>
  677. <aside class="phpdocumentor-element-found-in">
  678. <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>
  679. :
  680. <span class="phpdocumentor-element-found-in__line">85</span>
  681. </aside>
  682. <p class="phpdocumentor-summary">returns a string with all css classes for the current element</p>
  683. <code class="phpdocumentor-code phpdocumentor-signature ">
  684. <span class="phpdocumentor-signature__visibility">protected</span>
  685. <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>
  686. <div class="phpdocumentor-label-line">
  687. </div>
  688. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  689. <dl class="phpdocumentor-argument-list">
  690. <dt class="phpdocumentor-argument-list__entry">
  691. <span class="phpdocumentor-signature__argument__name">$M_TYPE</span>
  692. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  693. = <span class="phpdocumentor-signature__argument__default-value">0</span> </dt>
  694. <dd class="phpdocumentor-argument-list__definition">
  695. </dd>
  696. </dl>
  697. <section>
  698. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  699. <span class="phpdocumentor-signature__response_type">string</span>
  700. </section>
  701. </article>
  702. <article
  703. class="phpdocumentor-element
  704. -method
  705. -protected
  706. "
  707. >
  708. <h4 class="phpdocumentor-element__name" id="method_getDefaultModuleValue">
  709. getDefaultModuleValue()
  710. <a href="classes/chillerlan-QRCode-Output-QRMarkup.html#method_getDefaultModuleValue" class="headerlink"><i class="fas fa-link"></i></a>
  711. </h4>
  712. <aside class="phpdocumentor-element-found-in">
  713. <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>
  714. :
  715. <span class="phpdocumentor-element-found-in__line">67</span>
  716. </aside>
  717. <p class="phpdocumentor-summary">Returns a default value for either dark or light modules</p>
  718. <code class="phpdocumentor-code phpdocumentor-signature ">
  719. <span class="phpdocumentor-signature__visibility">protected</span>
  720. <span class="phpdocumentor-signature__name">getDefaultModuleValue</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">bool&nbsp;</span><span class="phpdocumentor-signature__argument__name">$isDark</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed|null</span></code>
  721. <div class="phpdocumentor-label-line">
  722. </div>
  723. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  724. <dl class="phpdocumentor-argument-list">
  725. <dt class="phpdocumentor-argument-list__entry">
  726. <span class="phpdocumentor-signature__argument__name">$isDark</span>
  727. : <span class="phpdocumentor-signature__argument__return-type">bool</span>
  728. </dt>
  729. <dd class="phpdocumentor-argument-list__definition">
  730. </dd>
  731. </dl>
  732. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  733. Tags
  734. <a href="classes/chillerlan-QRCode-Output-QRMarkup.html#method_getDefaultModuleValue#tags" class="headerlink"><i class="fas fa-link"></i></a>
  735. </h5>
  736. <dl class="phpdocumentor-tag-list">
  737. <dt class="phpdocumentor-tag-list__entry">
  738. <span class="phpdocumentor-tag__name">inheritDoc</span>
  739. </dt>
  740. <dd class="phpdocumentor-tag-list__definition">
  741. </dd>
  742. </dl>
  743. <section>
  744. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  745. <span class="phpdocumentor-signature__response_type">mixed|null</span>
  746. &mdash;
  747. <section class="phpdocumentor-description"><p>return value depends on the output class</p>
  748. </section>
  749. </section>
  750. </article>
  751. <article
  752. class="phpdocumentor-element
  753. -method
  754. -protected
  755. "
  756. >
  757. <h4 class="phpdocumentor-element__name" id="method_getModuleValue">
  758. getModuleValue()
  759. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_getModuleValue" class="headerlink"><i class="fas fa-link"></i></a>
  760. </h4>
  761. <aside class="phpdocumentor-element-found-in">
  762. <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>
  763. :
  764. <span class="phpdocumentor-element-found-in__line">104</span>
  765. </aside>
  766. <p class="phpdocumentor-summary">Returns the prepared value for the given $M_TYPE</p>
  767. <code class="phpdocumentor-code phpdocumentor-signature ">
  768. <span class="phpdocumentor-signature__visibility">protected</span>
  769. <span class="phpdocumentor-signature__name">getModuleValue</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$M_TYPE</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed|null</span></code>
  770. <div class="phpdocumentor-label-line">
  771. </div>
  772. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  773. <dl class="phpdocumentor-argument-list">
  774. <dt class="phpdocumentor-argument-list__entry">
  775. <span class="phpdocumentor-signature__argument__name">$M_TYPE</span>
  776. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  777. </dt>
  778. <dd class="phpdocumentor-argument-list__definition">
  779. </dd>
  780. </dl>
  781. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  782. Tags
  783. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_getModuleValue#tags" class="headerlink"><i class="fas fa-link"></i></a>
  784. </h5>
  785. <dl class="phpdocumentor-tag-list">
  786. <dt class="phpdocumentor-tag-list__entry">
  787. <span class="phpdocumentor-tag__name">throws</span>
  788. </dt>
  789. <dd class="phpdocumentor-tag-list__definition">
  790. <span class="phpdocumentor-tag-link"><a href="classes/chillerlan-QRCode-Output-QRCodeOutputException.html"><abbr title="\chillerlan\QRCode\Output\QRCodeOutputException">QRCodeOutputException</abbr></a></span>
  791. </dd>
  792. </dl>
  793. <section>
  794. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  795. <span class="phpdocumentor-signature__response_type">mixed|null</span>
  796. &mdash;
  797. <section class="phpdocumentor-description"><p>return value depends on the output class, null if $moduleValues[$M_TYPE] doesn't exist</p>
  798. </section>
  799. </section>
  800. </article>
  801. <article
  802. class="phpdocumentor-element
  803. -method
  804. -protected
  805. "
  806. >
  807. <h4 class="phpdocumentor-element__name" id="method_getModuleValueAt">
  808. getModuleValueAt()
  809. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_getModuleValueAt" class="headerlink"><i class="fas fa-link"></i></a>
  810. </h4>
  811. <aside class="phpdocumentor-element-found-in">
  812. <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>
  813. :
  814. <span class="phpdocumentor-element-found-in__line">119</span>
  815. </aside>
  816. <p class="phpdocumentor-summary">Returns the prepared module value at the given coordinate [$x, $y] (convenience)</p>
  817. <code class="phpdocumentor-code phpdocumentor-signature ">
  818. <span class="phpdocumentor-signature__visibility">protected</span>
  819. <span class="phpdocumentor-signature__name">getModuleValueAt</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$x</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$y</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed|null</span></code>
  820. <div class="phpdocumentor-label-line">
  821. </div>
  822. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  823. <dl class="phpdocumentor-argument-list">
  824. <dt class="phpdocumentor-argument-list__entry">
  825. <span class="phpdocumentor-signature__argument__name">$x</span>
  826. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  827. </dt>
  828. <dd class="phpdocumentor-argument-list__definition">
  829. </dd>
  830. <dt class="phpdocumentor-argument-list__entry">
  831. <span class="phpdocumentor-signature__argument__name">$y</span>
  832. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  833. </dt>
  834. <dd class="phpdocumentor-argument-list__definition">
  835. </dd>
  836. </dl>
  837. <section>
  838. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  839. <span class="phpdocumentor-signature__response_type">mixed|null</span>
  840. </section>
  841. </article>
  842. <article
  843. class="phpdocumentor-element
  844. -method
  845. -protected
  846. "
  847. >
  848. <h4 class="phpdocumentor-element__name" id="method_prepareModuleValue">
  849. prepareModuleValue()
  850. <a href="classes/chillerlan-QRCode-Output-QRMarkup.html#method_prepareModuleValue" class="headerlink"><i class="fas fa-link"></i></a>
  851. </h4>
  852. <aside class="phpdocumentor-element-found-in">
  853. <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>
  854. :
  855. <span class="phpdocumentor-element-found-in__line">60</span>
  856. </aside>
  857. <p class="phpdocumentor-summary">Prepares the value for the given input ()</p>
  858. <code class="phpdocumentor-code phpdocumentor-signature ">
  859. <span class="phpdocumentor-signature__visibility">protected</span>
  860. <span class="phpdocumentor-signature__name">prepareModuleValue</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">mixed&nbsp;</span><span class="phpdocumentor-signature__argument__name">$value</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed|null</span></code>
  861. <div class="phpdocumentor-label-line">
  862. </div>
  863. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  864. <dl class="phpdocumentor-argument-list">
  865. <dt class="phpdocumentor-argument-list__entry">
  866. <span class="phpdocumentor-signature__argument__name">$value</span>
  867. : <span class="phpdocumentor-signature__argument__return-type">mixed</span>
  868. </dt>
  869. <dd class="phpdocumentor-argument-list__definition">
  870. </dd>
  871. </dl>
  872. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  873. Tags
  874. <a href="classes/chillerlan-QRCode-Output-QRMarkup.html#method_prepareModuleValue#tags" class="headerlink"><i class="fas fa-link"></i></a>
  875. </h5>
  876. <dl class="phpdocumentor-tag-list">
  877. <dt class="phpdocumentor-tag-list__entry">
  878. <span class="phpdocumentor-tag__name">inheritDoc</span>
  879. </dt>
  880. <dd class="phpdocumentor-tag-list__definition">
  881. </dd>
  882. </dl>
  883. <section>
  884. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  885. <span class="phpdocumentor-signature__response_type">mixed|null</span>
  886. &mdash;
  887. <section class="phpdocumentor-description"><p>return value depends on the output class</p>
  888. </section>
  889. </section>
  890. </article>
  891. <article
  892. class="phpdocumentor-element
  893. -method
  894. -protected
  895. "
  896. >
  897. <h4 class="phpdocumentor-element__name" id="method_saveToFile">
  898. saveToFile()
  899. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_saveToFile" class="headerlink"><i class="fas fa-link"></i></a>
  900. </h4>
  901. <aside class="phpdocumentor-element-found-in">
  902. <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>
  903. :
  904. <span class="phpdocumentor-element-found-in__line">154</span>
  905. </aside>
  906. <p class="phpdocumentor-summary">Saves the qr $data to a $file. If $file is null, nothing happens.</p>
  907. <code class="phpdocumentor-code phpdocumentor-signature ">
  908. <span class="phpdocumentor-signature__visibility">protected</span>
  909. <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>
  910. <div class="phpdocumentor-label-line">
  911. </div>
  912. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  913. <dl class="phpdocumentor-argument-list">
  914. <dt class="phpdocumentor-argument-list__entry">
  915. <span class="phpdocumentor-signature__argument__name">$data</span>
  916. : <span class="phpdocumentor-signature__argument__return-type">string</span>
  917. </dt>
  918. <dd class="phpdocumentor-argument-list__definition">
  919. </dd>
  920. <dt class="phpdocumentor-argument-list__entry">
  921. <span class="phpdocumentor-signature__argument__name">$file</span>
  922. : <span class="phpdocumentor-signature__argument__return-type">string</span>
  923. = <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
  924. <dd class="phpdocumentor-argument-list__definition">
  925. </dd>
  926. </dl>
  927. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  928. Tags
  929. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_saveToFile#tags" class="headerlink"><i class="fas fa-link"></i></a>
  930. </h5>
  931. <dl class="phpdocumentor-tag-list">
  932. <dt class="phpdocumentor-tag-list__entry">
  933. <span class="phpdocumentor-tag__name">see</span>
  934. </dt>
  935. <dd class="phpdocumentor-tag-list__definition">
  936. <span class="phpdocumentor-tag-link"><abbr title="\chillerlan\QRCode\Output\file_put_contents()">file_put_contents()</abbr></span>
  937. </dd>
  938. <dt class="phpdocumentor-tag-list__entry">
  939. <span class="phpdocumentor-tag__name">see</span>
  940. </dt>
  941. <dd class="phpdocumentor-tag-list__definition">
  942. <span class="phpdocumentor-tag-link"><abbr title="\chillerlan\QRCode\QROptions::$cachefile">QROptions::$cachefile</abbr></span>
  943. </dd>
  944. <dt class="phpdocumentor-tag-list__entry">
  945. <span class="phpdocumentor-tag__name">throws</span>
  946. </dt>
  947. <dd class="phpdocumentor-tag-list__definition">
  948. <span class="phpdocumentor-tag-link"><a href="classes/chillerlan-QRCode-Output-QRCodeOutputException.html"><abbr title="\chillerlan\QRCode\Output\QRCodeOutputException">QRCodeOutputException</abbr></a></span>
  949. </dd>
  950. </dl>
  951. </article>
  952. <article
  953. class="phpdocumentor-element
  954. -method
  955. -protected
  956. "
  957. >
  958. <h4 class="phpdocumentor-element__name" id="method_setMatrixDimensions">
  959. setMatrixDimensions()
  960. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_setMatrixDimensions" class="headerlink"><i class="fas fa-link"></i></a>
  961. </h4>
  962. <aside class="phpdocumentor-element-found-in">
  963. <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>
  964. :
  965. <span class="phpdocumentor-element-found-in__line">77</span>
  966. </aside>
  967. <p class="phpdocumentor-summary">Sets/updates the matrix dimensions</p>
  968. <code class="phpdocumentor-code phpdocumentor-signature ">
  969. <span class="phpdocumentor-signature__visibility">protected</span>
  970. <span class="phpdocumentor-signature__name">setMatrixDimensions</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  971. <div class="phpdocumentor-label-line">
  972. </div>
  973. <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>
  974. </section>
  975. </article>
  976. <article
  977. class="phpdocumentor-element
  978. -method
  979. -protected
  980. "
  981. >
  982. <h4 class="phpdocumentor-element__name" id="method_setModuleValues">
  983. setModuleValues()
  984. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_setModuleValues" class="headerlink"><i class="fas fa-link"></i></a>
  985. </h4>
  986. <aside class="phpdocumentor-element-found-in">
  987. <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>
  988. :
  989. <span class="phpdocumentor-element-found-in__line">86</span>
  990. </aside>
  991. <p class="phpdocumentor-summary">Sets the initial module values</p>
  992. <code class="phpdocumentor-code phpdocumentor-signature ">
  993. <span class="phpdocumentor-signature__visibility">protected</span>
  994. <span class="phpdocumentor-signature__name">setModuleValues</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  995. <div class="phpdocumentor-label-line">
  996. </div>
  997. </article>
  998. <article
  999. class="phpdocumentor-element
  1000. -method
  1001. -protected
  1002. "
  1003. >
  1004. <h4 class="phpdocumentor-element__name" id="method_toBase64DataURI">
  1005. toBase64DataURI()
  1006. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_toBase64DataURI" class="headerlink"><i class="fas fa-link"></i></a>
  1007. </h4>
  1008. <aside class="phpdocumentor-element-found-in">
  1009. <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>
  1010. :
  1011. <span class="phpdocumentor-element-found-in__line">142</span>
  1012. </aside>
  1013. <p class="phpdocumentor-summary">Returns a base64 data URI for the given string and mime type</p>
  1014. <code class="phpdocumentor-code phpdocumentor-signature ">
  1015. <span class="phpdocumentor-signature__visibility">protected</span>
  1016. <span class="phpdocumentor-signature__name">toBase64DataURI</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$data</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$mime</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
  1017. <div class="phpdocumentor-label-line">
  1018. </div>
  1019. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  1020. <dl class="phpdocumentor-argument-list">
  1021. <dt class="phpdocumentor-argument-list__entry">
  1022. <span class="phpdocumentor-signature__argument__name">$data</span>
  1023. : <span class="phpdocumentor-signature__argument__return-type">string</span>
  1024. </dt>
  1025. <dd class="phpdocumentor-argument-list__definition">
  1026. </dd>
  1027. <dt class="phpdocumentor-argument-list__entry">
  1028. <span class="phpdocumentor-signature__argument__name">$mime</span>
  1029. : <span class="phpdocumentor-signature__argument__return-type">string</span>
  1030. </dt>
  1031. <dd class="phpdocumentor-argument-list__definition">
  1032. </dd>
  1033. </dl>
  1034. <section>
  1035. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  1036. <span class="phpdocumentor-signature__response_type">string</span>
  1037. </section>
  1038. </article>
  1039. </section>
  1040. <div class="phpdocumentor-modal" id="source-view">
  1041. <div class="phpdocumentor-modal-bg" data-exit-button></div>
  1042. <div class="phpdocumentor-modal-container">
  1043. <div class="phpdocumentor-modal-content">
  1044. <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>
  1045. </div>
  1046. <button data-exit-button class="phpdocumentor-modal__close">&times;</button>
  1047. </div>
  1048. </div>
  1049. <script type="text/javascript">
  1050. (function () {
  1051. function loadExternalCodeSnippet(el, url, line) {
  1052. Array.prototype.slice.call(el.querySelectorAll('pre[data-src]')).forEach((pre) => {
  1053. const src = url || pre.getAttribute('data-src').replace(/\\/g, '/');
  1054. const language = 'php';
  1055. const code = document.createElement('code');
  1056. code.className = 'language-' + language;
  1057. pre.textContent = '';
  1058. pre.setAttribute('data-line', line)
  1059. code.textContent = 'Loading…';
  1060. pre.appendChild(code);
  1061. var xhr = new XMLHttpRequest();
  1062. xhr.open('GET', src, true);
  1063. xhr.onreadystatechange = function () {
  1064. if (xhr.readyState !== 4) {
  1065. return;
  1066. }
  1067. if (xhr.status < 400 && xhr.responseText) {
  1068. code.textContent = xhr.responseText;
  1069. Prism.highlightElement(code);
  1070. return;
  1071. }
  1072. if (xhr.status === 404) {
  1073. code.textContent = '✖ Error: File could not be found';
  1074. return;
  1075. }
  1076. if (xhr.status >= 400) {
  1077. code.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText;
  1078. return;
  1079. }
  1080. code.textContent = '✖ Error: An unknown error occurred';
  1081. };
  1082. xhr.send(null);
  1083. });
  1084. }
  1085. const modalButtons = document.querySelectorAll("[data-modal]");
  1086. const openedAsLocalFile = window.location.protocol === 'file:';
  1087. if (modalButtons.length > 0 && openedAsLocalFile) {
  1088. console.warn(
  1089. 'Viewing the source code is unavailable because you are opening this page from the file:// scheme; ' +
  1090. 'browsers block XHR requests when a page is opened this way'
  1091. );
  1092. }
  1093. modalButtons.forEach(function (trigger) {
  1094. if (openedAsLocalFile) {
  1095. trigger.setAttribute("hidden", "hidden");
  1096. }
  1097. trigger.addEventListener("click", function (event) {
  1098. event.preventDefault();
  1099. const modal = document.getElementById(trigger.dataset.modal);
  1100. if (!modal) {
  1101. console.error(`Modal with id "${trigger.dataset.modal}" could not be found`);
  1102. return;
  1103. }
  1104. modal.classList.add("phpdocumentor-modal__open");
  1105. loadExternalCodeSnippet(modal, trigger.dataset.src || null, trigger.dataset.line)
  1106. const exits = modal.querySelectorAll("[data-exit-button]");
  1107. exits.forEach(function (exit) {
  1108. exit.addEventListener("click", function (event) {
  1109. event.preventDefault();
  1110. modal.classList.remove("phpdocumentor-modal__open");
  1111. });
  1112. });
  1113. });
  1114. });
  1115. })();
  1116. </script>
  1117. </article>
  1118. </section>
  1119. <section class="phpdocumentor-on-this-page__sidebar">
  1120. <section class="phpdocumentor-on-this-page__content">
  1121. <strong class="phpdocumentor-on-this-page__title">On this page</strong>
  1122. <ul class="phpdocumentor-list -clean">
  1123. <li class="phpdocumentor-on-this-page-section__title">Table Of Contents</li>
  1124. <li>
  1125. <ul class="phpdocumentor-list -clean">
  1126. <li><a href="classes/chillerlan-QRCode-Output-QRMarkup.html#toc-properties">Properties</a></li>
  1127. <li><a href="classes/chillerlan-QRCode-Output-QRMarkup.html#toc-methods">Methods</a></li>
  1128. </ul>
  1129. </li>
  1130. <li class="phpdocumentor-on-this-page-section__title">Properties</li>
  1131. <li>
  1132. <ul class="phpdocumentor-list -clean">
  1133. <li><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_length">$length<a href="classes/chillerlan-QRCode-Output-QRMarkup.html"></li>
  1134. <li><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_matrix">$matrix<a href="classes/chillerlan-QRCode-Output-QRMarkup.html"></li>
  1135. <li><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_moduleCount">$moduleCount<a href="classes/chillerlan-QRCode-Output-QRMarkup.html"></li>
  1136. <li><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_moduleValues">$moduleValues<a href="classes/chillerlan-QRCode-Output-QRMarkup.html"></li>
  1137. <li><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_options">$options<a href="classes/chillerlan-QRCode-Output-QRMarkup.html"></li>
  1138. <li><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_scale">$scale<a href="classes/chillerlan-QRCode-Output-QRMarkup.html"></li>
  1139. </ul>
  1140. </li>
  1141. <li class="phpdocumentor-on-this-page-section__title">Methods</li>
  1142. <li>
  1143. <ul class="phpdocumentor-list -clean">
  1144. <li><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method___construct">__construct()</a></li>
  1145. <li><a href="classes/chillerlan-QRCode-Output-QRMarkup.html#method_dump">dump()</a></li>
  1146. <li><a href="classes/chillerlan-QRCode-Output-QRMarkup.html#method_moduleValueIsValid">moduleValueIsValid()</a></li>
  1147. <li><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_collectModules">collectModules()</a></li>
  1148. <li><a href="classes/chillerlan-QRCode-Output-QRMarkup.html#method_createMarkup">createMarkup()</a></li>
  1149. <li><a href="classes/chillerlan-QRCode-Output-QRMarkup.html#method_getCssClass">getCssClass()</a></li>
  1150. <li><a href="classes/chillerlan-QRCode-Output-QRMarkup.html#method_getDefaultModuleValue">getDefaultModuleValue()</a></li>
  1151. <li><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_getModuleValue">getModuleValue()</a></li>
  1152. <li><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_getModuleValueAt">getModuleValueAt()</a></li>
  1153. <li><a href="classes/chillerlan-QRCode-Output-QRMarkup.html#method_prepareModuleValue">prepareModuleValue()</a></li>
  1154. <li><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_saveToFile">saveToFile()</a></li>
  1155. <li><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_setMatrixDimensions">setMatrixDimensions()</a></li>
  1156. <li><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_setModuleValues">setModuleValues()</a></li>
  1157. <li><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_toBase64DataURI">toBase64DataURI()</a></li>
  1158. </ul>
  1159. </li>
  1160. </ul>
  1161. </section>
  1162. </section>
  1163. </div>
  1164. <section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
  1165. <section class="phpdocumentor-search-results__dialog">
  1166. <header class="phpdocumentor-search-results__header">
  1167. <h2 class="phpdocumentor-search-results__title">Search results</h2>
  1168. <button class="phpdocumentor-search-results__close"><i class="fas fa-times"></i></button>
  1169. </header>
  1170. <section class="phpdocumentor-search-results__body">
  1171. <ul class="phpdocumentor-search-results__entries"></ul>
  1172. </section>
  1173. </section>
  1174. </section>
  1175. </div>
  1176. <a href="classes/chillerlan-QRCode-Output-QRMarkup.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a>
  1177. </main>
  1178. <script>
  1179. cssVars({});
  1180. </script>
  1181. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/prism.min.js"></script>
  1182. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/autoloader/prism-autoloader.min.js"></script>
  1183. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.min.js"></script>
  1184. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.min.js"></script>
  1185. </body>
  1186. </html>