chillerlan-QRCode-Output-QRStringText.html 100 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153
  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. <li class="phpdocumentor-topnav__menu-item -social">
  59. <a href="https://github.com/chillerlan/php-qrcode/discussions">
  60. <span>
  61. <i class="fas fa-envelope-open-text"></i>
  62. </span>
  63. </a>
  64. </li>
  65. </ul>
  66. </nav>
  67. </header>
  68. <main class="phpdocumentor">
  69. <div class="phpdocumentor-section">
  70. <input class="phpdocumentor-sidebar__menu-button" type="checkbox" id="sidebar-button" name="sidebar-button" />
  71. <label class="phpdocumentor-sidebar__menu-icon" for="sidebar-button">
  72. Menu
  73. </label>
  74. <aside class="phpdocumentor-column -three phpdocumentor-sidebar">
  75. <section class="phpdocumentor-sidebar__category -namespaces">
  76. <h2 class="phpdocumentor-sidebar__category-header">Namespaces</h2>
  77. <h4 class="phpdocumentor-sidebar__root-namespace">
  78. <a href="namespaces/chillerlan.html" class="">chillerlan</a>
  79. </h4>
  80. <ul class="phpdocumentor-list">
  81. <li>
  82. <a href="namespaces/chillerlan-qrcode.html" class="">QRCode</a>
  83. </li>
  84. <li>
  85. <a href="namespaces/chillerlan-qrcodetest.html" class="">QRCodeTest</a>
  86. </li>
  87. </ul>
  88. <h4 class="phpdocumentor-sidebar__root-namespace">
  89. <a href="namespaces/output.html" class="">Output</a>
  90. </h4>
  91. </section>
  92. <section class="phpdocumentor-sidebar__category -packages">
  93. <h2 class="phpdocumentor-sidebar__category-header">Packages</h2>
  94. <h4 class="phpdocumentor-sidebar__root-namespace">
  95. <a href="packages/Application.html" class="">Application</a>
  96. </h4>
  97. </section>
  98. <section class="phpdocumentor-sidebar__category -reports">
  99. <h2 class="phpdocumentor-sidebar__category-header">Reports</h2>
  100. <h3 class="phpdocumentor-sidebar__root-package"><a href="reports/deprecated.html">Deprecated</a></h3>
  101. <h3 class="phpdocumentor-sidebar__root-package"><a href="reports/errors.html">Errors</a></h3>
  102. <h3 class="phpdocumentor-sidebar__root-package"><a href="reports/markers.html">Markers</a></h3>
  103. </section>
  104. <section class="phpdocumentor-sidebar__category -indices">
  105. <h2 class="phpdocumentor-sidebar__category-header">Indices</h2>
  106. <h3 class="phpdocumentor-sidebar__root-package"><a href="indices/files.html">Files</a></h3>
  107. </section>
  108. </aside>
  109. <div class="phpdocumentor-column -nine phpdocumentor-content">
  110. <section>
  111. <ul class="phpdocumentor-breadcrumbs">
  112. <li class="phpdocumentor-breadcrumb"><a href="namespaces/chillerlan.html">chillerlan</a></li>
  113. <li class="phpdocumentor-breadcrumb"><a href="namespaces/chillerlan-qrcode.html">QRCode</a></li>
  114. <li class="phpdocumentor-breadcrumb"><a href="namespaces/chillerlan-qrcode-output.html">Output</a></li>
  115. </ul>
  116. <article class="phpdocumentor-element -class">
  117. <h2 class="phpdocumentor-content__title">
  118. QRStringText
  119. <span class="phpdocumentor-element__extends">
  120. extends <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html"><abbr title="\chillerlan\QRCode\Output\QROutputAbstract">QROutputAbstract</abbr></a>
  121. </span>
  122. <div class="phpdocumentor-element__package">
  123. in package
  124. <ul class="phpdocumentor-breadcrumbs">
  125. <li class="phpdocumentor-breadcrumb"><a href="packages/Application.html">Application</a></li>
  126. </ul>
  127. </div>
  128. </h2>
  129. <div class="phpdocumentor-label-line">
  130. </div>
  131. <aside class="phpdocumentor-element-found-in">
  132. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QRStringText.php"><a href="files/src-output-qrstringtext.html"><abbr title="src/Output/QRStringText.php">QRStringText.php</abbr></a></abbr>
  133. :
  134. <span class="phpdocumentor-element-found-in__line">18</span>
  135. </aside>
  136. <p class="phpdocumentor-summary">common output abstract</p>
  137. <h3 id="toc">
  138. Table of Contents
  139. <a href="classes/chillerlan-QRCode-Output-QRStringText.html#toc" class="headerlink"><i class="fas fa-link"></i></a>
  140. </h3>
  141. <h4 id="toc-constants">
  142. Constants
  143. <a href="classes/chillerlan-QRCode-Output-QRStringText.html#toc-constants" class="headerlink"><i class="fas fa-link"></i></a>
  144. </h4>
  145. <dl class="phpdocumentor-table-of-contents">
  146. <dt class="phpdocumentor-table-of-contents__entry -constant -public">
  147. <a class="" href="classes/chillerlan-QRCode-Output-QRStringText.html#constant_MIME_TYPE">MIME_TYPE</a>
  148. <span>
  149. &nbsp;= &#039;text/plain&#039; </span>
  150. </dt>
  151. </dl>
  152. <h4 id="toc-properties">
  153. Properties
  154. <a href="classes/chillerlan-QRCode-Output-QRStringText.html#toc-properties" class="headerlink"><i class="fas fa-link"></i></a>
  155. </h4>
  156. <dl class="phpdocumentor-table-of-contents">
  157. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  158. <a class="" href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_circleDiameter">$circleDiameter</a>
  159. <span>
  160. &nbsp;: float </span>
  161. </dt>
  162. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  163. <a class="" href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_circleRadius">$circleRadius</a>
  164. <span>
  165. &nbsp;: float </span>
  166. </dt>
  167. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  168. <a class="" href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_connectPaths">$connectPaths</a>
  169. <span>
  170. &nbsp;: bool </span>
  171. </dt>
  172. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  173. <a class="" href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_drawCircularModules">$drawCircularModules</a>
  174. <span>
  175. &nbsp;: bool </span>
  176. </dt>
  177. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  178. <a class="" href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_drawLightModules">$drawLightModules</a>
  179. <span>
  180. &nbsp;: bool </span>
  181. </dt>
  182. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  183. <a class="" href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_eol">$eol</a>
  184. <span>
  185. &nbsp;: string </span>
  186. </dt>
  187. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  188. <a class="" href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_excludeFromConnect">$excludeFromConnect</a>
  189. <span>
  190. &nbsp;: array&lt;string|int, mixed&gt; </span>
  191. </dt>
  192. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  193. <a class="" href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_keepAsSquare">$keepAsSquare</a>
  194. <span>
  195. &nbsp;: array&lt;string|int, mixed&gt; </span>
  196. </dt>
  197. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  198. <a class="" href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_length">$length</a>
  199. <span>
  200. &nbsp;: int </span>
  201. </dt>
  202. <dd>the side length of the QR image (modules * scale)</dd>
  203. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  204. <a class="" href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_matrix">$matrix</a>
  205. <span>
  206. &nbsp;: <a href="classes/chillerlan-QRCode-Data-QRMatrix.html"><abbr title="\chillerlan\QRCode\Data\QRMatrix">QRMatrix</abbr></a> </span>
  207. </dt>
  208. <dd>the (filled) data matrix object</dd>
  209. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  210. <a class="" href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_moduleCount">$moduleCount</a>
  211. <span>
  212. &nbsp;: int </span>
  213. </dt>
  214. <dd>the current size of the QR matrix</dd>
  215. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  216. <a class="" href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_moduleValues">$moduleValues</a>
  217. <span>
  218. &nbsp;: array&lt;string|int, mixed&gt; </span>
  219. </dt>
  220. <dd>an (optional) array of color values for the several QR matrix parts</dd>
  221. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  222. <a class="" href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_options">$options</a>
  223. <span>
  224. &nbsp;: <abbr title="\chillerlan\Settings\SettingsContainerInterface">SettingsContainerInterface</abbr>|<a href="classes/chillerlan-QRCode-QROptions.html"><abbr title="\chillerlan\QRCode\QROptions">QROptions</abbr></a> </span>
  225. </dt>
  226. <dd>the options instance</dd>
  227. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  228. <a class="" href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_scale">$scale</a>
  229. <span>
  230. &nbsp;: int </span>
  231. </dt>
  232. </dl>
  233. <h4 id="toc-methods">
  234. Methods
  235. <a href="classes/chillerlan-QRCode-Output-QRStringText.html#toc-methods" class="headerlink"><i class="fas fa-link"></i></a>
  236. </h4>
  237. <dl class="phpdocumentor-table-of-contents">
  238. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  239. <a class="" href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method___construct">__construct()</a>
  240. <span>
  241. &nbsp;: mixed </span>
  242. </dt>
  243. <dd>QROutputAbstract constructor.</dd>
  244. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  245. <a class="" href="classes/chillerlan-QRCode-Output-QRStringText.html#method_ansi8">ansi8()</a>
  246. <span>
  247. &nbsp;: string </span>
  248. </dt>
  249. <dd>a little helper to create a proper ANSI 8-bit color escape sequence</dd>
  250. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  251. <a class="" href="classes/chillerlan-QRCode-Output-QRStringText.html#method_dump">dump()</a>
  252. <span>
  253. &nbsp;: string </span>
  254. </dt>
  255. <dd>Generates the output, optionally dumps it to a file, and returns it</dd>
  256. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  257. <a class="" href="classes/chillerlan-QRCode-Output-QRStringText.html#method_moduleValueIsValid">moduleValueIsValid()</a>
  258. <span>
  259. &nbsp;: bool </span>
  260. </dt>
  261. <dd>Determines whether the given value is valid</dd>
  262. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  263. <a class="" href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_collectModules">collectModules()</a>
  264. <span>
  265. &nbsp;: array&lt;string|int, mixed&gt; </span>
  266. </dt>
  267. <dd>collects the modules per QRMatrix::M_* type and runs a $transform function on each module and
  268. returns an array with the transformed modules</dd>
  269. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  270. <a class="" href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_copyVars">copyVars()</a>
  271. <span>
  272. &nbsp;: void </span>
  273. </dt>
  274. <dd>Creates copies of several QROptions values to avoid calling the magic getters
  275. in long loops for a significant performance increase.</dd>
  276. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  277. <a class="" href="classes/chillerlan-QRCode-Output-QRStringText.html#method_getDefaultModuleValue">getDefaultModuleValue()</a>
  278. <span>
  279. &nbsp;: string </span>
  280. </dt>
  281. <dd>Returns a default value for either dark or light modules (return value depends on the output class)</dd>
  282. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  283. <a class="" href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_getModuleValue">getModuleValue()</a>
  284. <span>
  285. &nbsp;: mixed </span>
  286. </dt>
  287. <dd>Returns the prepared value for the given $M_TYPE</dd>
  288. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  289. <a class="" href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_getModuleValueAt">getModuleValueAt()</a>
  290. <span>
  291. &nbsp;: mixed </span>
  292. </dt>
  293. <dd>Returns the prepared module value at the given coordinate [$x, $y] (convenience)</dd>
  294. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  295. <a class="" href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_getOutputDimensions">getOutputDimensions()</a>
  296. <span>
  297. &nbsp;: array&lt;string|int, mixed&gt; </span>
  298. </dt>
  299. <dd>Returns a 2 element array with the current output width and height</dd>
  300. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  301. <a class="" href="classes/chillerlan-QRCode-Output-QRStringText.html#method_prepareModuleValue">prepareModuleValue()</a>
  302. <span>
  303. &nbsp;: string </span>
  304. </dt>
  305. <dd>Prepares the value for the given input (return value depends on the output class)</dd>
  306. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  307. <a class="" href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_saveToFile">saveToFile()</a>
  308. <span>
  309. &nbsp;: void </span>
  310. </dt>
  311. <dd>Saves the qr $data to a $file. If $file is null, nothing happens.</dd>
  312. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  313. <a class="" href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_setMatrixDimensions">setMatrixDimensions()</a>
  314. <span>
  315. &nbsp;: void </span>
  316. </dt>
  317. <dd>Sets/updates the matrix dimensions</dd>
  318. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  319. <a class="" href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_setModuleValues">setModuleValues()</a>
  320. <span>
  321. &nbsp;: void </span>
  322. </dt>
  323. <dd>Sets the initial module values</dd>
  324. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  325. <a class="" href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_toBase64DataURI">toBase64DataURI()</a>
  326. <span>
  327. &nbsp;: string </span>
  328. </dt>
  329. <dd>Returns a base64 data URI for the given string and mime type</dd>
  330. </dl>
  331. <section class="phpdocumentor-constants">
  332. <h3 class="phpdocumentor-elements__header" id="constants">
  333. Constants
  334. <a href="classes/chillerlan-QRCode-Output-QRStringText.html#constants" class="headerlink"><i class="fas fa-link"></i></a>
  335. </h3>
  336. <article class="phpdocumentor-element -constant -public ">
  337. <h4 class="phpdocumentor-element__name" id="constant_MIME_TYPE">
  338. MIME_TYPE
  339. <a href="classes/chillerlan-QRCode-Output-QRStringText.html#constant_MIME_TYPE" class="headerlink"><i class="fas fa-link"></i></a>
  340. </h4>
  341. <aside class="phpdocumentor-element-found-in">
  342. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QRStringText.php"><a href="files/src-output-qrstringtext.html"><abbr title="src/Output/QRStringText.php">QRStringText.php</abbr></a></abbr>
  343. :
  344. <span class="phpdocumentor-element-found-in__line">20</span>
  345. </aside>
  346. <code class="phpdocumentor-signature phpdocumentor-code ">
  347. <span class="phpdocumentor-signature__visibility">public</span>
  348. <span class="phpdocumentor-signature__final">final</span> <span class="phpdocumentor-signature__type">mixed</span>
  349. <span class="phpdocumentor-signature__name">MIME_TYPE</span>
  350. = <span class="phpdocumentor-signature__default-value">&#039;text/plain&#039;</span>
  351. </code>
  352. </article>
  353. </section>
  354. <section class="phpdocumentor-properties">
  355. <h3 class="phpdocumentor-elements__header" id="properties">
  356. Properties
  357. <a href="classes/chillerlan-QRCode-Output-QRStringText.html#properties" class="headerlink"><i class="fas fa-link"></i></a>
  358. </h3>
  359. <article
  360. class="
  361. phpdocumentor-element
  362. -property
  363. -protected
  364. "
  365. >
  366. <h4 class="phpdocumentor-element__name" id="property_circleDiameter">
  367. $circleDiameter
  368. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_circleDiameter" class="headerlink"><i class="fas fa-link"></i></a>
  369. <span class="phpdocumentor-element__modifiers">
  370. </span>
  371. </h4>
  372. <aside class="phpdocumentor-element-found-in">
  373. <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>
  374. :
  375. <span class="phpdocumentor-element-found-in__line">67</span>
  376. </aside>
  377. <code class="phpdocumentor-code phpdocumentor-signature ">
  378. <span class="phpdocumentor-signature__visibility">protected</span>
  379. <span class="phpdocumentor-signature__type">float</span>
  380. <span class="phpdocumentor-signature__name">$circleDiameter</span>
  381. </code>
  382. </article>
  383. <article
  384. class="
  385. phpdocumentor-element
  386. -property
  387. -protected
  388. "
  389. >
  390. <h4 class="phpdocumentor-element__name" id="property_circleRadius">
  391. $circleRadius
  392. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_circleRadius" class="headerlink"><i class="fas fa-link"></i></a>
  393. <span class="phpdocumentor-element__modifiers">
  394. </span>
  395. </h4>
  396. <aside class="phpdocumentor-element-found-in">
  397. <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>
  398. :
  399. <span class="phpdocumentor-element-found-in__line">66</span>
  400. </aside>
  401. <code class="phpdocumentor-code phpdocumentor-signature ">
  402. <span class="phpdocumentor-signature__visibility">protected</span>
  403. <span class="phpdocumentor-signature__type">float</span>
  404. <span class="phpdocumentor-signature__name">$circleRadius</span>
  405. </code>
  406. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  407. Tags
  408. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_circleRadius#tags" class="headerlink"><i class="fas fa-link"></i></a>
  409. </h5>
  410. <dl class="phpdocumentor-tag-list">
  411. <dt class="phpdocumentor-tag-list__entry">
  412. <span class="phpdocumentor-tag__name">see</span>
  413. </dt>
  414. <dd class="phpdocumentor-tag-list__definition">
  415. <span class="phpdocumentor-tag-link"><abbr title="\chillerlan\QRCode\QROptions::$circleRadius">QROptions::$circleRadius</abbr></span>
  416. </dd>
  417. </dl>
  418. </article>
  419. <article
  420. class="
  421. phpdocumentor-element
  422. -property
  423. -protected
  424. "
  425. >
  426. <h4 class="phpdocumentor-element__name" id="property_connectPaths">
  427. $connectPaths
  428. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_connectPaths" class="headerlink"><i class="fas fa-link"></i></a>
  429. <span class="phpdocumentor-element__modifiers">
  430. </span>
  431. </h4>
  432. <aside class="phpdocumentor-element-found-in">
  433. <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>
  434. :
  435. <span class="phpdocumentor-element-found-in__line">54</span>
  436. </aside>
  437. <code class="phpdocumentor-code phpdocumentor-signature ">
  438. <span class="phpdocumentor-signature__visibility">protected</span>
  439. <span class="phpdocumentor-signature__type">bool</span>
  440. <span class="phpdocumentor-signature__name">$connectPaths</span>
  441. </code>
  442. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  443. Tags
  444. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_connectPaths#tags" class="headerlink"><i class="fas fa-link"></i></a>
  445. </h5>
  446. <dl class="phpdocumentor-tag-list">
  447. <dt class="phpdocumentor-tag-list__entry">
  448. <span class="phpdocumentor-tag__name">see</span>
  449. </dt>
  450. <dd class="phpdocumentor-tag-list__definition">
  451. <span class="phpdocumentor-tag-link"><abbr title="\chillerlan\QRCode\QROptions::$connectPaths">QROptions::$connectPaths</abbr></span>
  452. </dd>
  453. </dl>
  454. </article>
  455. <article
  456. class="
  457. phpdocumentor-element
  458. -property
  459. -protected
  460. "
  461. >
  462. <h4 class="phpdocumentor-element__name" id="property_drawCircularModules">
  463. $drawCircularModules
  464. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_drawCircularModules" class="headerlink"><i class="fas fa-link"></i></a>
  465. <span class="phpdocumentor-element__modifiers">
  466. </span>
  467. </h4>
  468. <aside class="phpdocumentor-element-found-in">
  469. <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>
  470. :
  471. <span class="phpdocumentor-element-found-in__line">62</span>
  472. </aside>
  473. <code class="phpdocumentor-code phpdocumentor-signature ">
  474. <span class="phpdocumentor-signature__visibility">protected</span>
  475. <span class="phpdocumentor-signature__type">bool</span>
  476. <span class="phpdocumentor-signature__name">$drawCircularModules</span>
  477. </code>
  478. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  479. Tags
  480. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_drawCircularModules#tags" class="headerlink"><i class="fas fa-link"></i></a>
  481. </h5>
  482. <dl class="phpdocumentor-tag-list">
  483. <dt class="phpdocumentor-tag-list__entry">
  484. <span class="phpdocumentor-tag__name">see</span>
  485. </dt>
  486. <dd class="phpdocumentor-tag-list__definition">
  487. <span class="phpdocumentor-tag-link"><abbr title="\chillerlan\QRCode\QROptions::$drawCircularModules">QROptions::$drawCircularModules</abbr></span>
  488. </dd>
  489. </dl>
  490. </article>
  491. <article
  492. class="
  493. phpdocumentor-element
  494. -property
  495. -protected
  496. "
  497. >
  498. <h4 class="phpdocumentor-element__name" id="property_drawLightModules">
  499. $drawLightModules
  500. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_drawLightModules" class="headerlink"><i class="fas fa-link"></i></a>
  501. <span class="phpdocumentor-element__modifiers">
  502. </span>
  503. </h4>
  504. <aside class="phpdocumentor-element-found-in">
  505. <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>
  506. :
  507. <span class="phpdocumentor-element-found-in__line">60</span>
  508. </aside>
  509. <code class="phpdocumentor-code phpdocumentor-signature ">
  510. <span class="phpdocumentor-signature__visibility">protected</span>
  511. <span class="phpdocumentor-signature__type">bool</span>
  512. <span class="phpdocumentor-signature__name">$drawLightModules</span>
  513. </code>
  514. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  515. Tags
  516. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_drawLightModules#tags" class="headerlink"><i class="fas fa-link"></i></a>
  517. </h5>
  518. <dl class="phpdocumentor-tag-list">
  519. <dt class="phpdocumentor-tag-list__entry">
  520. <span class="phpdocumentor-tag__name">see</span>
  521. </dt>
  522. <dd class="phpdocumentor-tag-list__definition">
  523. <span class="phpdocumentor-tag-link"><abbr title="\chillerlan\QRCode\QROptions::$drawLightModules">QROptions::$drawLightModules</abbr></span>
  524. </dd>
  525. </dl>
  526. </article>
  527. <article
  528. class="
  529. phpdocumentor-element
  530. -property
  531. -protected
  532. "
  533. >
  534. <h4 class="phpdocumentor-element__name" id="property_eol">
  535. $eol
  536. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_eol" class="headerlink"><i class="fas fa-link"></i></a>
  537. <span class="phpdocumentor-element__modifiers">
  538. </span>
  539. </h4>
  540. <aside class="phpdocumentor-element-found-in">
  541. <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>
  542. :
  543. <span class="phpdocumentor-element-found-in__line">58</span>
  544. </aside>
  545. <code class="phpdocumentor-code phpdocumentor-signature ">
  546. <span class="phpdocumentor-signature__visibility">protected</span>
  547. <span class="phpdocumentor-signature__type">string</span>
  548. <span class="phpdocumentor-signature__name">$eol</span>
  549. </code>
  550. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  551. Tags
  552. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_eol#tags" class="headerlink"><i class="fas fa-link"></i></a>
  553. </h5>
  554. <dl class="phpdocumentor-tag-list">
  555. <dt class="phpdocumentor-tag-list__entry">
  556. <span class="phpdocumentor-tag__name">see</span>
  557. </dt>
  558. <dd class="phpdocumentor-tag-list__definition">
  559. <span class="phpdocumentor-tag-link"><abbr title="\chillerlan\QRCode\QROptions::$eol">QROptions::$eol</abbr></span>
  560. </dd>
  561. </dl>
  562. </article>
  563. <article
  564. class="
  565. phpdocumentor-element
  566. -property
  567. -protected
  568. "
  569. >
  570. <h4 class="phpdocumentor-element__name" id="property_excludeFromConnect">
  571. $excludeFromConnect
  572. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_excludeFromConnect" class="headerlink"><i class="fas fa-link"></i></a>
  573. <span class="phpdocumentor-element__modifiers">
  574. </span>
  575. </h4>
  576. <aside class="phpdocumentor-element-found-in">
  577. <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>
  578. :
  579. <span class="phpdocumentor-element-found-in__line">56</span>
  580. </aside>
  581. <code class="phpdocumentor-code phpdocumentor-signature ">
  582. <span class="phpdocumentor-signature__visibility">protected</span>
  583. <span class="phpdocumentor-signature__type">array&lt;string|int, mixed&gt;</span>
  584. <span class="phpdocumentor-signature__name">$excludeFromConnect</span>
  585. </code>
  586. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  587. Tags
  588. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_excludeFromConnect#tags" class="headerlink"><i class="fas fa-link"></i></a>
  589. </h5>
  590. <dl class="phpdocumentor-tag-list">
  591. <dt class="phpdocumentor-tag-list__entry">
  592. <span class="phpdocumentor-tag__name">see</span>
  593. </dt>
  594. <dd class="phpdocumentor-tag-list__definition">
  595. <span class="phpdocumentor-tag-link"><abbr title="\chillerlan\QRCode\QROptions::$excludeFromConnect">QROptions::$excludeFromConnect</abbr></span>
  596. </dd>
  597. </dl>
  598. </article>
  599. <article
  600. class="
  601. phpdocumentor-element
  602. -property
  603. -protected
  604. "
  605. >
  606. <h4 class="phpdocumentor-element__name" id="property_keepAsSquare">
  607. $keepAsSquare
  608. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_keepAsSquare" class="headerlink"><i class="fas fa-link"></i></a>
  609. <span class="phpdocumentor-element__modifiers">
  610. </span>
  611. </h4>
  612. <aside class="phpdocumentor-element-found-in">
  613. <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>
  614. :
  615. <span class="phpdocumentor-element-found-in__line">64</span>
  616. </aside>
  617. <code class="phpdocumentor-code phpdocumentor-signature ">
  618. <span class="phpdocumentor-signature__visibility">protected</span>
  619. <span class="phpdocumentor-signature__type">array&lt;string|int, mixed&gt;</span>
  620. <span class="phpdocumentor-signature__name">$keepAsSquare</span>
  621. </code>
  622. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  623. Tags
  624. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_keepAsSquare#tags" class="headerlink"><i class="fas fa-link"></i></a>
  625. </h5>
  626. <dl class="phpdocumentor-tag-list">
  627. <dt class="phpdocumentor-tag-list__entry">
  628. <span class="phpdocumentor-tag__name">see</span>
  629. </dt>
  630. <dd class="phpdocumentor-tag-list__definition">
  631. <span class="phpdocumentor-tag-link"><abbr title="\chillerlan\QRCode\QROptions::$keepAsSquare">QROptions::$keepAsSquare</abbr></span>
  632. </dd>
  633. </dl>
  634. </article>
  635. <article
  636. class="
  637. phpdocumentor-element
  638. -property
  639. -protected
  640. "
  641. >
  642. <h4 class="phpdocumentor-element__name" id="property_length">
  643. $length
  644. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_length" class="headerlink"><i class="fas fa-link"></i></a>
  645. <span class="phpdocumentor-element__modifiers">
  646. </span>
  647. </h4>
  648. <aside class="phpdocumentor-element-found-in">
  649. <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>
  650. :
  651. <span class="phpdocumentor-element-found-in__line">34</span>
  652. </aside>
  653. <p class="phpdocumentor-summary">the side length of the QR image (modules * scale)</p>
  654. <code class="phpdocumentor-code phpdocumentor-signature ">
  655. <span class="phpdocumentor-signature__visibility">protected</span>
  656. <span class="phpdocumentor-signature__type">int</span>
  657. <span class="phpdocumentor-signature__name">$length</span>
  658. </code>
  659. </article>
  660. <article
  661. class="
  662. phpdocumentor-element
  663. -property
  664. -protected
  665. "
  666. >
  667. <h4 class="phpdocumentor-element__name" id="property_matrix">
  668. $matrix
  669. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_matrix" class="headerlink"><i class="fas fa-link"></i></a>
  670. <span class="phpdocumentor-element__modifiers">
  671. </span>
  672. </h4>
  673. <aside class="phpdocumentor-element-found-in">
  674. <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>
  675. :
  676. <span class="phpdocumentor-element-found-in__line">44</span>
  677. </aside>
  678. <p class="phpdocumentor-summary">the (filled) data matrix object</p>
  679. <code class="phpdocumentor-code phpdocumentor-signature ">
  680. <span class="phpdocumentor-signature__visibility">protected</span>
  681. <span class="phpdocumentor-signature__type"><a href="classes/chillerlan-QRCode-Data-QRMatrix.html"><abbr title="\chillerlan\QRCode\Data\QRMatrix">QRMatrix</abbr></a></span>
  682. <span class="phpdocumentor-signature__name">$matrix</span>
  683. </code>
  684. </article>
  685. <article
  686. class="
  687. phpdocumentor-element
  688. -property
  689. -protected
  690. "
  691. >
  692. <h4 class="phpdocumentor-element__name" id="property_moduleCount">
  693. $moduleCount
  694. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_moduleCount" class="headerlink"><i class="fas fa-link"></i></a>
  695. <span class="phpdocumentor-element__modifiers">
  696. </span>
  697. </h4>
  698. <aside class="phpdocumentor-element-found-in">
  699. <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>
  700. :
  701. <span class="phpdocumentor-element-found-in__line">29</span>
  702. </aside>
  703. <p class="phpdocumentor-summary">the current size of the QR matrix</p>
  704. <code class="phpdocumentor-code phpdocumentor-signature ">
  705. <span class="phpdocumentor-signature__visibility">protected</span>
  706. <span class="phpdocumentor-signature__type">int</span>
  707. <span class="phpdocumentor-signature__name">$moduleCount</span>
  708. </code>
  709. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  710. Tags
  711. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_moduleCount#tags" class="headerlink"><i class="fas fa-link"></i></a>
  712. </h5>
  713. <dl class="phpdocumentor-tag-list">
  714. <dt class="phpdocumentor-tag-list__entry">
  715. <span class="phpdocumentor-tag__name">see</span>
  716. </dt>
  717. <dd class="phpdocumentor-tag-list__definition">
  718. <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>
  719. </dd>
  720. </dl>
  721. </article>
  722. <article
  723. class="
  724. phpdocumentor-element
  725. -property
  726. -protected
  727. "
  728. >
  729. <h4 class="phpdocumentor-element__name" id="property_moduleValues">
  730. $moduleValues
  731. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_moduleValues" class="headerlink"><i class="fas fa-link"></i></a>
  732. <span class="phpdocumentor-element__modifiers">
  733. </span>
  734. </h4>
  735. <aside class="phpdocumentor-element-found-in">
  736. <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>
  737. :
  738. <span class="phpdocumentor-element-found-in__line">39</span>
  739. </aside>
  740. <p class="phpdocumentor-summary">an (optional) array of color values for the several QR matrix parts</p>
  741. <code class="phpdocumentor-code phpdocumentor-signature ">
  742. <span class="phpdocumentor-signature__visibility">protected</span>
  743. <span class="phpdocumentor-signature__type">array&lt;string|int, mixed&gt;</span>
  744. <span class="phpdocumentor-signature__name">$moduleValues</span>
  745. </code>
  746. </article>
  747. <article
  748. class="
  749. phpdocumentor-element
  750. -property
  751. -protected
  752. "
  753. >
  754. <h4 class="phpdocumentor-element__name" id="property_options">
  755. $options
  756. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_options" class="headerlink"><i class="fas fa-link"></i></a>
  757. <span class="phpdocumentor-element__modifiers">
  758. </span>
  759. </h4>
  760. <aside class="phpdocumentor-element-found-in">
  761. <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>
  762. :
  763. <span class="phpdocumentor-element-found-in__line">49</span>
  764. </aside>
  765. <p class="phpdocumentor-summary">the options instance</p>
  766. <code class="phpdocumentor-code phpdocumentor-signature ">
  767. <span class="phpdocumentor-signature__visibility">protected</span>
  768. <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>
  769. <span class="phpdocumentor-signature__name">$options</span>
  770. </code>
  771. </article>
  772. <article
  773. class="
  774. phpdocumentor-element
  775. -property
  776. -protected
  777. "
  778. >
  779. <h4 class="phpdocumentor-element__name" id="property_scale">
  780. $scale
  781. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_scale" class="headerlink"><i class="fas fa-link"></i></a>
  782. <span class="phpdocumentor-element__modifiers">
  783. </span>
  784. </h4>
  785. <aside class="phpdocumentor-element-found-in">
  786. <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>
  787. :
  788. <span class="phpdocumentor-element-found-in__line">52</span>
  789. </aside>
  790. <code class="phpdocumentor-code phpdocumentor-signature ">
  791. <span class="phpdocumentor-signature__visibility">protected</span>
  792. <span class="phpdocumentor-signature__type">int</span>
  793. <span class="phpdocumentor-signature__name">$scale</span>
  794. </code>
  795. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  796. Tags
  797. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_scale#tags" class="headerlink"><i class="fas fa-link"></i></a>
  798. </h5>
  799. <dl class="phpdocumentor-tag-list">
  800. <dt class="phpdocumentor-tag-list__entry">
  801. <span class="phpdocumentor-tag__name">see</span>
  802. </dt>
  803. <dd class="phpdocumentor-tag-list__definition">
  804. <span class="phpdocumentor-tag-link"><abbr title="\chillerlan\QRCode\QROptions::$scale">QROptions::$scale</abbr></span>
  805. </dd>
  806. </dl>
  807. </article>
  808. </section>
  809. <section class="phpdocumentor-methods">
  810. <h3 class="phpdocumentor-elements__header" id="methods">
  811. Methods
  812. <a href="classes/chillerlan-QRCode-Output-QRStringText.html#methods" class="headerlink"><i class="fas fa-link"></i></a>
  813. </h3>
  814. <article
  815. class="phpdocumentor-element
  816. -method
  817. -public
  818. "
  819. >
  820. <h4 class="phpdocumentor-element__name" id="method___construct">
  821. __construct()
  822. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method___construct" class="headerlink"><i class="fas fa-link"></i></a>
  823. </h4>
  824. <aside class="phpdocumentor-element-found-in">
  825. <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>
  826. :
  827. <span class="phpdocumentor-element-found-in__line">72</span>
  828. </aside>
  829. <p class="phpdocumentor-summary">QROutputAbstract constructor.</p>
  830. <code class="phpdocumentor-code phpdocumentor-signature ">
  831. <span class="phpdocumentor-signature__visibility">public</span>
  832. <span class="phpdocumentor-signature__name">__construct</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><abbr title="\chillerlan\Settings\SettingsContainerInterface">SettingsContainerInterface</abbr>|<a href="classes/chillerlan-QRCode-QROptions.html"><abbr title="\chillerlan\QRCode\QROptions">QROptions</abbr></a>&nbsp;</span><span class="phpdocumentor-signature__argument__name">$options</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type"><a href="classes/chillerlan-QRCode-Data-QRMatrix.html"><abbr title="\chillerlan\QRCode\Data\QRMatrix">QRMatrix</abbr></a>&nbsp;</span><span class="phpdocumentor-signature__argument__name">$matrix</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
  833. <div class="phpdocumentor-label-line">
  834. </div>
  835. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  836. <dl class="phpdocumentor-argument-list">
  837. <dt class="phpdocumentor-argument-list__entry">
  838. <span class="phpdocumentor-signature__argument__name">$options</span>
  839. : <span class="phpdocumentor-signature__argument__return-type"><abbr title="\chillerlan\Settings\SettingsContainerInterface">SettingsContainerInterface</abbr>|<a href="classes/chillerlan-QRCode-QROptions.html"><abbr title="\chillerlan\QRCode\QROptions">QROptions</abbr></a></span>
  840. </dt>
  841. <dd class="phpdocumentor-argument-list__definition">
  842. </dd>
  843. <dt class="phpdocumentor-argument-list__entry">
  844. <span class="phpdocumentor-signature__argument__name">$matrix</span>
  845. : <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>
  846. </dt>
  847. <dd class="phpdocumentor-argument-list__definition">
  848. </dd>
  849. </dl>
  850. </article>
  851. <article
  852. class="phpdocumentor-element
  853. -method
  854. -public
  855. -static "
  856. >
  857. <h4 class="phpdocumentor-element__name" id="method_ansi8">
  858. ansi8()
  859. <a href="classes/chillerlan-QRCode-Output-QRStringText.html#method_ansi8" class="headerlink"><i class="fas fa-link"></i></a>
  860. </h4>
  861. <aside class="phpdocumentor-element-found-in">
  862. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QRStringText.php"><a href="files/src-output-qrstringtext.html"><abbr title="src/Output/QRStringText.php">QRStringText.php</abbr></a></abbr>
  863. :
  864. <span class="phpdocumentor-element-found-in__line">69</span>
  865. </aside>
  866. <p class="phpdocumentor-summary">a little helper to create a proper ANSI 8-bit color escape sequence</p>
  867. <code class="phpdocumentor-code phpdocumentor-signature ">
  868. <span class="phpdocumentor-signature__visibility">public</span>
  869. <span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">ansi8</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$str</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">$color</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">bool|null&nbsp;</span><span class="phpdocumentor-signature__argument__name">$background</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>
  870. <div class="phpdocumentor-label-line">
  871. </div>
  872. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  873. <dl class="phpdocumentor-argument-list">
  874. <dt class="phpdocumentor-argument-list__entry">
  875. <span class="phpdocumentor-signature__argument__name">$str</span>
  876. : <span class="phpdocumentor-signature__argument__return-type">string</span>
  877. </dt>
  878. <dd class="phpdocumentor-argument-list__definition">
  879. </dd>
  880. <dt class="phpdocumentor-argument-list__entry">
  881. <span class="phpdocumentor-signature__argument__name">$color</span>
  882. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  883. </dt>
  884. <dd class="phpdocumentor-argument-list__definition">
  885. </dd>
  886. <dt class="phpdocumentor-argument-list__entry">
  887. <span class="phpdocumentor-signature__argument__name">$background</span>
  888. : <span class="phpdocumentor-signature__argument__return-type">bool|null</span>
  889. = <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
  890. <dd class="phpdocumentor-argument-list__definition">
  891. </dd>
  892. </dl>
  893. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  894. Tags
  895. <a href="classes/chillerlan-QRCode-Output-QRStringText.html#method_ansi8#tags" class="headerlink"><i class="fas fa-link"></i></a>
  896. </h5>
  897. <dl class="phpdocumentor-tag-list">
  898. <dt class="phpdocumentor-tag-list__entry">
  899. <span class="phpdocumentor-tag__name">see</span>
  900. </dt>
  901. <dd class="phpdocumentor-tag-list__definition">
  902. <span class="phpdocumentor-tag-link"><a href="https://en.wikipedia.org/wiki/ANSI_escape_code#8-bit">https://en.wikipedia.org/wiki/ANSI_escape_code#8-bit</a></span>
  903. </dd>
  904. <dt class="phpdocumentor-tag-list__entry">
  905. <span class="phpdocumentor-tag__name">see</span>
  906. </dt>
  907. <dd class="phpdocumentor-tag-list__definition">
  908. <span class="phpdocumentor-tag-link"><a href="https://en.wikipedia.org/wiki/Block_Elements">https://en.wikipedia.org/wiki/Block_Elements</a></span>
  909. </dd>
  910. <dt class="phpdocumentor-tag-list__entry">
  911. <span class="phpdocumentor-tag__name">codeCoverageIgnore</span>
  912. </dt>
  913. <dd class="phpdocumentor-tag-list__definition">
  914. </dd>
  915. </dl>
  916. <section>
  917. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  918. <span class="phpdocumentor-signature__response_type">string</span>
  919. </section>
  920. </article>
  921. <article
  922. class="phpdocumentor-element
  923. -method
  924. -public
  925. "
  926. >
  927. <h4 class="phpdocumentor-element__name" id="method_dump">
  928. dump()
  929. <a href="classes/chillerlan-QRCode-Output-QRStringText.html#method_dump" class="headerlink"><i class="fas fa-link"></i></a>
  930. </h4>
  931. <aside class="phpdocumentor-element-found-in">
  932. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QRStringText.php"><a href="files/src-output-qrstringtext.html"><abbr title="src/Output/QRStringText.php">QRStringText.php</abbr></a></abbr>
  933. :
  934. <span class="phpdocumentor-element-found-in__line">46</span>
  935. </aside>
  936. <p class="phpdocumentor-summary">Generates the output, optionally dumps it to a file, and returns it</p>
  937. <code class="phpdocumentor-code phpdocumentor-signature ">
  938. <span class="phpdocumentor-signature__visibility">public</span>
  939. <span class="phpdocumentor-signature__name">dump</span><span>(</span><span class="phpdocumentor-signature__argument"><span>[</span><span class="phpdocumentor-signature__argument__return-type">string|null&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>
  940. <div class="phpdocumentor-label-line">
  941. </div>
  942. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  943. <dl class="phpdocumentor-argument-list">
  944. <dt class="phpdocumentor-argument-list__entry">
  945. <span class="phpdocumentor-signature__argument__name">$file</span>
  946. : <span class="phpdocumentor-signature__argument__return-type">string|null</span>
  947. = <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
  948. <dd class="phpdocumentor-argument-list__definition">
  949. </dd>
  950. </dl>
  951. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  952. Tags
  953. <a href="classes/chillerlan-QRCode-Output-QRStringText.html#method_dump#tags" class="headerlink"><i class="fas fa-link"></i></a>
  954. </h5>
  955. <dl class="phpdocumentor-tag-list">
  956. <dt class="phpdocumentor-tag-list__entry">
  957. <span class="phpdocumentor-tag__name">inheritDoc</span>
  958. </dt>
  959. <dd class="phpdocumentor-tag-list__definition">
  960. </dd>
  961. </dl>
  962. <section>
  963. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  964. <span class="phpdocumentor-signature__response_type">string</span>
  965. </section>
  966. </article>
  967. <article
  968. class="phpdocumentor-element
  969. -method
  970. -public
  971. -static "
  972. >
  973. <h4 class="phpdocumentor-element__name" id="method_moduleValueIsValid">
  974. moduleValueIsValid()
  975. <a href="classes/chillerlan-QRCode-Output-QRStringText.html#method_moduleValueIsValid" 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/QRStringText.php"><a href="files/src-output-qrstringtext.html"><abbr title="src/Output/QRStringText.php">QRStringText.php</abbr></a></abbr>
  979. :
  980. <span class="phpdocumentor-element-found-in__line">25</span>
  981. </aside>
  982. <p class="phpdocumentor-summary">Determines whether the given value is valid</p>
  983. <code class="phpdocumentor-code phpdocumentor-signature ">
  984. <span class="phpdocumentor-signature__visibility">public</span>
  985. <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>
  986. <div class="phpdocumentor-label-line">
  987. </div>
  988. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  989. <dl class="phpdocumentor-argument-list">
  990. <dt class="phpdocumentor-argument-list__entry">
  991. <span class="phpdocumentor-signature__argument__name">$value</span>
  992. : <span class="phpdocumentor-signature__argument__return-type">mixed</span>
  993. </dt>
  994. <dd class="phpdocumentor-argument-list__definition">
  995. </dd>
  996. </dl>
  997. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  998. Tags
  999. <a href="classes/chillerlan-QRCode-Output-QRStringText.html#method_moduleValueIsValid#tags" class="headerlink"><i class="fas fa-link"></i></a>
  1000. </h5>
  1001. <dl class="phpdocumentor-tag-list">
  1002. <dt class="phpdocumentor-tag-list__entry">
  1003. <span class="phpdocumentor-tag__name">inheritDoc</span>
  1004. </dt>
  1005. <dd class="phpdocumentor-tag-list__definition">
  1006. </dd>
  1007. </dl>
  1008. <section>
  1009. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  1010. <span class="phpdocumentor-signature__response_type">bool</span>
  1011. </section>
  1012. </article>
  1013. <article
  1014. class="phpdocumentor-element
  1015. -method
  1016. -protected
  1017. "
  1018. >
  1019. <h4 class="phpdocumentor-element__name" id="method_collectModules">
  1020. collectModules()
  1021. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_collectModules" class="headerlink"><i class="fas fa-link"></i></a>
  1022. </h4>
  1023. <aside class="phpdocumentor-element-found-in">
  1024. <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>
  1025. :
  1026. <span class="phpdocumentor-element-found-in__line">221</span>
  1027. </aside>
  1028. <p class="phpdocumentor-summary">collects the modules per QRMatrix::M_* type and runs a $transform function on each module and
  1029. returns an array with the transformed modules</p>
  1030. <code class="phpdocumentor-code phpdocumentor-signature ">
  1031. <span class="phpdocumentor-signature__visibility">protected</span>
  1032. <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>
  1033. <div class="phpdocumentor-label-line">
  1034. </div>
  1035. <section class="phpdocumentor-description"><p>The transform callback is called with the following parameters:</p>
  1036. <p>$x - current column
  1037. $y - current row
  1038. $M_TYPE - field value
  1039. $M_TYPE_LAYER - (possibly modified) field value that acts as layer id</p>
  1040. </section>
  1041. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  1042. <dl class="phpdocumentor-argument-list">
  1043. <dt class="phpdocumentor-argument-list__entry">
  1044. <span class="phpdocumentor-signature__argument__name">$transform</span>
  1045. : <span class="phpdocumentor-signature__argument__return-type"><abbr title="\Closure">Closure</abbr></span>
  1046. </dt>
  1047. <dd class="phpdocumentor-argument-list__definition">
  1048. </dd>
  1049. </dl>
  1050. <section>
  1051. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  1052. <span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span>
  1053. </section>
  1054. </article>
  1055. <article
  1056. class="phpdocumentor-element
  1057. -method
  1058. -protected
  1059. "
  1060. >
  1061. <h4 class="phpdocumentor-element__name" id="method_copyVars">
  1062. copyVars()
  1063. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_copyVars" class="headerlink"><i class="fas fa-link"></i></a>
  1064. </h4>
  1065. <aside class="phpdocumentor-element-found-in">
  1066. <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>
  1067. :
  1068. <span class="phpdocumentor-element-found-in__line">91</span>
  1069. </aside>
  1070. <p class="phpdocumentor-summary">Creates copies of several QROptions values to avoid calling the magic getters
  1071. in long loops for a significant performance increase.</p>
  1072. <code class="phpdocumentor-code phpdocumentor-signature ">
  1073. <span class="phpdocumentor-signature__visibility">protected</span>
  1074. <span class="phpdocumentor-signature__name">copyVars</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  1075. <div class="phpdocumentor-label-line">
  1076. </div>
  1077. <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>
  1078. </section>
  1079. </article>
  1080. <article
  1081. class="phpdocumentor-element
  1082. -method
  1083. -protected
  1084. "
  1085. >
  1086. <h4 class="phpdocumentor-element__name" id="method_getDefaultModuleValue">
  1087. getDefaultModuleValue()
  1088. <a href="classes/chillerlan-QRCode-Output-QRStringText.html#method_getDefaultModuleValue" class="headerlink"><i class="fas fa-link"></i></a>
  1089. </h4>
  1090. <aside class="phpdocumentor-element-found-in">
  1091. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QRStringText.php"><a href="files/src-output-qrstringtext.html"><abbr title="src/Output/QRStringText.php">QRStringText.php</abbr></a></abbr>
  1092. :
  1093. <span class="phpdocumentor-element-found-in__line">39</span>
  1094. </aside>
  1095. <p class="phpdocumentor-summary">Returns a default value for either dark or light modules (return value depends on the output class)</p>
  1096. <code class="phpdocumentor-code phpdocumentor-signature ">
  1097. <span class="phpdocumentor-signature__visibility">protected</span>
  1098. <span class="phpdocumentor-signature__name">getDefaultModuleValue</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">bool&nbsp;</span><span class="phpdocumentor-signature__argument__name">$isDark</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
  1099. <div class="phpdocumentor-label-line">
  1100. </div>
  1101. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  1102. <dl class="phpdocumentor-argument-list">
  1103. <dt class="phpdocumentor-argument-list__entry">
  1104. <span class="phpdocumentor-signature__argument__name">$isDark</span>
  1105. : <span class="phpdocumentor-signature__argument__return-type">bool</span>
  1106. </dt>
  1107. <dd class="phpdocumentor-argument-list__definition">
  1108. </dd>
  1109. </dl>
  1110. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  1111. Tags
  1112. <a href="classes/chillerlan-QRCode-Output-QRStringText.html#method_getDefaultModuleValue#tags" class="headerlink"><i class="fas fa-link"></i></a>
  1113. </h5>
  1114. <dl class="phpdocumentor-tag-list">
  1115. <dt class="phpdocumentor-tag-list__entry">
  1116. <span class="phpdocumentor-tag__name">inheritDoc</span>
  1117. </dt>
  1118. <dd class="phpdocumentor-tag-list__definition">
  1119. </dd>
  1120. </dl>
  1121. <section>
  1122. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  1123. <span class="phpdocumentor-signature__response_type">string</span>
  1124. </section>
  1125. </article>
  1126. <article
  1127. class="phpdocumentor-element
  1128. -method
  1129. -protected
  1130. "
  1131. >
  1132. <h4 class="phpdocumentor-element__name" id="method_getModuleValue">
  1133. getModuleValue()
  1134. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_getModuleValue" class="headerlink"><i class="fas fa-link"></i></a>
  1135. </h4>
  1136. <aside class="phpdocumentor-element-found-in">
  1137. <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>
  1138. :
  1139. <span class="phpdocumentor-element-found-in__line">164</span>
  1140. </aside>
  1141. <p class="phpdocumentor-summary">Returns the prepared value for the given $M_TYPE</p>
  1142. <code class="phpdocumentor-code phpdocumentor-signature ">
  1143. <span class="phpdocumentor-signature__visibility">protected</span>
  1144. <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>
  1145. <div class="phpdocumentor-label-line">
  1146. </div>
  1147. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  1148. <dl class="phpdocumentor-argument-list">
  1149. <dt class="phpdocumentor-argument-list__entry">
  1150. <span class="phpdocumentor-signature__argument__name">$M_TYPE</span>
  1151. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  1152. </dt>
  1153. <dd class="phpdocumentor-argument-list__definition">
  1154. </dd>
  1155. </dl>
  1156. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  1157. Tags
  1158. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_getModuleValue#tags" class="headerlink"><i class="fas fa-link"></i></a>
  1159. </h5>
  1160. <dl class="phpdocumentor-tag-list">
  1161. <dt class="phpdocumentor-tag-list__entry">
  1162. <span class="phpdocumentor-tag__name">throws</span>
  1163. </dt>
  1164. <dd class="phpdocumentor-tag-list__definition">
  1165. <span class="phpdocumentor-tag-link"><a href="classes/chillerlan-QRCode-Output-QRCodeOutputException.html"><abbr title="\chillerlan\QRCode\Output\QRCodeOutputException">QRCodeOutputException</abbr></a></span>
  1166. <section class="phpdocumentor-description"><p>if $moduleValues[$M_TYPE] doesn't exist</p>
  1167. </section>
  1168. </dd>
  1169. </dl>
  1170. </article>
  1171. <article
  1172. class="phpdocumentor-element
  1173. -method
  1174. -protected
  1175. "
  1176. >
  1177. <h4 class="phpdocumentor-element__name" id="method_getModuleValueAt">
  1178. getModuleValueAt()
  1179. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_getModuleValueAt" class="headerlink"><i class="fas fa-link"></i></a>
  1180. </h4>
  1181. <aside class="phpdocumentor-element-found-in">
  1182. <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>
  1183. :
  1184. <span class="phpdocumentor-element-found-in__line">176</span>
  1185. </aside>
  1186. <p class="phpdocumentor-summary">Returns the prepared module value at the given coordinate [$x, $y] (convenience)</p>
  1187. <code class="phpdocumentor-code phpdocumentor-signature ">
  1188. <span class="phpdocumentor-signature__visibility">protected</span>
  1189. <span class="phpdocumentor-signature__name">getModuleValueAt</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$x</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$y</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
  1190. <div class="phpdocumentor-label-line">
  1191. </div>
  1192. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  1193. <dl class="phpdocumentor-argument-list">
  1194. <dt class="phpdocumentor-argument-list__entry">
  1195. <span class="phpdocumentor-signature__argument__name">$x</span>
  1196. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  1197. </dt>
  1198. <dd class="phpdocumentor-argument-list__definition">
  1199. </dd>
  1200. <dt class="phpdocumentor-argument-list__entry">
  1201. <span class="phpdocumentor-signature__argument__name">$y</span>
  1202. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  1203. </dt>
  1204. <dd class="phpdocumentor-argument-list__definition">
  1205. </dd>
  1206. </dl>
  1207. </article>
  1208. <article
  1209. class="phpdocumentor-element
  1210. -method
  1211. -protected
  1212. "
  1213. >
  1214. <h4 class="phpdocumentor-element__name" id="method_getOutputDimensions">
  1215. getOutputDimensions()
  1216. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_getOutputDimensions" class="headerlink"><i class="fas fa-link"></i></a>
  1217. </h4>
  1218. <aside class="phpdocumentor-element-found-in">
  1219. <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>
  1220. :
  1221. <span class="phpdocumentor-element-found-in__line">126</span>
  1222. </aside>
  1223. <p class="phpdocumentor-summary">Returns a 2 element array with the current output width and height</p>
  1224. <code class="phpdocumentor-code phpdocumentor-signature ">
  1225. <span class="phpdocumentor-signature__visibility">protected</span>
  1226. <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>
  1227. <div class="phpdocumentor-label-line">
  1228. </div>
  1229. <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>
  1230. </section>
  1231. <section>
  1232. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  1233. <span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span>
  1234. </section>
  1235. </article>
  1236. <article
  1237. class="phpdocumentor-element
  1238. -method
  1239. -protected
  1240. "
  1241. >
  1242. <h4 class="phpdocumentor-element__name" id="method_prepareModuleValue">
  1243. prepareModuleValue()
  1244. <a href="classes/chillerlan-QRCode-Output-QRStringText.html#method_prepareModuleValue" class="headerlink"><i class="fas fa-link"></i></a>
  1245. </h4>
  1246. <aside class="phpdocumentor-element-found-in">
  1247. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QRStringText.php"><a href="files/src-output-qrstringtext.html"><abbr title="src/Output/QRStringText.php">QRStringText.php</abbr></a></abbr>
  1248. :
  1249. <span class="phpdocumentor-element-found-in__line">32</span>
  1250. </aside>
  1251. <p class="phpdocumentor-summary">Prepares the value for the given input (return value depends on the output class)</p>
  1252. <code class="phpdocumentor-code phpdocumentor-signature ">
  1253. <span class="phpdocumentor-signature__visibility">protected</span>
  1254. <span class="phpdocumentor-signature__name">prepareModuleValue</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">mixed&nbsp;</span><span class="phpdocumentor-signature__argument__name">$value</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
  1255. <div class="phpdocumentor-label-line">
  1256. </div>
  1257. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  1258. <dl class="phpdocumentor-argument-list">
  1259. <dt class="phpdocumentor-argument-list__entry">
  1260. <span class="phpdocumentor-signature__argument__name">$value</span>
  1261. : <span class="phpdocumentor-signature__argument__return-type">mixed</span>
  1262. </dt>
  1263. <dd class="phpdocumentor-argument-list__definition">
  1264. </dd>
  1265. </dl>
  1266. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  1267. Tags
  1268. <a href="classes/chillerlan-QRCode-Output-QRStringText.html#method_prepareModuleValue#tags" class="headerlink"><i class="fas fa-link"></i></a>
  1269. </h5>
  1270. <dl class="phpdocumentor-tag-list">
  1271. <dt class="phpdocumentor-tag-list__entry">
  1272. <span class="phpdocumentor-tag__name">inheritDoc</span>
  1273. </dt>
  1274. <dd class="phpdocumentor-tag-list__definition">
  1275. </dd>
  1276. </dl>
  1277. <section>
  1278. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  1279. <span class="phpdocumentor-signature__response_type">string</span>
  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">195</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|null&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|null</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">115</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">133</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">183</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>, </span><span class="phpdocumentor-signature__argument__return-type">string|null&nbsp;</span><span class="phpdocumentor-signature__argument__name">$mime</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
  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|null</span>
  1421. = <span class="phpdocumentor-signature__argument__default-value">null</span> </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/QRStringText.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-QRStringText.html#toc-constants">Constants</a></li>
  1518. <li><a href="classes/chillerlan-QRCode-Output-QRStringText.html#toc-properties">Properties</a></li>
  1519. <li><a href="classes/chillerlan-QRCode-Output-QRStringText.html#toc-methods">Methods</a></li>
  1520. </ul>
  1521. </li>
  1522. <li class="phpdocumentor-on-this-page-section__title">Constants</li>
  1523. <li>
  1524. <ul class="phpdocumentor-list -clean">
  1525. <li class=""><a href="classes/chillerlan-QRCode-Output-QRStringText.html#constant_MIME_TYPE">MIME_TYPE</a></li>
  1526. </ul>
  1527. </li>
  1528. <li class="phpdocumentor-on-this-page-section__title">Properties</li>
  1529. <li>
  1530. <ul class="phpdocumentor-list -clean">
  1531. <li class=""><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_circleDiameter">$circleDiameter</li>
  1532. <li class=""><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_circleRadius">$circleRadius</li>
  1533. <li class=""><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_connectPaths">$connectPaths</li>
  1534. <li class=""><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_drawCircularModules">$drawCircularModules</li>
  1535. <li class=""><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_drawLightModules">$drawLightModules</li>
  1536. <li class=""><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_eol">$eol</li>
  1537. <li class=""><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_excludeFromConnect">$excludeFromConnect</li>
  1538. <li class=""><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_keepAsSquare">$keepAsSquare</li>
  1539. <li class=""><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_length">$length</li>
  1540. <li class=""><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_matrix">$matrix</li>
  1541. <li class=""><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_moduleCount">$moduleCount</li>
  1542. <li class=""><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_moduleValues">$moduleValues</li>
  1543. <li class=""><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_options">$options</li>
  1544. <li class=""><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_scale">$scale</li>
  1545. </ul>
  1546. </li>
  1547. <li class="phpdocumentor-on-this-page-section__title">Methods</li>
  1548. <li>
  1549. <ul class="phpdocumentor-list -clean">
  1550. <li class=""><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method___construct">__construct()</a></li>
  1551. <li class=""><a href="classes/chillerlan-QRCode-Output-QRStringText.html#method_ansi8">ansi8()</a></li>
  1552. <li class=""><a href="classes/chillerlan-QRCode-Output-QRStringText.html#method_dump">dump()</a></li>
  1553. <li class=""><a href="classes/chillerlan-QRCode-Output-QRStringText.html#method_moduleValueIsValid">moduleValueIsValid()</a></li>
  1554. <li class=""><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_collectModules">collectModules()</a></li>
  1555. <li class=""><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_copyVars">copyVars()</a></li>
  1556. <li class=""><a href="classes/chillerlan-QRCode-Output-QRStringText.html#method_getDefaultModuleValue">getDefaultModuleValue()</a></li>
  1557. <li class=""><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_getModuleValue">getModuleValue()</a></li>
  1558. <li class=""><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_getModuleValueAt">getModuleValueAt()</a></li>
  1559. <li class=""><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_getOutputDimensions">getOutputDimensions()</a></li>
  1560. <li class=""><a href="classes/chillerlan-QRCode-Output-QRStringText.html#method_prepareModuleValue">prepareModuleValue()</a></li>
  1561. <li class=""><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_saveToFile">saveToFile()</a></li>
  1562. <li class=""><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_setMatrixDimensions">setMatrixDimensions()</a></li>
  1563. <li class=""><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_setModuleValues">setModuleValues()</a></li>
  1564. <li class=""><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_toBase64DataURI">toBase64DataURI()</a></li>
  1565. </ul>
  1566. </li>
  1567. </ul>
  1568. </section>
  1569. </section>
  1570. </div>
  1571. <section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
  1572. <section class="phpdocumentor-search-results__dialog">
  1573. <header class="phpdocumentor-search-results__header">
  1574. <h2 class="phpdocumentor-search-results__title">Search results</h2>
  1575. <button class="phpdocumentor-search-results__close"><i class="fas fa-times"></i></button>
  1576. </header>
  1577. <section class="phpdocumentor-search-results__body">
  1578. <ul class="phpdocumentor-search-results__entries"></ul>
  1579. </section>
  1580. </section>
  1581. </section>
  1582. </div>
  1583. <a href="classes/chillerlan-QRCode-Output-QRStringText.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a>
  1584. </main>
  1585. <script>
  1586. cssVars({});
  1587. </script>
  1588. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/prism.min.js"></script>
  1589. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/autoloader/prism-autoloader.min.js"></script>
  1590. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.min.js"></script>
  1591. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.min.js"></script>
  1592. </body>
  1593. </html>