chillerlan-QRCode-QRCode.html 146 KB

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