chillerlan-QRCode-Output-QRMarkupHTML.html 76 KB

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