chillerlan-QRCode-Output-QRStringText.html 100 KB

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