chillerlan-QRCode-Output-QRImage.html 96 KB

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