chillerlan-QRCode-Output-QRStringText.html 100 KB

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