chillerlan-QRCode-QROptionsTrait.html 95 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184
  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=Source+Sans+Pro:wght@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/search.js"></script>
  22. <script defer src="js/searchIndex.js"></script>
  23. </head>
  24. <body id="top">
  25. <header class="phpdocumentor-header phpdocumentor-section">
  26. <h1 class="phpdocumentor-title"><a href="" class="phpdocumentor-title__link">Documentation</a></h1>
  27. <input class="phpdocumentor-header__menu-button" type="checkbox" id="menu-button" name="menu-button" />
  28. <label class="phpdocumentor-header__menu-icon" for="menu-button">
  29. <i class="fas fa-bars"></i>
  30. </label>
  31. <section data-search-form class="phpdocumentor-search">
  32. <label>
  33. <span class="visually-hidden">Search for</span>
  34. <svg class="phpdocumentor-search__icon" width="21" height="20" viewBox="0 0 21 20" fill="none" xmlns="http://www.w3.org/2000/svg">
  35. <circle cx="7.5" cy="7.5" r="6.5" stroke="currentColor" stroke-width="2"/>
  36. <line x1="12.4892" y1="12.2727" x2="19.1559" y2="18.9393" stroke="currentColor" stroke-width="3"/>
  37. </svg>
  38. <input type="search" class="phpdocumentor-field phpdocumentor-search__field" placeholder="Loading .." disabled />
  39. </label>
  40. </section>
  41. <nav class="phpdocumentor-topnav">
  42. <ul class="phpdocumentor-topnav__menu">
  43. </ul>
  44. </nav>
  45. </header>
  46. <main class="phpdocumentor">
  47. <div class="phpdocumentor-section">
  48. <input class="phpdocumentor-sidebar__menu-button" type="checkbox" id="sidebar-button" name="sidebar-button" />
  49. <label class="phpdocumentor-sidebar__menu-icon" for="sidebar-button">
  50. Menu
  51. </label>
  52. <aside class="phpdocumentor-column -four phpdocumentor-sidebar">
  53. <section class="phpdocumentor-sidebar__category">
  54. <h2 class="phpdocumentor-sidebar__category-header">Namespaces</h2>
  55. <h4 class="phpdocumentor-sidebar__root-namespace"><a href="namespaces/chillerlan.html">chillerlan</a></h4>
  56. <ul class="phpdocumentor-list">
  57. <li>
  58. <a href="namespaces/chillerlan-qrcode.html">QRCode</a>
  59. </li>
  60. <li>
  61. <a href="namespaces/chillerlan-qrcodetest.html">QRCodeTest</a>
  62. </li>
  63. </ul>
  64. </section>
  65. <section class="phpdocumentor-sidebar__category">
  66. <h2 class="phpdocumentor-sidebar__category-header">Packages</h2>
  67. <h4 class="phpdocumentor-sidebar__root-namespace"><a href="packages/Application.html">Application</a></h4>
  68. </section>
  69. <section class="phpdocumentor-sidebar__category">
  70. <h2 class="phpdocumentor-sidebar__category-header">Reports</h2>
  71. <h3 class="phpdocumentor-sidebar__root-package"><a href="reports/deprecated.html">Deprecated</a></h3>
  72. <h3 class="phpdocumentor-sidebar__root-package"><a href="reports/errors.html">Errors</a></h3>
  73. <h3 class="phpdocumentor-sidebar__root-package"><a href="reports/markers.html">Markers</a></h3>
  74. </section>
  75. <section class="phpdocumentor-sidebar__category">
  76. <h2 class="phpdocumentor-sidebar__category-header">Indices</h2>
  77. <h3 class="phpdocumentor-sidebar__root-package"><a href="indices/files.html">Files</a></h3>
  78. </section>
  79. </aside>
  80. <div class="phpdocumentor-column -eight phpdocumentor-content">
  81. <ul class="phpdocumentor-breadcrumbs">
  82. <li class="phpdocumentor-breadcrumb"><a href="namespaces/chillerlan.html">chillerlan</a></li>
  83. <li class="phpdocumentor-breadcrumb"><a href="namespaces/chillerlan-qrcode.html">QRCode</a></li>
  84. </ul>
  85. <article class="phpdocumentor-element -trait">
  86. <h2 class="phpdocumentor-content__title">
  87. QROptionsTrait
  88. </h2>
  89. <aside class="phpdocumentor-element-found-in">
  90. <abbr class="phpdocumentor-element-found-in__file" title="src/QROptionsTrait.php"><a href="files/src-qroptionstrait.html"><abbr title="src/QROptionsTrait.php">QROptionsTrait.php</abbr></a></abbr>
  91. :
  92. <span class="phpdocumentor-element-found-in__line">22</span>
  93. </aside>
  94. <p class="phpdocumentor-summary">The QRCode plug-in settings &amp; setter functionality</p>
  95. <h3 id="toc">
  96. Table of Contents
  97. <a href="#toc" class="headerlink"><i class="fas fa-link"></i></a>
  98. </h3>
  99. <dl class="phpdocumentor-table-of-contents">
  100. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  101. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_addQuietzone">$addQuietzone</a>
  102. <span>
  103. &nbsp;: bool </span>
  104. </dt>
  105. <dd>Add a &quot;quiet zone&quot; (margin) according to the QR code spec</dd>
  106. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  107. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_cachefile">$cachefile</a>
  108. <span>
  109. &nbsp;: string|null </span>
  110. </dt>
  111. <dd>/path/to/cache.file</dd>
  112. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  113. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_cssClass">$cssClass</a>
  114. <span>
  115. &nbsp;: string </span>
  116. </dt>
  117. <dd>a common css class</dd>
  118. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  119. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_eccLevel">$eccLevel</a>
  120. <span>
  121. &nbsp;: int </span>
  122. </dt>
  123. <dd>Error correct level</dd>
  124. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  125. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_eol">$eol</a>
  126. <span>
  127. &nbsp;: string </span>
  128. </dt>
  129. <dd>newline string [HTML, SVG, TEXT]</dd>
  130. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  131. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_fpdfMeasureUnit">$fpdfMeasureUnit</a>
  132. <span>
  133. &nbsp;: string </span>
  134. </dt>
  135. <dd>Measurement unit for FPDF output: pt, mm, cm, in (defaults to &quot;pt&quot;)</dd>
  136. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  137. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_imageBase64">$imageBase64</a>
  138. <span>
  139. &nbsp;: bool </span>
  140. </dt>
  141. <dd>toggle base64 or raw image data</dd>
  142. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  143. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_imageTransparencyBG">$imageTransparencyBG</a>
  144. <span>
  145. &nbsp;: array&lt;string|int, mixed&gt; </span>
  146. </dt>
  147. <dd></dd>
  148. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  149. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_imageTransparent">$imageTransparent</a>
  150. <span>
  151. &nbsp;: bool </span>
  152. </dt>
  153. <dd>toggle transparency, not supported by jpg</dd>
  154. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  155. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_imagickBG">$imagickBG</a>
  156. <span>
  157. &nbsp;: string|null </span>
  158. </dt>
  159. <dd>Imagick background color (defaults to &quot;transparent&quot;)</dd>
  160. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  161. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_imagickFormat">$imagickFormat</a>
  162. <span>
  163. &nbsp;: string </span>
  164. </dt>
  165. <dd>Imagick output format</dd>
  166. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  167. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_jpegQuality">$jpegQuality</a>
  168. <span>
  169. &nbsp;: int </span>
  170. </dt>
  171. <dd></dd>
  172. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  173. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_markupDark">$markupDark</a>
  174. <span>
  175. &nbsp;: string </span>
  176. </dt>
  177. <dd>markup substitute for dark (CSS value)</dd>
  178. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  179. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_markupLight">$markupLight</a>
  180. <span>
  181. &nbsp;: string </span>
  182. </dt>
  183. <dd>markup substitute for light (CSS value)</dd>
  184. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  185. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_maskPattern">$maskPattern</a>
  186. <span>
  187. &nbsp;: int </span>
  188. </dt>
  189. <dd>Mask Pattern to use</dd>
  190. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  191. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_moduleValues">$moduleValues</a>
  192. <span>
  193. &nbsp;: array&lt;string|int, mixed&gt;|null </span>
  194. </dt>
  195. <dd>Module values map</dd>
  196. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  197. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_outputInterface">$outputInterface</a>
  198. <span>
  199. &nbsp;: string|null </span>
  200. </dt>
  201. <dd>the FQCN of the custom QROutputInterface if $outputType is set to QRCode::OUTPUT_CUSTOM</dd>
  202. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  203. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_outputType">$outputType</a>
  204. <span>
  205. &nbsp;: string </span>
  206. </dt>
  207. <dd>The output type</dd>
  208. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  209. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_pngCompression">$pngCompression</a>
  210. <span>
  211. &nbsp;: int </span>
  212. </dt>
  213. <dd></dd>
  214. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  215. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_quietzoneSize">$quietzoneSize</a>
  216. <span>
  217. &nbsp;: int </span>
  218. </dt>
  219. <dd>Size of the quiet zone</dd>
  220. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  221. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_returnResource">$returnResource</a>
  222. <span>
  223. &nbsp;: bool </span>
  224. </dt>
  225. <dd>Return the image resource instead of a render if applicable.</dd>
  226. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  227. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_scale">$scale</a>
  228. <span>
  229. &nbsp;: int </span>
  230. </dt>
  231. <dd>size of a QR code pixel [SVG, IMAGE_*], HTML via CSS</dd>
  232. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  233. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_svgDefs">$svgDefs</a>
  234. <span>
  235. &nbsp;: string </span>
  236. </dt>
  237. <dd>anything between &lt;defs&gt;</dd>
  238. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  239. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_svgOpacity">$svgOpacity</a>
  240. <span>
  241. &nbsp;: float </span>
  242. </dt>
  243. <dd>SVG opacity</dd>
  244. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  245. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_svgViewBoxSize">$svgViewBoxSize</a>
  246. <span>
  247. &nbsp;: int|null </span>
  248. </dt>
  249. <dd>SVG viewBox size. a single integer number which defines width/height of the viewBox attribute.</dd>
  250. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  251. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_textDark">$textDark</a>
  252. <span>
  253. &nbsp;: string </span>
  254. </dt>
  255. <dd>string substitute for dark</dd>
  256. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  257. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_textLight">$textLight</a>
  258. <span>
  259. &nbsp;: string </span>
  260. </dt>
  261. <dd>string substitute for light</dd>
  262. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  263. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_useImagickIfAvailable">$useImagickIfAvailable</a>
  264. <span>
  265. &nbsp;: bool </span>
  266. </dt>
  267. <dd>use Imaagick (if available) when reading QR Codes</dd>
  268. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  269. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_version">$version</a>
  270. <span>
  271. &nbsp;: int </span>
  272. </dt>
  273. <dd>QR Code version number</dd>
  274. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  275. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_versionMax">$versionMax</a>
  276. <span>
  277. &nbsp;: int </span>
  278. </dt>
  279. <dd>Maximum QR version</dd>
  280. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  281. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_versionMin">$versionMin</a>
  282. <span>
  283. &nbsp;: int </span>
  284. </dt>
  285. <dd>Minimum QR version</dd>
  286. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  287. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#method_set_eccLevel">set_eccLevel()</a>
  288. <span>
  289. &nbsp;: void </span>
  290. </dt>
  291. <dd>sets the error correction level</dd>
  292. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  293. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#method_set_fpdfMeasureUnit">set_fpdfMeasureUnit()</a>
  294. <span>
  295. &nbsp;: void </span>
  296. </dt>
  297. <dd>sets the FPDF measurement unit</dd>
  298. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  299. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#method_set_imageTransparencyBG">set_imageTransparencyBG()</a>
  300. <span>
  301. &nbsp;: void </span>
  302. </dt>
  303. <dd>sets the transparency background color</dd>
  304. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  305. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#method_set_maskPattern">set_maskPattern()</a>
  306. <span>
  307. &nbsp;: void </span>
  308. </dt>
  309. <dd>sets/clamps the mask pattern</dd>
  310. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  311. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#method_set_useImagickIfAvailable">set_useImagickIfAvailable()</a>
  312. <span>
  313. &nbsp;: void </span>
  314. </dt>
  315. <dd>enables Imagick for the QR Code reader if the extension is available</dd>
  316. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  317. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#method_set_version">set_version()</a>
  318. <span>
  319. &nbsp;: void </span>
  320. </dt>
  321. <dd>sets/clamps the version number</dd>
  322. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  323. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#method_set_versionMax">set_versionMax()</a>
  324. <span>
  325. &nbsp;: void </span>
  326. </dt>
  327. <dd>sets the maximum version number</dd>
  328. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  329. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#method_set_versionMin">set_versionMin()</a>
  330. <span>
  331. &nbsp;: void </span>
  332. </dt>
  333. <dd>sets the minimum version number</dd>
  334. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  335. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#method_setMinMaxVersion">setMinMaxVersion()</a>
  336. <span>
  337. &nbsp;: void </span>
  338. </dt>
  339. <dd>clamp min/max version number</dd>
  340. </dl>
  341. <section class="phpdocumentor-properties">
  342. <h3 class="phpdocumentor-elements__header" id="properties">
  343. Properties
  344. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#properties" class="headerlink"><i class="fas fa-link"></i></a>
  345. </h3>
  346. <article
  347. class="
  348. phpdocumentor-element
  349. -property
  350. -protected
  351. "
  352. >
  353. <h4 class="phpdocumentor-element__name" id="property_addQuietzone">
  354. $addQuietzone
  355. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_addQuietzone" class="headerlink"><i class="fas fa-link"></i></a>
  356. <span class="phpdocumentor-element__modifiers">
  357. </span>
  358. </h4>
  359. <aside class="phpdocumentor-element-found-in">
  360. <abbr class="phpdocumentor-element-found-in__file" title="src/QROptionsTrait.php"><a href="files/src-qroptionstrait.html"><abbr title="src/QROptionsTrait.php">QROptionsTrait.php</abbr></a></abbr>
  361. :
  362. <span class="phpdocumentor-element-found-in__line">65</span>
  363. </aside>
  364. <p class="phpdocumentor-summary">Add a &quot;quiet zone&quot; (margin) according to the QR code spec</p>
  365. <code class="phpdocumentor-code phpdocumentor-signature ">
  366. <span class="phpdocumentor-signature__visibility">protected</span>
  367. <span class="phpdocumentor-signature__type">bool</span>
  368. <span class="phpdocumentor-signature__name">$addQuietzone</span>
  369. = <span class="phpdocumentor-signature__default-value">true</span></code>
  370. <section class="phpdocumentor-description"></section>
  371. </article>
  372. <article
  373. class="
  374. phpdocumentor-element
  375. -property
  376. -protected
  377. "
  378. >
  379. <h4 class="phpdocumentor-element__name" id="property_cachefile">
  380. $cachefile
  381. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_cachefile" class="headerlink"><i class="fas fa-link"></i></a>
  382. <span class="phpdocumentor-element__modifiers">
  383. </span>
  384. </h4>
  385. <aside class="phpdocumentor-element-found-in">
  386. <abbr class="phpdocumentor-element-found-in__file" title="src/QROptionsTrait.php"><a href="files/src-qroptionstrait.html"><abbr title="src/QROptionsTrait.php">QROptionsTrait.php</abbr></a></abbr>
  387. :
  388. <span class="phpdocumentor-element-found-in__line">92</span>
  389. </aside>
  390. <p class="phpdocumentor-summary">/path/to/cache.file</p>
  391. <code class="phpdocumentor-code phpdocumentor-signature ">
  392. <span class="phpdocumentor-signature__visibility">protected</span>
  393. <span class="phpdocumentor-signature__type">string|null</span>
  394. <span class="phpdocumentor-signature__name">$cachefile</span>
  395. = <span class="phpdocumentor-signature__default-value">null</span></code>
  396. <section class="phpdocumentor-description"></section>
  397. </article>
  398. <article
  399. class="
  400. phpdocumentor-element
  401. -property
  402. -protected
  403. "
  404. >
  405. <h4 class="phpdocumentor-element__name" id="property_cssClass">
  406. $cssClass
  407. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_cssClass" class="headerlink"><i class="fas fa-link"></i></a>
  408. <span class="phpdocumentor-element__modifiers">
  409. </span>
  410. </h4>
  411. <aside class="phpdocumentor-element-found-in">
  412. <abbr class="phpdocumentor-element-found-in__file" title="src/QROptionsTrait.php"><a href="files/src-qroptionstrait.html"><abbr title="src/QROptionsTrait.php">QROptionsTrait.php</abbr></a></abbr>
  413. :
  414. <span class="phpdocumentor-element-found-in__line">107</span>
  415. </aside>
  416. <p class="phpdocumentor-summary">a common css class</p>
  417. <code class="phpdocumentor-code phpdocumentor-signature ">
  418. <span class="phpdocumentor-signature__visibility">protected</span>
  419. <span class="phpdocumentor-signature__type">string</span>
  420. <span class="phpdocumentor-signature__name">$cssClass</span>
  421. = <span class="phpdocumentor-signature__default-value">&#039;&#039;</span></code>
  422. <section class="phpdocumentor-description"></section>
  423. </article>
  424. <article
  425. class="
  426. phpdocumentor-element
  427. -property
  428. -protected
  429. "
  430. >
  431. <h4 class="phpdocumentor-element__name" id="property_eccLevel">
  432. $eccLevel
  433. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_eccLevel" class="headerlink"><i class="fas fa-link"></i></a>
  434. <span class="phpdocumentor-element__modifiers">
  435. </span>
  436. </h4>
  437. <aside class="phpdocumentor-element-found-in">
  438. <abbr class="phpdocumentor-element-found-in__file" title="src/QROptionsTrait.php"><a href="files/src-qroptionstrait.html"><abbr title="src/QROptionsTrait.php">QROptionsTrait.php</abbr></a></abbr>
  439. :
  440. <span class="phpdocumentor-element-found-in__line">53</span>
  441. </aside>
  442. <p class="phpdocumentor-summary">Error correct level</p>
  443. <code class="phpdocumentor-code phpdocumentor-signature ">
  444. <span class="phpdocumentor-signature__visibility">protected</span>
  445. <span class="phpdocumentor-signature__type">int</span>
  446. <span class="phpdocumentor-signature__name">$eccLevel</span>
  447. = <span class="phpdocumentor-signature__default-value">chillerlanQRCodeCommonEccLevel::L</span></code>
  448. <section class="phpdocumentor-description"><p>QRCode::ECC_X where X is:</p>
  449. <ul>
  450. <li>L =&gt; 7%</li>
  451. <li>M =&gt; 15%</li>
  452. <li>Q =&gt; 25%</li>
  453. <li>H =&gt; 30%</li>
  454. </ul>
  455. </section>
  456. <section class="phpdocumentor-description"></section>
  457. </article>
  458. <article
  459. class="
  460. phpdocumentor-element
  461. -property
  462. -protected
  463. "
  464. >
  465. <h4 class="phpdocumentor-element__name" id="property_eol">
  466. $eol
  467. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_eol" class="headerlink"><i class="fas fa-link"></i></a>
  468. <span class="phpdocumentor-element__modifiers">
  469. </span>
  470. </h4>
  471. <aside class="phpdocumentor-element-found-in">
  472. <abbr class="phpdocumentor-element-found-in__file" title="src/QROptionsTrait.php"><a href="files/src-qroptionstrait.html"><abbr title="src/QROptionsTrait.php">QROptionsTrait.php</abbr></a></abbr>
  473. :
  474. <span class="phpdocumentor-element-found-in__line">97</span>
  475. </aside>
  476. <p class="phpdocumentor-summary">newline string [HTML, SVG, TEXT]</p>
  477. <code class="phpdocumentor-code phpdocumentor-signature ">
  478. <span class="phpdocumentor-signature__visibility">protected</span>
  479. <span class="phpdocumentor-signature__type">string</span>
  480. <span class="phpdocumentor-signature__name">$eol</span>
  481. = <span class="phpdocumentor-signature__default-value">PHP_EOL</span></code>
  482. <section class="phpdocumentor-description"></section>
  483. </article>
  484. <article
  485. class="
  486. phpdocumentor-element
  487. -property
  488. -protected
  489. "
  490. >
  491. <h4 class="phpdocumentor-element__name" id="property_fpdfMeasureUnit">
  492. $fpdfMeasureUnit
  493. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_fpdfMeasureUnit" class="headerlink"><i class="fas fa-link"></i></a>
  494. <span class="phpdocumentor-element__modifiers">
  495. </span>
  496. </h4>
  497. <aside class="phpdocumentor-element-found-in">
  498. <abbr class="phpdocumentor-element-found-in__file" title="src/QROptionsTrait.php"><a href="files/src-qroptionstrait.html"><abbr title="src/QROptionsTrait.php">QROptionsTrait.php</abbr></a></abbr>
  499. :
  500. <span class="phpdocumentor-element-found-in__line">212</span>
  501. </aside>
  502. <p class="phpdocumentor-summary">Measurement unit for FPDF output: pt, mm, cm, in (defaults to &quot;pt&quot;)</p>
  503. <code class="phpdocumentor-code phpdocumentor-signature ">
  504. <span class="phpdocumentor-signature__visibility">protected</span>
  505. <span class="phpdocumentor-signature__type">string</span>
  506. <span class="phpdocumentor-signature__name">$fpdfMeasureUnit</span>
  507. = <span class="phpdocumentor-signature__default-value">&#039;pt&#039;</span></code>
  508. <section class="phpdocumentor-description"></section>
  509. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  510. Tags
  511. <a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
  512. </h5>
  513. <dl class="phpdocumentor-tag-list">
  514. <dt class="phpdocumentor-tag-list__entry">
  515. <span class="phpdocumentor-tag__name">see</span>
  516. </dt>
  517. <dd class="phpdocumentor-tag-list__definition">
  518. <span class="phpdocumentor-tag-link"><abbr title="\FPDF::__construct()">FPDF::__construct()</abbr></span>
  519. </dd>
  520. </dl>
  521. </article>
  522. <article
  523. class="
  524. phpdocumentor-element
  525. -property
  526. -protected
  527. "
  528. >
  529. <h4 class="phpdocumentor-element__name" id="property_imageBase64">
  530. $imageBase64
  531. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_imageBase64" class="headerlink"><i class="fas fa-link"></i></a>
  532. <span class="phpdocumentor-element__modifiers">
  533. </span>
  534. </h4>
  535. <aside class="phpdocumentor-element-found-in">
  536. <abbr class="phpdocumentor-element-found-in__file" title="src/QROptionsTrait.php"><a href="files/src-qroptionstrait.html"><abbr title="src/QROptionsTrait.php">QROptionsTrait.php</abbr></a></abbr>
  537. :
  538. <span class="phpdocumentor-element-found-in__line">169</span>
  539. </aside>
  540. <p class="phpdocumentor-summary">toggle base64 or raw image data</p>
  541. <code class="phpdocumentor-code phpdocumentor-signature ">
  542. <span class="phpdocumentor-signature__visibility">protected</span>
  543. <span class="phpdocumentor-signature__type">bool</span>
  544. <span class="phpdocumentor-signature__name">$imageBase64</span>
  545. = <span class="phpdocumentor-signature__default-value">true</span></code>
  546. <section class="phpdocumentor-description"></section>
  547. </article>
  548. <article
  549. class="
  550. phpdocumentor-element
  551. -property
  552. -protected
  553. "
  554. >
  555. <h4 class="phpdocumentor-element__name" id="property_imageTransparencyBG">
  556. $imageTransparencyBG
  557. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_imageTransparencyBG" class="headerlink"><i class="fas fa-link"></i></a>
  558. <span class="phpdocumentor-element__modifiers">
  559. </span>
  560. </h4>
  561. <aside class="phpdocumentor-element-found-in">
  562. <abbr class="phpdocumentor-element-found-in__file" title="src/QROptionsTrait.php"><a href="files/src-qroptionstrait.html"><abbr title="src/QROptionsTrait.php">QROptionsTrait.php</abbr></a></abbr>
  563. :
  564. <span class="phpdocumentor-element-found-in__line">181</span>
  565. </aside>
  566. <code class="phpdocumentor-code phpdocumentor-signature ">
  567. <span class="phpdocumentor-signature__visibility">protected</span>
  568. <span class="phpdocumentor-signature__type">array&lt;string|int, mixed&gt;</span>
  569. <span class="phpdocumentor-signature__name">$imageTransparencyBG</span>
  570. = <span class="phpdocumentor-signature__default-value">[255, 255, 255]</span></code>
  571. <section class="phpdocumentor-description"></section>
  572. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  573. Tags
  574. <a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
  575. </h5>
  576. <dl class="phpdocumentor-tag-list">
  577. <dt class="phpdocumentor-tag-list__entry">
  578. <span class="phpdocumentor-tag__name">see</span>
  579. </dt>
  580. <dd class="phpdocumentor-tag-list__definition">
  581. <span class="phpdocumentor-tag-link"><abbr title="\chillerlan\QRCode\imagecolortransparent()">imagecolortransparent()</abbr></span>
  582. <section class="phpdocumentor-description"><p>[R, G, B]</p>
  583. </section>
  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_imageTransparent">
  595. $imageTransparent
  596. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_imageTransparent" 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/QROptionsTrait.php"><a href="files/src-qroptionstrait.html"><abbr title="src/QROptionsTrait.php">QROptionsTrait.php</abbr></a></abbr>
  602. :
  603. <span class="phpdocumentor-element-found-in__line">174</span>
  604. </aside>
  605. <p class="phpdocumentor-summary">toggle transparency, not supported by jpg</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">$imageTransparent</span>
  610. = <span class="phpdocumentor-signature__default-value">true</span></code>
  611. <section class="phpdocumentor-description"></section>
  612. </article>
  613. <article
  614. class="
  615. phpdocumentor-element
  616. -property
  617. -protected
  618. "
  619. >
  620. <h4 class="phpdocumentor-element__name" id="property_imagickBG">
  621. $imagickBG
  622. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_imagickBG" class="headerlink"><i class="fas fa-link"></i></a>
  623. <span class="phpdocumentor-element__modifiers">
  624. </span>
  625. </h4>
  626. <aside class="phpdocumentor-element-found-in">
  627. <abbr class="phpdocumentor-element-found-in__file" title="src/QROptionsTrait.php"><a href="files/src-qroptionstrait.html"><abbr title="src/QROptionsTrait.php">QROptionsTrait.php</abbr></a></abbr>
  628. :
  629. <span class="phpdocumentor-element-found-in__line">205</span>
  630. </aside>
  631. <p class="phpdocumentor-summary">Imagick background color (defaults to &quot;transparent&quot;)</p>
  632. <code class="phpdocumentor-code phpdocumentor-signature ">
  633. <span class="phpdocumentor-signature__visibility">protected</span>
  634. <span class="phpdocumentor-signature__type">string|null</span>
  635. <span class="phpdocumentor-signature__name">$imagickBG</span>
  636. = <span class="phpdocumentor-signature__default-value">null</span></code>
  637. <section class="phpdocumentor-description"></section>
  638. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  639. Tags
  640. <a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
  641. </h5>
  642. <dl class="phpdocumentor-tag-list">
  643. <dt class="phpdocumentor-tag-list__entry">
  644. <span class="phpdocumentor-tag__name">see</span>
  645. </dt>
  646. <dd class="phpdocumentor-tag-list__definition">
  647. <span class="phpdocumentor-tag-link"><abbr title="\ImagickPixel::__construct()">ImagickPixel::__construct()</abbr></span>
  648. </dd>
  649. </dl>
  650. </article>
  651. <article
  652. class="
  653. phpdocumentor-element
  654. -property
  655. -protected
  656. "
  657. >
  658. <h4 class="phpdocumentor-element__name" id="property_imagickFormat">
  659. $imagickFormat
  660. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_imagickFormat" class="headerlink"><i class="fas fa-link"></i></a>
  661. <span class="phpdocumentor-element__modifiers">
  662. </span>
  663. </h4>
  664. <aside class="phpdocumentor-element-found-in">
  665. <abbr class="phpdocumentor-element-found-in__file" title="src/QROptionsTrait.php"><a href="files/src-qroptionstrait.html"><abbr title="src/QROptionsTrait.php">QROptionsTrait.php</abbr></a></abbr>
  666. :
  667. <span class="phpdocumentor-element-found-in__line">198</span>
  668. </aside>
  669. <p class="phpdocumentor-summary">Imagick output format</p>
  670. <code class="phpdocumentor-code phpdocumentor-signature ">
  671. <span class="phpdocumentor-signature__visibility">protected</span>
  672. <span class="phpdocumentor-signature__type">string</span>
  673. <span class="phpdocumentor-signature__name">$imagickFormat</span>
  674. = <span class="phpdocumentor-signature__default-value">&#039;png&#039;</span></code>
  675. <section class="phpdocumentor-description"></section>
  676. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  677. Tags
  678. <a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
  679. </h5>
  680. <dl class="phpdocumentor-tag-list">
  681. <dt class="phpdocumentor-tag-list__entry">
  682. <span class="phpdocumentor-tag__name">see</span>
  683. </dt>
  684. <dd class="phpdocumentor-tag-list__definition">
  685. <span class="phpdocumentor-tag-link"><abbr title="\Imagick::setType()">Imagick::setType()</abbr></span>
  686. </dd>
  687. </dl>
  688. </article>
  689. <article
  690. class="
  691. phpdocumentor-element
  692. -property
  693. -protected
  694. "
  695. >
  696. <h4 class="phpdocumentor-element__name" id="property_jpegQuality">
  697. $jpegQuality
  698. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_jpegQuality" class="headerlink"><i class="fas fa-link"></i></a>
  699. <span class="phpdocumentor-element__modifiers">
  700. </span>
  701. </h4>
  702. <aside class="phpdocumentor-element-found-in">
  703. <abbr class="phpdocumentor-element-found-in__file" title="src/QROptionsTrait.php"><a href="files/src-qroptionstrait.html"><abbr title="src/QROptionsTrait.php">QROptionsTrait.php</abbr></a></abbr>
  704. :
  705. <span class="phpdocumentor-element-found-in__line">191</span>
  706. </aside>
  707. <code class="phpdocumentor-code phpdocumentor-signature ">
  708. <span class="phpdocumentor-signature__visibility">protected</span>
  709. <span class="phpdocumentor-signature__type">int</span>
  710. <span class="phpdocumentor-signature__name">$jpegQuality</span>
  711. = <span class="phpdocumentor-signature__default-value">85</span></code>
  712. <section class="phpdocumentor-description"></section>
  713. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  714. Tags
  715. <a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
  716. </h5>
  717. <dl class="phpdocumentor-tag-list">
  718. <dt class="phpdocumentor-tag-list__entry">
  719. <span class="phpdocumentor-tag__name">see</span>
  720. </dt>
  721. <dd class="phpdocumentor-tag-list__definition">
  722. <span class="phpdocumentor-tag-link"><abbr title="\chillerlan\QRCode\imagejpeg()">imagejpeg()</abbr></span>
  723. </dd>
  724. </dl>
  725. </article>
  726. <article
  727. class="
  728. phpdocumentor-element
  729. -property
  730. -protected
  731. "
  732. >
  733. <h4 class="phpdocumentor-element__name" id="property_markupDark">
  734. $markupDark
  735. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_markupDark" class="headerlink"><i class="fas fa-link"></i></a>
  736. <span class="phpdocumentor-element__modifiers">
  737. </span>
  738. </h4>
  739. <aside class="phpdocumentor-element-found-in">
  740. <abbr class="phpdocumentor-element-found-in__file" title="src/QROptionsTrait.php"><a href="files/src-qroptionstrait.html"><abbr title="src/QROptionsTrait.php">QROptionsTrait.php</abbr></a></abbr>
  741. :
  742. <span class="phpdocumentor-element-found-in__line">143</span>
  743. </aside>
  744. <p class="phpdocumentor-summary">markup substitute for dark (CSS value)</p>
  745. <code class="phpdocumentor-code phpdocumentor-signature ">
  746. <span class="phpdocumentor-signature__visibility">protected</span>
  747. <span class="phpdocumentor-signature__type">string</span>
  748. <span class="phpdocumentor-signature__name">$markupDark</span>
  749. = <span class="phpdocumentor-signature__default-value">&#039;#000&#039;</span></code>
  750. <section class="phpdocumentor-description"></section>
  751. </article>
  752. <article
  753. class="
  754. phpdocumentor-element
  755. -property
  756. -protected
  757. "
  758. >
  759. <h4 class="phpdocumentor-element__name" id="property_markupLight">
  760. $markupLight
  761. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_markupLight" class="headerlink"><i class="fas fa-link"></i></a>
  762. <span class="phpdocumentor-element__modifiers">
  763. </span>
  764. </h4>
  765. <aside class="phpdocumentor-element-found-in">
  766. <abbr class="phpdocumentor-element-found-in__file" title="src/QROptionsTrait.php"><a href="files/src-qroptionstrait.html"><abbr title="src/QROptionsTrait.php">QROptionsTrait.php</abbr></a></abbr>
  767. :
  768. <span class="phpdocumentor-element-found-in__line">148</span>
  769. </aside>
  770. <p class="phpdocumentor-summary">markup substitute for light (CSS value)</p>
  771. <code class="phpdocumentor-code phpdocumentor-signature ">
  772. <span class="phpdocumentor-signature__visibility">protected</span>
  773. <span class="phpdocumentor-signature__type">string</span>
  774. <span class="phpdocumentor-signature__name">$markupLight</span>
  775. = <span class="phpdocumentor-signature__default-value">&#039;#fff&#039;</span></code>
  776. <section class="phpdocumentor-description"></section>
  777. </article>
  778. <article
  779. class="
  780. phpdocumentor-element
  781. -property
  782. -protected
  783. "
  784. >
  785. <h4 class="phpdocumentor-element__name" id="property_maskPattern">
  786. $maskPattern
  787. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_maskPattern" class="headerlink"><i class="fas fa-link"></i></a>
  788. <span class="phpdocumentor-element__modifiers">
  789. </span>
  790. </h4>
  791. <aside class="phpdocumentor-element-found-in">
  792. <abbr class="phpdocumentor-element-found-in__file" title="src/QROptionsTrait.php"><a href="files/src-qroptionstrait.html"><abbr title="src/QROptionsTrait.php">QROptionsTrait.php</abbr></a></abbr>
  793. :
  794. <span class="phpdocumentor-element-found-in__line">60</span>
  795. </aside>
  796. <p class="phpdocumentor-summary">Mask Pattern to use</p>
  797. <code class="phpdocumentor-code phpdocumentor-signature ">
  798. <span class="phpdocumentor-signature__visibility">protected</span>
  799. <span class="phpdocumentor-signature__type">int</span>
  800. <span class="phpdocumentor-signature__name">$maskPattern</span>
  801. = <span class="phpdocumentor-signature__default-value">chillerlanQRCodeQRCode::MASK_PATTERN_AUTO</span></code>
  802. <section class="phpdocumentor-description"><p>[0...7] or QRCode::MASK_PATTERN_AUTO</p>
  803. </section>
  804. <section class="phpdocumentor-description"></section>
  805. </article>
  806. <article
  807. class="
  808. phpdocumentor-element
  809. -property
  810. -protected
  811. "
  812. >
  813. <h4 class="phpdocumentor-element__name" id="property_moduleValues">
  814. $moduleValues
  815. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_moduleValues" class="headerlink"><i class="fas fa-link"></i></a>
  816. <span class="phpdocumentor-element__modifiers">
  817. </span>
  818. </h4>
  819. <aside class="phpdocumentor-element-found-in">
  820. <abbr class="phpdocumentor-element-found-in__file" title="src/QROptionsTrait.php"><a href="files/src-qroptionstrait.html"><abbr title="src/QROptionsTrait.php">QROptionsTrait.php</abbr></a></abbr>
  821. :
  822. <span class="phpdocumentor-element-found-in__line">220</span>
  823. </aside>
  824. <p class="phpdocumentor-summary">Module values map</p>
  825. <code class="phpdocumentor-code phpdocumentor-signature ">
  826. <span class="phpdocumentor-signature__visibility">protected</span>
  827. <span class="phpdocumentor-signature__type">array&lt;string|int, mixed&gt;|null</span>
  828. <span class="phpdocumentor-signature__name">$moduleValues</span>
  829. = <span class="phpdocumentor-signature__default-value">null</span></code>
  830. <section class="phpdocumentor-description"><ul>
  831. <li>HTML, IMAGICK: #ABCDEF, cssname, rgb(), rgba()...</li>
  832. <li>IMAGE: [63, 127, 255] // R, G, B</li>
  833. </ul>
  834. </section>
  835. <section class="phpdocumentor-description"></section>
  836. </article>
  837. <article
  838. class="
  839. phpdocumentor-element
  840. -property
  841. -protected
  842. "
  843. >
  844. <h4 class="phpdocumentor-element__name" id="property_outputInterface">
  845. $outputInterface
  846. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_outputInterface" class="headerlink"><i class="fas fa-link"></i></a>
  847. <span class="phpdocumentor-element__modifiers">
  848. </span>
  849. </h4>
  850. <aside class="phpdocumentor-element-found-in">
  851. <abbr class="phpdocumentor-element-found-in__file" title="src/QROptionsTrait.php"><a href="files/src-qroptionstrait.html"><abbr title="src/QROptionsTrait.php">QROptionsTrait.php</abbr></a></abbr>
  852. :
  853. <span class="phpdocumentor-element-found-in__line">87</span>
  854. </aside>
  855. <p class="phpdocumentor-summary">the FQCN of the custom QROutputInterface if $outputType is set to QRCode::OUTPUT_CUSTOM</p>
  856. <code class="phpdocumentor-code phpdocumentor-signature ">
  857. <span class="phpdocumentor-signature__visibility">protected</span>
  858. <span class="phpdocumentor-signature__type">string|null</span>
  859. <span class="phpdocumentor-signature__name">$outputInterface</span>
  860. = <span class="phpdocumentor-signature__default-value">null</span></code>
  861. <section class="phpdocumentor-description"></section>
  862. </article>
  863. <article
  864. class="
  865. phpdocumentor-element
  866. -property
  867. -protected
  868. "
  869. >
  870. <h4 class="phpdocumentor-element__name" id="property_outputType">
  871. $outputType
  872. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_outputType" class="headerlink"><i class="fas fa-link"></i></a>
  873. <span class="phpdocumentor-element__modifiers">
  874. </span>
  875. </h4>
  876. <aside class="phpdocumentor-element-found-in">
  877. <abbr class="phpdocumentor-element-found-in__file" title="src/QROptionsTrait.php"><a href="files/src-qroptionstrait.html"><abbr title="src/QROptionsTrait.php">QROptionsTrait.php</abbr></a></abbr>
  878. :
  879. <span class="phpdocumentor-element-found-in__line">82</span>
  880. </aside>
  881. <p class="phpdocumentor-summary">The output type</p>
  882. <code class="phpdocumentor-code phpdocumentor-signature ">
  883. <span class="phpdocumentor-signature__visibility">protected</span>
  884. <span class="phpdocumentor-signature__type">string</span>
  885. <span class="phpdocumentor-signature__name">$outputType</span>
  886. = <span class="phpdocumentor-signature__default-value">chillerlanQRCodeQRCode::OUTPUT_IMAGE_PNG</span></code>
  887. <section class="phpdocumentor-description"><ul>
  888. <li>QRCode::OUTPUT_MARKUP_XXXX where XXXX = HTML, SVG</li>
  889. <li>QRCode::OUTPUT_IMAGE_XXX where XXX = PNG, GIF, JPG</li>
  890. <li>QRCode::OUTPUT_STRING_XXXX where XXXX = TEXT, JSON</li>
  891. <li>QRCode::OUTPUT_CUSTOM</li>
  892. </ul>
  893. </section>
  894. <section class="phpdocumentor-description"></section>
  895. </article>
  896. <article
  897. class="
  898. phpdocumentor-element
  899. -property
  900. -protected
  901. "
  902. >
  903. <h4 class="phpdocumentor-element__name" id="property_pngCompression">
  904. $pngCompression
  905. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_pngCompression" class="headerlink"><i class="fas fa-link"></i></a>
  906. <span class="phpdocumentor-element__modifiers">
  907. </span>
  908. </h4>
  909. <aside class="phpdocumentor-element-found-in">
  910. <abbr class="phpdocumentor-element-found-in__file" title="src/QROptionsTrait.php"><a href="files/src-qroptionstrait.html"><abbr title="src/QROptionsTrait.php">QROptionsTrait.php</abbr></a></abbr>
  911. :
  912. <span class="phpdocumentor-element-found-in__line">186</span>
  913. </aside>
  914. <code class="phpdocumentor-code phpdocumentor-signature ">
  915. <span class="phpdocumentor-signature__visibility">protected</span>
  916. <span class="phpdocumentor-signature__type">int</span>
  917. <span class="phpdocumentor-signature__name">$pngCompression</span>
  918. = <span class="phpdocumentor-signature__default-value">-1</span></code>
  919. <section class="phpdocumentor-description"></section>
  920. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  921. Tags
  922. <a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
  923. </h5>
  924. <dl class="phpdocumentor-tag-list">
  925. <dt class="phpdocumentor-tag-list__entry">
  926. <span class="phpdocumentor-tag__name">see</span>
  927. </dt>
  928. <dd class="phpdocumentor-tag-list__definition">
  929. <span class="phpdocumentor-tag-link"><abbr title="\chillerlan\QRCode\imagepng()">imagepng()</abbr></span>
  930. </dd>
  931. </dl>
  932. </article>
  933. <article
  934. class="
  935. phpdocumentor-element
  936. -property
  937. -protected
  938. "
  939. >
  940. <h4 class="phpdocumentor-element__name" id="property_quietzoneSize">
  941. $quietzoneSize
  942. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_quietzoneSize" class="headerlink"><i class="fas fa-link"></i></a>
  943. <span class="phpdocumentor-element__modifiers">
  944. </span>
  945. </h4>
  946. <aside class="phpdocumentor-element-found-in">
  947. <abbr class="phpdocumentor-element-found-in__file" title="src/QROptionsTrait.php"><a href="files/src-qroptionstrait.html"><abbr title="src/QROptionsTrait.php">QROptionsTrait.php</abbr></a></abbr>
  948. :
  949. <span class="phpdocumentor-element-found-in__line">72</span>
  950. </aside>
  951. <p class="phpdocumentor-summary">Size of the quiet zone</p>
  952. <code class="phpdocumentor-code phpdocumentor-signature ">
  953. <span class="phpdocumentor-signature__visibility">protected</span>
  954. <span class="phpdocumentor-signature__type">int</span>
  955. <span class="phpdocumentor-signature__name">$quietzoneSize</span>
  956. = <span class="phpdocumentor-signature__default-value">4</span></code>
  957. <section class="phpdocumentor-description"><p>internally clamped to [0 ... $moduleCount / 2], defaults to 4 modules</p>
  958. </section>
  959. <section class="phpdocumentor-description"></section>
  960. </article>
  961. <article
  962. class="
  963. phpdocumentor-element
  964. -property
  965. -protected
  966. "
  967. >
  968. <h4 class="phpdocumentor-element__name" id="property_returnResource">
  969. $returnResource
  970. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_returnResource" class="headerlink"><i class="fas fa-link"></i></a>
  971. <span class="phpdocumentor-element__modifiers">
  972. </span>
  973. </h4>
  974. <aside class="phpdocumentor-element-found-in">
  975. <abbr class="phpdocumentor-element-found-in__file" title="src/QROptionsTrait.php"><a href="files/src-qroptionstrait.html"><abbr title="src/QROptionsTrait.php">QROptionsTrait.php</abbr></a></abbr>
  976. :
  977. <span class="phpdocumentor-element-found-in__line">164</span>
  978. </aside>
  979. <p class="phpdocumentor-summary">Return the image resource instead of a render if applicable.</p>
  980. <code class="phpdocumentor-code phpdocumentor-signature ">
  981. <span class="phpdocumentor-signature__visibility">protected</span>
  982. <span class="phpdocumentor-signature__type">bool</span>
  983. <span class="phpdocumentor-signature__name">$returnResource</span>
  984. = <span class="phpdocumentor-signature__default-value">false</span></code>
  985. <section class="phpdocumentor-description"><p>This option overrides other output options, such as $cachefile and $imageBase64.</p>
  986. <p>Supported by the following modules:</p>
  987. <ul>
  988. <li>QRImage: resource (PHP &lt; 8), GdImage</li>
  989. <li>QRImagick: Imagick</li>
  990. <li>QRFpdf: FPDF</li>
  991. </ul>
  992. </section>
  993. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  994. Tags
  995. <a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
  996. </h5>
  997. <dl class="phpdocumentor-tag-list">
  998. <dt class="phpdocumentor-tag-list__entry">
  999. <span class="phpdocumentor-tag__name">see</span>
  1000. </dt>
  1001. <dd class="phpdocumentor-tag-list__definition">
  1002. <span class="phpdocumentor-tag-link"><a href="classes/chillerlan-QRCode-Output-QROutputInterface.html#method_dump"><abbr title="\chillerlan\QRCode\Output\QROutputInterface::dump()">QROutputInterface::dump()</abbr></a></span>
  1003. </dd>
  1004. </dl>
  1005. </article>
  1006. <article
  1007. class="
  1008. phpdocumentor-element
  1009. -property
  1010. -protected
  1011. "
  1012. >
  1013. <h4 class="phpdocumentor-element__name" id="property_scale">
  1014. $scale
  1015. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_scale" class="headerlink"><i class="fas fa-link"></i></a>
  1016. <span class="phpdocumentor-element__modifiers">
  1017. </span>
  1018. </h4>
  1019. <aside class="phpdocumentor-element-found-in">
  1020. <abbr class="phpdocumentor-element-found-in__file" title="src/QROptionsTrait.php"><a href="files/src-qroptionstrait.html"><abbr title="src/QROptionsTrait.php">QROptionsTrait.php</abbr></a></abbr>
  1021. :
  1022. <span class="phpdocumentor-element-found-in__line">102</span>
  1023. </aside>
  1024. <p class="phpdocumentor-summary">size of a QR code pixel [SVG, IMAGE_*], HTML via CSS</p>
  1025. <code class="phpdocumentor-code phpdocumentor-signature ">
  1026. <span class="phpdocumentor-signature__visibility">protected</span>
  1027. <span class="phpdocumentor-signature__type">int</span>
  1028. <span class="phpdocumentor-signature__name">$scale</span>
  1029. = <span class="phpdocumentor-signature__default-value">5</span></code>
  1030. <section class="phpdocumentor-description"></section>
  1031. </article>
  1032. <article
  1033. class="
  1034. phpdocumentor-element
  1035. -property
  1036. -protected
  1037. "
  1038. >
  1039. <h4 class="phpdocumentor-element__name" id="property_svgDefs">
  1040. $svgDefs
  1041. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_svgDefs" class="headerlink"><i class="fas fa-link"></i></a>
  1042. <span class="phpdocumentor-element__modifiers">
  1043. </span>
  1044. </h4>
  1045. <aside class="phpdocumentor-element-found-in">
  1046. <abbr class="phpdocumentor-element-found-in__file" title="src/QROptionsTrait.php"><a href="files/src-qroptionstrait.html"><abbr title="src/QROptionsTrait.php">QROptionsTrait.php</abbr></a></abbr>
  1047. :
  1048. <span class="phpdocumentor-element-found-in__line">119</span>
  1049. </aside>
  1050. <p class="phpdocumentor-summary">anything between &lt;defs&gt;</p>
  1051. <code class="phpdocumentor-code phpdocumentor-signature ">
  1052. <span class="phpdocumentor-signature__visibility">protected</span>
  1053. <span class="phpdocumentor-signature__type">string</span>
  1054. <span class="phpdocumentor-signature__name">$svgDefs</span>
  1055. = <span class="phpdocumentor-signature__default-value">&#039;&lt;style&gt;rect{shape-rendering:crispEdges}&lt;/style&gt;&#039;</span></code>
  1056. <section class="phpdocumentor-description"></section>
  1057. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  1058. Tags
  1059. <a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
  1060. </h5>
  1061. <dl class="phpdocumentor-tag-list">
  1062. <dt class="phpdocumentor-tag-list__entry">
  1063. <span class="phpdocumentor-tag__name">see</span>
  1064. </dt>
  1065. <dd class="phpdocumentor-tag-list__definition">
  1066. <span class="phpdocumentor-tag-link"><a href="https://developer.mozilla.org/docs/Web/SVG/Element/defs"><abbr title="https://developer.mozilla.org/docs/Web/SVG/Element/defs">https://developer.mozilla.org/docs/Web/SVG/Element/defs</abbr></a></span>
  1067. </dd>
  1068. </dl>
  1069. </article>
  1070. <article
  1071. class="
  1072. phpdocumentor-element
  1073. -property
  1074. -protected
  1075. "
  1076. >
  1077. <h4 class="phpdocumentor-element__name" id="property_svgOpacity">
  1078. $svgOpacity
  1079. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_svgOpacity" class="headerlink"><i class="fas fa-link"></i></a>
  1080. <span class="phpdocumentor-element__modifiers">
  1081. </span>
  1082. </h4>
  1083. <aside class="phpdocumentor-element-found-in">
  1084. <abbr class="phpdocumentor-element-found-in__file" title="src/QROptionsTrait.php"><a href="files/src-qroptionstrait.html"><abbr title="src/QROptionsTrait.php">QROptionsTrait.php</abbr></a></abbr>
  1085. :
  1086. <span class="phpdocumentor-element-found-in__line">112</span>
  1087. </aside>
  1088. <p class="phpdocumentor-summary">SVG opacity</p>
  1089. <code class="phpdocumentor-code phpdocumentor-signature ">
  1090. <span class="phpdocumentor-signature__visibility">protected</span>
  1091. <span class="phpdocumentor-signature__type">float</span>
  1092. <span class="phpdocumentor-signature__name">$svgOpacity</span>
  1093. = <span class="phpdocumentor-signature__default-value">1.0</span></code>
  1094. <section class="phpdocumentor-description"></section>
  1095. </article>
  1096. <article
  1097. class="
  1098. phpdocumentor-element
  1099. -property
  1100. -protected
  1101. "
  1102. >
  1103. <h4 class="phpdocumentor-element__name" id="property_svgViewBoxSize">
  1104. $svgViewBoxSize
  1105. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_svgViewBoxSize" class="headerlink"><i class="fas fa-link"></i></a>
  1106. <span class="phpdocumentor-element__modifiers">
  1107. </span>
  1108. </h4>
  1109. <aside class="phpdocumentor-element-found-in">
  1110. <abbr class="phpdocumentor-element-found-in__file" title="src/QROptionsTrait.php"><a href="files/src-qroptionstrait.html"><abbr title="src/QROptionsTrait.php">QROptionsTrait.php</abbr></a></abbr>
  1111. :
  1112. <span class="phpdocumentor-element-found-in__line">128</span>
  1113. </aside>
  1114. <p class="phpdocumentor-summary">SVG viewBox size. a single integer number which defines width/height of the viewBox attribute.</p>
  1115. <code class="phpdocumentor-code phpdocumentor-signature ">
  1116. <span class="phpdocumentor-signature__visibility">protected</span>
  1117. <span class="phpdocumentor-signature__type">int|null</span>
  1118. <span class="phpdocumentor-signature__name">$svgViewBoxSize</span>
  1119. = <span class="phpdocumentor-signature__default-value">null</span></code>
  1120. <section class="phpdocumentor-description"><p>viewBox=&quot;0 0 x x&quot;</p>
  1121. </section>
  1122. <section class="phpdocumentor-description"></section>
  1123. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  1124. Tags
  1125. <a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
  1126. </h5>
  1127. <dl class="phpdocumentor-tag-list">
  1128. <dt class="phpdocumentor-tag-list__entry">
  1129. <span class="phpdocumentor-tag__name">see</span>
  1130. </dt>
  1131. <dd class="phpdocumentor-tag-list__definition">
  1132. <span class="phpdocumentor-tag-link"><a href="https://css-tricks.com/scale-svg/#article-header-id-3"><abbr title="https://css-tricks.com/scale-svg/#article-header-id-3">https://css-tricks.com/scale-svg/#article-header-id-3</abbr></a></span>
  1133. </dd>
  1134. </dl>
  1135. </article>
  1136. <article
  1137. class="
  1138. phpdocumentor-element
  1139. -property
  1140. -protected
  1141. "
  1142. >
  1143. <h4 class="phpdocumentor-element__name" id="property_textDark">
  1144. $textDark
  1145. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_textDark" class="headerlink"><i class="fas fa-link"></i></a>
  1146. <span class="phpdocumentor-element__modifiers">
  1147. </span>
  1148. </h4>
  1149. <aside class="phpdocumentor-element-found-in">
  1150. <abbr class="phpdocumentor-element-found-in__file" title="src/QROptionsTrait.php"><a href="files/src-qroptionstrait.html"><abbr title="src/QROptionsTrait.php">QROptionsTrait.php</abbr></a></abbr>
  1151. :
  1152. <span class="phpdocumentor-element-found-in__line">133</span>
  1153. </aside>
  1154. <p class="phpdocumentor-summary">string substitute for dark</p>
  1155. <code class="phpdocumentor-code phpdocumentor-signature ">
  1156. <span class="phpdocumentor-signature__visibility">protected</span>
  1157. <span class="phpdocumentor-signature__type">string</span>
  1158. <span class="phpdocumentor-signature__name">$textDark</span>
  1159. = <span class="phpdocumentor-signature__default-value">&#039;🔴&#039;</span></code>
  1160. <section class="phpdocumentor-description"></section>
  1161. </article>
  1162. <article
  1163. class="
  1164. phpdocumentor-element
  1165. -property
  1166. -protected
  1167. "
  1168. >
  1169. <h4 class="phpdocumentor-element__name" id="property_textLight">
  1170. $textLight
  1171. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_textLight" class="headerlink"><i class="fas fa-link"></i></a>
  1172. <span class="phpdocumentor-element__modifiers">
  1173. </span>
  1174. </h4>
  1175. <aside class="phpdocumentor-element-found-in">
  1176. <abbr class="phpdocumentor-element-found-in__file" title="src/QROptionsTrait.php"><a href="files/src-qroptionstrait.html"><abbr title="src/QROptionsTrait.php">QROptionsTrait.php</abbr></a></abbr>
  1177. :
  1178. <span class="phpdocumentor-element-found-in__line">138</span>
  1179. </aside>
  1180. <p class="phpdocumentor-summary">string substitute for light</p>
  1181. <code class="phpdocumentor-code phpdocumentor-signature ">
  1182. <span class="phpdocumentor-signature__visibility">protected</span>
  1183. <span class="phpdocumentor-signature__type">string</span>
  1184. <span class="phpdocumentor-signature__name">$textLight</span>
  1185. = <span class="phpdocumentor-signature__default-value">&#039;⭕&#039;</span></code>
  1186. <section class="phpdocumentor-description"></section>
  1187. </article>
  1188. <article
  1189. class="
  1190. phpdocumentor-element
  1191. -property
  1192. -protected
  1193. "
  1194. >
  1195. <h4 class="phpdocumentor-element__name" id="property_useImagickIfAvailable">
  1196. $useImagickIfAvailable
  1197. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_useImagickIfAvailable" class="headerlink"><i class="fas fa-link"></i></a>
  1198. <span class="phpdocumentor-element__modifiers">
  1199. </span>
  1200. </h4>
  1201. <aside class="phpdocumentor-element-found-in">
  1202. <abbr class="phpdocumentor-element-found-in__file" title="src/QROptionsTrait.php"><a href="files/src-qroptionstrait.html"><abbr title="src/QROptionsTrait.php">QROptionsTrait.php</abbr></a></abbr>
  1203. :
  1204. <span class="phpdocumentor-element-found-in__line">225</span>
  1205. </aside>
  1206. <p class="phpdocumentor-summary">use Imaagick (if available) when reading QR Codes</p>
  1207. <code class="phpdocumentor-code phpdocumentor-signature ">
  1208. <span class="phpdocumentor-signature__visibility">protected</span>
  1209. <span class="phpdocumentor-signature__type">bool</span>
  1210. <span class="phpdocumentor-signature__name">$useImagickIfAvailable</span>
  1211. = <span class="phpdocumentor-signature__default-value">false</span></code>
  1212. <section class="phpdocumentor-description"></section>
  1213. </article>
  1214. <article
  1215. class="
  1216. phpdocumentor-element
  1217. -property
  1218. -protected
  1219. "
  1220. >
  1221. <h4 class="phpdocumentor-element__name" id="property_version">
  1222. $version
  1223. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_version" class="headerlink"><i class="fas fa-link"></i></a>
  1224. <span class="phpdocumentor-element__modifiers">
  1225. </span>
  1226. </h4>
  1227. <aside class="phpdocumentor-element-found-in">
  1228. <abbr class="phpdocumentor-element-found-in__file" title="src/QROptionsTrait.php"><a href="files/src-qroptionstrait.html"><abbr title="src/QROptionsTrait.php">QROptionsTrait.php</abbr></a></abbr>
  1229. :
  1230. <span class="phpdocumentor-element-found-in__line">29</span>
  1231. </aside>
  1232. <p class="phpdocumentor-summary">QR Code version number</p>
  1233. <code class="phpdocumentor-code phpdocumentor-signature ">
  1234. <span class="phpdocumentor-signature__visibility">protected</span>
  1235. <span class="phpdocumentor-signature__type">int</span>
  1236. <span class="phpdocumentor-signature__name">$version</span>
  1237. = <span class="phpdocumentor-signature__default-value">chillerlanQRCodeQRCode::VERSION_AUTO</span></code>
  1238. <section class="phpdocumentor-description"><p>[1 ... 40] or QRCode::VERSION_AUTO</p>
  1239. </section>
  1240. <section class="phpdocumentor-description"></section>
  1241. </article>
  1242. <article
  1243. class="
  1244. phpdocumentor-element
  1245. -property
  1246. -protected
  1247. "
  1248. >
  1249. <h4 class="phpdocumentor-element__name" id="property_versionMax">
  1250. $versionMax
  1251. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_versionMax" class="headerlink"><i class="fas fa-link"></i></a>
  1252. <span class="phpdocumentor-element__modifiers">
  1253. </span>
  1254. </h4>
  1255. <aside class="phpdocumentor-element-found-in">
  1256. <abbr class="phpdocumentor-element-found-in__file" title="src/QROptionsTrait.php"><a href="files/src-qroptionstrait.html"><abbr title="src/QROptionsTrait.php">QROptionsTrait.php</abbr></a></abbr>
  1257. :
  1258. <span class="phpdocumentor-element-found-in__line">41</span>
  1259. </aside>
  1260. <p class="phpdocumentor-summary">Maximum QR version</p>
  1261. <code class="phpdocumentor-code phpdocumentor-signature ">
  1262. <span class="phpdocumentor-signature__visibility">protected</span>
  1263. <span class="phpdocumentor-signature__type">int</span>
  1264. <span class="phpdocumentor-signature__name">$versionMax</span>
  1265. = <span class="phpdocumentor-signature__default-value">40</span></code>
  1266. <section class="phpdocumentor-description"></section>
  1267. </article>
  1268. <article
  1269. class="
  1270. phpdocumentor-element
  1271. -property
  1272. -protected
  1273. "
  1274. >
  1275. <h4 class="phpdocumentor-element__name" id="property_versionMin">
  1276. $versionMin
  1277. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_versionMin" class="headerlink"><i class="fas fa-link"></i></a>
  1278. <span class="phpdocumentor-element__modifiers">
  1279. </span>
  1280. </h4>
  1281. <aside class="phpdocumentor-element-found-in">
  1282. <abbr class="phpdocumentor-element-found-in__file" title="src/QROptionsTrait.php"><a href="files/src-qroptionstrait.html"><abbr title="src/QROptionsTrait.php">QROptionsTrait.php</abbr></a></abbr>
  1283. :
  1284. <span class="phpdocumentor-element-found-in__line">36</span>
  1285. </aside>
  1286. <p class="phpdocumentor-summary">Minimum QR version</p>
  1287. <code class="phpdocumentor-code phpdocumentor-signature ">
  1288. <span class="phpdocumentor-signature__visibility">protected</span>
  1289. <span class="phpdocumentor-signature__type">int</span>
  1290. <span class="phpdocumentor-signature__name">$versionMin</span>
  1291. = <span class="phpdocumentor-signature__default-value">1</span></code>
  1292. <section class="phpdocumentor-description"><p>if $version = QRCode::VERSION_AUTO</p>
  1293. </section>
  1294. <section class="phpdocumentor-description"></section>
  1295. </article>
  1296. </section>
  1297. <section class="phpdocumentor-methods">
  1298. <h3 class="phpdocumentor-elements__header" id="methods">
  1299. Methods
  1300. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#methods" class="headerlink"><i class="fas fa-link"></i></a>
  1301. </h3>
  1302. <article
  1303. class="phpdocumentor-element
  1304. -method
  1305. -protected
  1306. "
  1307. >
  1308. <h4 class="phpdocumentor-element__name" id="method_set_eccLevel">
  1309. set_eccLevel()
  1310. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#method_set_eccLevel" class="headerlink"><i class="fas fa-link"></i></a>
  1311. </h4>
  1312. <aside class="phpdocumentor-element-found-in">
  1313. <abbr class="phpdocumentor-element-found-in__file" title="src/QROptionsTrait.php"><a href="files/src-qroptionstrait.html"><abbr title="src/QROptionsTrait.php">QROptionsTrait.php</abbr></a></abbr>
  1314. :
  1315. <span class="phpdocumentor-element-found-in__line">257</span>
  1316. </aside>
  1317. <p class="phpdocumentor-summary">sets the error correction level</p>
  1318. <code class="phpdocumentor-code phpdocumentor-signature ">
  1319. <span class="phpdocumentor-signature__visibility">protected</span>
  1320. <span class="phpdocumentor-signature__name">set_eccLevel</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$eccLevel</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  1321. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  1322. <dl class="phpdocumentor-argument-list">
  1323. <dt class="phpdocumentor-argument-list__entry">
  1324. <span class="phpdocumentor-signature__argument__name">$eccLevel</span>
  1325. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  1326. </dt>
  1327. <dd class="phpdocumentor-argument-list__definition">
  1328. <section class="phpdocumentor-description"></section>
  1329. </dd>
  1330. </dl>
  1331. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  1332. Tags
  1333. <a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
  1334. </h5>
  1335. <dl class="phpdocumentor-tag-list">
  1336. <dt class="phpdocumentor-tag-list__entry">
  1337. <span class="phpdocumentor-tag__name">throws</span>
  1338. </dt>
  1339. <dd class="phpdocumentor-tag-list__definition">
  1340. <span class="phpdocumentor-tag-link"><a href="classes/chillerlan-QRCode-QRCodeException.html"><abbr title="\chillerlan\QRCode\QRCodeException">QRCodeException</abbr></a></span>
  1341. </dd>
  1342. </dl>
  1343. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  1344. <span class="phpdocumentor-signature__response_type">void</span>
  1345. &mdash;
  1346. </article>
  1347. <article
  1348. class="phpdocumentor-element
  1349. -method
  1350. -protected
  1351. "
  1352. >
  1353. <h4 class="phpdocumentor-element__name" id="method_set_fpdfMeasureUnit">
  1354. set_fpdfMeasureUnit()
  1355. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#method_set_fpdfMeasureUnit" class="headerlink"><i class="fas fa-link"></i></a>
  1356. </h4>
  1357. <aside class="phpdocumentor-element-found-in">
  1358. <abbr class="phpdocumentor-element-found-in__file" title="src/QROptionsTrait.php"><a href="files/src-qroptionstrait.html"><abbr title="src/QROptionsTrait.php">QROptionsTrait.php</abbr></a></abbr>
  1359. :
  1360. <span class="phpdocumentor-element-found-in__line">326</span>
  1361. </aside>
  1362. <p class="phpdocumentor-summary">sets the FPDF measurement unit</p>
  1363. <code class="phpdocumentor-code phpdocumentor-signature ">
  1364. <span class="phpdocumentor-signature__visibility">protected</span>
  1365. <span class="phpdocumentor-signature__name">set_fpdfMeasureUnit</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$unit</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  1366. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  1367. <dl class="phpdocumentor-argument-list">
  1368. <dt class="phpdocumentor-argument-list__entry">
  1369. <span class="phpdocumentor-signature__argument__name">$unit</span>
  1370. : <span class="phpdocumentor-signature__argument__return-type">string</span>
  1371. </dt>
  1372. <dd class="phpdocumentor-argument-list__definition">
  1373. <section class="phpdocumentor-description"></section>
  1374. </dd>
  1375. </dl>
  1376. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  1377. Tags
  1378. <a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
  1379. </h5>
  1380. <dl class="phpdocumentor-tag-list">
  1381. <dt class="phpdocumentor-tag-list__entry">
  1382. <span class="phpdocumentor-tag__name">codeCoverageIgnore</span>
  1383. </dt>
  1384. <dd class="phpdocumentor-tag-list__definition">
  1385. </dd>
  1386. </dl>
  1387. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  1388. <span class="phpdocumentor-signature__response_type">void</span>
  1389. &mdash;
  1390. </article>
  1391. <article
  1392. class="phpdocumentor-element
  1393. -method
  1394. -protected
  1395. "
  1396. >
  1397. <h4 class="phpdocumentor-element__name" id="method_set_imageTransparencyBG">
  1398. set_imageTransparencyBG()
  1399. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#method_set_imageTransparencyBG" class="headerlink"><i class="fas fa-link"></i></a>
  1400. </h4>
  1401. <aside class="phpdocumentor-element-found-in">
  1402. <abbr class="phpdocumentor-element-found-in__file" title="src/QROptionsTrait.php"><a href="files/src-qroptionstrait.html"><abbr title="src/QROptionsTrait.php">QROptionsTrait.php</abbr></a></abbr>
  1403. :
  1404. <span class="phpdocumentor-element-found-in__line">282</span>
  1405. </aside>
  1406. <p class="phpdocumentor-summary">sets the transparency background color</p>
  1407. <code class="phpdocumentor-code phpdocumentor-signature ">
  1408. <span class="phpdocumentor-signature__visibility">protected</span>
  1409. <span class="phpdocumentor-signature__name">set_imageTransparencyBG</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;&nbsp;</span><span class="phpdocumentor-signature__argument__name">$imageTransparencyBG</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  1410. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  1411. <dl class="phpdocumentor-argument-list">
  1412. <dt class="phpdocumentor-argument-list__entry">
  1413. <span class="phpdocumentor-signature__argument__name">$imageTransparencyBG</span>
  1414. : <span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;</span>
  1415. </dt>
  1416. <dd class="phpdocumentor-argument-list__definition">
  1417. <section class="phpdocumentor-description"></section>
  1418. </dd>
  1419. </dl>
  1420. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  1421. Tags
  1422. <a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
  1423. </h5>
  1424. <dl class="phpdocumentor-tag-list">
  1425. <dt class="phpdocumentor-tag-list__entry">
  1426. <span class="phpdocumentor-tag__name">throws</span>
  1427. </dt>
  1428. <dd class="phpdocumentor-tag-list__definition">
  1429. <span class="phpdocumentor-tag-link"><a href="classes/chillerlan-QRCode-QRCodeException.html"><abbr title="\chillerlan\QRCode\QRCodeException">QRCodeException</abbr></a></span>
  1430. </dd>
  1431. </dl>
  1432. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  1433. <span class="phpdocumentor-signature__response_type">void</span>
  1434. &mdash;
  1435. </article>
  1436. <article
  1437. class="phpdocumentor-element
  1438. -method
  1439. -protected
  1440. "
  1441. >
  1442. <h4 class="phpdocumentor-element__name" id="method_set_maskPattern">
  1443. set_maskPattern()
  1444. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#method_set_maskPattern" class="headerlink"><i class="fas fa-link"></i></a>
  1445. </h4>
  1446. <aside class="phpdocumentor-element-found-in">
  1447. <abbr class="phpdocumentor-element-found-in__file" title="src/QROptionsTrait.php"><a href="files/src-qroptionstrait.html"><abbr title="src/QROptionsTrait.php">QROptionsTrait.php</abbr></a></abbr>
  1448. :
  1449. <span class="phpdocumentor-element-found-in__line">269</span>
  1450. </aside>
  1451. <p class="phpdocumentor-summary">sets/clamps the mask pattern</p>
  1452. <code class="phpdocumentor-code phpdocumentor-signature ">
  1453. <span class="phpdocumentor-signature__visibility">protected</span>
  1454. <span class="phpdocumentor-signature__name">set_maskPattern</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$maskPattern</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  1455. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  1456. <dl class="phpdocumentor-argument-list">
  1457. <dt class="phpdocumentor-argument-list__entry">
  1458. <span class="phpdocumentor-signature__argument__name">$maskPattern</span>
  1459. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  1460. </dt>
  1461. <dd class="phpdocumentor-argument-list__definition">
  1462. <section class="phpdocumentor-description"></section>
  1463. </dd>
  1464. </dl>
  1465. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  1466. <span class="phpdocumentor-signature__response_type">void</span>
  1467. &mdash;
  1468. </article>
  1469. <article
  1470. class="phpdocumentor-element
  1471. -method
  1472. -protected
  1473. "
  1474. >
  1475. <h4 class="phpdocumentor-element__name" id="method_set_useImagickIfAvailable">
  1476. set_useImagickIfAvailable()
  1477. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#method_set_useImagickIfAvailable" class="headerlink"><i class="fas fa-link"></i></a>
  1478. </h4>
  1479. <aside class="phpdocumentor-element-found-in">
  1480. <abbr class="phpdocumentor-element-found-in__file" title="src/QROptionsTrait.php"><a href="files/src-qroptionstrait.html"><abbr title="src/QROptionsTrait.php">QROptionsTrait.php</abbr></a></abbr>
  1481. :
  1482. <span class="phpdocumentor-element-found-in__line">341</span>
  1483. </aside>
  1484. <p class="phpdocumentor-summary">enables Imagick for the QR Code reader if the extension is available</p>
  1485. <code class="phpdocumentor-code phpdocumentor-signature ">
  1486. <span class="phpdocumentor-signature__visibility">protected</span>
  1487. <span class="phpdocumentor-signature__name">set_useImagickIfAvailable</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">bool&nbsp;</span><span class="phpdocumentor-signature__argument__name">$useImagickIfAvailable</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  1488. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  1489. <dl class="phpdocumentor-argument-list">
  1490. <dt class="phpdocumentor-argument-list__entry">
  1491. <span class="phpdocumentor-signature__argument__name">$useImagickIfAvailable</span>
  1492. : <span class="phpdocumentor-signature__argument__return-type">bool</span>
  1493. </dt>
  1494. <dd class="phpdocumentor-argument-list__definition">
  1495. <section class="phpdocumentor-description"></section>
  1496. </dd>
  1497. </dl>
  1498. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  1499. Tags
  1500. <a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
  1501. </h5>
  1502. <dl class="phpdocumentor-tag-list">
  1503. <dt class="phpdocumentor-tag-list__entry">
  1504. <span class="phpdocumentor-tag__name">codeCoverageIgnore</span>
  1505. </dt>
  1506. <dd class="phpdocumentor-tag-list__definition">
  1507. </dd>
  1508. </dl>
  1509. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  1510. <span class="phpdocumentor-signature__response_type">void</span>
  1511. &mdash;
  1512. </article>
  1513. <article
  1514. class="phpdocumentor-element
  1515. -method
  1516. -protected
  1517. "
  1518. >
  1519. <h4 class="phpdocumentor-element__name" id="method_set_version">
  1520. set_version()
  1521. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#method_set_version" class="headerlink"><i class="fas fa-link"></i></a>
  1522. </h4>
  1523. <aside class="phpdocumentor-element-found-in">
  1524. <abbr class="phpdocumentor-element-found-in__file" title="src/QROptionsTrait.php"><a href="files/src-qroptionstrait.html"><abbr title="src/QROptionsTrait.php">QROptionsTrait.php</abbr></a></abbr>
  1525. :
  1526. <span class="phpdocumentor-element-found-in__line">313</span>
  1527. </aside>
  1528. <p class="phpdocumentor-summary">sets/clamps the version number</p>
  1529. <code class="phpdocumentor-code phpdocumentor-signature ">
  1530. <span class="phpdocumentor-signature__visibility">protected</span>
  1531. <span class="phpdocumentor-signature__name">set_version</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$version</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  1532. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  1533. <dl class="phpdocumentor-argument-list">
  1534. <dt class="phpdocumentor-argument-list__entry">
  1535. <span class="phpdocumentor-signature__argument__name">$version</span>
  1536. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  1537. </dt>
  1538. <dd class="phpdocumentor-argument-list__definition">
  1539. <section class="phpdocumentor-description"></section>
  1540. </dd>
  1541. </dl>
  1542. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  1543. <span class="phpdocumentor-signature__response_type">void</span>
  1544. &mdash;
  1545. </article>
  1546. <article
  1547. class="phpdocumentor-element
  1548. -method
  1549. -protected
  1550. "
  1551. >
  1552. <h4 class="phpdocumentor-element__name" id="method_set_versionMax">
  1553. set_versionMax()
  1554. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#method_set_versionMax" class="headerlink"><i class="fas fa-link"></i></a>
  1555. </h4>
  1556. <aside class="phpdocumentor-element-found-in">
  1557. <abbr class="phpdocumentor-element-found-in__file" title="src/QROptionsTrait.php"><a href="files/src-qroptionstrait.html"><abbr title="src/QROptionsTrait.php">QROptionsTrait.php</abbr></a></abbr>
  1558. :
  1559. <span class="phpdocumentor-element-found-in__line">248</span>
  1560. </aside>
  1561. <p class="phpdocumentor-summary">sets the maximum version number</p>
  1562. <code class="phpdocumentor-code phpdocumentor-signature ">
  1563. <span class="phpdocumentor-signature__visibility">protected</span>
  1564. <span class="phpdocumentor-signature__name">set_versionMax</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$version</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  1565. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  1566. <dl class="phpdocumentor-argument-list">
  1567. <dt class="phpdocumentor-argument-list__entry">
  1568. <span class="phpdocumentor-signature__argument__name">$version</span>
  1569. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  1570. </dt>
  1571. <dd class="phpdocumentor-argument-list__definition">
  1572. <section class="phpdocumentor-description"></section>
  1573. </dd>
  1574. </dl>
  1575. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  1576. <span class="phpdocumentor-signature__response_type">void</span>
  1577. &mdash;
  1578. </article>
  1579. <article
  1580. class="phpdocumentor-element
  1581. -method
  1582. -protected
  1583. "
  1584. >
  1585. <h4 class="phpdocumentor-element__name" id="method_set_versionMin">
  1586. set_versionMin()
  1587. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#method_set_versionMin" class="headerlink"><i class="fas fa-link"></i></a>
  1588. </h4>
  1589. <aside class="phpdocumentor-element-found-in">
  1590. <abbr class="phpdocumentor-element-found-in__file" title="src/QROptionsTrait.php"><a href="files/src-qroptionstrait.html"><abbr title="src/QROptionsTrait.php">QROptionsTrait.php</abbr></a></abbr>
  1591. :
  1592. <span class="phpdocumentor-element-found-in__line">241</span>
  1593. </aside>
  1594. <p class="phpdocumentor-summary">sets the minimum version number</p>
  1595. <code class="phpdocumentor-code phpdocumentor-signature ">
  1596. <span class="phpdocumentor-signature__visibility">protected</span>
  1597. <span class="phpdocumentor-signature__name">set_versionMin</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$version</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  1598. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  1599. <dl class="phpdocumentor-argument-list">
  1600. <dt class="phpdocumentor-argument-list__entry">
  1601. <span class="phpdocumentor-signature__argument__name">$version</span>
  1602. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  1603. </dt>
  1604. <dd class="phpdocumentor-argument-list__definition">
  1605. <section class="phpdocumentor-description"></section>
  1606. </dd>
  1607. </dl>
  1608. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  1609. <span class="phpdocumentor-signature__response_type">void</span>
  1610. &mdash;
  1611. </article>
  1612. <article
  1613. class="phpdocumentor-element
  1614. -method
  1615. -protected
  1616. "
  1617. >
  1618. <h4 class="phpdocumentor-element__name" id="method_setMinMaxVersion">
  1619. setMinMaxVersion()
  1620. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#method_setMinMaxVersion" class="headerlink"><i class="fas fa-link"></i></a>
  1621. </h4>
  1622. <aside class="phpdocumentor-element-found-in">
  1623. <abbr class="phpdocumentor-element-found-in__file" title="src/QROptionsTrait.php"><a href="files/src-qroptionstrait.html"><abbr title="src/QROptionsTrait.php">QROptionsTrait.php</abbr></a></abbr>
  1624. :
  1625. <span class="phpdocumentor-element-found-in__line">230</span>
  1626. </aside>
  1627. <p class="phpdocumentor-summary">clamp min/max version number</p>
  1628. <code class="phpdocumentor-code phpdocumentor-signature ">
  1629. <span class="phpdocumentor-signature__visibility">protected</span>
  1630. <span class="phpdocumentor-signature__name">setMinMaxVersion</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$versionMin</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">$versionMax</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  1631. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  1632. <dl class="phpdocumentor-argument-list">
  1633. <dt class="phpdocumentor-argument-list__entry">
  1634. <span class="phpdocumentor-signature__argument__name">$versionMin</span>
  1635. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  1636. </dt>
  1637. <dd class="phpdocumentor-argument-list__definition">
  1638. <section class="phpdocumentor-description"></section>
  1639. </dd>
  1640. <dt class="phpdocumentor-argument-list__entry">
  1641. <span class="phpdocumentor-signature__argument__name">$versionMax</span>
  1642. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  1643. </dt>
  1644. <dd class="phpdocumentor-argument-list__definition">
  1645. <section class="phpdocumentor-description"></section>
  1646. </dd>
  1647. </dl>
  1648. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  1649. <span class="phpdocumentor-signature__response_type">void</span>
  1650. &mdash;
  1651. </article>
  1652. </section>
  1653. <script type="text/javascript">
  1654. function loadExternalCodeSnippets(line) {
  1655. Array.prototype.slice.call(document.querySelectorAll('pre[data-src]')).forEach((pre) => {
  1656. var src = pre.getAttribute('data-src').replace( /\\/g, '/');
  1657. var extension = (src.match(/\.(\w+)$/) || [, ''])[1];
  1658. var language = 'php';
  1659. var code = document.createElement('code');
  1660. code.className = 'language-' + language;
  1661. pre.textContent = '';
  1662. pre.setAttribute('data-line', line)
  1663. code.textContent = 'Loading…';
  1664. pre.appendChild(code);
  1665. var xhr = new XMLHttpRequest();
  1666. xhr.open('GET', src, true);
  1667. xhr.onreadystatechange = function () {
  1668. if (xhr.readyState == 4) {
  1669. if (xhr.status < 400 && xhr.responseText) {
  1670. code.textContent = xhr.responseText;
  1671. Prism.highlightElement(code);
  1672. }
  1673. else if (xhr.status >= 400) {
  1674. code.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText;
  1675. }
  1676. else {
  1677. code.textContent = '✖ Error: File does not exist, is empty or trying to view from localhost';
  1678. }
  1679. }
  1680. };
  1681. xhr.send(null);
  1682. });
  1683. }
  1684. var modals = document.querySelectorAll("[data-modal]");
  1685. modals.forEach(function (trigger) {
  1686. trigger.addEventListener("click", function (event) {
  1687. //event.preventDefault();
  1688. const modal = document.getElementById(trigger.dataset.modal);
  1689. modal.classList.add("phpdocumentor-modal__open");
  1690. loadExternalCodeSnippets(trigger.dataset.line)
  1691. const exits = modal.querySelectorAll("[data-exit-button]");
  1692. exits.forEach(function (exit) {
  1693. exit.addEventListener("click", function (event) {
  1694. event.preventDefault();
  1695. modal.classList.remove("phpdocumentor-modal__open");
  1696. });
  1697. });
  1698. });
  1699. });
  1700. </script>
  1701. </article>
  1702. <section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
  1703. <section class="phpdocumentor-search-results__dialog">
  1704. <header class="phpdocumentor-search-results__header">
  1705. <h2 class="phpdocumentor-search-results__title">Search results</h2>
  1706. <button class="phpdocumentor-search-results__close"><i class="fas fa-times"></i></button>
  1707. </header>
  1708. <section class="phpdocumentor-search-results__body">
  1709. <ul class="phpdocumentor-search-results__entries"></ul>
  1710. </section>
  1711. </section>
  1712. </section>
  1713. </div>
  1714. </div>
  1715. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a>
  1716. </main>
  1717. <script>
  1718. cssVars({});
  1719. </script>
  1720. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/prism.min.js"></script>
  1721. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/autoloader/prism-autoloader.min.js"></script>
  1722. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.min.js"></script>
  1723. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.min.js"></script>
  1724. </body>
  1725. </html>