chillerlan-QRCode-Data-ECI.html 53 KB

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