chillerlan-QRCode-Data-QRData.html 51 KB

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