chillerlan-QRCode-Data-ECI.html 52 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121
  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 (default to UTF-8)</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. = <span class="phpdocumentor-signature__default-value">&#039;&#039;</span></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 (default to UTF-8)</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. = <span class="phpdocumentor-signature__default-value">\chillerlan\QRCode\Common\ECICharset::ISO_IEC_10646_UTF_8</span></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>[</span><span class="phpdocumentor-signature__argument__return-type">int|null&nbsp;</span><span class="phpdocumentor-signature__argument__name">$encoding</span><span> = </span><span class="phpdocumentor-signature__argument__default-value"><abbr title="\chillerlan\QRCode\Data\null">null</abbr></span><span> ]</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|null</span>
  341. = <span class="phpdocumentor-signature__argument__default-value"><abbr title="\chillerlan\QRCode\Data\null">null</abbr></span> </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">52</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. "
  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">128</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__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">51</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. "
  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">94</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__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">119</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">70</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">48</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. "
  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">59</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__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. d=document.getElementsByClassName("line-numbers");
  730. d[0].scrollTop = d[0].children[1].offsetTop;
  731. return;
  732. }
  733. if (xhr.status === 404) {
  734. code.textContent = '✖ Error: File could not be found';
  735. return;
  736. }
  737. if (xhr.status >= 400) {
  738. code.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText;
  739. return;
  740. }
  741. code.textContent = '✖ Error: An unknown error occurred';
  742. };
  743. xhr.send(null);
  744. });
  745. }
  746. const modalButtons = document.querySelectorAll("[data-modal]");
  747. const openedAsLocalFile = window.location.protocol === 'file:';
  748. if (modalButtons.length > 0 && openedAsLocalFile) {
  749. console.warn(
  750. 'Viewing the source code is unavailable because you are opening this page from the file:// scheme; ' +
  751. 'browsers block XHR requests when a page is opened this way'
  752. );
  753. }
  754. modalButtons.forEach(function (trigger) {
  755. if (openedAsLocalFile) {
  756. trigger.setAttribute("hidden", "hidden");
  757. }
  758. trigger.addEventListener("click", function (event) {
  759. event.preventDefault();
  760. const modal = document.getElementById(trigger.dataset.modal);
  761. if (!modal) {
  762. console.error(`Modal with id "${trigger.dataset.modal}" could not be found`);
  763. return;
  764. }
  765. modal.classList.add("phpdocumentor-modal__open");
  766. loadExternalCodeSnippet(modal, trigger.dataset.src || null, trigger.dataset.line)
  767. const exits = modal.querySelectorAll("[data-exit-button]");
  768. exits.forEach(function (exit) {
  769. exit.addEventListener("click", function (event) {
  770. event.preventDefault();
  771. modal.classList.remove("phpdocumentor-modal__open");
  772. });
  773. });
  774. });
  775. });
  776. })();
  777. </script>
  778. </article>
  779. </section>
  780. <section class="phpdocumentor-on-this-page__sidebar">
  781. <section class="phpdocumentor-on-this-page__content">
  782. <strong class="phpdocumentor-on-this-page__title">On this page</strong>
  783. <ul class="phpdocumentor-list -clean">
  784. <li class="phpdocumentor-on-this-page-section__title">Table Of Contents</li>
  785. <li>
  786. <ul class="phpdocumentor-list -clean">
  787. <li><a href="classes/chillerlan-QRCode-Data-ECI.html#toc-constants">Constants</a></li>
  788. <li><a href="classes/chillerlan-QRCode-Data-ECI.html#toc-properties">Properties</a></li>
  789. <li><a href="classes/chillerlan-QRCode-Data-ECI.html#toc-methods">Methods</a></li>
  790. </ul>
  791. </li>
  792. <li class="phpdocumentor-on-this-page-section__title">Constants</li>
  793. <li>
  794. <ul class="phpdocumentor-list -clean">
  795. <li class=""><a href="classes/chillerlan-QRCode-Data-ECI.html#constant_DATAMODE">DATAMODE</a></li>
  796. </ul>
  797. </li>
  798. <li class="phpdocumentor-on-this-page-section__title">Properties</li>
  799. <li>
  800. <ul class="phpdocumentor-list -clean">
  801. <li class=""><a href="classes/chillerlan-QRCode-Data-QRDataModeAbstract.html#property_data">$data</a></li>
  802. <li class=""><a href="classes/chillerlan-QRCode-Data-ECI.html#property_encoding">$encoding</a></li>
  803. </ul>
  804. </li>
  805. <li class="phpdocumentor-on-this-page-section__title">Methods</li>
  806. <li>
  807. <ul class="phpdocumentor-list -clean">
  808. <li class=""><a href="classes/chillerlan-QRCode-Data-ECI.html#method___construct">__construct()</a></li>
  809. <li class=""><a href="classes/chillerlan-QRCode-Data-QRDataModeAbstract.html#method_convertEncoding">convertEncoding()</a></li>
  810. <li class=""><a href="classes/chillerlan-QRCode-Data-ECI.html#method_decodeSegment">decodeSegment()</a></li>
  811. <li class=""><a href="classes/chillerlan-QRCode-Data-ECI.html#method_getLengthInBits">getLengthInBits()</a></li>
  812. <li class=""><a href="classes/chillerlan-QRCode-Data-ECI.html#method_parseValue">parseValue()</a></li>
  813. <li class=""><a href="classes/chillerlan-QRCode-Data-ECI.html#method_validateString">validateString()</a></li>
  814. <li class=""><a href="classes/chillerlan-QRCode-Data-ECI.html#method_write">write()</a></li>
  815. <li class=""><a href="classes/chillerlan-QRCode-Data-QRDataModeAbstract.html#method_getCharCount">getCharCount()</a></li>
  816. <li class=""><a href="classes/chillerlan-QRCode-Data-QRDataModeAbstract.html#method_getLengthBits">getLengthBits()</a></li>
  817. </ul>
  818. </li>
  819. </ul>
  820. </section>
  821. </section>
  822. </div>
  823. <section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
  824. <section class="phpdocumentor-search-results__dialog">
  825. <header class="phpdocumentor-search-results__header">
  826. <h2 class="phpdocumentor-search-results__title">Search results</h2>
  827. <button class="phpdocumentor-search-results__close"><i class="fas fa-times"></i></button>
  828. </header>
  829. <section class="phpdocumentor-search-results__body">
  830. <ul class="phpdocumentor-search-results__entries"></ul>
  831. </section>
  832. </section>
  833. </section>
  834. </div>
  835. <a href="classes/chillerlan-QRCode-Data-ECI.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a>
  836. </main>
  837. <script>
  838. cssVars({});
  839. </script>
  840. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/prism.min.js"></script>
  841. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/autoloader/prism-autoloader.min.js"></script>
  842. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.min.js"></script>
  843. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.min.js"></script>
  844. </body>
  845. </html>