chillerlan-QRCode-QRCode.html 146 KB

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