chillerlan-QRCode-Data-Kanji.html 51 KB

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