chillerlan-QRCode-Output-QREps.html 100 KB

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