chillerlan-QRCode-Data-AlphaNum.html 49 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015
  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. </ul>
  59. </nav>
  60. </header>
  61. <main class="phpdocumentor">
  62. <div class="phpdocumentor-section">
  63. <input class="phpdocumentor-sidebar__menu-button" type="checkbox" id="sidebar-button" name="sidebar-button" />
  64. <label class="phpdocumentor-sidebar__menu-icon" for="sidebar-button">
  65. Menu
  66. </label>
  67. <aside class="phpdocumentor-column -three phpdocumentor-sidebar">
  68. <section class="phpdocumentor-sidebar__category">
  69. <h2 class="phpdocumentor-sidebar__category-header">Namespaces</h2>
  70. <h4 class="phpdocumentor-sidebar__root-namespace">
  71. <a href="namespaces/chillerlan.html" class="">chillerlan</a>
  72. </h4>
  73. <ul class="phpdocumentor-list">
  74. <li>
  75. <a href="namespaces/chillerlan-qrcode.html" class="">QRCode</a>
  76. </li>
  77. <li>
  78. <a href="namespaces/chillerlan-qrcodetest.html" class="">QRCodeTest</a>
  79. </li>
  80. </ul>
  81. </section>
  82. <section class="phpdocumentor-sidebar__category">
  83. <h2 class="phpdocumentor-sidebar__category-header">Packages</h2>
  84. <h4 class="phpdocumentor-sidebar__root-namespace">
  85. <a href="packages/Application.html" class="">Application</a>
  86. </h4>
  87. </section>
  88. <section class="phpdocumentor-sidebar__category">
  89. <h2 class="phpdocumentor-sidebar__category-header">Reports</h2>
  90. <h3 class="phpdocumentor-sidebar__root-package"><a href="reports/deprecated.html">Deprecated</a></h3>
  91. <h3 class="phpdocumentor-sidebar__root-package"><a href="reports/errors.html">Errors</a></h3>
  92. <h3 class="phpdocumentor-sidebar__root-package"><a href="reports/markers.html">Markers</a></h3>
  93. </section>
  94. <section class="phpdocumentor-sidebar__category">
  95. <h2 class="phpdocumentor-sidebar__category-header">Indices</h2>
  96. <h3 class="phpdocumentor-sidebar__root-package"><a href="indices/files.html">Files</a></h3>
  97. </section>
  98. </aside>
  99. <div class="phpdocumentor-column -nine phpdocumentor-content">
  100. <section>
  101. <ul class="phpdocumentor-breadcrumbs">
  102. <li class="phpdocumentor-breadcrumb"><a href="namespaces/chillerlan.html">chillerlan</a></li>
  103. <li class="phpdocumentor-breadcrumb"><a href="namespaces/chillerlan-qrcode.html">QRCode</a></li>
  104. <li class="phpdocumentor-breadcrumb"><a href="namespaces/chillerlan-qrcode-data.html">Data</a></li>
  105. </ul>
  106. <article class="phpdocumentor-element -class">
  107. <h2 class="phpdocumentor-content__title">
  108. AlphaNum
  109. <span class="phpdocumentor-element__extends">
  110. extends <a href="classes/chillerlan-QRCode-Data-QRDataModeAbstract.html"><abbr title="\chillerlan\QRCode\Data\QRDataModeAbstract">QRDataModeAbstract</abbr></a>
  111. </span>
  112. <div class="phpdocumentor-element__package">
  113. in package
  114. <ul class="phpdocumentor-breadcrumbs">
  115. <li class="phpdocumentor-breadcrumb"><a href="packages/Application.html">Application</a></li>
  116. </ul>
  117. </div>
  118. </h2>
  119. <div class="phpdocumentor-label-line">
  120. <div class="phpdocumentor-label phpdocumentor-label--success"><span>Final</span><span>Yes</span></div>
  121. </div>
  122. <aside class="phpdocumentor-element-found-in">
  123. <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>
  124. :
  125. <span class="phpdocumentor-element-found-in__line">23</span>
  126. </aside>
  127. <p class="phpdocumentor-summary">Alphanumeric mode: 0 to 9, A to Z, space, $ % * + - . / :</p>
  128. <section class="phpdocumentor-description"><p>ISO/IEC 18004:2000 Section 8.3.3
  129. ISO/IEC 18004:2000 Section 8.4.3</p>
  130. </section>
  131. <h3 id="toc">
  132. Table of Contents
  133. <a href="classes/chillerlan-QRCode-Data-AlphaNum.html#toc" class="headerlink"><i class="fas fa-link"></i></a>
  134. </h3>
  135. <h4 id="toc-constants">
  136. Constants
  137. <a href="classes/chillerlan-QRCode-Data-AlphaNum.html#toc-constants" class="headerlink"><i class="fas fa-link"></i></a>
  138. </h4>
  139. <dl class="phpdocumentor-table-of-contents">
  140. <dt class="phpdocumentor-table-of-contents__entry -constant -public">
  141. <a href="classes/chillerlan-QRCode-Data-AlphaNum.html#constant_DATAMODE">DATAMODE</a>
  142. <span>
  143. &nbsp;= \chillerlan\QRCode\Common\Mode::ALPHANUM </span>
  144. </dt>
  145. <dt class="phpdocumentor-table-of-contents__entry -constant -private">
  146. <a href="classes/chillerlan-QRCode-Data-AlphaNum.html#constant_CHAR_TO_ORD">CHAR_TO_ORD</a>
  147. <span>
  148. &nbsp;= [&#039;0&#039; =&gt; 0, &#039;1&#039; =&gt; 1, &#039;2&#039; =&gt; 2, &#039;3&#039; =&gt; 3, &#039;4&#039; =&gt; 4, &#039;5&#039; =&gt; 5, &#039;6&#039; =&gt; 6, &#039;7&#039; =&gt; 7, &#039;8&#039; =&gt; 8, &#039;9&#039; =&gt; 9, &#039;A&#039; =&gt; 10, &#039;B&#039; =&gt; 11, &#039;C&#039; =&gt; 12, &#039;D&#039; =&gt; 13, &#039;E&#039; =&gt; 14, &#039;F&#039; =&gt; 15, &#039;G&#039; =&gt; 16, &#039;H&#039; =&gt; 17, &#039;I&#039; =&gt; 18, &#039;J&#039; =&gt; 19, &#039;K&#039; =&gt; 20, &#039;L&#039; =&gt; 21, &#039;M&#039; =&gt; 22, &#039;N&#039; =&gt; 23, &#039;O&#039; =&gt; 24, &#039;P&#039; =&gt; 25, &#039;Q&#039; =&gt; 26, &#039;R&#039; =&gt; 27, &#039;S&#039; =&gt; 28, &#039;T&#039; =&gt; 29, &#039;U&#039; =&gt; 30, &#039;V&#039; =&gt; 31, &#039;W&#039; =&gt; 32, &#039;X&#039; =&gt; 33, &#039;Y&#039; =&gt; 34, &#039;Z&#039; =&gt; 35, &#039; &#039; =&gt; 36, &#039;$&#039; =&gt; 37, &#039;%&#039; =&gt; 38, &#039;*&#039; =&gt; 39, &#039;+&#039; =&gt; 40, &#039;-&#039; =&gt; 41, &#039;.&#039; =&gt; 42, &#039;/&#039; =&gt; 43, &#039;:&#039; =&gt; 44] </span>
  149. </dt>
  150. <dd>ISO/IEC 18004:2000 Table 5</dd>
  151. </dl>
  152. <h4 id="toc-properties">
  153. Properties
  154. <a href="classes/chillerlan-QRCode-Data-AlphaNum.html#toc-properties" class="headerlink"><i class="fas fa-link"></i></a>
  155. </h4>
  156. <dl class="phpdocumentor-table-of-contents">
  157. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  158. <a href="classes/chillerlan-QRCode-Data-QRDataModeAbstract.html#property_data">$data</a>
  159. <span>
  160. &nbsp;: string </span>
  161. </dt>
  162. <dd>The data to write</dd>
  163. </dl>
  164. <h4 id="toc-methods">
  165. Methods
  166. <a href="classes/chillerlan-QRCode-Data-AlphaNum.html#toc-methods" class="headerlink"><i class="fas fa-link"></i></a>
  167. </h4>
  168. <dl class="phpdocumentor-table-of-contents">
  169. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  170. <a href="classes/chillerlan-QRCode-Data-QRDataModeAbstract.html#method___construct">__construct()</a>
  171. <span>
  172. &nbsp;: mixed </span>
  173. </dt>
  174. <dd>QRDataModeAbstract constructor.</dd>
  175. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  176. <a href="classes/chillerlan-QRCode-Data-QRDataModeAbstract.html#method_convertEncoding">convertEncoding()</a>
  177. <span>
  178. &nbsp;: string </span>
  179. </dt>
  180. <dd>encoding conversion helper</dd>
  181. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  182. <a href="classes/chillerlan-QRCode-Data-AlphaNum.html#method_decodeSegment">decodeSegment()</a>
  183. <span>
  184. &nbsp;: string </span>
  185. </dt>
  186. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  187. <a href="classes/chillerlan-QRCode-Data-AlphaNum.html#method_getLengthInBits">getLengthInBits()</a>
  188. <span>
  189. &nbsp;: int </span>
  190. </dt>
  191. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  192. <a href="classes/chillerlan-QRCode-Data-AlphaNum.html#method_validateString">validateString()</a>
  193. <span>
  194. &nbsp;: bool </span>
  195. </dt>
  196. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  197. <a href="classes/chillerlan-QRCode-Data-AlphaNum.html#method_write">write()</a>
  198. <span>
  199. &nbsp;: <a href="classes/chillerlan-QRCode-Data-QRDataModeInterface.html"><abbr title="\chillerlan\QRCode\Data\QRDataModeInterface">QRDataModeInterface</abbr></a> </span>
  200. </dt>
  201. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  202. <a href="classes/chillerlan-QRCode-Data-QRDataModeAbstract.html#method_getCharCount">getCharCount()</a>
  203. <span>
  204. &nbsp;: int </span>
  205. </dt>
  206. <dd>returns the character count of the $data string</dd>
  207. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  208. <a href="classes/chillerlan-QRCode-Data-QRDataModeAbstract.html#method_getLengthBits">getLengthBits()</a>
  209. <span>
  210. &nbsp;: int </span>
  211. </dt>
  212. <dd>shortcut</dd>
  213. </dl>
  214. <section class="phpdocumentor-constants">
  215. <h3 class="phpdocumentor-elements__header" id="constants">
  216. Constants
  217. <a href="classes/chillerlan-QRCode-Data-AlphaNum.html#constants" class="headerlink"><i class="fas fa-link"></i></a>
  218. </h3>
  219. <article class="phpdocumentor-element -constant -public ">
  220. <h4 class="phpdocumentor-element__name" id="constant_DATAMODE">
  221. DATAMODE
  222. <a href="classes/chillerlan-QRCode-Data-AlphaNum.html#constant_DATAMODE" class="headerlink"><i class="fas fa-link"></i></a>
  223. </h4>
  224. <aside class="phpdocumentor-element-found-in">
  225. <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>
  226. :
  227. <span class="phpdocumentor-element-found-in__line">42</span>
  228. </aside>
  229. <code class="phpdocumentor-signature phpdocumentor-code ">
  230. <span class="phpdocumentor-signature__visibility">public</span>
  231. <span class="phpdocumentor-signature__type">mixed</span>
  232. <span class="phpdocumentor-signature__name">DATAMODE</span>
  233. = <span class="phpdocumentor-signature__default-value">\chillerlan\QRCode\Common\Mode::ALPHANUM</span>
  234. </code>
  235. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  236. Tags
  237. <a href="classes/chillerlan-QRCode-Data-AlphaNum.html#constant_DATAMODE#tags" class="headerlink"><i class="fas fa-link"></i></a>
  238. </h5>
  239. <dl class="phpdocumentor-tag-list">
  240. <dt class="phpdocumentor-tag-list__entry">
  241. <span class="phpdocumentor-tag__name">inheritDoc</span>
  242. </dt>
  243. <dd class="phpdocumentor-tag-list__definition">
  244. </dd>
  245. </dl>
  246. </article>
  247. <article class="phpdocumentor-element -constant -private ">
  248. <h4 class="phpdocumentor-element__name" id="constant_CHAR_TO_ORD">
  249. CHAR_TO_ORD
  250. <a href="classes/chillerlan-QRCode-Data-AlphaNum.html#constant_CHAR_TO_ORD" class="headerlink"><i class="fas fa-link"></i></a>
  251. </h4>
  252. <aside class="phpdocumentor-element-found-in">
  253. <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>
  254. :
  255. <span class="phpdocumentor-element-found-in__line">30</span>
  256. </aside>
  257. <p class="phpdocumentor-summary">ISO/IEC 18004:2000 Table 5</p>
  258. <code class="phpdocumentor-signature phpdocumentor-code ">
  259. <span class="phpdocumentor-signature__visibility">private</span>
  260. <span class="phpdocumentor-signature__type">array&lt;string|int, int&gt;</span>
  261. <span class="phpdocumentor-signature__name">CHAR_TO_ORD</span>
  262. = <span class="phpdocumentor-signature__default-value">[&#039;0&#039; =&gt; 0, &#039;1&#039; =&gt; 1, &#039;2&#039; =&gt; 2, &#039;3&#039; =&gt; 3, &#039;4&#039; =&gt; 4, &#039;5&#039; =&gt; 5, &#039;6&#039; =&gt; 6, &#039;7&#039; =&gt; 7, &#039;8&#039; =&gt; 8, &#039;9&#039; =&gt; 9, &#039;A&#039; =&gt; 10, &#039;B&#039; =&gt; 11, &#039;C&#039; =&gt; 12, &#039;D&#039; =&gt; 13, &#039;E&#039; =&gt; 14, &#039;F&#039; =&gt; 15, &#039;G&#039; =&gt; 16, &#039;H&#039; =&gt; 17, &#039;I&#039; =&gt; 18, &#039;J&#039; =&gt; 19, &#039;K&#039; =&gt; 20, &#039;L&#039; =&gt; 21, &#039;M&#039; =&gt; 22, &#039;N&#039; =&gt; 23, &#039;O&#039; =&gt; 24, &#039;P&#039; =&gt; 25, &#039;Q&#039; =&gt; 26, &#039;R&#039; =&gt; 27, &#039;S&#039; =&gt; 28, &#039;T&#039; =&gt; 29, &#039;U&#039; =&gt; 30, &#039;V&#039; =&gt; 31, &#039;W&#039; =&gt; 32, &#039;X&#039; =&gt; 33, &#039;Y&#039; =&gt; 34, &#039;Z&#039; =&gt; 35, &#039; &#039; =&gt; 36, &#039;$&#039; =&gt; 37, &#039;%&#039; =&gt; 38, &#039;*&#039; =&gt; 39, &#039;+&#039; =&gt; 40, &#039;-&#039; =&gt; 41, &#039;.&#039; =&gt; 42, &#039;/&#039; =&gt; 43, &#039;:&#039; =&gt; 44]</span>
  263. </code>
  264. </article>
  265. </section>
  266. <section class="phpdocumentor-properties">
  267. <h3 class="phpdocumentor-elements__header" id="properties">
  268. Properties
  269. <a href="classes/chillerlan-QRCode-Data-AlphaNum.html#properties" class="headerlink"><i class="fas fa-link"></i></a>
  270. </h3>
  271. <article
  272. class="
  273. phpdocumentor-element
  274. -property
  275. -protected
  276. "
  277. >
  278. <h4 class="phpdocumentor-element__name" id="property_data">
  279. $data
  280. <a href="classes/chillerlan-QRCode-Data-QRDataModeAbstract.html#property_data" class="headerlink"><i class="fas fa-link"></i></a>
  281. <span class="phpdocumentor-element__modifiers">
  282. </span>
  283. </h4>
  284. <aside class="phpdocumentor-element-found-in">
  285. <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>
  286. :
  287. <span class="phpdocumentor-element-found-in__line">23</span>
  288. </aside>
  289. <p class="phpdocumentor-summary">The data to write</p>
  290. <code class="phpdocumentor-code phpdocumentor-signature ">
  291. <span class="phpdocumentor-signature__visibility">protected</span>
  292. <span class="phpdocumentor-signature__type">string</span>
  293. <span class="phpdocumentor-signature__name">$data</span>
  294. </code>
  295. </article>
  296. </section>
  297. <section class="phpdocumentor-methods">
  298. <h3 class="phpdocumentor-elements__header" id="methods">
  299. Methods
  300. <a href="classes/chillerlan-QRCode-Data-AlphaNum.html#methods" class="headerlink"><i class="fas fa-link"></i></a>
  301. </h3>
  302. <article
  303. class="phpdocumentor-element
  304. -method
  305. -public
  306. "
  307. >
  308. <h4 class="phpdocumentor-element__name" id="method___construct">
  309. __construct()
  310. <a href="classes/chillerlan-QRCode-Data-QRDataModeAbstract.html#method___construct" class="headerlink"><i class="fas fa-link"></i></a>
  311. </h4>
  312. <aside class="phpdocumentor-element-found-in">
  313. <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>
  314. :
  315. <span class="phpdocumentor-element-found-in__line">30</span>
  316. </aside>
  317. <p class="phpdocumentor-summary">QRDataModeAbstract constructor.</p>
  318. <code class="phpdocumentor-code phpdocumentor-signature ">
  319. <span class="phpdocumentor-signature__visibility">public</span>
  320. <span class="phpdocumentor-signature__name">__construct</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">mixed</span></code>
  321. <div class="phpdocumentor-label-line">
  322. </div>
  323. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  324. <dl class="phpdocumentor-argument-list">
  325. <dt class="phpdocumentor-argument-list__entry">
  326. <span class="phpdocumentor-signature__argument__name">$data</span>
  327. : <span class="phpdocumentor-signature__argument__return-type">string</span>
  328. </dt>
  329. <dd class="phpdocumentor-argument-list__definition">
  330. </dd>
  331. </dl>
  332. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  333. Tags
  334. <a href="classes/chillerlan-QRCode-Data-QRDataModeAbstract.html#method___construct#tags" class="headerlink"><i class="fas fa-link"></i></a>
  335. </h5>
  336. <dl class="phpdocumentor-tag-list">
  337. <dt class="phpdocumentor-tag-list__entry">
  338. <span class="phpdocumentor-tag__name">throws</span>
  339. </dt>
  340. <dd class="phpdocumentor-tag-list__definition">
  341. <span class="phpdocumentor-tag-link"><a href="classes/chillerlan-QRCode-Data-QRCodeDataException.html"><abbr title="\chillerlan\QRCode\Data\QRCodeDataException">QRCodeDataException</abbr></a></span>
  342. </dd>
  343. </dl>
  344. </article>
  345. <article
  346. class="phpdocumentor-element
  347. -method
  348. -public
  349. -static "
  350. >
  351. <h4 class="phpdocumentor-element__name" id="method_convertEncoding">
  352. convertEncoding()
  353. <a href="classes/chillerlan-QRCode-Data-QRDataModeAbstract.html#method_convertEncoding" class="headerlink"><i class="fas fa-link"></i></a>
  354. </h4>
  355. <aside class="phpdocumentor-element-found-in">
  356. <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>
  357. :
  358. <span class="phpdocumentor-element-found-in__line">50</span>
  359. </aside>
  360. <p class="phpdocumentor-summary">encoding conversion helper</p>
  361. <code class="phpdocumentor-code phpdocumentor-signature ">
  362. <span class="phpdocumentor-signature__visibility">public</span>
  363. <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>
  364. <div class="phpdocumentor-label-line">
  365. </div>
  366. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  367. <dl class="phpdocumentor-argument-list">
  368. <dt class="phpdocumentor-argument-list__entry">
  369. <span class="phpdocumentor-signature__argument__name">$string</span>
  370. : <span class="phpdocumentor-signature__argument__return-type">string</span>
  371. </dt>
  372. <dd class="phpdocumentor-argument-list__definition">
  373. </dd>
  374. </dl>
  375. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  376. Tags
  377. <a href="classes/chillerlan-QRCode-Data-QRDataModeAbstract.html#method_convertEncoding#tags" class="headerlink"><i class="fas fa-link"></i></a>
  378. </h5>
  379. <dl class="phpdocumentor-tag-list">
  380. <dt class="phpdocumentor-tag-list__entry">
  381. <span class="phpdocumentor-tag__name">inheritDoc</span>
  382. </dt>
  383. <dd class="phpdocumentor-tag-list__definition">
  384. </dd>
  385. </dl>
  386. <section>
  387. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  388. <span class="phpdocumentor-signature__response_type">string</span>
  389. </section>
  390. </article>
  391. <article
  392. class="phpdocumentor-element
  393. -method
  394. -public
  395. -static "
  396. >
  397. <h4 class="phpdocumentor-element__name" id="method_decodeSegment">
  398. decodeSegment()
  399. <a href="classes/chillerlan-QRCode-Data-AlphaNum.html#method_decodeSegment" class="headerlink"><i class="fas fa-link"></i></a>
  400. </h4>
  401. <aside class="phpdocumentor-element-found-in">
  402. <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>
  403. :
  404. <span class="phpdocumentor-element-found-in__line">98</span>
  405. </aside>
  406. <code class="phpdocumentor-code phpdocumentor-signature ">
  407. <span class="phpdocumentor-signature__visibility">public</span>
  408. <span class="phpdocumentor-signature__static">static</span> <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">47</span>
  462. </aside>
  463. <code class="phpdocumentor-code phpdocumentor-signature ">
  464. <span class="phpdocumentor-signature__visibility">public</span>
  465. <span class="phpdocumentor-signature__name">getLengthInBits</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">int</span></code>
  466. <div class="phpdocumentor-label-line">
  467. </div>
  468. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  469. Tags
  470. <a href="classes/chillerlan-QRCode-Data-AlphaNum.html#method_getLengthInBits#tags" class="headerlink"><i class="fas fa-link"></i></a>
  471. </h5>
  472. <dl class="phpdocumentor-tag-list">
  473. <dt class="phpdocumentor-tag-list__entry">
  474. <span class="phpdocumentor-tag__name">inheritDoc</span>
  475. </dt>
  476. <dd class="phpdocumentor-tag-list__definition">
  477. </dd>
  478. </dl>
  479. <section>
  480. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  481. <span class="phpdocumentor-signature__response_type">int</span>
  482. </section>
  483. </article>
  484. <article
  485. class="phpdocumentor-element
  486. -method
  487. -public
  488. -static "
  489. >
  490. <h4 class="phpdocumentor-element__name" id="method_validateString">
  491. validateString()
  492. <a href="classes/chillerlan-QRCode-Data-AlphaNum.html#method_validateString" class="headerlink"><i class="fas fa-link"></i></a>
  493. </h4>
  494. <aside class="phpdocumentor-element-found-in">
  495. <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>
  496. :
  497. <span class="phpdocumentor-element-found-in__line">54</span>
  498. </aside>
  499. <code class="phpdocumentor-code phpdocumentor-signature ">
  500. <span class="phpdocumentor-signature__visibility">public</span>
  501. <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>
  502. <div class="phpdocumentor-label-line">
  503. </div>
  504. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  505. <dl class="phpdocumentor-argument-list">
  506. <dt class="phpdocumentor-argument-list__entry">
  507. <span class="phpdocumentor-signature__argument__name">$string</span>
  508. : <span class="phpdocumentor-signature__argument__return-type">string</span>
  509. </dt>
  510. <dd class="phpdocumentor-argument-list__definition">
  511. </dd>
  512. </dl>
  513. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  514. Tags
  515. <a href="classes/chillerlan-QRCode-Data-AlphaNum.html#method_validateString#tags" class="headerlink"><i class="fas fa-link"></i></a>
  516. </h5>
  517. <dl class="phpdocumentor-tag-list">
  518. <dt class="phpdocumentor-tag-list__entry">
  519. <span class="phpdocumentor-tag__name">inheritDoc</span>
  520. </dt>
  521. <dd class="phpdocumentor-tag-list__definition">
  522. </dd>
  523. </dl>
  524. <section>
  525. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  526. <span class="phpdocumentor-signature__response_type">bool</span>
  527. </section>
  528. </article>
  529. <article
  530. class="phpdocumentor-element
  531. -method
  532. -public
  533. "
  534. >
  535. <h4 class="phpdocumentor-element__name" id="method_write">
  536. write()
  537. <a href="classes/chillerlan-QRCode-Data-AlphaNum.html#method_write" class="headerlink"><i class="fas fa-link"></i></a>
  538. </h4>
  539. <aside class="phpdocumentor-element-found-in">
  540. <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>
  541. :
  542. <span class="phpdocumentor-element-found-in__line">72</span>
  543. </aside>
  544. <code class="phpdocumentor-code phpdocumentor-signature ">
  545. <span class="phpdocumentor-signature__visibility">public</span>
  546. <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"><a href="classes/chillerlan-QRCode-Data-QRDataModeInterface.html"><abbr title="\chillerlan\QRCode\Data\QRDataModeInterface">QRDataModeInterface</abbr></a></span></code>
  547. <div class="phpdocumentor-label-line">
  548. </div>
  549. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  550. <dl class="phpdocumentor-argument-list">
  551. <dt class="phpdocumentor-argument-list__entry">
  552. <span class="phpdocumentor-signature__argument__name">$bitBuffer</span>
  553. : <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>
  554. </dt>
  555. <dd class="phpdocumentor-argument-list__definition">
  556. </dd>
  557. <dt class="phpdocumentor-argument-list__entry">
  558. <span class="phpdocumentor-signature__argument__name">$versionNumber</span>
  559. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  560. </dt>
  561. <dd class="phpdocumentor-argument-list__definition">
  562. </dd>
  563. </dl>
  564. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  565. Tags
  566. <a href="classes/chillerlan-QRCode-Data-AlphaNum.html#method_write#tags" class="headerlink"><i class="fas fa-link"></i></a>
  567. </h5>
  568. <dl class="phpdocumentor-tag-list">
  569. <dt class="phpdocumentor-tag-list__entry">
  570. <span class="phpdocumentor-tag__name">inheritDoc</span>
  571. </dt>
  572. <dd class="phpdocumentor-tag-list__definition">
  573. </dd>
  574. </dl>
  575. <section>
  576. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  577. <span class="phpdocumentor-signature__response_type"><a href="classes/chillerlan-QRCode-Data-QRDataModeInterface.html"><abbr title="\chillerlan\QRCode\Data\QRDataModeInterface">QRDataModeInterface</abbr></a></span>
  578. </section>
  579. </article>
  580. <article
  581. class="phpdocumentor-element
  582. -method
  583. -protected
  584. "
  585. >
  586. <h4 class="phpdocumentor-element__name" id="method_getCharCount">
  587. getCharCount()
  588. <a href="classes/chillerlan-QRCode-Data-QRDataModeAbstract.html#method_getCharCount" class="headerlink"><i class="fas fa-link"></i></a>
  589. </h4>
  590. <aside class="phpdocumentor-element-found-in">
  591. <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>
  592. :
  593. <span class="phpdocumentor-element-found-in__line">43</span>
  594. </aside>
  595. <p class="phpdocumentor-summary">returns the character count of the $data string</p>
  596. <code class="phpdocumentor-code phpdocumentor-signature ">
  597. <span class="phpdocumentor-signature__visibility">protected</span>
  598. <span class="phpdocumentor-signature__name">getCharCount</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">int</span></code>
  599. <div class="phpdocumentor-label-line">
  600. </div>
  601. <section>
  602. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  603. <span class="phpdocumentor-signature__response_type">int</span>
  604. </section>
  605. </article>
  606. <article
  607. class="phpdocumentor-element
  608. -method
  609. -protected
  610. -static "
  611. >
  612. <h4 class="phpdocumentor-element__name" id="method_getLengthBits">
  613. getLengthBits()
  614. <a href="classes/chillerlan-QRCode-Data-QRDataModeAbstract.html#method_getLengthBits" class="headerlink"><i class="fas fa-link"></i></a>
  615. </h4>
  616. <aside class="phpdocumentor-element-found-in">
  617. <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>
  618. :
  619. <span class="phpdocumentor-element-found-in__line">57</span>
  620. </aside>
  621. <p class="phpdocumentor-summary">shortcut</p>
  622. <code class="phpdocumentor-code phpdocumentor-signature ">
  623. <span class="phpdocumentor-signature__visibility">protected</span>
  624. <span class="phpdocumentor-signature__static">static</span> <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>
  625. <div class="phpdocumentor-label-line">
  626. </div>
  627. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  628. <dl class="phpdocumentor-argument-list">
  629. <dt class="phpdocumentor-argument-list__entry">
  630. <span class="phpdocumentor-signature__argument__name">$versionNumber</span>
  631. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  632. </dt>
  633. <dd class="phpdocumentor-argument-list__definition">
  634. </dd>
  635. </dl>
  636. <section>
  637. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  638. <span class="phpdocumentor-signature__response_type">int</span>
  639. </section>
  640. </article>
  641. </section>
  642. <div class="phpdocumentor-modal" id="source-view">
  643. <div class="phpdocumentor-modal-bg" data-exit-button></div>
  644. <div class="phpdocumentor-modal-container">
  645. <div class="phpdocumentor-modal-content">
  646. <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>
  647. </div>
  648. <button data-exit-button class="phpdocumentor-modal__close">&times;</button>
  649. </div>
  650. </div>
  651. <script type="text/javascript">
  652. (function () {
  653. function loadExternalCodeSnippet(el, url, line) {
  654. Array.prototype.slice.call(el.querySelectorAll('pre[data-src]')).forEach((pre) => {
  655. const src = url || pre.getAttribute('data-src').replace(/\\/g, '/');
  656. const language = 'php';
  657. const code = document.createElement('code');
  658. code.className = 'language-' + language;
  659. pre.textContent = '';
  660. pre.setAttribute('data-line', line)
  661. code.textContent = 'Loading…';
  662. pre.appendChild(code);
  663. var xhr = new XMLHttpRequest();
  664. xhr.open('GET', src, true);
  665. xhr.onreadystatechange = function () {
  666. if (xhr.readyState !== 4) {
  667. return;
  668. }
  669. if (xhr.status < 400 && xhr.responseText) {
  670. code.textContent = xhr.responseText;
  671. Prism.highlightElement(code);
  672. return;
  673. }
  674. if (xhr.status === 404) {
  675. code.textContent = '✖ Error: File could not be found';
  676. return;
  677. }
  678. if (xhr.status >= 400) {
  679. code.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText;
  680. return;
  681. }
  682. code.textContent = '✖ Error: An unknown error occurred';
  683. };
  684. xhr.send(null);
  685. });
  686. }
  687. const modalButtons = document.querySelectorAll("[data-modal]");
  688. const openedAsLocalFile = window.location.protocol === 'file:';
  689. if (modalButtons.length > 0 && openedAsLocalFile) {
  690. console.warn(
  691. 'Viewing the source code is unavailable because you are opening this page from the file:// scheme; ' +
  692. 'browsers block XHR requests when a page is opened this way'
  693. );
  694. }
  695. modalButtons.forEach(function (trigger) {
  696. if (openedAsLocalFile) {
  697. trigger.setAttribute("hidden", "hidden");
  698. }
  699. trigger.addEventListener("click", function (event) {
  700. event.preventDefault();
  701. const modal = document.getElementById(trigger.dataset.modal);
  702. if (!modal) {
  703. console.error(`Modal with id "${trigger.dataset.modal}" could not be found`);
  704. return;
  705. }
  706. modal.classList.add("phpdocumentor-modal__open");
  707. loadExternalCodeSnippet(modal, trigger.dataset.src || null, trigger.dataset.line)
  708. const exits = modal.querySelectorAll("[data-exit-button]");
  709. exits.forEach(function (exit) {
  710. exit.addEventListener("click", function (event) {
  711. event.preventDefault();
  712. modal.classList.remove("phpdocumentor-modal__open");
  713. });
  714. });
  715. });
  716. });
  717. })();
  718. </script>
  719. </article>
  720. </section>
  721. <section class="phpdocumentor-on-this-page__sidebar">
  722. <section class="phpdocumentor-on-this-page__content">
  723. <strong class="phpdocumentor-on-this-page__title">On this page</strong>
  724. <ul class="phpdocumentor-list -clean">
  725. <li class="phpdocumentor-on-this-page-section__title">Table Of Contents</li>
  726. <li>
  727. <ul class="phpdocumentor-list -clean">
  728. <li><a href="classes/chillerlan-QRCode-Data-AlphaNum.html#toc-constants">Constants</a></li>
  729. <li><a href="classes/chillerlan-QRCode-Data-AlphaNum.html#toc-properties">Properties</a></li>
  730. <li><a href="classes/chillerlan-QRCode-Data-AlphaNum.html#toc-methods">Methods</a></li>
  731. </ul>
  732. </li>
  733. <li class="phpdocumentor-on-this-page-section__title">Constants</li>
  734. <li>
  735. <ul class="phpdocumentor-list -clean">
  736. <li><a href="classes/chillerlan-QRCode-Data-AlphaNum.html#constant_DATAMODE">DATAMODE</a></li>
  737. <li><a href="classes/chillerlan-QRCode-Data-AlphaNum.html#constant_CHAR_TO_ORD">CHAR_TO_ORD</a></li>
  738. </ul>
  739. </li>
  740. <li class="phpdocumentor-on-this-page-section__title">Properties</li>
  741. <li>
  742. <ul class="phpdocumentor-list -clean">
  743. <li><a href="classes/chillerlan-QRCode-Data-QRDataModeAbstract.html#property_data">$data<a href="classes/chillerlan-QRCode-Data-AlphaNum.html"></li>
  744. </ul>
  745. </li>
  746. <li class="phpdocumentor-on-this-page-section__title">Methods</li>
  747. <li>
  748. <ul class="phpdocumentor-list -clean">
  749. <li><a href="classes/chillerlan-QRCode-Data-QRDataModeAbstract.html#method___construct">__construct()</a></li>
  750. <li><a href="classes/chillerlan-QRCode-Data-QRDataModeAbstract.html#method_convertEncoding">convertEncoding()</a></li>
  751. <li><a href="classes/chillerlan-QRCode-Data-AlphaNum.html#method_decodeSegment">decodeSegment()</a></li>
  752. <li><a href="classes/chillerlan-QRCode-Data-AlphaNum.html#method_getLengthInBits">getLengthInBits()</a></li>
  753. <li><a href="classes/chillerlan-QRCode-Data-AlphaNum.html#method_validateString">validateString()</a></li>
  754. <li><a href="classes/chillerlan-QRCode-Data-AlphaNum.html#method_write">write()</a></li>
  755. <li><a href="classes/chillerlan-QRCode-Data-QRDataModeAbstract.html#method_getCharCount">getCharCount()</a></li>
  756. <li><a href="classes/chillerlan-QRCode-Data-QRDataModeAbstract.html#method_getLengthBits">getLengthBits()</a></li>
  757. </ul>
  758. </li>
  759. </ul>
  760. </section>
  761. </section>
  762. </div>
  763. <section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
  764. <section class="phpdocumentor-search-results__dialog">
  765. <header class="phpdocumentor-search-results__header">
  766. <h2 class="phpdocumentor-search-results__title">Search results</h2>
  767. <button class="phpdocumentor-search-results__close"><i class="fas fa-times"></i></button>
  768. </header>
  769. <section class="phpdocumentor-search-results__body">
  770. <ul class="phpdocumentor-search-results__entries"></ul>
  771. </section>
  772. </section>
  773. </section>
  774. </div>
  775. <a href="classes/chillerlan-QRCode-Data-AlphaNum.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a>
  776. </main>
  777. <script>
  778. cssVars({});
  779. </script>
  780. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/prism.min.js"></script>
  781. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/autoloader/prism-autoloader.min.js"></script>
  782. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.min.js"></script>
  783. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.min.js"></script>
  784. </body>
  785. </html>