chillerlan-QRCode-Data-Number.html 50 KB

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