chillerlan-QRCode-Data-AlphaNum.html 49 KB

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