chillerlan-QRCode-QRCode.html 135 KB

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