chillerlan-QRCode-Data-Number.html 51 KB

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