chillerlan-QRCode-QRCode.html 130 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626
  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">
  56. <a href="namespaces/chillerlan.html" class="">chillerlan</a>
  57. </h4>
  58. <ul class="phpdocumentor-list">
  59. <li>
  60. <a href="namespaces/chillerlan-qrcode.html" class="">QRCode</a>
  61. </li>
  62. <li>
  63. <a href="namespaces/chillerlan-qrcodetest.html" class="">QRCodeTest</a>
  64. </li>
  65. </ul>
  66. </section>
  67. <section class="phpdocumentor-sidebar__category">
  68. <h2 class="phpdocumentor-sidebar__category-header">Packages</h2>
  69. <h4 class="phpdocumentor-sidebar__root-namespace">
  70. <a href="packages/Application.html" class="">Application</a>
  71. </h4>
  72. </section>
  73. <section class="phpdocumentor-sidebar__category">
  74. <h2 class="phpdocumentor-sidebar__category-header">Reports</h2>
  75. <h3 class="phpdocumentor-sidebar__root-package"><a href="reports/deprecated.html">Deprecated</a></h3>
  76. <h3 class="phpdocumentor-sidebar__root-package"><a href="reports/errors.html">Errors</a></h3>
  77. <h3 class="phpdocumentor-sidebar__root-package"><a href="reports/markers.html">Markers</a></h3>
  78. </section>
  79. <section class="phpdocumentor-sidebar__category">
  80. <h2 class="phpdocumentor-sidebar__category-header">Indices</h2>
  81. <h3 class="phpdocumentor-sidebar__root-package"><a href="indices/files.html">Files</a></h3>
  82. </section>
  83. </aside>
  84. <div class="phpdocumentor-column -eight phpdocumentor-content">
  85. <ul class="phpdocumentor-breadcrumbs">
  86. <li class="phpdocumentor-breadcrumb"><a href="namespaces/chillerlan.html">chillerlan</a></li>
  87. <li class="phpdocumentor-breadcrumb"><a href="namespaces/chillerlan-qrcode.html">QRCode</a></li>
  88. </ul>
  89. <article class="phpdocumentor-element -class">
  90. <h2 class="phpdocumentor-content__title">
  91. QRCode
  92. <div class="phpdocumentor-element__package">
  93. in package
  94. <ul class="phpdocumentor-breadcrumbs">
  95. <li class="phpdocumentor-breadcrumb"><a href="packages/Application.html">Application</a></li>
  96. </ul>
  97. </div>
  98. </h2>
  99. <aside class="phpdocumentor-element-found-in">
  100. <abbr class="phpdocumentor-element-found-in__file" title="src/QRCode.php"><a href="files/src-qrcode.html"><abbr title="src/QRCode.php">QRCode.php</abbr></a></abbr>
  101. :
  102. <span class="phpdocumentor-element-found-in__line">29</span>
  103. </aside>
  104. <p class="phpdocumentor-summary">Turns a text string into a Model 2 QR Code</p>
  105. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  106. Tags
  107. <a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
  108. </h5>
  109. <dl class="phpdocumentor-tag-list">
  110. <dt class="phpdocumentor-tag-list__entry">
  111. <span class="phpdocumentor-tag__name">see</span>
  112. </dt>
  113. <dd class="phpdocumentor-tag-list__definition">
  114. <span class="phpdocumentor-tag-link"><a href="https://github.com/kazuhikoarase/qrcode-generator/tree/master/php"><abbr title="https://github.com/kazuhikoarase/qrcode-generator/tree/master/php">https://github.com/kazuhikoarase/qrcode-generator/tree/master/php</abbr></a></span>
  115. </dd>
  116. <dt class="phpdocumentor-tag-list__entry">
  117. <span class="phpdocumentor-tag__name">see</span>
  118. </dt>
  119. <dd class="phpdocumentor-tag-list__definition">
  120. <span class="phpdocumentor-tag-link"><a href="http://www.qrcode.com/en/codes/model12.html"><abbr title="http://www.qrcode.com/en/codes/model12.html">http://www.qrcode.com/en/codes/model12.html</abbr></a></span>
  121. </dd>
  122. <dt class="phpdocumentor-tag-list__entry">
  123. <span class="phpdocumentor-tag__name">see</span>
  124. </dt>
  125. <dd class="phpdocumentor-tag-list__definition">
  126. <span class="phpdocumentor-tag-link"><a href="https://www.swisseduc.ch/informatik/theoretische_informatik/qr_codes/docs/qr_standard.pdf"><abbr title="https://www.swisseduc.ch/informatik/theoretische_informatik/qr_codes/docs/qr_standard.pdf">https://www.swisseduc.ch/informatik/theoretische_informatik/qr_codes/docs/qr_standard.pdf</abbr></a></span>
  127. </dd>
  128. <dt class="phpdocumentor-tag-list__entry">
  129. <span class="phpdocumentor-tag__name">see</span>
  130. </dt>
  131. <dd class="phpdocumentor-tag-list__definition">
  132. <span class="phpdocumentor-tag-link"><a href="https://en.wikipedia.org/wiki/QR_code"><abbr title="https://en.wikipedia.org/wiki/QR_code">https://en.wikipedia.org/wiki/QR_code</abbr></a></span>
  133. </dd>
  134. <dt class="phpdocumentor-tag-list__entry">
  135. <span class="phpdocumentor-tag__name">see</span>
  136. </dt>
  137. <dd class="phpdocumentor-tag-list__definition">
  138. <span class="phpdocumentor-tag-link"><a href="http://www.thonky.com/qr-code-tutorial/"><abbr title="http://www.thonky.com/qr-code-tutorial/">http://www.thonky.com/qr-code-tutorial/</abbr></a></span>
  139. </dd>
  140. </dl>
  141. <h3 id="toc">
  142. Table of Contents
  143. <a href="#toc" class="headerlink"><i class="fas fa-link"></i></a>
  144. </h3>
  145. <dl class="phpdocumentor-table-of-contents">
  146. <dt class="phpdocumentor-table-of-contents__entry -constant -public">
  147. <a href="classes/chillerlan-QRCode-QRCode.html#constant_ECC_H">ECC_H</a>
  148. <span>
  149. &nbsp;= \chillerlan\QRCode\Common\EccLevel::H </span>
  150. </dt>
  151. <dd></dd>
  152. <dt class="phpdocumentor-table-of-contents__entry -constant -public">
  153. <a href="classes/chillerlan-QRCode-QRCode.html#constant_ECC_L">ECC_L</a>
  154. <span>
  155. &nbsp;= \chillerlan\QRCode\Common\EccLevel::L </span>
  156. </dt>
  157. <dd></dd>
  158. <dt class="phpdocumentor-table-of-contents__entry -constant -public">
  159. <a href="classes/chillerlan-QRCode-QRCode.html#constant_ECC_M">ECC_M</a>
  160. <span>
  161. &nbsp;= \chillerlan\QRCode\Common\EccLevel::M </span>
  162. </dt>
  163. <dd></dd>
  164. <dt class="phpdocumentor-table-of-contents__entry -constant -public">
  165. <a href="classes/chillerlan-QRCode-QRCode.html#constant_ECC_Q">ECC_Q</a>
  166. <span>
  167. &nbsp;= \chillerlan\QRCode\Common\EccLevel::Q </span>
  168. </dt>
  169. <dd></dd>
  170. <dt class="phpdocumentor-table-of-contents__entry -constant -public">
  171. <a href="classes/chillerlan-QRCode-QRCode.html#constant_MASK_PATTERN_AUTO">MASK_PATTERN_AUTO</a>
  172. <span>
  173. &nbsp;= \chillerlan\QRCode\Common\MaskPattern::AUTO </span>
  174. </dt>
  175. <dd></dd>
  176. <dt class="phpdocumentor-table-of-contents__entry -constant -public">
  177. <a href="classes/chillerlan-QRCode-QRCode.html#constant_OUTPUT_CUSTOM">OUTPUT_CUSTOM</a>
  178. <span>
  179. &nbsp;= \chillerlan\QRCode\Output\QROutputInterface::CUSTOM </span>
  180. </dt>
  181. <dd></dd>
  182. <dt class="phpdocumentor-table-of-contents__entry -constant -public">
  183. <a href="classes/chillerlan-QRCode-QRCode.html#constant_OUTPUT_EPS">OUTPUT_EPS</a>
  184. <span>
  185. &nbsp;= \chillerlan\QRCode\Output\QROutputInterface::EPS </span>
  186. </dt>
  187. <dd></dd>
  188. <dt class="phpdocumentor-table-of-contents__entry -constant -public">
  189. <a href="classes/chillerlan-QRCode-QRCode.html#constant_OUTPUT_FPDF">OUTPUT_FPDF</a>
  190. <span>
  191. &nbsp;= \chillerlan\QRCode\Output\QROutputInterface::FPDF </span>
  192. </dt>
  193. <dd></dd>
  194. <dt class="phpdocumentor-table-of-contents__entry -constant -public">
  195. <a href="classes/chillerlan-QRCode-QRCode.html#constant_OUTPUT_IMAGE_GIF">OUTPUT_IMAGE_GIF</a>
  196. <span>
  197. &nbsp;= \chillerlan\QRCode\Output\QROutputInterface::GDIMAGE_GIF </span>
  198. </dt>
  199. <dd></dd>
  200. <dt class="phpdocumentor-table-of-contents__entry -constant -public">
  201. <a href="classes/chillerlan-QRCode-QRCode.html#constant_OUTPUT_IMAGE_JPG">OUTPUT_IMAGE_JPG</a>
  202. <span>
  203. &nbsp;= \chillerlan\QRCode\Output\QROutputInterface::GDIMAGE_JPG </span>
  204. </dt>
  205. <dd></dd>
  206. <dt class="phpdocumentor-table-of-contents__entry -constant -public">
  207. <a href="classes/chillerlan-QRCode-QRCode.html#constant_OUTPUT_IMAGE_PNG">OUTPUT_IMAGE_PNG</a>
  208. <span>
  209. &nbsp;= \chillerlan\QRCode\Output\QROutputInterface::GDIMAGE_PNG </span>
  210. </dt>
  211. <dd></dd>
  212. <dt class="phpdocumentor-table-of-contents__entry -constant -public">
  213. <a href="classes/chillerlan-QRCode-QRCode.html#constant_OUTPUT_IMAGICK">OUTPUT_IMAGICK</a>
  214. <span>
  215. &nbsp;= \chillerlan\QRCode\Output\QROutputInterface::IMAGICK </span>
  216. </dt>
  217. <dd></dd>
  218. <dt class="phpdocumentor-table-of-contents__entry -constant -public">
  219. <a href="classes/chillerlan-QRCode-QRCode.html#constant_OUTPUT_MARKUP_HTML">OUTPUT_MARKUP_HTML</a>
  220. <span>
  221. &nbsp;= \chillerlan\QRCode\Output\QROutputInterface::MARKUP_HTML </span>
  222. </dt>
  223. <dd></dd>
  224. <dt class="phpdocumentor-table-of-contents__entry -constant -public">
  225. <a href="classes/chillerlan-QRCode-QRCode.html#constant_OUTPUT_MARKUP_SVG">OUTPUT_MARKUP_SVG</a>
  226. <span>
  227. &nbsp;= \chillerlan\QRCode\Output\QROutputInterface::MARKUP_SVG </span>
  228. </dt>
  229. <dd></dd>
  230. <dt class="phpdocumentor-table-of-contents__entry -constant -public">
  231. <a href="classes/chillerlan-QRCode-QRCode.html#constant_OUTPUT_MODES">OUTPUT_MODES</a>
  232. <span>
  233. &nbsp;= \chillerlan\QRCode\Output\QROutputInterface::MODES </span>
  234. </dt>
  235. <dd></dd>
  236. <dt class="phpdocumentor-table-of-contents__entry -constant -public">
  237. <a href="classes/chillerlan-QRCode-QRCode.html#constant_OUTPUT_STRING_JSON">OUTPUT_STRING_JSON</a>
  238. <span>
  239. &nbsp;= \chillerlan\QRCode\Output\QROutputInterface::STRING_JSON </span>
  240. </dt>
  241. <dd></dd>
  242. <dt class="phpdocumentor-table-of-contents__entry -constant -public">
  243. <a href="classes/chillerlan-QRCode-QRCode.html#constant_OUTPUT_STRING_TEXT">OUTPUT_STRING_TEXT</a>
  244. <span>
  245. &nbsp;= \chillerlan\QRCode\Output\QROutputInterface::STRING_TEXT </span>
  246. </dt>
  247. <dd></dd>
  248. <dt class="phpdocumentor-table-of-contents__entry -constant -public">
  249. <a href="classes/chillerlan-QRCode-QRCode.html#constant_VERSION_AUTO">VERSION_AUTO</a>
  250. <span>
  251. &nbsp;= \chillerlan\QRCode\Common\Version::AUTO </span>
  252. </dt>
  253. <dd></dd>
  254. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  255. <a href="classes/chillerlan-QRCode-QRCode.html#property_dataSegments">$dataSegments</a>
  256. <span>
  257. &nbsp;: array&lt;string|int, mixed&gt; </span>
  258. </dt>
  259. <dd>A collection of one or more data segments of [classname, data] to write</dd>
  260. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  261. <a href="classes/chillerlan-QRCode-QRCode.html#property_options">$options</a>
  262. <span>
  263. &nbsp;: <abbr title="\chillerlan\Settings\SettingsContainerInterface">SettingsContainerInterface</abbr> </span>
  264. </dt>
  265. <dd>The settings container</dd>
  266. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  267. <a href="classes/chillerlan-QRCode-QRCode.html#method___construct">__construct()</a>
  268. <span>
  269. &nbsp;: mixed </span>
  270. </dt>
  271. <dd>QRCode constructor.</dd>
  272. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  273. <a href="classes/chillerlan-QRCode-QRCode.html#method_addAlphaNumSegment">addAlphaNumSegment()</a>
  274. <span>
  275. &nbsp;: self </span>
  276. </dt>
  277. <dd>Adds an alphanumeric data segment</dd>
  278. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  279. <a href="classes/chillerlan-QRCode-QRCode.html#method_addByteSegment">addByteSegment()</a>
  280. <span>
  281. &nbsp;: self </span>
  282. </dt>
  283. <dd>Adds an 8-bit byte data segment</dd>
  284. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  285. <a href="classes/chillerlan-QRCode-QRCode.html#method_addEciDesignator">addEciDesignator()</a>
  286. <span>
  287. &nbsp;: self </span>
  288. </dt>
  289. <dd>Adds a standalone ECI designator</dd>
  290. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  291. <a href="classes/chillerlan-QRCode-QRCode.html#method_addEciSegment">addEciSegment()</a>
  292. <span>
  293. &nbsp;: self </span>
  294. </dt>
  295. <dd>Adds an ECI data segment (including designator)</dd>
  296. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  297. <a href="classes/chillerlan-QRCode-QRCode.html#method_addKanjiSegment">addKanjiSegment()</a>
  298. <span>
  299. &nbsp;: self </span>
  300. </dt>
  301. <dd>Adds a Kanji data segment</dd>
  302. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  303. <a href="classes/chillerlan-QRCode-QRCode.html#method_addNumericSegment">addNumericSegment()</a>
  304. <span>
  305. &nbsp;: self </span>
  306. </dt>
  307. <dd>Adds a numeric data segment</dd>
  308. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  309. <a href="classes/chillerlan-QRCode-QRCode.html#method_clearSegments">clearSegments()</a>
  310. <span>
  311. &nbsp;: self </span>
  312. </dt>
  313. <dd>Clears the data segments array</dd>
  314. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  315. <a href="classes/chillerlan-QRCode-QRCode.html#method_getMatrix">getMatrix()</a>
  316. <span>
  317. &nbsp;: <a href="classes/chillerlan-QRCode-Data-QRMatrix.html"><abbr title="\chillerlan\QRCode\Data\QRMatrix">QRMatrix</abbr></a> </span>
  318. </dt>
  319. <dd>Returns a QRMatrix object for the given $data and current QROptions</dd>
  320. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  321. <a href="classes/chillerlan-QRCode-QRCode.html#method_isAlphaNum">isAlphaNum()</a>
  322. <span>
  323. &nbsp;: bool </span>
  324. </dt>
  325. <dd>checks if a string qualifies as alphanumeric (convenience method)</dd>
  326. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  327. <a href="classes/chillerlan-QRCode-QRCode.html#method_isByte">isByte()</a>
  328. <span>
  329. &nbsp;: bool </span>
  330. </dt>
  331. <dd>a dummy (convenience method)</dd>
  332. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  333. <a href="classes/chillerlan-QRCode-QRCode.html#method_isKanji">isKanji()</a>
  334. <span>
  335. &nbsp;: bool </span>
  336. </dt>
  337. <dd>checks if a string qualifies as Kanji (convenience method)</dd>
  338. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  339. <a href="classes/chillerlan-QRCode-QRCode.html#method_isNumber">isNumber()</a>
  340. <span>
  341. &nbsp;: bool </span>
  342. </dt>
  343. <dd>checks if a string qualifies as numeric (convenience method)</dd>
  344. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  345. <a href="classes/chillerlan-QRCode-QRCode.html#method_readFromBlob">readFromBlob()</a>
  346. <span>
  347. &nbsp;: <a href="classes/chillerlan-QRCode-Decoder-DecoderResult.html"><abbr title="\chillerlan\QRCode\Decoder\DecoderResult">DecoderResult</abbr></a> </span>
  348. </dt>
  349. <dd>Reads a QR Code from the given data blob</dd>
  350. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  351. <a href="classes/chillerlan-QRCode-QRCode.html#method_readFromFile">readFromFile()</a>
  352. <span>
  353. &nbsp;: <a href="classes/chillerlan-QRCode-Decoder-DecoderResult.html"><abbr title="\chillerlan\QRCode\Decoder\DecoderResult">DecoderResult</abbr></a> </span>
  354. </dt>
  355. <dd>Reads a QR Code from a given file</dd>
  356. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  357. <a href="classes/chillerlan-QRCode-QRCode.html#method_readFromSource">readFromSource()</a>
  358. <span>
  359. &nbsp;: <a href="classes/chillerlan-QRCode-Decoder-DecoderResult.html"><abbr title="\chillerlan\QRCode\Decoder\DecoderResult">DecoderResult</abbr></a> </span>
  360. </dt>
  361. <dd>Reads a QR Code from the given luminance source</dd>
  362. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  363. <a href="classes/chillerlan-QRCode-QRCode.html#method_render">render()</a>
  364. <span>
  365. &nbsp;: mixed </span>
  366. </dt>
  367. <dd>Renders a QR Code for the given $data and QROptions</dd>
  368. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  369. <a href="classes/chillerlan-QRCode-QRCode.html#method_addSegment">addSegment()</a>
  370. <span>
  371. &nbsp;: void </span>
  372. </dt>
  373. <dd>Adds a data segment</dd>
  374. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  375. <a href="classes/chillerlan-QRCode-QRCode.html#method_initCustomOutputInterface">initCustomOutputInterface()</a>
  376. <span>
  377. &nbsp;: <a href="classes/chillerlan-QRCode-Output-QROutputInterface.html"><abbr title="\chillerlan\QRCode\Output\QROutputInterface">QROutputInterface</abbr></a> </span>
  378. </dt>
  379. <dd>initializes a custom output module after checking the existence of the class and if it implemnts the required interface</dd>
  380. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  381. <a href="classes/chillerlan-QRCode-QRCode.html#method_initOutputInterface">initOutputInterface()</a>
  382. <span>
  383. &nbsp;: <a href="classes/chillerlan-QRCode-Output-QROutputInterface.html"><abbr title="\chillerlan\QRCode\Output\QROutputInterface">QROutputInterface</abbr></a> </span>
  384. </dt>
  385. <dd>returns a fresh (built-in) QROutputInterface</dd>
  386. </dl>
  387. <section class="phpdocumentor-constants">
  388. <h3 class="phpdocumentor-elements__header" id="constants">
  389. Constants
  390. <a href="classes/chillerlan-QRCode-QRCode.html#constants" class="headerlink"><i class="fas fa-link"></i></a>
  391. </h3>
  392. <article class="phpdocumentor-element -constant -public -deprecated">
  393. <h4 class="phpdocumentor-element__name" id="constant_ECC_H">
  394. ECC_H
  395. <a href="classes/chillerlan-QRCode-QRCode.html#constant_ECC_H" class="headerlink"><i class="fas fa-link"></i></a>
  396. </h4>
  397. <aside class="phpdocumentor-element-found-in">
  398. <abbr class="phpdocumentor-element-found-in__file" title="src/QRCode.php"><a href="files/src-qrcode.html"><abbr title="src/QRCode.php">QRCode.php</abbr></a></abbr>
  399. :
  400. <span class="phpdocumentor-element-found-in__line">71</span>
  401. </aside>
  402. <code class="phpdocumentor-signature phpdocumentor-code -deprecated">
  403. <span class="phpdocumentor-signature__visibility">public</span>
  404. <span class="phpdocumentor-signature__type">int</span>
  405. <span class="phpdocumentor-signature__name">ECC_H</span>
  406. = <span class="phpdocumentor-signature__default-value">\chillerlan\QRCode\Common\EccLevel::H</span>
  407. </code>
  408. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  409. Tags
  410. <a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
  411. </h5>
  412. <dl class="phpdocumentor-tag-list">
  413. <dt class="phpdocumentor-tag-list__entry">
  414. <span class="phpdocumentor-tag__name">deprecated</span>
  415. </dt>
  416. <dd class="phpdocumentor-tag-list__definition">
  417. <span class="phpdocumentor-tag-link">5.0.0</span>
  418. <section class="phpdocumentor-description"><p>use EccLevel::H instead</p>
  419. </section>
  420. </dd>
  421. <dt class="phpdocumentor-tag-list__entry">
  422. <span class="phpdocumentor-tag__name">see</span>
  423. </dt>
  424. <dd class="phpdocumentor-tag-list__definition">
  425. <span class="phpdocumentor-tag-link"><a href="classes/chillerlan-QRCode-Common-EccLevel.html#constant_H"><abbr title="\chillerlan\QRCode\Common\EccLevel::H">EccLevel::H</abbr></a></span>
  426. </dd>
  427. </dl>
  428. </article>
  429. <article class="phpdocumentor-element -constant -public -deprecated">
  430. <h4 class="phpdocumentor-element__name" id="constant_ECC_L">
  431. ECC_L
  432. <a href="classes/chillerlan-QRCode-QRCode.html#constant_ECC_L" class="headerlink"><i class="fas fa-link"></i></a>
  433. </h4>
  434. <aside class="phpdocumentor-element-found-in">
  435. <abbr class="phpdocumentor-element-found-in__file" title="src/QRCode.php"><a href="files/src-qrcode.html"><abbr title="src/QRCode.php">QRCode.php</abbr></a></abbr>
  436. :
  437. <span class="phpdocumentor-element-found-in__line">50</span>
  438. </aside>
  439. <code class="phpdocumentor-signature phpdocumentor-code -deprecated">
  440. <span class="phpdocumentor-signature__visibility">public</span>
  441. <span class="phpdocumentor-signature__type">int</span>
  442. <span class="phpdocumentor-signature__name">ECC_L</span>
  443. = <span class="phpdocumentor-signature__default-value">\chillerlan\QRCode\Common\EccLevel::L</span>
  444. </code>
  445. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  446. Tags
  447. <a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
  448. </h5>
  449. <dl class="phpdocumentor-tag-list">
  450. <dt class="phpdocumentor-tag-list__entry">
  451. <span class="phpdocumentor-tag__name">deprecated</span>
  452. </dt>
  453. <dd class="phpdocumentor-tag-list__definition">
  454. <span class="phpdocumentor-tag-link">5.0.0</span>
  455. <section class="phpdocumentor-description"><p>use EccLevel::L instead</p>
  456. </section>
  457. </dd>
  458. <dt class="phpdocumentor-tag-list__entry">
  459. <span class="phpdocumentor-tag__name">see</span>
  460. </dt>
  461. <dd class="phpdocumentor-tag-list__definition">
  462. <span class="phpdocumentor-tag-link"><a href="classes/chillerlan-QRCode-Common-EccLevel.html#constant_L"><abbr title="\chillerlan\QRCode\Common\EccLevel::L">EccLevel::L</abbr></a></span>
  463. </dd>
  464. </dl>
  465. </article>
  466. <article class="phpdocumentor-element -constant -public -deprecated">
  467. <h4 class="phpdocumentor-element__name" id="constant_ECC_M">
  468. ECC_M
  469. <a href="classes/chillerlan-QRCode-QRCode.html#constant_ECC_M" class="headerlink"><i class="fas fa-link"></i></a>
  470. </h4>
  471. <aside class="phpdocumentor-element-found-in">
  472. <abbr class="phpdocumentor-element-found-in__file" title="src/QRCode.php"><a href="files/src-qrcode.html"><abbr title="src/QRCode.php">QRCode.php</abbr></a></abbr>
  473. :
  474. <span class="phpdocumentor-element-found-in__line">57</span>
  475. </aside>
  476. <code class="phpdocumentor-signature phpdocumentor-code -deprecated">
  477. <span class="phpdocumentor-signature__visibility">public</span>
  478. <span class="phpdocumentor-signature__type">int</span>
  479. <span class="phpdocumentor-signature__name">ECC_M</span>
  480. = <span class="phpdocumentor-signature__default-value">\chillerlan\QRCode\Common\EccLevel::M</span>
  481. </code>
  482. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  483. Tags
  484. <a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
  485. </h5>
  486. <dl class="phpdocumentor-tag-list">
  487. <dt class="phpdocumentor-tag-list__entry">
  488. <span class="phpdocumentor-tag__name">deprecated</span>
  489. </dt>
  490. <dd class="phpdocumentor-tag-list__definition">
  491. <span class="phpdocumentor-tag-link">5.0.0</span>
  492. <section class="phpdocumentor-description"><p>use EccLevel::M instead</p>
  493. </section>
  494. </dd>
  495. <dt class="phpdocumentor-tag-list__entry">
  496. <span class="phpdocumentor-tag__name">see</span>
  497. </dt>
  498. <dd class="phpdocumentor-tag-list__definition">
  499. <span class="phpdocumentor-tag-link"><a href="classes/chillerlan-QRCode-Common-EccLevel.html#constant_M"><abbr title="\chillerlan\QRCode\Common\EccLevel::M">EccLevel::M</abbr></a></span>
  500. </dd>
  501. </dl>
  502. </article>
  503. <article class="phpdocumentor-element -constant -public -deprecated">
  504. <h4 class="phpdocumentor-element__name" id="constant_ECC_Q">
  505. ECC_Q
  506. <a href="classes/chillerlan-QRCode-QRCode.html#constant_ECC_Q" class="headerlink"><i class="fas fa-link"></i></a>
  507. </h4>
  508. <aside class="phpdocumentor-element-found-in">
  509. <abbr class="phpdocumentor-element-found-in__file" title="src/QRCode.php"><a href="files/src-qrcode.html"><abbr title="src/QRCode.php">QRCode.php</abbr></a></abbr>
  510. :
  511. <span class="phpdocumentor-element-found-in__line">64</span>
  512. </aside>
  513. <code class="phpdocumentor-signature phpdocumentor-code -deprecated">
  514. <span class="phpdocumentor-signature__visibility">public</span>
  515. <span class="phpdocumentor-signature__type">int</span>
  516. <span class="phpdocumentor-signature__name">ECC_Q</span>
  517. = <span class="phpdocumentor-signature__default-value">\chillerlan\QRCode\Common\EccLevel::Q</span>
  518. </code>
  519. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  520. Tags
  521. <a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
  522. </h5>
  523. <dl class="phpdocumentor-tag-list">
  524. <dt class="phpdocumentor-tag-list__entry">
  525. <span class="phpdocumentor-tag__name">deprecated</span>
  526. </dt>
  527. <dd class="phpdocumentor-tag-list__definition">
  528. <span class="phpdocumentor-tag-link">5.0.0</span>
  529. <section class="phpdocumentor-description"><p>use EccLevel::Q instead</p>
  530. </section>
  531. </dd>
  532. <dt class="phpdocumentor-tag-list__entry">
  533. <span class="phpdocumentor-tag__name">see</span>
  534. </dt>
  535. <dd class="phpdocumentor-tag-list__definition">
  536. <span class="phpdocumentor-tag-link"><a href="classes/chillerlan-QRCode-Common-EccLevel.html#constant_Q"><abbr title="\chillerlan\QRCode\Common\EccLevel::Q">EccLevel::Q</abbr></a></span>
  537. </dd>
  538. </dl>
  539. </article>
  540. <article class="phpdocumentor-element -constant -public -deprecated">
  541. <h4 class="phpdocumentor-element__name" id="constant_MASK_PATTERN_AUTO">
  542. MASK_PATTERN_AUTO
  543. <a href="classes/chillerlan-QRCode-QRCode.html#constant_MASK_PATTERN_AUTO" class="headerlink"><i class="fas fa-link"></i></a>
  544. </h4>
  545. <aside class="phpdocumentor-element-found-in">
  546. <abbr class="phpdocumentor-element-found-in__file" title="src/QRCode.php"><a href="files/src-qrcode.html"><abbr title="src/QRCode.php">QRCode.php</abbr></a></abbr>
  547. :
  548. <span class="phpdocumentor-element-found-in__line">43</span>
  549. </aside>
  550. <code class="phpdocumentor-signature phpdocumentor-code -deprecated">
  551. <span class="phpdocumentor-signature__visibility">public</span>
  552. <span class="phpdocumentor-signature__type">int</span>
  553. <span class="phpdocumentor-signature__name">MASK_PATTERN_AUTO</span>
  554. = <span class="phpdocumentor-signature__default-value">\chillerlan\QRCode\Common\MaskPattern::AUTO</span>
  555. </code>
  556. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  557. Tags
  558. <a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
  559. </h5>
  560. <dl class="phpdocumentor-tag-list">
  561. <dt class="phpdocumentor-tag-list__entry">
  562. <span class="phpdocumentor-tag__name">deprecated</span>
  563. </dt>
  564. <dd class="phpdocumentor-tag-list__definition">
  565. <span class="phpdocumentor-tag-link">5.0.0</span>
  566. <section class="phpdocumentor-description"><p>use MaskPattern::AUTO instead</p>
  567. </section>
  568. </dd>
  569. <dt class="phpdocumentor-tag-list__entry">
  570. <span class="phpdocumentor-tag__name">see</span>
  571. </dt>
  572. <dd class="phpdocumentor-tag-list__definition">
  573. <span class="phpdocumentor-tag-link"><a href="classes/chillerlan-QRCode-Common-MaskPattern.html#constant_AUTO"><abbr title="\chillerlan\QRCode\Common\MaskPattern::AUTO">MaskPattern::AUTO</abbr></a></span>
  574. </dd>
  575. </dl>
  576. </article>
  577. <article class="phpdocumentor-element -constant -public -deprecated">
  578. <h4 class="phpdocumentor-element__name" id="constant_OUTPUT_CUSTOM">
  579. OUTPUT_CUSTOM
  580. <a href="classes/chillerlan-QRCode-QRCode.html#constant_OUTPUT_CUSTOM" class="headerlink"><i class="fas fa-link"></i></a>
  581. </h4>
  582. <aside class="phpdocumentor-element-found-in">
  583. <abbr class="phpdocumentor-element-found-in__file" title="src/QRCode.php"><a href="files/src-qrcode.html"><abbr title="src/QRCode.php">QRCode.php</abbr></a></abbr>
  584. :
  585. <span class="phpdocumentor-element-found-in__line">148</span>
  586. </aside>
  587. <code class="phpdocumentor-signature phpdocumentor-code -deprecated">
  588. <span class="phpdocumentor-signature__visibility">public</span>
  589. <span class="phpdocumentor-signature__type">string</span>
  590. <span class="phpdocumentor-signature__name">OUTPUT_CUSTOM</span>
  591. = <span class="phpdocumentor-signature__default-value">\chillerlan\QRCode\Output\QROutputInterface::CUSTOM</span>
  592. </code>
  593. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  594. Tags
  595. <a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
  596. </h5>
  597. <dl class="phpdocumentor-tag-list">
  598. <dt class="phpdocumentor-tag-list__entry">
  599. <span class="phpdocumentor-tag__name">deprecated</span>
  600. </dt>
  601. <dd class="phpdocumentor-tag-list__definition">
  602. <span class="phpdocumentor-tag-link">5.0.0</span>
  603. <section class="phpdocumentor-description"><p>use QROutputInterface::CUSTOM instead</p>
  604. </section>
  605. </dd>
  606. <dt class="phpdocumentor-tag-list__entry">
  607. <span class="phpdocumentor-tag__name">see</span>
  608. </dt>
  609. <dd class="phpdocumentor-tag-list__definition">
  610. <span class="phpdocumentor-tag-link"><a href="classes/chillerlan-QRCode-Output-QROutputInterface.html#constant_CUSTOM"><abbr title="\chillerlan\QRCode\Output\QROutputInterface::CUSTOM">QROutputInterface::CUSTOM</abbr></a></span>
  611. </dd>
  612. </dl>
  613. </article>
  614. <article class="phpdocumentor-element -constant -public -deprecated">
  615. <h4 class="phpdocumentor-element__name" id="constant_OUTPUT_EPS">
  616. OUTPUT_EPS
  617. <a href="classes/chillerlan-QRCode-QRCode.html#constant_OUTPUT_EPS" class="headerlink"><i class="fas fa-link"></i></a>
  618. </h4>
  619. <aside class="phpdocumentor-element-found-in">
  620. <abbr class="phpdocumentor-element-found-in__file" title="src/QRCode.php"><a href="files/src-qrcode.html"><abbr title="src/QRCode.php">QRCode.php</abbr></a></abbr>
  621. :
  622. <span class="phpdocumentor-element-found-in__line">141</span>
  623. </aside>
  624. <code class="phpdocumentor-signature phpdocumentor-code -deprecated">
  625. <span class="phpdocumentor-signature__visibility">public</span>
  626. <span class="phpdocumentor-signature__type">string</span>
  627. <span class="phpdocumentor-signature__name">OUTPUT_EPS</span>
  628. = <span class="phpdocumentor-signature__default-value">\chillerlan\QRCode\Output\QROutputInterface::EPS</span>
  629. </code>
  630. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  631. Tags
  632. <a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
  633. </h5>
  634. <dl class="phpdocumentor-tag-list">
  635. <dt class="phpdocumentor-tag-list__entry">
  636. <span class="phpdocumentor-tag__name">deprecated</span>
  637. </dt>
  638. <dd class="phpdocumentor-tag-list__definition">
  639. <span class="phpdocumentor-tag-link">5.0.0</span>
  640. <section class="phpdocumentor-description"><p>use QROutputInterface::EPS instead</p>
  641. </section>
  642. </dd>
  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"><a href="classes/chillerlan-QRCode-Output-QROutputInterface.html#constant_EPS"><abbr title="\chillerlan\QRCode\Output\QROutputInterface::EPS">QROutputInterface::EPS</abbr></a></span>
  648. </dd>
  649. </dl>
  650. </article>
  651. <article class="phpdocumentor-element -constant -public -deprecated">
  652. <h4 class="phpdocumentor-element__name" id="constant_OUTPUT_FPDF">
  653. OUTPUT_FPDF
  654. <a href="classes/chillerlan-QRCode-QRCode.html#constant_OUTPUT_FPDF" class="headerlink"><i class="fas fa-link"></i></a>
  655. </h4>
  656. <aside class="phpdocumentor-element-found-in">
  657. <abbr class="phpdocumentor-element-found-in__file" title="src/QRCode.php"><a href="files/src-qrcode.html"><abbr title="src/QRCode.php">QRCode.php</abbr></a></abbr>
  658. :
  659. <span class="phpdocumentor-element-found-in__line">134</span>
  660. </aside>
  661. <code class="phpdocumentor-signature phpdocumentor-code -deprecated">
  662. <span class="phpdocumentor-signature__visibility">public</span>
  663. <span class="phpdocumentor-signature__type">string</span>
  664. <span class="phpdocumentor-signature__name">OUTPUT_FPDF</span>
  665. = <span class="phpdocumentor-signature__default-value">\chillerlan\QRCode\Output\QROutputInterface::FPDF</span>
  666. </code>
  667. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  668. Tags
  669. <a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
  670. </h5>
  671. <dl class="phpdocumentor-tag-list">
  672. <dt class="phpdocumentor-tag-list__entry">
  673. <span class="phpdocumentor-tag__name">deprecated</span>
  674. </dt>
  675. <dd class="phpdocumentor-tag-list__definition">
  676. <span class="phpdocumentor-tag-link">5.0.0</span>
  677. <section class="phpdocumentor-description"><p>use QROutputInterface::FPDF instead</p>
  678. </section>
  679. </dd>
  680. <dt class="phpdocumentor-tag-list__entry">
  681. <span class="phpdocumentor-tag__name">see</span>
  682. </dt>
  683. <dd class="phpdocumentor-tag-list__definition">
  684. <span class="phpdocumentor-tag-link"><a href="classes/chillerlan-QRCode-Output-QROutputInterface.html#constant_FPDF"><abbr title="\chillerlan\QRCode\Output\QROutputInterface::FPDF">QROutputInterface::FPDF</abbr></a></span>
  685. </dd>
  686. </dl>
  687. </article>
  688. <article class="phpdocumentor-element -constant -public -deprecated">
  689. <h4 class="phpdocumentor-element__name" id="constant_OUTPUT_IMAGE_GIF">
  690. OUTPUT_IMAGE_GIF
  691. <a href="classes/chillerlan-QRCode-QRCode.html#constant_OUTPUT_IMAGE_GIF" class="headerlink"><i class="fas fa-link"></i></a>
  692. </h4>
  693. <aside class="phpdocumentor-element-found-in">
  694. <abbr class="phpdocumentor-element-found-in__file" title="src/QRCode.php"><a href="files/src-qrcode.html"><abbr title="src/QRCode.php">QRCode.php</abbr></a></abbr>
  695. :
  696. <span class="phpdocumentor-element-found-in__line">106</span>
  697. </aside>
  698. <code class="phpdocumentor-signature phpdocumentor-code -deprecated">
  699. <span class="phpdocumentor-signature__visibility">public</span>
  700. <span class="phpdocumentor-signature__type">string</span>
  701. <span class="phpdocumentor-signature__name">OUTPUT_IMAGE_GIF</span>
  702. = <span class="phpdocumentor-signature__default-value">\chillerlan\QRCode\Output\QROutputInterface::GDIMAGE_GIF</span>
  703. </code>
  704. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  705. Tags
  706. <a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
  707. </h5>
  708. <dl class="phpdocumentor-tag-list">
  709. <dt class="phpdocumentor-tag-list__entry">
  710. <span class="phpdocumentor-tag__name">deprecated</span>
  711. </dt>
  712. <dd class="phpdocumentor-tag-list__definition">
  713. <span class="phpdocumentor-tag-link">5.0.0</span>
  714. <section class="phpdocumentor-description"><p>use QROutputInterface::GDIMAGE_GIF instead</p>
  715. </section>
  716. </dd>
  717. <dt class="phpdocumentor-tag-list__entry">
  718. <span class="phpdocumentor-tag__name">see</span>
  719. </dt>
  720. <dd class="phpdocumentor-tag-list__definition">
  721. <span class="phpdocumentor-tag-link"><a href="classes/chillerlan-QRCode-Output-QROutputInterface.html#constant_GDIMAGE_GIF"><abbr title="\chillerlan\QRCode\Output\QROutputInterface::GDIMAGE_GIF">QROutputInterface::GDIMAGE_GIF</abbr></a></span>
  722. </dd>
  723. </dl>
  724. </article>
  725. <article class="phpdocumentor-element -constant -public -deprecated">
  726. <h4 class="phpdocumentor-element__name" id="constant_OUTPUT_IMAGE_JPG">
  727. OUTPUT_IMAGE_JPG
  728. <a href="classes/chillerlan-QRCode-QRCode.html#constant_OUTPUT_IMAGE_JPG" class="headerlink"><i class="fas fa-link"></i></a>
  729. </h4>
  730. <aside class="phpdocumentor-element-found-in">
  731. <abbr class="phpdocumentor-element-found-in__file" title="src/QRCode.php"><a href="files/src-qrcode.html"><abbr title="src/QRCode.php">QRCode.php</abbr></a></abbr>
  732. :
  733. <span class="phpdocumentor-element-found-in__line">99</span>
  734. </aside>
  735. <code class="phpdocumentor-signature phpdocumentor-code -deprecated">
  736. <span class="phpdocumentor-signature__visibility">public</span>
  737. <span class="phpdocumentor-signature__type">string</span>
  738. <span class="phpdocumentor-signature__name">OUTPUT_IMAGE_JPG</span>
  739. = <span class="phpdocumentor-signature__default-value">\chillerlan\QRCode\Output\QROutputInterface::GDIMAGE_JPG</span>
  740. </code>
  741. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  742. Tags
  743. <a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
  744. </h5>
  745. <dl class="phpdocumentor-tag-list">
  746. <dt class="phpdocumentor-tag-list__entry">
  747. <span class="phpdocumentor-tag__name">deprecated</span>
  748. </dt>
  749. <dd class="phpdocumentor-tag-list__definition">
  750. <span class="phpdocumentor-tag-link">5.0.0</span>
  751. <section class="phpdocumentor-description"><p>use QROutputInterface::GDIMAGE_JPG instead</p>
  752. </section>
  753. </dd>
  754. <dt class="phpdocumentor-tag-list__entry">
  755. <span class="phpdocumentor-tag__name">see</span>
  756. </dt>
  757. <dd class="phpdocumentor-tag-list__definition">
  758. <span class="phpdocumentor-tag-link"><a href="classes/chillerlan-QRCode-Output-QROutputInterface.html#constant_GDIMAGE_JPG"><abbr title="\chillerlan\QRCode\Output\QROutputInterface::GDIMAGE_JPG">QROutputInterface::GDIMAGE_JPG</abbr></a></span>
  759. </dd>
  760. </dl>
  761. </article>
  762. <article class="phpdocumentor-element -constant -public -deprecated">
  763. <h4 class="phpdocumentor-element__name" id="constant_OUTPUT_IMAGE_PNG">
  764. OUTPUT_IMAGE_PNG
  765. <a href="classes/chillerlan-QRCode-QRCode.html#constant_OUTPUT_IMAGE_PNG" class="headerlink"><i class="fas fa-link"></i></a>
  766. </h4>
  767. <aside class="phpdocumentor-element-found-in">
  768. <abbr class="phpdocumentor-element-found-in__file" title="src/QRCode.php"><a href="files/src-qrcode.html"><abbr title="src/QRCode.php">QRCode.php</abbr></a></abbr>
  769. :
  770. <span class="phpdocumentor-element-found-in__line">92</span>
  771. </aside>
  772. <code class="phpdocumentor-signature phpdocumentor-code -deprecated">
  773. <span class="phpdocumentor-signature__visibility">public</span>
  774. <span class="phpdocumentor-signature__type">string</span>
  775. <span class="phpdocumentor-signature__name">OUTPUT_IMAGE_PNG</span>
  776. = <span class="phpdocumentor-signature__default-value">\chillerlan\QRCode\Output\QROutputInterface::GDIMAGE_PNG</span>
  777. </code>
  778. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  779. Tags
  780. <a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
  781. </h5>
  782. <dl class="phpdocumentor-tag-list">
  783. <dt class="phpdocumentor-tag-list__entry">
  784. <span class="phpdocumentor-tag__name">deprecated</span>
  785. </dt>
  786. <dd class="phpdocumentor-tag-list__definition">
  787. <span class="phpdocumentor-tag-link">5.0.0</span>
  788. <section class="phpdocumentor-description"><p>use QROutputInterface::GDIMAGE_PNG instead</p>
  789. </section>
  790. </dd>
  791. <dt class="phpdocumentor-tag-list__entry">
  792. <span class="phpdocumentor-tag__name">see</span>
  793. </dt>
  794. <dd class="phpdocumentor-tag-list__definition">
  795. <span class="phpdocumentor-tag-link"><a href="classes/chillerlan-QRCode-Output-QROutputInterface.html#constant_GDIMAGE_PNG"><abbr title="\chillerlan\QRCode\Output\QROutputInterface::GDIMAGE_PNG">QROutputInterface::GDIMAGE_PNG</abbr></a></span>
  796. </dd>
  797. </dl>
  798. </article>
  799. <article class="phpdocumentor-element -constant -public -deprecated">
  800. <h4 class="phpdocumentor-element__name" id="constant_OUTPUT_IMAGICK">
  801. OUTPUT_IMAGICK
  802. <a href="classes/chillerlan-QRCode-QRCode.html#constant_OUTPUT_IMAGICK" class="headerlink"><i class="fas fa-link"></i></a>
  803. </h4>
  804. <aside class="phpdocumentor-element-found-in">
  805. <abbr class="phpdocumentor-element-found-in__file" title="src/QRCode.php"><a href="files/src-qrcode.html"><abbr title="src/QRCode.php">QRCode.php</abbr></a></abbr>
  806. :
  807. <span class="phpdocumentor-element-found-in__line">127</span>
  808. </aside>
  809. <code class="phpdocumentor-signature phpdocumentor-code -deprecated">
  810. <span class="phpdocumentor-signature__visibility">public</span>
  811. <span class="phpdocumentor-signature__type">string</span>
  812. <span class="phpdocumentor-signature__name">OUTPUT_IMAGICK</span>
  813. = <span class="phpdocumentor-signature__default-value">\chillerlan\QRCode\Output\QROutputInterface::IMAGICK</span>
  814. </code>
  815. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  816. Tags
  817. <a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
  818. </h5>
  819. <dl class="phpdocumentor-tag-list">
  820. <dt class="phpdocumentor-tag-list__entry">
  821. <span class="phpdocumentor-tag__name">deprecated</span>
  822. </dt>
  823. <dd class="phpdocumentor-tag-list__definition">
  824. <span class="phpdocumentor-tag-link">5.0.0</span>
  825. <section class="phpdocumentor-description"><p>use QROutputInterface::IMAGICK instead</p>
  826. </section>
  827. </dd>
  828. <dt class="phpdocumentor-tag-list__entry">
  829. <span class="phpdocumentor-tag__name">see</span>
  830. </dt>
  831. <dd class="phpdocumentor-tag-list__definition">
  832. <span class="phpdocumentor-tag-link"><a href="classes/chillerlan-QRCode-Output-QROutputInterface.html#constant_IMAGICK"><abbr title="\chillerlan\QRCode\Output\QROutputInterface::IMAGICK">QROutputInterface::IMAGICK</abbr></a></span>
  833. </dd>
  834. </dl>
  835. </article>
  836. <article class="phpdocumentor-element -constant -public -deprecated">
  837. <h4 class="phpdocumentor-element__name" id="constant_OUTPUT_MARKUP_HTML">
  838. OUTPUT_MARKUP_HTML
  839. <a href="classes/chillerlan-QRCode-QRCode.html#constant_OUTPUT_MARKUP_HTML" class="headerlink"><i class="fas fa-link"></i></a>
  840. </h4>
  841. <aside class="phpdocumentor-element-found-in">
  842. <abbr class="phpdocumentor-element-found-in__file" title="src/QRCode.php"><a href="files/src-qrcode.html"><abbr title="src/QRCode.php">QRCode.php</abbr></a></abbr>
  843. :
  844. <span class="phpdocumentor-element-found-in__line">78</span>
  845. </aside>
  846. <code class="phpdocumentor-signature phpdocumentor-code -deprecated">
  847. <span class="phpdocumentor-signature__visibility">public</span>
  848. <span class="phpdocumentor-signature__type">string</span>
  849. <span class="phpdocumentor-signature__name">OUTPUT_MARKUP_HTML</span>
  850. = <span class="phpdocumentor-signature__default-value">\chillerlan\QRCode\Output\QROutputInterface::MARKUP_HTML</span>
  851. </code>
  852. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  853. Tags
  854. <a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
  855. </h5>
  856. <dl class="phpdocumentor-tag-list">
  857. <dt class="phpdocumentor-tag-list__entry">
  858. <span class="phpdocumentor-tag__name">deprecated</span>
  859. </dt>
  860. <dd class="phpdocumentor-tag-list__definition">
  861. <span class="phpdocumentor-tag-link">5.0.0</span>
  862. <section class="phpdocumentor-description"><p>use QROutputInterface::MARKUP_HTML instead</p>
  863. </section>
  864. </dd>
  865. <dt class="phpdocumentor-tag-list__entry">
  866. <span class="phpdocumentor-tag__name">see</span>
  867. </dt>
  868. <dd class="phpdocumentor-tag-list__definition">
  869. <span class="phpdocumentor-tag-link"><a href="classes/chillerlan-QRCode-Output-QROutputInterface.html#constant_MARKUP_HTML"><abbr title="\chillerlan\QRCode\Output\QROutputInterface::MARKUP_HTML">QROutputInterface::MARKUP_HTML</abbr></a></span>
  870. </dd>
  871. </dl>
  872. </article>
  873. <article class="phpdocumentor-element -constant -public -deprecated">
  874. <h4 class="phpdocumentor-element__name" id="constant_OUTPUT_MARKUP_SVG">
  875. OUTPUT_MARKUP_SVG
  876. <a href="classes/chillerlan-QRCode-QRCode.html#constant_OUTPUT_MARKUP_SVG" class="headerlink"><i class="fas fa-link"></i></a>
  877. </h4>
  878. <aside class="phpdocumentor-element-found-in">
  879. <abbr class="phpdocumentor-element-found-in__file" title="src/QRCode.php"><a href="files/src-qrcode.html"><abbr title="src/QRCode.php">QRCode.php</abbr></a></abbr>
  880. :
  881. <span class="phpdocumentor-element-found-in__line">85</span>
  882. </aside>
  883. <code class="phpdocumentor-signature phpdocumentor-code -deprecated">
  884. <span class="phpdocumentor-signature__visibility">public</span>
  885. <span class="phpdocumentor-signature__type">string</span>
  886. <span class="phpdocumentor-signature__name">OUTPUT_MARKUP_SVG</span>
  887. = <span class="phpdocumentor-signature__default-value">\chillerlan\QRCode\Output\QROutputInterface::MARKUP_SVG</span>
  888. </code>
  889. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  890. Tags
  891. <a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
  892. </h5>
  893. <dl class="phpdocumentor-tag-list">
  894. <dt class="phpdocumentor-tag-list__entry">
  895. <span class="phpdocumentor-tag__name">deprecated</span>
  896. </dt>
  897. <dd class="phpdocumentor-tag-list__definition">
  898. <span class="phpdocumentor-tag-link">5.0.0</span>
  899. <section class="phpdocumentor-description"><p>use QROutputInterface::MARKUP_SVG instead</p>
  900. </section>
  901. </dd>
  902. <dt class="phpdocumentor-tag-list__entry">
  903. <span class="phpdocumentor-tag__name">see</span>
  904. </dt>
  905. <dd class="phpdocumentor-tag-list__definition">
  906. <span class="phpdocumentor-tag-link"><a href="classes/chillerlan-QRCode-Output-QROutputInterface.html#constant_MARKUP_SVG"><abbr title="\chillerlan\QRCode\Output\QROutputInterface::MARKUP_SVG">QROutputInterface::MARKUP_SVG</abbr></a></span>
  907. </dd>
  908. </dl>
  909. </article>
  910. <article class="phpdocumentor-element -constant -public -deprecated">
  911. <h4 class="phpdocumentor-element__name" id="constant_OUTPUT_MODES">
  912. OUTPUT_MODES
  913. <a href="classes/chillerlan-QRCode-QRCode.html#constant_OUTPUT_MODES" class="headerlink"><i class="fas fa-link"></i></a>
  914. </h4>
  915. <aside class="phpdocumentor-element-found-in">
  916. <abbr class="phpdocumentor-element-found-in__file" title="src/QRCode.php"><a href="files/src-qrcode.html"><abbr title="src/QRCode.php">QRCode.php</abbr></a></abbr>
  917. :
  918. <span class="phpdocumentor-element-found-in__line">155</span>
  919. </aside>
  920. <code class="phpdocumentor-signature phpdocumentor-code -deprecated">
  921. <span class="phpdocumentor-signature__visibility">public</span>
  922. <span class="phpdocumentor-signature__type">array&lt;string|int, string&gt;</span>
  923. <span class="phpdocumentor-signature__name">OUTPUT_MODES</span>
  924. = <span class="phpdocumentor-signature__default-value">\chillerlan\QRCode\Output\QROutputInterface::MODES</span>
  925. </code>
  926. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  927. Tags
  928. <a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
  929. </h5>
  930. <dl class="phpdocumentor-tag-list">
  931. <dt class="phpdocumentor-tag-list__entry">
  932. <span class="phpdocumentor-tag__name">deprecated</span>
  933. </dt>
  934. <dd class="phpdocumentor-tag-list__definition">
  935. <span class="phpdocumentor-tag-link">5.0.0</span>
  936. <section class="phpdocumentor-description"><p>use QROutputInterface::MODES instead</p>
  937. </section>
  938. </dd>
  939. <dt class="phpdocumentor-tag-list__entry">
  940. <span class="phpdocumentor-tag__name">see</span>
  941. </dt>
  942. <dd class="phpdocumentor-tag-list__definition">
  943. <span class="phpdocumentor-tag-link"><a href="classes/chillerlan-QRCode-Output-QROutputInterface.html#constant_MODES"><abbr title="\chillerlan\QRCode\Output\QROutputInterface::MODES">QROutputInterface::MODES</abbr></a></span>
  944. </dd>
  945. </dl>
  946. </article>
  947. <article class="phpdocumentor-element -constant -public -deprecated">
  948. <h4 class="phpdocumentor-element__name" id="constant_OUTPUT_STRING_JSON">
  949. OUTPUT_STRING_JSON
  950. <a href="classes/chillerlan-QRCode-QRCode.html#constant_OUTPUT_STRING_JSON" class="headerlink"><i class="fas fa-link"></i></a>
  951. </h4>
  952. <aside class="phpdocumentor-element-found-in">
  953. <abbr class="phpdocumentor-element-found-in__file" title="src/QRCode.php"><a href="files/src-qrcode.html"><abbr title="src/QRCode.php">QRCode.php</abbr></a></abbr>
  954. :
  955. <span class="phpdocumentor-element-found-in__line">113</span>
  956. </aside>
  957. <code class="phpdocumentor-signature phpdocumentor-code -deprecated">
  958. <span class="phpdocumentor-signature__visibility">public</span>
  959. <span class="phpdocumentor-signature__type">string</span>
  960. <span class="phpdocumentor-signature__name">OUTPUT_STRING_JSON</span>
  961. = <span class="phpdocumentor-signature__default-value">\chillerlan\QRCode\Output\QROutputInterface::STRING_JSON</span>
  962. </code>
  963. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  964. Tags
  965. <a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
  966. </h5>
  967. <dl class="phpdocumentor-tag-list">
  968. <dt class="phpdocumentor-tag-list__entry">
  969. <span class="phpdocumentor-tag__name">deprecated</span>
  970. </dt>
  971. <dd class="phpdocumentor-tag-list__definition">
  972. <span class="phpdocumentor-tag-link">5.0.0</span>
  973. <section class="phpdocumentor-description"><p>use QROutputInterface::STRING_JSON instead</p>
  974. </section>
  975. </dd>
  976. <dt class="phpdocumentor-tag-list__entry">
  977. <span class="phpdocumentor-tag__name">see</span>
  978. </dt>
  979. <dd class="phpdocumentor-tag-list__definition">
  980. <span class="phpdocumentor-tag-link"><a href="classes/chillerlan-QRCode-Output-QROutputInterface.html#constant_STRING_JSON"><abbr title="\chillerlan\QRCode\Output\QROutputInterface::STRING_JSON">QROutputInterface::STRING_JSON</abbr></a></span>
  981. </dd>
  982. </dl>
  983. </article>
  984. <article class="phpdocumentor-element -constant -public -deprecated">
  985. <h4 class="phpdocumentor-element__name" id="constant_OUTPUT_STRING_TEXT">
  986. OUTPUT_STRING_TEXT
  987. <a href="classes/chillerlan-QRCode-QRCode.html#constant_OUTPUT_STRING_TEXT" class="headerlink"><i class="fas fa-link"></i></a>
  988. </h4>
  989. <aside class="phpdocumentor-element-found-in">
  990. <abbr class="phpdocumentor-element-found-in__file" title="src/QRCode.php"><a href="files/src-qrcode.html"><abbr title="src/QRCode.php">QRCode.php</abbr></a></abbr>
  991. :
  992. <span class="phpdocumentor-element-found-in__line">120</span>
  993. </aside>
  994. <code class="phpdocumentor-signature phpdocumentor-code -deprecated">
  995. <span class="phpdocumentor-signature__visibility">public</span>
  996. <span class="phpdocumentor-signature__type">string</span>
  997. <span class="phpdocumentor-signature__name">OUTPUT_STRING_TEXT</span>
  998. = <span class="phpdocumentor-signature__default-value">\chillerlan\QRCode\Output\QROutputInterface::STRING_TEXT</span>
  999. </code>
  1000. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  1001. Tags
  1002. <a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
  1003. </h5>
  1004. <dl class="phpdocumentor-tag-list">
  1005. <dt class="phpdocumentor-tag-list__entry">
  1006. <span class="phpdocumentor-tag__name">deprecated</span>
  1007. </dt>
  1008. <dd class="phpdocumentor-tag-list__definition">
  1009. <span class="phpdocumentor-tag-link">5.0.0</span>
  1010. <section class="phpdocumentor-description"><p>use QROutputInterface::STRING_TEXT instead</p>
  1011. </section>
  1012. </dd>
  1013. <dt class="phpdocumentor-tag-list__entry">
  1014. <span class="phpdocumentor-tag__name">see</span>
  1015. </dt>
  1016. <dd class="phpdocumentor-tag-list__definition">
  1017. <span class="phpdocumentor-tag-link"><a href="classes/chillerlan-QRCode-Output-QROutputInterface.html#constant_STRING_TEXT"><abbr title="\chillerlan\QRCode\Output\QROutputInterface::STRING_TEXT">QROutputInterface::STRING_TEXT</abbr></a></span>
  1018. </dd>
  1019. </dl>
  1020. </article>
  1021. <article class="phpdocumentor-element -constant -public -deprecated">
  1022. <h4 class="phpdocumentor-element__name" id="constant_VERSION_AUTO">
  1023. VERSION_AUTO
  1024. <a href="classes/chillerlan-QRCode-QRCode.html#constant_VERSION_AUTO" class="headerlink"><i class="fas fa-link"></i></a>
  1025. </h4>
  1026. <aside class="phpdocumentor-element-found-in">
  1027. <abbr class="phpdocumentor-element-found-in__file" title="src/QRCode.php"><a href="files/src-qrcode.html"><abbr title="src/QRCode.php">QRCode.php</abbr></a></abbr>
  1028. :
  1029. <span class="phpdocumentor-element-found-in__line">36</span>
  1030. </aside>
  1031. <code class="phpdocumentor-signature phpdocumentor-code -deprecated">
  1032. <span class="phpdocumentor-signature__visibility">public</span>
  1033. <span class="phpdocumentor-signature__type">int</span>
  1034. <span class="phpdocumentor-signature__name">VERSION_AUTO</span>
  1035. = <span class="phpdocumentor-signature__default-value">\chillerlan\QRCode\Common\Version::AUTO</span>
  1036. </code>
  1037. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  1038. Tags
  1039. <a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
  1040. </h5>
  1041. <dl class="phpdocumentor-tag-list">
  1042. <dt class="phpdocumentor-tag-list__entry">
  1043. <span class="phpdocumentor-tag__name">deprecated</span>
  1044. </dt>
  1045. <dd class="phpdocumentor-tag-list__definition">
  1046. <span class="phpdocumentor-tag-link">5.0.0</span>
  1047. <section class="phpdocumentor-description"><p>use Version::AUTO instead</p>
  1048. </section>
  1049. </dd>
  1050. <dt class="phpdocumentor-tag-list__entry">
  1051. <span class="phpdocumentor-tag__name">see</span>
  1052. </dt>
  1053. <dd class="phpdocumentor-tag-list__definition">
  1054. <span class="phpdocumentor-tag-link"><a href="classes/chillerlan-QRCode-Common-Version.html#constant_AUTO"><abbr title="\chillerlan\QRCode\Common\Version::AUTO">Version::AUTO</abbr></a></span>
  1055. </dd>
  1056. </dl>
  1057. </article>
  1058. </section>
  1059. <section class="phpdocumentor-properties">
  1060. <h3 class="phpdocumentor-elements__header" id="properties">
  1061. Properties
  1062. <a href="classes/chillerlan-QRCode-QRCode.html#properties" class="headerlink"><i class="fas fa-link"></i></a>
  1063. </h3>
  1064. <article
  1065. class="
  1066. phpdocumentor-element
  1067. -property
  1068. -protected
  1069. "
  1070. >
  1071. <h4 class="phpdocumentor-element__name" id="property_dataSegments">
  1072. $dataSegments
  1073. <a href="classes/chillerlan-QRCode-QRCode.html#property_dataSegments" class="headerlink"><i class="fas fa-link"></i></a>
  1074. <span class="phpdocumentor-element__modifiers">
  1075. </span>
  1076. </h4>
  1077. <aside class="phpdocumentor-element-found-in">
  1078. <abbr class="phpdocumentor-element-found-in__file" title="src/QRCode.php"><a href="files/src-qrcode.html"><abbr title="src/QRCode.php">QRCode.php</abbr></a></abbr>
  1079. :
  1080. <span class="phpdocumentor-element-found-in__line">171</span>
  1081. </aside>
  1082. <p class="phpdocumentor-summary">A collection of one or more data segments of [classname, data] to write</p>
  1083. <code class="phpdocumentor-code phpdocumentor-signature ">
  1084. <span class="phpdocumentor-signature__visibility">protected</span>
  1085. <span class="phpdocumentor-signature__type">array&lt;string|int, mixed&gt;</span>
  1086. <span class="phpdocumentor-signature__name">$dataSegments</span>
  1087. = <span class="phpdocumentor-signature__default-value">[]</span></code>
  1088. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  1089. Tags
  1090. <a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
  1091. </h5>
  1092. <dl class="phpdocumentor-tag-list">
  1093. <dt class="phpdocumentor-tag-list__entry">
  1094. <span class="phpdocumentor-tag__name">see</span>
  1095. </dt>
  1096. <dd class="phpdocumentor-tag-list__definition">
  1097. <span class="phpdocumentor-tag-link"><a href="classes/chillerlan-QRCode-Data-QRDataModeInterface.html"><abbr title="\chillerlan\QRCode\Data\QRDataModeInterface">QRDataModeInterface</abbr></a></span>
  1098. </dd>
  1099. </dl>
  1100. </article>
  1101. <article
  1102. class="
  1103. phpdocumentor-element
  1104. -property
  1105. -protected
  1106. "
  1107. >
  1108. <h4 class="phpdocumentor-element__name" id="property_options">
  1109. $options
  1110. <a href="classes/chillerlan-QRCode-QRCode.html#property_options" class="headerlink"><i class="fas fa-link"></i></a>
  1111. <span class="phpdocumentor-element__modifiers">
  1112. </span>
  1113. </h4>
  1114. <aside class="phpdocumentor-element-found-in">
  1115. <abbr class="phpdocumentor-element-found-in__file" title="src/QRCode.php"><a href="files/src-qrcode.html"><abbr title="src/QRCode.php">QRCode.php</abbr></a></abbr>
  1116. :
  1117. <span class="phpdocumentor-element-found-in__line">162</span>
  1118. </aside>
  1119. <p class="phpdocumentor-summary">The settings container</p>
  1120. <code class="phpdocumentor-code phpdocumentor-signature ">
  1121. <span class="phpdocumentor-signature__visibility">protected</span>
  1122. <span class="phpdocumentor-signature__type"><abbr title="\chillerlan\Settings\SettingsContainerInterface">SettingsContainerInterface</abbr></span>
  1123. <span class="phpdocumentor-signature__name">$options</span>
  1124. </code>
  1125. </article>
  1126. </section>
  1127. <section class="phpdocumentor-methods">
  1128. <h3 class="phpdocumentor-elements__header" id="methods">
  1129. Methods
  1130. <a href="classes/chillerlan-QRCode-QRCode.html#methods" class="headerlink"><i class="fas fa-link"></i></a>
  1131. </h3>
  1132. <article
  1133. class="phpdocumentor-element
  1134. -method
  1135. -public
  1136. "
  1137. >
  1138. <h4 class="phpdocumentor-element__name" id="method___construct">
  1139. __construct()
  1140. <a href="classes/chillerlan-QRCode-QRCode.html#method___construct" class="headerlink"><i class="fas fa-link"></i></a>
  1141. </h4>
  1142. <aside class="phpdocumentor-element-found-in">
  1143. <abbr class="phpdocumentor-element-found-in__file" title="src/QRCode.php"><a href="files/src-qrcode.html"><abbr title="src/QRCode.php">QRCode.php</abbr></a></abbr>
  1144. :
  1145. <span class="phpdocumentor-element-found-in__line">178</span>
  1146. </aside>
  1147. <p class="phpdocumentor-summary">QRCode constructor.</p>
  1148. <code class="phpdocumentor-code phpdocumentor-signature ">
  1149. <span class="phpdocumentor-signature__visibility">public</span>
  1150. <span class="phpdocumentor-signature__name">__construct</span><span>(</span><span class="phpdocumentor-signature__argument"><span>[</span><span class="phpdocumentor-signature__argument__return-type"><abbr title="\chillerlan\Settings\SettingsContainerInterface">SettingsContainerInterface</abbr>&nbsp;</span><span class="phpdocumentor-signature__argument__name">$options</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
  1151. <section class="phpdocumentor-description"><p>Sets the options instance</p>
  1152. </section>
  1153. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  1154. <dl class="phpdocumentor-argument-list">
  1155. <dt class="phpdocumentor-argument-list__entry">
  1156. <span class="phpdocumentor-signature__argument__name">$options</span>
  1157. : <span class="phpdocumentor-signature__argument__return-type"><abbr title="\chillerlan\Settings\SettingsContainerInterface">SettingsContainerInterface</abbr></span>
  1158. = <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
  1159. <dd class="phpdocumentor-argument-list__definition">
  1160. <section class="phpdocumentor-description"></section>
  1161. </dd>
  1162. </dl>
  1163. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  1164. <span class="phpdocumentor-signature__response_type">mixed</span>
  1165. &mdash;
  1166. </article>
  1167. <article
  1168. class="phpdocumentor-element
  1169. -method
  1170. -public
  1171. "
  1172. >
  1173. <h4 class="phpdocumentor-element__name" id="method_addAlphaNumSegment">
  1174. addAlphaNumSegment()
  1175. <a href="classes/chillerlan-QRCode-QRCode.html#method_addAlphaNumSegment" class="headerlink"><i class="fas fa-link"></i></a>
  1176. </h4>
  1177. <aside class="phpdocumentor-element-found-in">
  1178. <abbr class="phpdocumentor-element-found-in__file" title="src/QRCode.php"><a href="files/src-qrcode.html"><abbr title="src/QRCode.php">QRCode.php</abbr></a></abbr>
  1179. :
  1180. <span class="phpdocumentor-element-found-in__line">357</span>
  1181. </aside>
  1182. <p class="phpdocumentor-summary">Adds an alphanumeric data segment</p>
  1183. <code class="phpdocumentor-code phpdocumentor-signature ">
  1184. <span class="phpdocumentor-signature__visibility">public</span>
  1185. <span class="phpdocumentor-signature__name">addAlphaNumSegment</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$data</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">self</span></code>
  1186. <section class="phpdocumentor-description"><p>ISO/IEC 18004:2000 8.3.3 - Alphanumeric Mode</p>
  1187. </section>
  1188. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  1189. <dl class="phpdocumentor-argument-list">
  1190. <dt class="phpdocumentor-argument-list__entry">
  1191. <span class="phpdocumentor-signature__argument__name">$data</span>
  1192. : <span class="phpdocumentor-signature__argument__return-type">string</span>
  1193. </dt>
  1194. <dd class="phpdocumentor-argument-list__definition">
  1195. <section class="phpdocumentor-description"></section>
  1196. </dd>
  1197. </dl>
  1198. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  1199. <span class="phpdocumentor-signature__response_type">self</span>
  1200. &mdash;
  1201. </article>
  1202. <article
  1203. class="phpdocumentor-element
  1204. -method
  1205. -public
  1206. "
  1207. >
  1208. <h4 class="phpdocumentor-element__name" id="method_addByteSegment">
  1209. addByteSegment()
  1210. <a href="classes/chillerlan-QRCode-QRCode.html#method_addByteSegment" class="headerlink"><i class="fas fa-link"></i></a>
  1211. </h4>
  1212. <aside class="phpdocumentor-element-found-in">
  1213. <abbr class="phpdocumentor-element-found-in__file" title="src/QRCode.php"><a href="files/src-qrcode.html"><abbr title="src/QRCode.php">QRCode.php</abbr></a></abbr>
  1214. :
  1215. <span class="phpdocumentor-element-found-in__line">379</span>
  1216. </aside>
  1217. <p class="phpdocumentor-summary">Adds an 8-bit byte data segment</p>
  1218. <code class="phpdocumentor-code phpdocumentor-signature ">
  1219. <span class="phpdocumentor-signature__visibility">public</span>
  1220. <span class="phpdocumentor-signature__name">addByteSegment</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$data</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">self</span></code>
  1221. <section class="phpdocumentor-description"><p>ISO/IEC 18004:2000 8.3.4 - 8-bit Byte Mode</p>
  1222. </section>
  1223. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  1224. <dl class="phpdocumentor-argument-list">
  1225. <dt class="phpdocumentor-argument-list__entry">
  1226. <span class="phpdocumentor-signature__argument__name">$data</span>
  1227. : <span class="phpdocumentor-signature__argument__return-type">string</span>
  1228. </dt>
  1229. <dd class="phpdocumentor-argument-list__definition">
  1230. <section class="phpdocumentor-description"></section>
  1231. </dd>
  1232. </dl>
  1233. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  1234. <span class="phpdocumentor-signature__response_type">self</span>
  1235. &mdash;
  1236. </article>
  1237. <article
  1238. class="phpdocumentor-element
  1239. -method
  1240. -public
  1241. "
  1242. >
  1243. <h4 class="phpdocumentor-element__name" id="method_addEciDesignator">
  1244. addEciDesignator()
  1245. <a href="classes/chillerlan-QRCode-QRCode.html#method_addEciDesignator" class="headerlink"><i class="fas fa-link"></i></a>
  1246. </h4>
  1247. <aside class="phpdocumentor-element-found-in">
  1248. <abbr class="phpdocumentor-element-found-in__file" title="src/QRCode.php"><a href="files/src-qrcode.html"><abbr title="src/QRCode.php">QRCode.php</abbr></a></abbr>
  1249. :
  1250. <span class="phpdocumentor-element-found-in__line">390</span>
  1251. </aside>
  1252. <p class="phpdocumentor-summary">Adds a standalone ECI designator</p>
  1253. <code class="phpdocumentor-code phpdocumentor-signature ">
  1254. <span class="phpdocumentor-signature__visibility">public</span>
  1255. <span class="phpdocumentor-signature__name">addEciDesignator</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$encoding</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">self</span></code>
  1256. <section class="phpdocumentor-description"><p>ISO/IEC 18004:2000 8.3.1 - Extended Channel Interpretation (ECI) Mode</p>
  1257. </section>
  1258. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  1259. <dl class="phpdocumentor-argument-list">
  1260. <dt class="phpdocumentor-argument-list__entry">
  1261. <span class="phpdocumentor-signature__argument__name">$encoding</span>
  1262. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  1263. </dt>
  1264. <dd class="phpdocumentor-argument-list__definition">
  1265. <section class="phpdocumentor-description"></section>
  1266. </dd>
  1267. </dl>
  1268. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  1269. <span class="phpdocumentor-signature__response_type">self</span>
  1270. &mdash;
  1271. </article>
  1272. <article
  1273. class="phpdocumentor-element
  1274. -method
  1275. -public
  1276. "
  1277. >
  1278. <h4 class="phpdocumentor-element__name" id="method_addEciSegment">
  1279. addEciSegment()
  1280. <a href="classes/chillerlan-QRCode-QRCode.html#method_addEciSegment" class="headerlink"><i class="fas fa-link"></i></a>
  1281. </h4>
  1282. <aside class="phpdocumentor-element-found-in">
  1283. <abbr class="phpdocumentor-element-found-in__file" title="src/QRCode.php"><a href="files/src-qrcode.html"><abbr title="src/QRCode.php">QRCode.php</abbr></a></abbr>
  1284. :
  1285. <span class="phpdocumentor-element-found-in__line">403</span>
  1286. </aside>
  1287. <p class="phpdocumentor-summary">Adds an ECI data segment (including designator)</p>
  1288. <code class="phpdocumentor-code phpdocumentor-signature ">
  1289. <span class="phpdocumentor-signature__visibility">public</span>
  1290. <span class="phpdocumentor-signature__name">addEciSegment</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$encoding</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$data</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">self</span></code>
  1291. <section class="phpdocumentor-description"><p>i hate this somehow but i'll leave it for now</p>
  1292. </section>
  1293. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  1294. <dl class="phpdocumentor-argument-list">
  1295. <dt class="phpdocumentor-argument-list__entry">
  1296. <span class="phpdocumentor-signature__argument__name">$encoding</span>
  1297. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  1298. </dt>
  1299. <dd class="phpdocumentor-argument-list__definition">
  1300. <section class="phpdocumentor-description"></section>
  1301. </dd>
  1302. <dt class="phpdocumentor-argument-list__entry">
  1303. <span class="phpdocumentor-signature__argument__name">$data</span>
  1304. : <span class="phpdocumentor-signature__argument__return-type">string</span>
  1305. </dt>
  1306. <dd class="phpdocumentor-argument-list__definition">
  1307. <section class="phpdocumentor-description"></section>
  1308. </dd>
  1309. </dl>
  1310. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  1311. Tags
  1312. <a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
  1313. </h5>
  1314. <dl class="phpdocumentor-tag-list">
  1315. <dt class="phpdocumentor-tag-list__entry">
  1316. <span class="phpdocumentor-tag__name">throws</span>
  1317. </dt>
  1318. <dd class="phpdocumentor-tag-list__definition">
  1319. <span class="phpdocumentor-tag-link"><a href="classes/chillerlan-QRCode-QRCodeException.html"><abbr title="\chillerlan\QRCode\QRCodeException">QRCodeException</abbr></a></span>
  1320. </dd>
  1321. </dl>
  1322. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  1323. <span class="phpdocumentor-signature__response_type">self</span>
  1324. &mdash;
  1325. </article>
  1326. <article
  1327. class="phpdocumentor-element
  1328. -method
  1329. -public
  1330. "
  1331. >
  1332. <h4 class="phpdocumentor-element__name" id="method_addKanjiSegment">
  1333. addKanjiSegment()
  1334. <a href="classes/chillerlan-QRCode-QRCode.html#method_addKanjiSegment" class="headerlink"><i class="fas fa-link"></i></a>
  1335. </h4>
  1336. <aside class="phpdocumentor-element-found-in">
  1337. <abbr class="phpdocumentor-element-found-in__file" title="src/QRCode.php"><a href="files/src-qrcode.html"><abbr title="src/QRCode.php">QRCode.php</abbr></a></abbr>
  1338. :
  1339. <span class="phpdocumentor-element-found-in__line">368</span>
  1340. </aside>
  1341. <p class="phpdocumentor-summary">Adds a Kanji data segment</p>
  1342. <code class="phpdocumentor-code phpdocumentor-signature ">
  1343. <span class="phpdocumentor-signature__visibility">public</span>
  1344. <span class="phpdocumentor-signature__name">addKanjiSegment</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$data</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">self</span></code>
  1345. <section class="phpdocumentor-description"><p>ISO/IEC 18004:2000 8.3.5 - Kanji Mode</p>
  1346. </section>
  1347. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  1348. <dl class="phpdocumentor-argument-list">
  1349. <dt class="phpdocumentor-argument-list__entry">
  1350. <span class="phpdocumentor-signature__argument__name">$data</span>
  1351. : <span class="phpdocumentor-signature__argument__return-type">string</span>
  1352. </dt>
  1353. <dd class="phpdocumentor-argument-list__definition">
  1354. <section class="phpdocumentor-description"></section>
  1355. </dd>
  1356. </dl>
  1357. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  1358. <span class="phpdocumentor-signature__response_type">self</span>
  1359. &mdash;
  1360. </article>
  1361. <article
  1362. class="phpdocumentor-element
  1363. -method
  1364. -public
  1365. "
  1366. >
  1367. <h4 class="phpdocumentor-element__name" id="method_addNumericSegment">
  1368. addNumericSegment()
  1369. <a href="classes/chillerlan-QRCode-QRCode.html#method_addNumericSegment" class="headerlink"><i class="fas fa-link"></i></a>
  1370. </h4>
  1371. <aside class="phpdocumentor-element-found-in">
  1372. <abbr class="phpdocumentor-element-found-in__file" title="src/QRCode.php"><a href="files/src-qrcode.html"><abbr title="src/QRCode.php">QRCode.php</abbr></a></abbr>
  1373. :
  1374. <span class="phpdocumentor-element-found-in__line">346</span>
  1375. </aside>
  1376. <p class="phpdocumentor-summary">Adds a numeric data segment</p>
  1377. <code class="phpdocumentor-code phpdocumentor-signature ">
  1378. <span class="phpdocumentor-signature__visibility">public</span>
  1379. <span class="phpdocumentor-signature__name">addNumericSegment</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$data</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">self</span></code>
  1380. <section class="phpdocumentor-description"><p>ISO/IEC 18004:2000 8.3.2 - Numeric Mode</p>
  1381. </section>
  1382. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  1383. <dl class="phpdocumentor-argument-list">
  1384. <dt class="phpdocumentor-argument-list__entry">
  1385. <span class="phpdocumentor-signature__argument__name">$data</span>
  1386. : <span class="phpdocumentor-signature__argument__return-type">string</span>
  1387. </dt>
  1388. <dd class="phpdocumentor-argument-list__definition">
  1389. <section class="phpdocumentor-description"></section>
  1390. </dd>
  1391. </dl>
  1392. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  1393. <span class="phpdocumentor-signature__response_type">self</span>
  1394. &mdash;
  1395. </article>
  1396. <article
  1397. class="phpdocumentor-element
  1398. -method
  1399. -public
  1400. "
  1401. >
  1402. <h4 class="phpdocumentor-element__name" id="method_clearSegments">
  1403. clearSegments()
  1404. <a href="classes/chillerlan-QRCode-QRCode.html#method_clearSegments" class="headerlink"><i class="fas fa-link"></i></a>
  1405. </h4>
  1406. <aside class="phpdocumentor-element-found-in">
  1407. <abbr class="phpdocumentor-element-found-in__file" title="src/QRCode.php"><a href="files/src-qrcode.html"><abbr title="src/QRCode.php">QRCode.php</abbr></a></abbr>
  1408. :
  1409. <span class="phpdocumentor-element-found-in__line">335</span>
  1410. </aside>
  1411. <p class="phpdocumentor-summary">Clears the data segments array</p>
  1412. <code class="phpdocumentor-code phpdocumentor-signature ">
  1413. <span class="phpdocumentor-signature__visibility">public</span>
  1414. <span class="phpdocumentor-signature__name">clearSegments</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">self</span></code>
  1415. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  1416. <span class="phpdocumentor-signature__response_type">self</span>
  1417. &mdash;
  1418. </article>
  1419. <article
  1420. class="phpdocumentor-element
  1421. -method
  1422. -public
  1423. "
  1424. >
  1425. <h4 class="phpdocumentor-element__name" id="method_getMatrix">
  1426. getMatrix()
  1427. <a href="classes/chillerlan-QRCode-QRCode.html#method_getMatrix" class="headerlink"><i class="fas fa-link"></i></a>
  1428. </h4>
  1429. <aside class="phpdocumentor-element-found-in">
  1430. <abbr class="phpdocumentor-element-found-in__file" title="src/QRCode.php"><a href="files/src-qrcode.html"><abbr title="src/QRCode.php">QRCode.php</abbr></a></abbr>
  1431. :
  1432. <span class="phpdocumentor-element-found-in__line">209</span>
  1433. </aside>
  1434. <p class="phpdocumentor-summary">Returns a QRMatrix object for the given $data and current QROptions</p>
  1435. <code class="phpdocumentor-code phpdocumentor-signature ">
  1436. <span class="phpdocumentor-signature__visibility">public</span>
  1437. <span class="phpdocumentor-signature__name">getMatrix</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type"><a href="classes/chillerlan-QRCode-Data-QRMatrix.html"><abbr title="\chillerlan\QRCode\Data\QRMatrix">QRMatrix</abbr></a></span></code>
  1438. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  1439. Tags
  1440. <a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
  1441. </h5>
  1442. <dl class="phpdocumentor-tag-list">
  1443. <dt class="phpdocumentor-tag-list__entry">
  1444. <span class="phpdocumentor-tag__name">throws</span>
  1445. </dt>
  1446. <dd class="phpdocumentor-tag-list__definition">
  1447. <span class="phpdocumentor-tag-link"><a href="classes/chillerlan-QRCode-Data-QRCodeDataException.html"><abbr title="\chillerlan\QRCode\Data\QRCodeDataException">QRCodeDataException</abbr></a></span>
  1448. </dd>
  1449. </dl>
  1450. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  1451. <span class="phpdocumentor-signature__response_type"><a href="classes/chillerlan-QRCode-Data-QRMatrix.html"><abbr title="\chillerlan\QRCode\Data\QRMatrix">QRMatrix</abbr></a></span>
  1452. &mdash;
  1453. </article>
  1454. <article
  1455. class="phpdocumentor-element
  1456. -method
  1457. -public
  1458. -deprecated "
  1459. >
  1460. <h4 class="phpdocumentor-element__name" id="method_isAlphaNum">
  1461. isAlphaNum()
  1462. <a href="classes/chillerlan-QRCode-QRCode.html#method_isAlphaNum" class="headerlink"><i class="fas fa-link"></i></a>
  1463. </h4>
  1464. <aside class="phpdocumentor-element-found-in">
  1465. <abbr class="phpdocumentor-element-found-in__file" title="src/QRCode.php"><a href="files/src-qrcode.html"><abbr title="src/QRCode.php">QRCode.php</abbr></a></abbr>
  1466. :
  1467. <span class="phpdocumentor-element-found-in__line">296</span>
  1468. </aside>
  1469. <p class="phpdocumentor-summary">checks if a string qualifies as alphanumeric (convenience method)</p>
  1470. <code class="phpdocumentor-code phpdocumentor-signature -deprecated">
  1471. <span class="phpdocumentor-signature__visibility">public</span>
  1472. <span class="phpdocumentor-signature__name">isAlphaNum</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$string</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">bool</span></code>
  1473. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  1474. <dl class="phpdocumentor-argument-list">
  1475. <dt class="phpdocumentor-argument-list__entry">
  1476. <span class="phpdocumentor-signature__argument__name">$string</span>
  1477. : <span class="phpdocumentor-signature__argument__return-type">string</span>
  1478. </dt>
  1479. <dd class="phpdocumentor-argument-list__definition">
  1480. <section class="phpdocumentor-description"></section>
  1481. </dd>
  1482. </dl>
  1483. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  1484. Tags
  1485. <a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
  1486. </h5>
  1487. <dl class="phpdocumentor-tag-list">
  1488. <dt class="phpdocumentor-tag-list__entry">
  1489. <span class="phpdocumentor-tag__name">deprecated</span>
  1490. </dt>
  1491. <dd class="phpdocumentor-tag-list__definition">
  1492. <span class="phpdocumentor-tag-link">5.0.0</span>
  1493. <section class="phpdocumentor-description"><p>use AlphaNum::validateString() instead</p>
  1494. </section>
  1495. </dd>
  1496. <dt class="phpdocumentor-tag-list__entry">
  1497. <span class="phpdocumentor-tag__name">see</span>
  1498. </dt>
  1499. <dd class="phpdocumentor-tag-list__definition">
  1500. <span class="phpdocumentor-tag-link"><a href="classes/chillerlan-QRCode-Data-AlphaNum.html#method_validateString"><abbr title="\chillerlan\QRCode\Data\AlphaNum::validateString()">AlphaNum::validateString()</abbr></a></span>
  1501. </dd>
  1502. <dt class="phpdocumentor-tag-list__entry">
  1503. <span class="phpdocumentor-tag__name">codeCoverageIgnore</span>
  1504. </dt>
  1505. <dd class="phpdocumentor-tag-list__definition">
  1506. </dd>
  1507. </dl>
  1508. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  1509. <span class="phpdocumentor-signature__response_type">bool</span>
  1510. &mdash;
  1511. </article>
  1512. <article
  1513. class="phpdocumentor-element
  1514. -method
  1515. -public
  1516. -deprecated "
  1517. >
  1518. <h4 class="phpdocumentor-element__name" id="method_isByte">
  1519. isByte()
  1520. <a href="classes/chillerlan-QRCode-QRCode.html#method_isByte" class="headerlink"><i class="fas fa-link"></i></a>
  1521. </h4>
  1522. <aside class="phpdocumentor-element-found-in">
  1523. <abbr class="phpdocumentor-element-found-in__file" title="src/QRCode.php"><a href="files/src-qrcode.html"><abbr title="src/QRCode.php">QRCode.php</abbr></a></abbr>
  1524. :
  1525. <span class="phpdocumentor-element-found-in__line">318</span>
  1526. </aside>
  1527. <p class="phpdocumentor-summary">a dummy (convenience method)</p>
  1528. <code class="phpdocumentor-code phpdocumentor-signature -deprecated">
  1529. <span class="phpdocumentor-signature__visibility">public</span>
  1530. <span class="phpdocumentor-signature__name">isByte</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$string</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">bool</span></code>
  1531. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  1532. <dl class="phpdocumentor-argument-list">
  1533. <dt class="phpdocumentor-argument-list__entry">
  1534. <span class="phpdocumentor-signature__argument__name">$string</span>
  1535. : <span class="phpdocumentor-signature__argument__return-type">string</span>
  1536. </dt>
  1537. <dd class="phpdocumentor-argument-list__definition">
  1538. <section class="phpdocumentor-description"></section>
  1539. </dd>
  1540. </dl>
  1541. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  1542. Tags
  1543. <a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
  1544. </h5>
  1545. <dl class="phpdocumentor-tag-list">
  1546. <dt class="phpdocumentor-tag-list__entry">
  1547. <span class="phpdocumentor-tag__name">deprecated</span>
  1548. </dt>
  1549. <dd class="phpdocumentor-tag-list__definition">
  1550. <span class="phpdocumentor-tag-link">5.0.0</span>
  1551. <section class="phpdocumentor-description"><p>use Byte::validateString() instead</p>
  1552. </section>
  1553. </dd>
  1554. <dt class="phpdocumentor-tag-list__entry">
  1555. <span class="phpdocumentor-tag__name">see</span>
  1556. </dt>
  1557. <dd class="phpdocumentor-tag-list__definition">
  1558. <span class="phpdocumentor-tag-link"><a href="classes/chillerlan-QRCode-Data-Byte.html#method_validateString"><abbr title="\chillerlan\QRCode\Data\Byte::validateString()">Byte::validateString()</abbr></a></span>
  1559. </dd>
  1560. <dt class="phpdocumentor-tag-list__entry">
  1561. <span class="phpdocumentor-tag__name">codeCoverageIgnore</span>
  1562. </dt>
  1563. <dd class="phpdocumentor-tag-list__definition">
  1564. </dd>
  1565. </dl>
  1566. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  1567. <span class="phpdocumentor-signature__response_type">bool</span>
  1568. &mdash;
  1569. </article>
  1570. <article
  1571. class="phpdocumentor-element
  1572. -method
  1573. -public
  1574. -deprecated "
  1575. >
  1576. <h4 class="phpdocumentor-element__name" id="method_isKanji">
  1577. isKanji()
  1578. <a href="classes/chillerlan-QRCode-QRCode.html#method_isKanji" class="headerlink"><i class="fas fa-link"></i></a>
  1579. </h4>
  1580. <aside class="phpdocumentor-element-found-in">
  1581. <abbr class="phpdocumentor-element-found-in__file" title="src/QRCode.php"><a href="files/src-qrcode.html"><abbr title="src/QRCode.php">QRCode.php</abbr></a></abbr>
  1582. :
  1583. <span class="phpdocumentor-element-found-in__line">307</span>
  1584. </aside>
  1585. <p class="phpdocumentor-summary">checks if a string qualifies as Kanji (convenience method)</p>
  1586. <code class="phpdocumentor-code phpdocumentor-signature -deprecated">
  1587. <span class="phpdocumentor-signature__visibility">public</span>
  1588. <span class="phpdocumentor-signature__name">isKanji</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$string</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">bool</span></code>
  1589. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  1590. <dl class="phpdocumentor-argument-list">
  1591. <dt class="phpdocumentor-argument-list__entry">
  1592. <span class="phpdocumentor-signature__argument__name">$string</span>
  1593. : <span class="phpdocumentor-signature__argument__return-type">string</span>
  1594. </dt>
  1595. <dd class="phpdocumentor-argument-list__definition">
  1596. <section class="phpdocumentor-description"></section>
  1597. </dd>
  1598. </dl>
  1599. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  1600. Tags
  1601. <a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
  1602. </h5>
  1603. <dl class="phpdocumentor-tag-list">
  1604. <dt class="phpdocumentor-tag-list__entry">
  1605. <span class="phpdocumentor-tag__name">deprecated</span>
  1606. </dt>
  1607. <dd class="phpdocumentor-tag-list__definition">
  1608. <span class="phpdocumentor-tag-link">5.0.0</span>
  1609. <section class="phpdocumentor-description"><p>use Kanji::validateString() instead</p>
  1610. </section>
  1611. </dd>
  1612. <dt class="phpdocumentor-tag-list__entry">
  1613. <span class="phpdocumentor-tag__name">see</span>
  1614. </dt>
  1615. <dd class="phpdocumentor-tag-list__definition">
  1616. <span class="phpdocumentor-tag-link"><a href="classes/chillerlan-QRCode-Data-Kanji.html#method_validateString"><abbr title="\chillerlan\QRCode\Data\Kanji::validateString()">Kanji::validateString()</abbr></a></span>
  1617. </dd>
  1618. <dt class="phpdocumentor-tag-list__entry">
  1619. <span class="phpdocumentor-tag__name">codeCoverageIgnore</span>
  1620. </dt>
  1621. <dd class="phpdocumentor-tag-list__definition">
  1622. </dd>
  1623. </dl>
  1624. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  1625. <span class="phpdocumentor-signature__response_type">bool</span>
  1626. &mdash;
  1627. </article>
  1628. <article
  1629. class="phpdocumentor-element
  1630. -method
  1631. -public
  1632. -deprecated "
  1633. >
  1634. <h4 class="phpdocumentor-element__name" id="method_isNumber">
  1635. isNumber()
  1636. <a href="classes/chillerlan-QRCode-QRCode.html#method_isNumber" class="headerlink"><i class="fas fa-link"></i></a>
  1637. </h4>
  1638. <aside class="phpdocumentor-element-found-in">
  1639. <abbr class="phpdocumentor-element-found-in__file" title="src/QRCode.php"><a href="files/src-qrcode.html"><abbr title="src/QRCode.php">QRCode.php</abbr></a></abbr>
  1640. :
  1641. <span class="phpdocumentor-element-found-in__line">285</span>
  1642. </aside>
  1643. <p class="phpdocumentor-summary">checks if a string qualifies as numeric (convenience method)</p>
  1644. <code class="phpdocumentor-code phpdocumentor-signature -deprecated">
  1645. <span class="phpdocumentor-signature__visibility">public</span>
  1646. <span class="phpdocumentor-signature__name">isNumber</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$string</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">bool</span></code>
  1647. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  1648. <dl class="phpdocumentor-argument-list">
  1649. <dt class="phpdocumentor-argument-list__entry">
  1650. <span class="phpdocumentor-signature__argument__name">$string</span>
  1651. : <span class="phpdocumentor-signature__argument__return-type">string</span>
  1652. </dt>
  1653. <dd class="phpdocumentor-argument-list__definition">
  1654. <section class="phpdocumentor-description"></section>
  1655. </dd>
  1656. </dl>
  1657. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  1658. Tags
  1659. <a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
  1660. </h5>
  1661. <dl class="phpdocumentor-tag-list">
  1662. <dt class="phpdocumentor-tag-list__entry">
  1663. <span class="phpdocumentor-tag__name">deprecated</span>
  1664. </dt>
  1665. <dd class="phpdocumentor-tag-list__definition">
  1666. <span class="phpdocumentor-tag-link">5.0.0</span>
  1667. <section class="phpdocumentor-description"><p>use Number::validateString() instead</p>
  1668. </section>
  1669. </dd>
  1670. <dt class="phpdocumentor-tag-list__entry">
  1671. <span class="phpdocumentor-tag__name">see</span>
  1672. </dt>
  1673. <dd class="phpdocumentor-tag-list__definition">
  1674. <span class="phpdocumentor-tag-link"><a href="classes/chillerlan-QRCode-Data-Number.html#method_validateString"><abbr title="\chillerlan\QRCode\Data\Number::validateString()">Number::validateString()</abbr></a></span>
  1675. </dd>
  1676. <dt class="phpdocumentor-tag-list__entry">
  1677. <span class="phpdocumentor-tag__name">codeCoverageIgnore</span>
  1678. </dt>
  1679. <dd class="phpdocumentor-tag-list__definition">
  1680. </dd>
  1681. </dl>
  1682. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  1683. <span class="phpdocumentor-signature__response_type">bool</span>
  1684. &mdash;
  1685. </article>
  1686. <article
  1687. class="phpdocumentor-element
  1688. -method
  1689. -public
  1690. "
  1691. >
  1692. <h4 class="phpdocumentor-element__name" id="method_readFromBlob">
  1693. readFromBlob()
  1694. <a href="classes/chillerlan-QRCode-QRCode.html#method_readFromBlob" class="headerlink"><i class="fas fa-link"></i></a>
  1695. </h4>
  1696. <aside class="phpdocumentor-element-found-in">
  1697. <abbr class="phpdocumentor-element-found-in__file" title="src/QRCode.php"><a href="files/src-qrcode.html"><abbr title="src/QRCode.php">QRCode.php</abbr></a></abbr>
  1698. :
  1699. <span class="phpdocumentor-element-found-in__line">431</span>
  1700. </aside>
  1701. <p class="phpdocumentor-summary">Reads a QR Code from the given data blob</p>
  1702. <code class="phpdocumentor-code phpdocumentor-signature ">
  1703. <span class="phpdocumentor-signature__visibility">public</span>
  1704. <span class="phpdocumentor-signature__name">readFromBlob</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$blob</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type"><a href="classes/chillerlan-QRCode-Decoder-DecoderResult.html"><abbr title="\chillerlan\QRCode\Decoder\DecoderResult">DecoderResult</abbr></a></span></code>
  1705. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  1706. <dl class="phpdocumentor-argument-list">
  1707. <dt class="phpdocumentor-argument-list__entry">
  1708. <span class="phpdocumentor-signature__argument__name">$blob</span>
  1709. : <span class="phpdocumentor-signature__argument__return-type">string</span>
  1710. </dt>
  1711. <dd class="phpdocumentor-argument-list__definition">
  1712. <section class="phpdocumentor-description"></section>
  1713. </dd>
  1714. </dl>
  1715. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  1716. <span class="phpdocumentor-signature__response_type"><a href="classes/chillerlan-QRCode-Decoder-DecoderResult.html"><abbr title="\chillerlan\QRCode\Decoder\DecoderResult">DecoderResult</abbr></a></span>
  1717. &mdash;
  1718. </article>
  1719. <article
  1720. class="phpdocumentor-element
  1721. -method
  1722. -public
  1723. "
  1724. >
  1725. <h4 class="phpdocumentor-element__name" id="method_readFromFile">
  1726. readFromFile()
  1727. <a href="classes/chillerlan-QRCode-QRCode.html#method_readFromFile" class="headerlink"><i class="fas fa-link"></i></a>
  1728. </h4>
  1729. <aside class="phpdocumentor-element-found-in">
  1730. <abbr class="phpdocumentor-element-found-in__file" title="src/QRCode.php"><a href="files/src-qrcode.html"><abbr title="src/QRCode.php">QRCode.php</abbr></a></abbr>
  1731. :
  1732. <span class="phpdocumentor-element-found-in__line">424</span>
  1733. </aside>
  1734. <p class="phpdocumentor-summary">Reads a QR Code from a given file</p>
  1735. <code class="phpdocumentor-code phpdocumentor-signature ">
  1736. <span class="phpdocumentor-signature__visibility">public</span>
  1737. <span class="phpdocumentor-signature__name">readFromFile</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$path</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type"><a href="classes/chillerlan-QRCode-Decoder-DecoderResult.html"><abbr title="\chillerlan\QRCode\Decoder\DecoderResult">DecoderResult</abbr></a></span></code>
  1738. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  1739. <dl class="phpdocumentor-argument-list">
  1740. <dt class="phpdocumentor-argument-list__entry">
  1741. <span class="phpdocumentor-signature__argument__name">$path</span>
  1742. : <span class="phpdocumentor-signature__argument__return-type">string</span>
  1743. </dt>
  1744. <dd class="phpdocumentor-argument-list__definition">
  1745. <section class="phpdocumentor-description"></section>
  1746. </dd>
  1747. </dl>
  1748. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  1749. <span class="phpdocumentor-signature__response_type"><a href="classes/chillerlan-QRCode-Decoder-DecoderResult.html"><abbr title="\chillerlan\QRCode\Decoder\DecoderResult">DecoderResult</abbr></a></span>
  1750. &mdash;
  1751. </article>
  1752. <article
  1753. class="phpdocumentor-element
  1754. -method
  1755. -public
  1756. "
  1757. >
  1758. <h4 class="phpdocumentor-element__name" id="method_readFromSource">
  1759. readFromSource()
  1760. <a href="classes/chillerlan-QRCode-QRCode.html#method_readFromSource" class="headerlink"><i class="fas fa-link"></i></a>
  1761. </h4>
  1762. <aside class="phpdocumentor-element-found-in">
  1763. <abbr class="phpdocumentor-element-found-in__file" title="src/QRCode.php"><a href="files/src-qrcode.html"><abbr title="src/QRCode.php">QRCode.php</abbr></a></abbr>
  1764. :
  1765. <span class="phpdocumentor-element-found-in__line">438</span>
  1766. </aside>
  1767. <p class="phpdocumentor-summary">Reads a QR Code from the given luminance source</p>
  1768. <code class="phpdocumentor-code phpdocumentor-signature ">
  1769. <span class="phpdocumentor-signature__visibility">public</span>
  1770. <span class="phpdocumentor-signature__name">readFromSource</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><a href="classes/chillerlan-QRCode-Decoder-LuminanceSourceInterface.html"><abbr title="\chillerlan\QRCode\Decoder\LuminanceSourceInterface">LuminanceSourceInterface</abbr></a>&nbsp;</span><span class="phpdocumentor-signature__argument__name">$source</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type"><a href="classes/chillerlan-QRCode-Decoder-DecoderResult.html"><abbr title="\chillerlan\QRCode\Decoder\DecoderResult">DecoderResult</abbr></a></span></code>
  1771. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  1772. <dl class="phpdocumentor-argument-list">
  1773. <dt class="phpdocumentor-argument-list__entry">
  1774. <span class="phpdocumentor-signature__argument__name">$source</span>
  1775. : <span class="phpdocumentor-signature__argument__return-type"><a href="classes/chillerlan-QRCode-Decoder-LuminanceSourceInterface.html"><abbr title="\chillerlan\QRCode\Decoder\LuminanceSourceInterface">LuminanceSourceInterface</abbr></a></span>
  1776. </dt>
  1777. <dd class="phpdocumentor-argument-list__definition">
  1778. <section class="phpdocumentor-description"></section>
  1779. </dd>
  1780. </dl>
  1781. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  1782. <span class="phpdocumentor-signature__response_type"><a href="classes/chillerlan-QRCode-Decoder-DecoderResult.html"><abbr title="\chillerlan\QRCode\Decoder\DecoderResult">DecoderResult</abbr></a></span>
  1783. &mdash;
  1784. </article>
  1785. <article
  1786. class="phpdocumentor-element
  1787. -method
  1788. -public
  1789. "
  1790. >
  1791. <h4 class="phpdocumentor-element__name" id="method_render">
  1792. render()
  1793. <a href="classes/chillerlan-QRCode-QRCode.html#method_render" class="headerlink"><i class="fas fa-link"></i></a>
  1794. </h4>
  1795. <aside class="phpdocumentor-element-found-in">
  1796. <abbr class="phpdocumentor-element-found-in__file" title="src/QRCode.php"><a href="files/src-qrcode.html"><abbr title="src/QRCode.php">QRCode.php</abbr></a></abbr>
  1797. :
  1798. <span class="phpdocumentor-element-found-in__line">187</span>
  1799. </aside>
  1800. <p class="phpdocumentor-summary">Renders a QR Code for the given $data and QROptions</p>
  1801. <code class="phpdocumentor-code phpdocumentor-signature ">
  1802. <span class="phpdocumentor-signature__visibility">public</span>
  1803. <span class="phpdocumentor-signature__name">render</span><span>(</span><span class="phpdocumentor-signature__argument"><span>[</span><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$data</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$file</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
  1804. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  1805. <dl class="phpdocumentor-argument-list">
  1806. <dt class="phpdocumentor-argument-list__entry">
  1807. <span class="phpdocumentor-signature__argument__name">$data</span>
  1808. : <span class="phpdocumentor-signature__argument__return-type">string</span>
  1809. = <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
  1810. <dd class="phpdocumentor-argument-list__definition">
  1811. <section class="phpdocumentor-description"></section>
  1812. </dd>
  1813. <dt class="phpdocumentor-argument-list__entry">
  1814. <span class="phpdocumentor-signature__argument__name">$file</span>
  1815. : <span class="phpdocumentor-signature__argument__return-type">string</span>
  1816. = <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
  1817. <dd class="phpdocumentor-argument-list__definition">
  1818. <section class="phpdocumentor-description"></section>
  1819. </dd>
  1820. </dl>
  1821. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  1822. <span class="phpdocumentor-signature__response_type">mixed</span>
  1823. &mdash;
  1824. </article>
  1825. <article
  1826. class="phpdocumentor-element
  1827. -method
  1828. -protected
  1829. "
  1830. >
  1831. <h4 class="phpdocumentor-element__name" id="method_addSegment">
  1832. addSegment()
  1833. <a href="classes/chillerlan-QRCode-QRCode.html#method_addSegment" class="headerlink"><i class="fas fa-link"></i></a>
  1834. </h4>
  1835. <aside class="phpdocumentor-element-found-in">
  1836. <abbr class="phpdocumentor-element-found-in__file" title="src/QRCode.php"><a href="files/src-qrcode.html"><abbr title="src/QRCode.php">QRCode.php</abbr></a></abbr>
  1837. :
  1838. <span class="phpdocumentor-element-found-in__line">328</span>
  1839. </aside>
  1840. <p class="phpdocumentor-summary">Adds a data segment</p>
  1841. <code class="phpdocumentor-code phpdocumentor-signature ">
  1842. <span class="phpdocumentor-signature__visibility">protected</span>
  1843. <span class="phpdocumentor-signature__name">addSegment</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><a href="classes/chillerlan-QRCode-Data-QRDataModeInterface.html"><abbr title="\chillerlan\QRCode\Data\QRDataModeInterface">QRDataModeInterface</abbr></a>&nbsp;</span><span class="phpdocumentor-signature__argument__name">$segment</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  1844. <section class="phpdocumentor-description"><p>ISO/IEC 18004:2000 8.3.6 - Mixing modes
  1845. ISO/IEC 18004:2000 Annex H - Optimisation of bit stream length</p>
  1846. </section>
  1847. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  1848. <dl class="phpdocumentor-argument-list">
  1849. <dt class="phpdocumentor-argument-list__entry">
  1850. <span class="phpdocumentor-signature__argument__name">$segment</span>
  1851. : <span class="phpdocumentor-signature__argument__return-type"><a href="classes/chillerlan-QRCode-Data-QRDataModeInterface.html"><abbr title="\chillerlan\QRCode\Data\QRDataModeInterface">QRDataModeInterface</abbr></a></span>
  1852. </dt>
  1853. <dd class="phpdocumentor-argument-list__definition">
  1854. <section class="phpdocumentor-description"></section>
  1855. </dd>
  1856. </dl>
  1857. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  1858. <span class="phpdocumentor-signature__response_type">void</span>
  1859. &mdash;
  1860. </article>
  1861. <article
  1862. class="phpdocumentor-element
  1863. -method
  1864. -protected
  1865. "
  1866. >
  1867. <h4 class="phpdocumentor-element__name" id="method_initCustomOutputInterface">
  1868. initCustomOutputInterface()
  1869. <a href="classes/chillerlan-QRCode-QRCode.html#method_initCustomOutputInterface" class="headerlink"><i class="fas fa-link"></i></a>
  1870. </h4>
  1871. <aside class="phpdocumentor-element-found-in">
  1872. <abbr class="phpdocumentor-element-found-in__file" title="src/QRCode.php"><a href="files/src-qrcode.html"><abbr title="src/QRCode.php">QRCode.php</abbr></a></abbr>
  1873. :
  1874. <span class="phpdocumentor-element-found-in__line">264</span>
  1875. </aside>
  1876. <p class="phpdocumentor-summary">initializes a custom output module after checking the existence of the class and if it implemnts the required interface</p>
  1877. <code class="phpdocumentor-code phpdocumentor-signature ">
  1878. <span class="phpdocumentor-signature__visibility">protected</span>
  1879. <span class="phpdocumentor-signature__name">initCustomOutputInterface</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type"><a href="classes/chillerlan-QRCode-Output-QROutputInterface.html"><abbr title="\chillerlan\QRCode\Output\QROutputInterface">QROutputInterface</abbr></a></span></code>
  1880. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  1881. Tags
  1882. <a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
  1883. </h5>
  1884. <dl class="phpdocumentor-tag-list">
  1885. <dt class="phpdocumentor-tag-list__entry">
  1886. <span class="phpdocumentor-tag__name">throws</span>
  1887. </dt>
  1888. <dd class="phpdocumentor-tag-list__definition">
  1889. <span class="phpdocumentor-tag-link"><a href="classes/chillerlan-QRCode-Output-QRCodeOutputException.html"><abbr title="\chillerlan\QRCode\Output\QRCodeOutputException">QRCodeOutputException</abbr></a></span>
  1890. </dd>
  1891. </dl>
  1892. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  1893. <span class="phpdocumentor-signature__response_type"><a href="classes/chillerlan-QRCode-Output-QROutputInterface.html"><abbr title="\chillerlan\QRCode\Output\QROutputInterface">QROutputInterface</abbr></a></span>
  1894. &mdash;
  1895. </article>
  1896. <article
  1897. class="phpdocumentor-element
  1898. -method
  1899. -protected
  1900. "
  1901. >
  1902. <h4 class="phpdocumentor-element__name" id="method_initOutputInterface">
  1903. initOutputInterface()
  1904. <a href="classes/chillerlan-QRCode-QRCode.html#method_initOutputInterface" class="headerlink"><i class="fas fa-link"></i></a>
  1905. </h4>
  1906. <aside class="phpdocumentor-element-found-in">
  1907. <abbr class="phpdocumentor-element-found-in__file" title="src/QRCode.php"><a href="files/src-qrcode.html"><abbr title="src/QRCode.php">QRCode.php</abbr></a></abbr>
  1908. :
  1909. <span class="phpdocumentor-element-found-in__line">244</span>
  1910. </aside>
  1911. <p class="phpdocumentor-summary">returns a fresh (built-in) QROutputInterface</p>
  1912. <code class="phpdocumentor-code phpdocumentor-signature ">
  1913. <span class="phpdocumentor-signature__visibility">protected</span>
  1914. <span class="phpdocumentor-signature__name">initOutputInterface</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type"><a href="classes/chillerlan-QRCode-Output-QROutputInterface.html"><abbr title="\chillerlan\QRCode\Output\QROutputInterface">QROutputInterface</abbr></a></span></code>
  1915. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  1916. Tags
  1917. <a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
  1918. </h5>
  1919. <dl class="phpdocumentor-tag-list">
  1920. <dt class="phpdocumentor-tag-list__entry">
  1921. <span class="phpdocumentor-tag__name">throws</span>
  1922. </dt>
  1923. <dd class="phpdocumentor-tag-list__definition">
  1924. <span class="phpdocumentor-tag-link"><a href="classes/chillerlan-QRCode-Output-QRCodeOutputException.html"><abbr title="\chillerlan\QRCode\Output\QRCodeOutputException">QRCodeOutputException</abbr></a></span>
  1925. </dd>
  1926. </dl>
  1927. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  1928. <span class="phpdocumentor-signature__response_type"><a href="classes/chillerlan-QRCode-Output-QROutputInterface.html"><abbr title="\chillerlan\QRCode\Output\QROutputInterface">QROutputInterface</abbr></a></span>
  1929. &mdash;
  1930. </article>
  1931. </section>
  1932. <script type="text/javascript">
  1933. function loadExternalCodeSnippets(line) {
  1934. Array.prototype.slice.call(document.querySelectorAll('pre[data-src]')).forEach((pre) => {
  1935. var src = pre.getAttribute('data-src').replace( /\\/g, '/');
  1936. var extension = (src.match(/\.(\w+)$/) || [, ''])[1];
  1937. var language = 'php';
  1938. var code = document.createElement('code');
  1939. code.className = 'language-' + language;
  1940. pre.textContent = '';
  1941. pre.setAttribute('data-line', line)
  1942. code.textContent = 'Loading…';
  1943. pre.appendChild(code);
  1944. var xhr = new XMLHttpRequest();
  1945. xhr.open('GET', src, true);
  1946. xhr.onreadystatechange = function () {
  1947. if (xhr.readyState == 4) {
  1948. if (xhr.status < 400 && xhr.responseText) {
  1949. code.textContent = xhr.responseText;
  1950. Prism.highlightElement(code);
  1951. }
  1952. else if (xhr.status >= 400) {
  1953. code.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText;
  1954. }
  1955. else {
  1956. code.textContent = '✖ Error: File does not exist, is empty or trying to view from localhost';
  1957. }
  1958. }
  1959. };
  1960. xhr.send(null);
  1961. });
  1962. }
  1963. var modals = document.querySelectorAll("[data-modal]");
  1964. modals.forEach(function (trigger) {
  1965. trigger.addEventListener("click", function (event) {
  1966. //event.preventDefault();
  1967. const modal = document.getElementById(trigger.dataset.modal);
  1968. modal.classList.add("phpdocumentor-modal__open");
  1969. loadExternalCodeSnippets(trigger.dataset.line)
  1970. const exits = modal.querySelectorAll("[data-exit-button]");
  1971. exits.forEach(function (exit) {
  1972. exit.addEventListener("click", function (event) {
  1973. event.preventDefault();
  1974. modal.classList.remove("phpdocumentor-modal__open");
  1975. });
  1976. });
  1977. });
  1978. });
  1979. </script>
  1980. </article>
  1981. <section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
  1982. <section class="phpdocumentor-search-results__dialog">
  1983. <header class="phpdocumentor-search-results__header">
  1984. <h2 class="phpdocumentor-search-results__title">Search results</h2>
  1985. <button class="phpdocumentor-search-results__close"><i class="fas fa-times"></i></button>
  1986. </header>
  1987. <section class="phpdocumentor-search-results__body">
  1988. <ul class="phpdocumentor-search-results__entries"></ul>
  1989. </section>
  1990. </section>
  1991. </section>
  1992. </div>
  1993. </div>
  1994. <a href="classes/chillerlan-QRCode-QRCode.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a>
  1995. </main>
  1996. <script>
  1997. cssVars({});
  1998. </script>
  1999. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/prism.min.js"></script>
  2000. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/autoloader/prism-autoloader.min.js"></script>
  2001. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.min.js"></script>
  2002. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.min.js"></script>
  2003. </body>
  2004. </html>