chillerlan-QRCode-Data-AlphaNum.html 52 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135
  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=Open+Sans:wght@100;200;300;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/template.js"></script>
  22. <script src="js/search.js"></script>
  23. <script defer src="js/searchIndex.js"></script>
  24. </head>
  25. <body id="top">
  26. <header class="phpdocumentor-header phpdocumentor-section">
  27. <h1 class="phpdocumentor-title"><a href="" class="phpdocumentor-title__link">Documentation</a></h1>
  28. <input class="phpdocumentor-header__menu-button" type="checkbox" id="menu-button" name="menu-button" />
  29. <label class="phpdocumentor-header__menu-icon" for="menu-button">
  30. <i class="fas fa-bars"></i>
  31. </label>
  32. <section data-search-form class="phpdocumentor-search">
  33. <label>
  34. <span class="visually-hidden">Search for</span>
  35. <svg class="phpdocumentor-search__icon" width="21" height="20" viewBox="0 0 21 20" fill="none" xmlns="http://www.w3.org/2000/svg">
  36. <circle cx="7.5" cy="7.5" r="6.5" stroke="currentColor" stroke-width="2"/>
  37. <line x1="12.4892" y1="12.2727" x2="19.1559" y2="18.9393" stroke="currentColor" stroke-width="3"/>
  38. </svg>
  39. <input type="search" class="phpdocumentor-field phpdocumentor-search__field" placeholder="Loading .." disabled />
  40. </label>
  41. </section>
  42. <nav class="phpdocumentor-topnav">
  43. <ul class="phpdocumentor-topnav__menu">
  44. <li class="phpdocumentor-topnav__menu-item -menu">
  45. <a href="https://php-qrcode.readthedocs.io">
  46. <span>
  47. User Manual
  48. </span>
  49. </a>
  50. </li>
  51. <li class="phpdocumentor-topnav__menu-item -social">
  52. <a href="https://github.com/chillerlan/php-qrcode">
  53. <span>
  54. <i class="fab fa-github"></i>
  55. </span>
  56. </a>
  57. </li>
  58. <li class="phpdocumentor-topnav__menu-item -social">
  59. <a href="https://github.com/chillerlan/php-qrcode/discussions">
  60. <span>
  61. <i class="fas fa-envelope-open-text"></i>
  62. </span>
  63. </a>
  64. </li>
  65. </ul>
  66. </nav>
  67. </header>
  68. <main class="phpdocumentor">
  69. <div class="phpdocumentor-section">
  70. <input class="phpdocumentor-sidebar__menu-button" type="checkbox" id="sidebar-button" name="sidebar-button" />
  71. <label class="phpdocumentor-sidebar__menu-icon" for="sidebar-button">
  72. Menu
  73. </label>
  74. <aside class="phpdocumentor-column -three phpdocumentor-sidebar">
  75. <section class="phpdocumentor-sidebar__category -namespaces">
  76. <h2 class="phpdocumentor-sidebar__category-header">Namespaces</h2>
  77. <h4 class="phpdocumentor-sidebar__root-namespace">
  78. <a href="namespaces/chillerlan.html" class="">chillerlan</a>
  79. </h4>
  80. <ul class="phpdocumentor-list">
  81. <li>
  82. <a href="namespaces/chillerlan-qrcode.html" class="">QRCode</a>
  83. </li>
  84. <li>
  85. <a href="namespaces/chillerlan-qrcodetest.html" class="">QRCodeTest</a>
  86. </li>
  87. </ul>
  88. </section>
  89. <section class="phpdocumentor-sidebar__category -packages">
  90. <h2 class="phpdocumentor-sidebar__category-header">Packages</h2>
  91. <h4 class="phpdocumentor-sidebar__root-namespace">
  92. <a href="packages/Application.html" class="">Application</a>
  93. </h4>
  94. </section>
  95. <section class="phpdocumentor-sidebar__category -reports">
  96. <h2 class="phpdocumentor-sidebar__category-header">Reports</h2>
  97. <h3 class="phpdocumentor-sidebar__root-package"><a href="reports/deprecated.html">Deprecated</a></h3>
  98. <h3 class="phpdocumentor-sidebar__root-package"><a href="reports/errors.html">Errors</a></h3>
  99. <h3 class="phpdocumentor-sidebar__root-package"><a href="reports/markers.html">Markers</a></h3>
  100. </section>
  101. <section class="phpdocumentor-sidebar__category -indices">
  102. <h2 class="phpdocumentor-sidebar__category-header">Indices</h2>
  103. <h3 class="phpdocumentor-sidebar__root-package"><a href="indices/files.html">Files</a></h3>
  104. </section>
  105. </aside>
  106. <div class="phpdocumentor-column -nine phpdocumentor-content">
  107. <section>
  108. <ul class="phpdocumentor-breadcrumbs">
  109. <li class="phpdocumentor-breadcrumb"><a href="namespaces/chillerlan.html">chillerlan</a></li>
  110. <li class="phpdocumentor-breadcrumb"><a href="namespaces/chillerlan-qrcode.html">QRCode</a></li>
  111. <li class="phpdocumentor-breadcrumb"><a href="namespaces/chillerlan-qrcode-data.html">Data</a></li>
  112. </ul>
  113. <article class="phpdocumentor-element -class">
  114. <h2 class="phpdocumentor-content__title">
  115. AlphaNum
  116. <span class="phpdocumentor-element__extends">
  117. extends <a href="classes/chillerlan-QRCode-Data-QRDataModeAbstract.html"><abbr title="\chillerlan\QRCode\Data\QRDataModeAbstract">QRDataModeAbstract</abbr></a>
  118. </span>
  119. <div class="phpdocumentor-element__package">
  120. in package
  121. <ul class="phpdocumentor-breadcrumbs">
  122. <li class="phpdocumentor-breadcrumb"><a href="packages/Application.html">Application</a></li>
  123. </ul>
  124. </div>
  125. </h2>
  126. <div class="phpdocumentor-label-line">
  127. <div class="phpdocumentor-label phpdocumentor-label--success"><span>Final</span><span>Yes</span></div>
  128. </div>
  129. <aside class="phpdocumentor-element-found-in">
  130. <abbr class="phpdocumentor-element-found-in__file" title="src/Data/AlphaNum.php"><a href="files/src-data-alphanum.html"><abbr title="src/Data/AlphaNum.php">AlphaNum.php</abbr></a></abbr>
  131. :
  132. <span class="phpdocumentor-element-found-in__line">23</span>
  133. </aside>
  134. <p class="phpdocumentor-summary">Alphanumeric mode: 0 to 9, A to Z, space, $ % * + - . / :</p>
  135. <section class="phpdocumentor-description"><p>ISO/IEC 18004:2000 Section 8.3.3
  136. ISO/IEC 18004:2000 Section 8.4.3</p>
  137. </section>
  138. <h3 id="toc">
  139. Table of Contents
  140. <a href="classes/chillerlan-QRCode-Data-AlphaNum.html#toc" class="headerlink"><i class="fas fa-link"></i></a>
  141. </h3>
  142. <h4 id="toc-constants">
  143. Constants
  144. <a href="classes/chillerlan-QRCode-Data-AlphaNum.html#toc-constants" class="headerlink"><i class="fas fa-link"></i></a>
  145. </h4>
  146. <dl class="phpdocumentor-table-of-contents">
  147. <dt class="phpdocumentor-table-of-contents__entry -constant -public">
  148. <a class="" href="classes/chillerlan-QRCode-Data-AlphaNum.html#constant_DATAMODE">DATAMODE</a>
  149. <span>
  150. &nbsp;= \chillerlan\QRCode\Common\Mode::ALPHANUM </span>
  151. </dt>
  152. <dt class="phpdocumentor-table-of-contents__entry -constant -private">
  153. <a class="" href="classes/chillerlan-QRCode-Data-AlphaNum.html#constant_CHAR_MAP">CHAR_MAP</a>
  154. <span>
  155. &nbsp;= &#039;0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:&#039; </span>
  156. </dt>
  157. <dd>ISO/IEC 18004:2000 Table 5</dd>
  158. </dl>
  159. <h4 id="toc-properties">
  160. Properties
  161. <a href="classes/chillerlan-QRCode-Data-AlphaNum.html#toc-properties" class="headerlink"><i class="fas fa-link"></i></a>
  162. </h4>
  163. <dl class="phpdocumentor-table-of-contents">
  164. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  165. <a class="" href="classes/chillerlan-QRCode-Data-QRDataModeAbstract.html#property_data">$data</a>
  166. <span>
  167. &nbsp;: string </span>
  168. </dt>
  169. <dd>The data to write</dd>
  170. </dl>
  171. <h4 id="toc-methods">
  172. Methods
  173. <a href="classes/chillerlan-QRCode-Data-AlphaNum.html#toc-methods" class="headerlink"><i class="fas fa-link"></i></a>
  174. </h4>
  175. <dl class="phpdocumentor-table-of-contents">
  176. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  177. <a class="" href="classes/chillerlan-QRCode-Data-QRDataModeAbstract.html#method___construct">__construct()</a>
  178. <span>
  179. &nbsp;: mixed </span>
  180. </dt>
  181. <dd>QRDataModeAbstract constructor.</dd>
  182. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  183. <a class="" href="classes/chillerlan-QRCode-Data-QRDataModeAbstract.html#method_convertEncoding">convertEncoding()</a>
  184. <span>
  185. &nbsp;: string </span>
  186. </dt>
  187. <dd>encoding conversion helper</dd>
  188. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  189. <a class="" href="classes/chillerlan-QRCode-Data-AlphaNum.html#method_decodeSegment">decodeSegment()</a>
  190. <span>
  191. &nbsp;: string </span>
  192. </dt>
  193. <dd>reads a segment from the BitBuffer and decodes in the current data mode</dd>
  194. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  195. <a class="" href="classes/chillerlan-QRCode-Data-AlphaNum.html#method_getLengthInBits">getLengthInBits()</a>
  196. <span>
  197. &nbsp;: int </span>
  198. </dt>
  199. <dd>retruns the length in bits of the data string</dd>
  200. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  201. <a class="" href="classes/chillerlan-QRCode-Data-AlphaNum.html#method_validateString">validateString()</a>
  202. <span>
  203. &nbsp;: bool </span>
  204. </dt>
  205. <dd>checks if the given string qualifies for the encoder module</dd>
  206. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  207. <a class="" href="classes/chillerlan-QRCode-Data-AlphaNum.html#method_write">write()</a>
  208. <span>
  209. &nbsp;: static </span>
  210. </dt>
  211. <dd>writes the actual data string to the BitBuffer, uses the given version to determine the length bits</dd>
  212. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  213. <a class="" href="classes/chillerlan-QRCode-Data-QRDataModeAbstract.html#method_getCharCount">getCharCount()</a>
  214. <span>
  215. &nbsp;: int </span>
  216. </dt>
  217. <dd>returns the character count of the $data string</dd>
  218. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  219. <a class="" href="classes/chillerlan-QRCode-Data-QRDataModeAbstract.html#method_getLengthBits">getLengthBits()</a>
  220. <span>
  221. &nbsp;: int </span>
  222. </dt>
  223. <dd>shortcut</dd>
  224. <dt class="phpdocumentor-table-of-contents__entry -method -private">
  225. <a class="" href="classes/chillerlan-QRCode-Data-AlphaNum.html#method_chr">chr()</a>
  226. <span>
  227. &nbsp;: string </span>
  228. </dt>
  229. <dt class="phpdocumentor-table-of-contents__entry -method -private">
  230. <a class="" href="classes/chillerlan-QRCode-Data-AlphaNum.html#method_ord">ord()</a>
  231. <span>
  232. &nbsp;: int </span>
  233. </dt>
  234. </dl>
  235. <section class="phpdocumentor-constants">
  236. <h3 class="phpdocumentor-elements__header" id="constants">
  237. Constants
  238. <a href="classes/chillerlan-QRCode-Data-AlphaNum.html#constants" class="headerlink"><i class="fas fa-link"></i></a>
  239. </h3>
  240. <article class="phpdocumentor-element -constant -public ">
  241. <h4 class="phpdocumentor-element__name" id="constant_DATAMODE">
  242. DATAMODE
  243. <a href="classes/chillerlan-QRCode-Data-AlphaNum.html#constant_DATAMODE" class="headerlink"><i class="fas fa-link"></i></a>
  244. </h4>
  245. <aside class="phpdocumentor-element-found-in">
  246. <abbr class="phpdocumentor-element-found-in__file" title="src/Data/AlphaNum.php"><a href="files/src-data-alphanum.html"><abbr title="src/Data/AlphaNum.php">AlphaNum.php</abbr></a></abbr>
  247. :
  248. <span class="phpdocumentor-element-found-in__line">32</span>
  249. </aside>
  250. <code class="phpdocumentor-signature phpdocumentor-code ">
  251. <span class="phpdocumentor-signature__visibility">public</span>
  252. <span class="phpdocumentor-signature__type">mixed</span>
  253. <span class="phpdocumentor-signature__name">DATAMODE</span>
  254. = <span class="phpdocumentor-signature__default-value">\chillerlan\QRCode\Common\Mode::ALPHANUM</span>
  255. </code>
  256. </article>
  257. <article class="phpdocumentor-element -constant -private ">
  258. <h4 class="phpdocumentor-element__name" id="constant_CHAR_MAP">
  259. CHAR_MAP
  260. <a href="classes/chillerlan-QRCode-Data-AlphaNum.html#constant_CHAR_MAP" class="headerlink"><i class="fas fa-link"></i></a>
  261. </h4>
  262. <aside class="phpdocumentor-element-found-in">
  263. <abbr class="phpdocumentor-element-found-in__file" title="src/Data/AlphaNum.php"><a href="files/src-data-alphanum.html"><abbr title="src/Data/AlphaNum.php">AlphaNum.php</abbr></a></abbr>
  264. :
  265. <span class="phpdocumentor-element-found-in__line">30</span>
  266. </aside>
  267. <p class="phpdocumentor-summary">ISO/IEC 18004:2000 Table 5</p>
  268. <code class="phpdocumentor-signature phpdocumentor-code ">
  269. <span class="phpdocumentor-signature__visibility">private</span>
  270. <span class="phpdocumentor-signature__type">string</span>
  271. <span class="phpdocumentor-signature__name">CHAR_MAP</span>
  272. = <span class="phpdocumentor-signature__default-value">&#039;0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:&#039;</span>
  273. </code>
  274. </article>
  275. </section>
  276. <section class="phpdocumentor-properties">
  277. <h3 class="phpdocumentor-elements__header" id="properties">
  278. Properties
  279. <a href="classes/chillerlan-QRCode-Data-AlphaNum.html#properties" class="headerlink"><i class="fas fa-link"></i></a>
  280. </h3>
  281. <article
  282. class="
  283. phpdocumentor-element
  284. -property
  285. -protected
  286. "
  287. >
  288. <h4 class="phpdocumentor-element__name" id="property_data">
  289. $data
  290. <a href="classes/chillerlan-QRCode-Data-QRDataModeAbstract.html#property_data" class="headerlink"><i class="fas fa-link"></i></a>
  291. <span class="phpdocumentor-element__modifiers">
  292. </span>
  293. </h4>
  294. <aside class="phpdocumentor-element-found-in">
  295. <abbr class="phpdocumentor-element-found-in__file" title="src/Data/QRDataModeAbstract.php"><a href="files/src-data-qrdatamodeabstract.html"><abbr title="src/Data/QRDataModeAbstract.php">QRDataModeAbstract.php</abbr></a></abbr>
  296. :
  297. <span class="phpdocumentor-element-found-in__line">24</span>
  298. </aside>
  299. <p class="phpdocumentor-summary">The data to write</p>
  300. <code class="phpdocumentor-code phpdocumentor-signature ">
  301. <span class="phpdocumentor-signature__visibility">protected</span>
  302. <span class="phpdocumentor-signature__type">string</span>
  303. <span class="phpdocumentor-signature__name">$data</span>
  304. = <span class="phpdocumentor-signature__default-value">&#039;&#039;</span></code>
  305. </article>
  306. </section>
  307. <section class="phpdocumentor-methods">
  308. <h3 class="phpdocumentor-elements__header" id="methods">
  309. Methods
  310. <a href="classes/chillerlan-QRCode-Data-AlphaNum.html#methods" class="headerlink"><i class="fas fa-link"></i></a>
  311. </h3>
  312. <article
  313. class="phpdocumentor-element
  314. -method
  315. -public
  316. "
  317. >
  318. <h4 class="phpdocumentor-element__name" id="method___construct">
  319. __construct()
  320. <a href="classes/chillerlan-QRCode-Data-QRDataModeAbstract.html#method___construct" class="headerlink"><i class="fas fa-link"></i></a>
  321. </h4>
  322. <aside class="phpdocumentor-element-found-in">
  323. <abbr class="phpdocumentor-element-found-in__file" title="src/Data/QRDataModeAbstract.php"><a href="files/src-data-qrdatamodeabstract.html"><abbr title="src/Data/QRDataModeAbstract.php">QRDataModeAbstract.php</abbr></a></abbr>
  324. :
  325. <span class="phpdocumentor-element-found-in__line">31</span>
  326. </aside>
  327. <p class="phpdocumentor-summary">QRDataModeAbstract constructor.</p>
  328. <code class="phpdocumentor-code phpdocumentor-signature ">
  329. <span class="phpdocumentor-signature__visibility">public</span>
  330. <span class="phpdocumentor-signature__name">__construct</span><span>(</span><span class="phpdocumentor-signature__argument"><span>[</span><span class="phpdocumentor-signature__argument__return-type">string|null&nbsp;</span><span class="phpdocumentor-signature__argument__name">$data</span><span> = </span><span class="phpdocumentor-signature__argument__default-value"><abbr title="\chillerlan\QRCode\Data\null">null</abbr></span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
  331. <div class="phpdocumentor-label-line">
  332. </div>
  333. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  334. <dl class="phpdocumentor-argument-list">
  335. <dt class="phpdocumentor-argument-list__entry">
  336. <span class="phpdocumentor-signature__argument__name">$data</span>
  337. : <span class="phpdocumentor-signature__argument__return-type">string|null</span>
  338. = <span class="phpdocumentor-signature__argument__default-value"><abbr title="\chillerlan\QRCode\Data\null">null</abbr></span> </dt>
  339. <dd class="phpdocumentor-argument-list__definition">
  340. </dd>
  341. </dl>
  342. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  343. Tags
  344. <a href="classes/chillerlan-QRCode-Data-QRDataModeAbstract.html#method___construct#tags" class="headerlink"><i class="fas fa-link"></i></a>
  345. </h5>
  346. <dl class="phpdocumentor-tag-list">
  347. <dt class="phpdocumentor-tag-list__entry">
  348. <span class="phpdocumentor-tag__name">throws</span>
  349. </dt>
  350. <dd class="phpdocumentor-tag-list__definition">
  351. <span class="phpdocumentor-tag-link"><a href="classes/chillerlan-QRCode-Data-QRCodeDataException.html"><abbr title="\chillerlan\QRCode\Data\QRCodeDataException">QRCodeDataException</abbr></a></span>
  352. </dd>
  353. </dl>
  354. </article>
  355. <article
  356. class="phpdocumentor-element
  357. -method
  358. -public
  359. -static "
  360. >
  361. <h4 class="phpdocumentor-element__name" id="method_convertEncoding">
  362. convertEncoding()
  363. <a href="classes/chillerlan-QRCode-Data-QRDataModeAbstract.html#method_convertEncoding" class="headerlink"><i class="fas fa-link"></i></a>
  364. </h4>
  365. <aside class="phpdocumentor-element-found-in">
  366. <abbr class="phpdocumentor-element-found-in__file" title="src/Data/QRDataModeAbstract.php"><a href="files/src-data-qrdatamodeabstract.html"><abbr title="src/Data/QRDataModeAbstract.php">QRDataModeAbstract.php</abbr></a></abbr>
  367. :
  368. <span class="phpdocumentor-element-found-in__line">52</span>
  369. </aside>
  370. <p class="phpdocumentor-summary">encoding conversion helper</p>
  371. <code class="phpdocumentor-code phpdocumentor-signature ">
  372. <span class="phpdocumentor-signature__visibility">public</span>
  373. <span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">convertEncoding</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">string</span></code>
  374. <div class="phpdocumentor-label-line">
  375. </div>
  376. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  377. <dl class="phpdocumentor-argument-list">
  378. <dt class="phpdocumentor-argument-list__entry">
  379. <span class="phpdocumentor-signature__argument__name">$string</span>
  380. : <span class="phpdocumentor-signature__argument__return-type">string</span>
  381. </dt>
  382. <dd class="phpdocumentor-argument-list__definition">
  383. </dd>
  384. </dl>
  385. <section>
  386. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  387. <span class="phpdocumentor-signature__response_type">string</span>
  388. </section>
  389. </article>
  390. <article
  391. class="phpdocumentor-element
  392. -method
  393. -public
  394. "
  395. >
  396. <h4 class="phpdocumentor-element__name" id="method_decodeSegment">
  397. decodeSegment()
  398. <a href="classes/chillerlan-QRCode-Data-AlphaNum.html#method_decodeSegment" class="headerlink"><i class="fas fa-link"></i></a>
  399. </h4>
  400. <aside class="phpdocumentor-element-found-in">
  401. <abbr class="phpdocumentor-element-found-in__file" title="src/Data/AlphaNum.php"><a href="files/src-data-alphanum.html"><abbr title="src/Data/AlphaNum.php">AlphaNum.php</abbr></a></abbr>
  402. :
  403. <span class="phpdocumentor-element-found-in__line">71</span>
  404. </aside>
  405. <p class="phpdocumentor-summary">reads a segment from the BitBuffer and decodes in the current data mode</p>
  406. <code class="phpdocumentor-code phpdocumentor-signature ">
  407. <span class="phpdocumentor-signature__visibility">public</span>
  408. <span class="phpdocumentor-signature__name">decodeSegment</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><a href="classes/chillerlan-QRCode-Common-BitBuffer.html"><abbr title="\chillerlan\QRCode\Common\BitBuffer">BitBuffer</abbr></a>&nbsp;</span><span class="phpdocumentor-signature__argument__name">$bitBuffer</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$versionNumber</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
  409. <div class="phpdocumentor-label-line">
  410. </div>
  411. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  412. <dl class="phpdocumentor-argument-list">
  413. <dt class="phpdocumentor-argument-list__entry">
  414. <span class="phpdocumentor-signature__argument__name">$bitBuffer</span>
  415. : <span class="phpdocumentor-signature__argument__return-type"><a href="classes/chillerlan-QRCode-Common-BitBuffer.html"><abbr title="\chillerlan\QRCode\Common\BitBuffer">BitBuffer</abbr></a></span>
  416. </dt>
  417. <dd class="phpdocumentor-argument-list__definition">
  418. </dd>
  419. <dt class="phpdocumentor-argument-list__entry">
  420. <span class="phpdocumentor-signature__argument__name">$versionNumber</span>
  421. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  422. </dt>
  423. <dd class="phpdocumentor-argument-list__definition">
  424. </dd>
  425. </dl>
  426. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  427. Tags
  428. <a href="classes/chillerlan-QRCode-Data-AlphaNum.html#method_decodeSegment#tags" class="headerlink"><i class="fas fa-link"></i></a>
  429. </h5>
  430. <dl class="phpdocumentor-tag-list">
  431. <dt class="phpdocumentor-tag-list__entry">
  432. <span class="phpdocumentor-tag__name">inheritDoc</span>
  433. </dt>
  434. <dd class="phpdocumentor-tag-list__definition">
  435. </dd>
  436. <dt class="phpdocumentor-tag-list__entry">
  437. <span class="phpdocumentor-tag__name">throws</span>
  438. </dt>
  439. <dd class="phpdocumentor-tag-list__definition">
  440. <span class="phpdocumentor-tag-link"><a href="classes/chillerlan-QRCode-Data-QRCodeDataException.html"><abbr title="\chillerlan\QRCode\Data\QRCodeDataException">QRCodeDataException</abbr></a></span>
  441. </dd>
  442. </dl>
  443. <section>
  444. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  445. <span class="phpdocumentor-signature__response_type">string</span>
  446. </section>
  447. </article>
  448. <article
  449. class="phpdocumentor-element
  450. -method
  451. -public
  452. "
  453. >
  454. <h4 class="phpdocumentor-element__name" id="method_getLengthInBits">
  455. getLengthInBits()
  456. <a href="classes/chillerlan-QRCode-Data-AlphaNum.html#method_getLengthInBits" class="headerlink"><i class="fas fa-link"></i></a>
  457. </h4>
  458. <aside class="phpdocumentor-element-found-in">
  459. <abbr class="phpdocumentor-element-found-in__file" title="src/Data/AlphaNum.php"><a href="files/src-data-alphanum.html"><abbr title="src/Data/AlphaNum.php">AlphaNum.php</abbr></a></abbr>
  460. :
  461. <span class="phpdocumentor-element-found-in__line">34</span>
  462. </aside>
  463. <p class="phpdocumentor-summary">retruns the length in bits of the data string</p>
  464. <code class="phpdocumentor-code phpdocumentor-signature ">
  465. <span class="phpdocumentor-signature__visibility">public</span>
  466. <span class="phpdocumentor-signature__name">getLengthInBits</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">int</span></code>
  467. <div class="phpdocumentor-label-line">
  468. </div>
  469. <section>
  470. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  471. <span class="phpdocumentor-signature__response_type">int</span>
  472. </section>
  473. </article>
  474. <article
  475. class="phpdocumentor-element
  476. -method
  477. -public
  478. -static "
  479. >
  480. <h4 class="phpdocumentor-element__name" id="method_validateString">
  481. validateString()
  482. <a href="classes/chillerlan-QRCode-Data-AlphaNum.html#method_validateString" class="headerlink"><i class="fas fa-link"></i></a>
  483. </h4>
  484. <aside class="phpdocumentor-element-found-in">
  485. <abbr class="phpdocumentor-element-found-in__file" title="src/Data/AlphaNum.php"><a href="files/src-data-alphanum.html"><abbr title="src/Data/AlphaNum.php">AlphaNum.php</abbr></a></abbr>
  486. :
  487. <span class="phpdocumentor-element-found-in__line">38</span>
  488. </aside>
  489. <p class="phpdocumentor-summary">checks if the given string qualifies for the encoder module</p>
  490. <code class="phpdocumentor-code phpdocumentor-signature ">
  491. <span class="phpdocumentor-signature__visibility">public</span>
  492. <span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">validateString</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>
  493. <div class="phpdocumentor-label-line">
  494. </div>
  495. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  496. <dl class="phpdocumentor-argument-list">
  497. <dt class="phpdocumentor-argument-list__entry">
  498. <span class="phpdocumentor-signature__argument__name">$string</span>
  499. : <span class="phpdocumentor-signature__argument__return-type">string</span>
  500. </dt>
  501. <dd class="phpdocumentor-argument-list__definition">
  502. </dd>
  503. </dl>
  504. <section>
  505. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  506. <span class="phpdocumentor-signature__response_type">bool</span>
  507. </section>
  508. </article>
  509. <article
  510. class="phpdocumentor-element
  511. -method
  512. -public
  513. "
  514. >
  515. <h4 class="phpdocumentor-element__name" id="method_write">
  516. write()
  517. <a href="classes/chillerlan-QRCode-Data-AlphaNum.html#method_write" class="headerlink"><i class="fas fa-link"></i></a>
  518. </h4>
  519. <aside class="phpdocumentor-element-found-in">
  520. <abbr class="phpdocumentor-element-found-in__file" title="src/Data/AlphaNum.php"><a href="files/src-data-alphanum.html"><abbr title="src/Data/AlphaNum.php">AlphaNum.php</abbr></a></abbr>
  521. :
  522. <span class="phpdocumentor-element-found-in__line">42</span>
  523. </aside>
  524. <p class="phpdocumentor-summary">writes the actual data string to the BitBuffer, uses the given version to determine the length bits</p>
  525. <code class="phpdocumentor-code phpdocumentor-signature ">
  526. <span class="phpdocumentor-signature__visibility">public</span>
  527. <span class="phpdocumentor-signature__name">write</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><a href="classes/chillerlan-QRCode-Common-BitBuffer.html"><abbr title="\chillerlan\QRCode\Common\BitBuffer">BitBuffer</abbr></a>&nbsp;</span><span class="phpdocumentor-signature__argument__name">$bitBuffer</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$versionNumber</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">static</span></code>
  528. <div class="phpdocumentor-label-line">
  529. </div>
  530. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  531. <dl class="phpdocumentor-argument-list">
  532. <dt class="phpdocumentor-argument-list__entry">
  533. <span class="phpdocumentor-signature__argument__name">$bitBuffer</span>
  534. : <span class="phpdocumentor-signature__argument__return-type"><a href="classes/chillerlan-QRCode-Common-BitBuffer.html"><abbr title="\chillerlan\QRCode\Common\BitBuffer">BitBuffer</abbr></a></span>
  535. </dt>
  536. <dd class="phpdocumentor-argument-list__definition">
  537. </dd>
  538. <dt class="phpdocumentor-argument-list__entry">
  539. <span class="phpdocumentor-signature__argument__name">$versionNumber</span>
  540. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  541. </dt>
  542. <dd class="phpdocumentor-argument-list__definition">
  543. </dd>
  544. </dl>
  545. <section>
  546. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  547. <span class="phpdocumentor-signature__response_type">static</span>
  548. </section>
  549. </article>
  550. <article
  551. class="phpdocumentor-element
  552. -method
  553. -protected
  554. "
  555. >
  556. <h4 class="phpdocumentor-element__name" id="method_getCharCount">
  557. getCharCount()
  558. <a href="classes/chillerlan-QRCode-Data-QRDataModeAbstract.html#method_getCharCount" class="headerlink"><i class="fas fa-link"></i></a>
  559. </h4>
  560. <aside class="phpdocumentor-element-found-in">
  561. <abbr class="phpdocumentor-element-found-in__file" title="src/Data/QRDataModeAbstract.php"><a href="files/src-data-qrdatamodeabstract.html"><abbr title="src/Data/QRDataModeAbstract.php">QRDataModeAbstract.php</abbr></a></abbr>
  562. :
  563. <span class="phpdocumentor-element-found-in__line">48</span>
  564. </aside>
  565. <p class="phpdocumentor-summary">returns the character count of the $data string</p>
  566. <code class="phpdocumentor-code phpdocumentor-signature ">
  567. <span class="phpdocumentor-signature__visibility">protected</span>
  568. <span class="phpdocumentor-signature__name">getCharCount</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">int</span></code>
  569. <div class="phpdocumentor-label-line">
  570. </div>
  571. <section>
  572. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  573. <span class="phpdocumentor-signature__response_type">int</span>
  574. </section>
  575. </article>
  576. <article
  577. class="phpdocumentor-element
  578. -method
  579. -protected
  580. "
  581. >
  582. <h4 class="phpdocumentor-element__name" id="method_getLengthBits">
  583. getLengthBits()
  584. <a href="classes/chillerlan-QRCode-Data-QRDataModeAbstract.html#method_getLengthBits" class="headerlink"><i class="fas fa-link"></i></a>
  585. </h4>
  586. <aside class="phpdocumentor-element-found-in">
  587. <abbr class="phpdocumentor-element-found-in__file" title="src/Data/QRDataModeAbstract.php"><a href="files/src-data-qrdatamodeabstract.html"><abbr title="src/Data/QRDataModeAbstract.php">QRDataModeAbstract.php</abbr></a></abbr>
  588. :
  589. <span class="phpdocumentor-element-found-in__line">59</span>
  590. </aside>
  591. <p class="phpdocumentor-summary">shortcut</p>
  592. <code class="phpdocumentor-code phpdocumentor-signature ">
  593. <span class="phpdocumentor-signature__visibility">protected</span>
  594. <span class="phpdocumentor-signature__name">getLengthBits</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$versionNumber</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">int</span></code>
  595. <div class="phpdocumentor-label-line">
  596. </div>
  597. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  598. <dl class="phpdocumentor-argument-list">
  599. <dt class="phpdocumentor-argument-list__entry">
  600. <span class="phpdocumentor-signature__argument__name">$versionNumber</span>
  601. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  602. </dt>
  603. <dd class="phpdocumentor-argument-list__definition">
  604. </dd>
  605. </dl>
  606. <section>
  607. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  608. <span class="phpdocumentor-signature__response_type">int</span>
  609. </section>
  610. </article>
  611. <article
  612. class="phpdocumentor-element
  613. -method
  614. -private
  615. "
  616. >
  617. <h4 class="phpdocumentor-element__name" id="method_chr">
  618. chr()
  619. <a href="classes/chillerlan-QRCode-Data-AlphaNum.html#method_chr" class="headerlink"><i class="fas fa-link"></i></a>
  620. </h4>
  621. <aside class="phpdocumentor-element-found-in">
  622. <abbr class="phpdocumentor-element-found-in__file" title="src/Data/AlphaNum.php"><a href="files/src-data-alphanum.html"><abbr title="src/Data/AlphaNum.php">AlphaNum.php</abbr></a></abbr>
  623. :
  624. <span class="phpdocumentor-element-found-in__line">116</span>
  625. </aside>
  626. <code class="phpdocumentor-code phpdocumentor-signature ">
  627. <span class="phpdocumentor-signature__visibility">private</span>
  628. <span class="phpdocumentor-signature__name">chr</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$ord</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
  629. <div class="phpdocumentor-label-line">
  630. </div>
  631. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  632. <dl class="phpdocumentor-argument-list">
  633. <dt class="phpdocumentor-argument-list__entry">
  634. <span class="phpdocumentor-signature__argument__name">$ord</span>
  635. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  636. </dt>
  637. <dd class="phpdocumentor-argument-list__definition">
  638. </dd>
  639. </dl>
  640. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  641. Tags
  642. <a href="classes/chillerlan-QRCode-Data-AlphaNum.html#method_chr#tags" class="headerlink"><i class="fas fa-link"></i></a>
  643. </h5>
  644. <dl class="phpdocumentor-tag-list">
  645. <dt class="phpdocumentor-tag-list__entry">
  646. <span class="phpdocumentor-tag__name">throws</span>
  647. </dt>
  648. <dd class="phpdocumentor-tag-list__definition">
  649. <span class="phpdocumentor-tag-link"><a href="classes/chillerlan-QRCode-Data-QRCodeDataException.html"><abbr title="\chillerlan\QRCode\Data\QRCodeDataException">QRCodeDataException</abbr></a></span>
  650. </dd>
  651. </dl>
  652. <section>
  653. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  654. <span class="phpdocumentor-signature__response_type">string</span>
  655. </section>
  656. </article>
  657. <article
  658. class="phpdocumentor-element
  659. -method
  660. -private
  661. "
  662. >
  663. <h4 class="phpdocumentor-element__name" id="method_ord">
  664. ord()
  665. <a href="classes/chillerlan-QRCode-Data-AlphaNum.html#method_ord" class="headerlink"><i class="fas fa-link"></i></a>
  666. </h4>
  667. <aside class="phpdocumentor-element-found-in">
  668. <abbr class="phpdocumentor-element-found-in__file" title="src/Data/AlphaNum.php"><a href="files/src-data-alphanum.html"><abbr title="src/Data/AlphaNum.php">AlphaNum.php</abbr></a></abbr>
  669. :
  670. <span class="phpdocumentor-element-found-in__line">102</span>
  671. </aside>
  672. <code class="phpdocumentor-code phpdocumentor-signature ">
  673. <span class="phpdocumentor-signature__visibility">private</span>
  674. <span class="phpdocumentor-signature__name">ord</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$chr</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">int</span></code>
  675. <div class="phpdocumentor-label-line">
  676. </div>
  677. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  678. <dl class="phpdocumentor-argument-list">
  679. <dt class="phpdocumentor-argument-list__entry">
  680. <span class="phpdocumentor-signature__argument__name">$chr</span>
  681. : <span class="phpdocumentor-signature__argument__return-type">string</span>
  682. </dt>
  683. <dd class="phpdocumentor-argument-list__definition">
  684. </dd>
  685. </dl>
  686. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  687. Tags
  688. <a href="classes/chillerlan-QRCode-Data-AlphaNum.html#method_ord#tags" class="headerlink"><i class="fas fa-link"></i></a>
  689. </h5>
  690. <dl class="phpdocumentor-tag-list">
  691. <dt class="phpdocumentor-tag-list__entry">
  692. <span class="phpdocumentor-tag__name">throws</span>
  693. </dt>
  694. <dd class="phpdocumentor-tag-list__definition">
  695. <span class="phpdocumentor-tag-link"><a href="classes/chillerlan-QRCode-Data-QRCodeDataException.html"><abbr title="\chillerlan\QRCode\Data\QRCodeDataException">QRCodeDataException</abbr></a></span>
  696. </dd>
  697. </dl>
  698. <section>
  699. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  700. <span class="phpdocumentor-signature__response_type">int</span>
  701. </section>
  702. </article>
  703. </section>
  704. <div class="phpdocumentor-modal" id="source-view">
  705. <div class="phpdocumentor-modal-bg" data-exit-button></div>
  706. <div class="phpdocumentor-modal-container">
  707. <div class="phpdocumentor-modal-content">
  708. <pre style="max-height: 500px; overflow-y: scroll" data-src="files/src/Data/AlphaNum.php.txt" class="language-php line-numbers linkable-line-numbers"></pre>
  709. </div>
  710. <button data-exit-button class="phpdocumentor-modal__close">&times;</button>
  711. </div>
  712. </div>
  713. <script type="text/javascript">
  714. (function () {
  715. function loadExternalCodeSnippet(el, url, line) {
  716. Array.prototype.slice.call(el.querySelectorAll('pre[data-src]')).forEach((pre) => {
  717. const src = url || pre.getAttribute('data-src').replace(/\\/g, '/');
  718. const language = 'php';
  719. const code = document.createElement('code');
  720. code.className = 'language-' + language;
  721. pre.textContent = '';
  722. pre.setAttribute('data-line', line)
  723. code.textContent = 'Loading…';
  724. pre.appendChild(code);
  725. var xhr = new XMLHttpRequest();
  726. xhr.open('GET', src, true);
  727. xhr.onreadystatechange = function () {
  728. if (xhr.readyState !== 4) {
  729. return;
  730. }
  731. if (xhr.status < 400 && xhr.responseText) {
  732. code.textContent = xhr.responseText;
  733. Prism.highlightElement(code);
  734. d=document.getElementsByClassName("line-numbers");
  735. d[0].scrollTop = d[0].children[1].offsetTop;
  736. return;
  737. }
  738. if (xhr.status === 404) {
  739. code.textContent = '✖ Error: File could not be found';
  740. return;
  741. }
  742. if (xhr.status >= 400) {
  743. code.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText;
  744. return;
  745. }
  746. code.textContent = '✖ Error: An unknown error occurred';
  747. };
  748. xhr.send(null);
  749. });
  750. }
  751. const modalButtons = document.querySelectorAll("[data-modal]");
  752. const openedAsLocalFile = window.location.protocol === 'file:';
  753. if (modalButtons.length > 0 && openedAsLocalFile) {
  754. console.warn(
  755. 'Viewing the source code is unavailable because you are opening this page from the file:// scheme; ' +
  756. 'browsers block XHR requests when a page is opened this way'
  757. );
  758. }
  759. modalButtons.forEach(function (trigger) {
  760. if (openedAsLocalFile) {
  761. trigger.setAttribute("hidden", "hidden");
  762. }
  763. trigger.addEventListener("click", function (event) {
  764. event.preventDefault();
  765. const modal = document.getElementById(trigger.dataset.modal);
  766. if (!modal) {
  767. console.error(`Modal with id "${trigger.dataset.modal}" could not be found`);
  768. return;
  769. }
  770. modal.classList.add("phpdocumentor-modal__open");
  771. loadExternalCodeSnippet(modal, trigger.dataset.src || null, trigger.dataset.line)
  772. const exits = modal.querySelectorAll("[data-exit-button]");
  773. exits.forEach(function (exit) {
  774. exit.addEventListener("click", function (event) {
  775. event.preventDefault();
  776. modal.classList.remove("phpdocumentor-modal__open");
  777. });
  778. });
  779. });
  780. });
  781. })();
  782. </script>
  783. </article>
  784. </section>
  785. <section class="phpdocumentor-on-this-page__sidebar">
  786. <section class="phpdocumentor-on-this-page__content">
  787. <strong class="phpdocumentor-on-this-page__title">On this page</strong>
  788. <ul class="phpdocumentor-list -clean">
  789. <li class="phpdocumentor-on-this-page-section__title">Table Of Contents</li>
  790. <li>
  791. <ul class="phpdocumentor-list -clean">
  792. <li><a href="classes/chillerlan-QRCode-Data-AlphaNum.html#toc-constants">Constants</a></li>
  793. <li><a href="classes/chillerlan-QRCode-Data-AlphaNum.html#toc-properties">Properties</a></li>
  794. <li><a href="classes/chillerlan-QRCode-Data-AlphaNum.html#toc-methods">Methods</a></li>
  795. </ul>
  796. </li>
  797. <li class="phpdocumentor-on-this-page-section__title">Constants</li>
  798. <li>
  799. <ul class="phpdocumentor-list -clean">
  800. <li class=""><a href="classes/chillerlan-QRCode-Data-AlphaNum.html#constant_DATAMODE">DATAMODE</a></li>
  801. <li class=""><a href="classes/chillerlan-QRCode-Data-AlphaNum.html#constant_CHAR_MAP">CHAR_MAP</a></li>
  802. </ul>
  803. </li>
  804. <li class="phpdocumentor-on-this-page-section__title">Properties</li>
  805. <li>
  806. <ul class="phpdocumentor-list -clean">
  807. <li class=""><a href="classes/chillerlan-QRCode-Data-QRDataModeAbstract.html#property_data">$data</a></li>
  808. </ul>
  809. </li>
  810. <li class="phpdocumentor-on-this-page-section__title">Methods</li>
  811. <li>
  812. <ul class="phpdocumentor-list -clean">
  813. <li class=""><a href="classes/chillerlan-QRCode-Data-QRDataModeAbstract.html#method___construct">__construct()</a></li>
  814. <li class=""><a href="classes/chillerlan-QRCode-Data-QRDataModeAbstract.html#method_convertEncoding">convertEncoding()</a></li>
  815. <li class=""><a href="classes/chillerlan-QRCode-Data-AlphaNum.html#method_decodeSegment">decodeSegment()</a></li>
  816. <li class=""><a href="classes/chillerlan-QRCode-Data-AlphaNum.html#method_getLengthInBits">getLengthInBits()</a></li>
  817. <li class=""><a href="classes/chillerlan-QRCode-Data-AlphaNum.html#method_validateString">validateString()</a></li>
  818. <li class=""><a href="classes/chillerlan-QRCode-Data-AlphaNum.html#method_write">write()</a></li>
  819. <li class=""><a href="classes/chillerlan-QRCode-Data-QRDataModeAbstract.html#method_getCharCount">getCharCount()</a></li>
  820. <li class=""><a href="classes/chillerlan-QRCode-Data-QRDataModeAbstract.html#method_getLengthBits">getLengthBits()</a></li>
  821. <li class=""><a href="classes/chillerlan-QRCode-Data-AlphaNum.html#method_chr">chr()</a></li>
  822. <li class=""><a href="classes/chillerlan-QRCode-Data-AlphaNum.html#method_ord">ord()</a></li>
  823. </ul>
  824. </li>
  825. </ul>
  826. </section>
  827. </section>
  828. </div>
  829. <section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
  830. <section class="phpdocumentor-search-results__dialog">
  831. <header class="phpdocumentor-search-results__header">
  832. <h2 class="phpdocumentor-search-results__title">Search results</h2>
  833. <button class="phpdocumentor-search-results__close"><i class="fas fa-times"></i></button>
  834. </header>
  835. <section class="phpdocumentor-search-results__body">
  836. <ul class="phpdocumentor-search-results__entries"></ul>
  837. </section>
  838. </section>
  839. </section>
  840. </div>
  841. <a href="classes/chillerlan-QRCode-Data-AlphaNum.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a>
  842. </main>
  843. <script>
  844. cssVars({});
  845. </script>
  846. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/prism.min.js"></script>
  847. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/autoloader/prism-autoloader.min.js"></script>
  848. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.min.js"></script>
  849. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.min.js"></script>
  850. </body>
  851. </html>