chillerlan-QRCode-Data-ECI.html 52 KB

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