chillerlan-QRCode-QRCode.html 139 KB

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