chillerlan-QRCode-Data-ECI.html 51 KB

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