chillerlan-QRCode-Output-QRMarkupSVG.html 121 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <title>Documentation</title>
  6. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  7. <base href="../">
  8. <link rel="icon" href="images/favicon.ico"/>
  9. <link rel="stylesheet" href="css/normalize.css">
  10. <link rel="stylesheet" href="css/base.css">
  11. <link rel="preconnect" href="https://fonts.gstatic.com">
  12. <link href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@100;200;300;400;600;700&display=swap" rel="stylesheet">
  13. <link href="https://fonts.googleapis.com/css2?family=Source+Code+Pro:wght@400;600;700&display=swap" rel="stylesheet">
  14. <link rel="stylesheet" href="css/template.css">
  15. <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/css/all.min.css" integrity="sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=" crossorigin="anonymous" />
  16. <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/themes/prism-okaidia.css">
  17. <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.css">
  18. <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.css">
  19. <script src="https://cdn.jsdelivr.net/npm/fuse.js@3.4.6"></script>
  20. <script src="https://cdn.jsdelivr.net/npm/css-vars-ponyfill@2"></script>
  21. <script src="js/template.js"></script>
  22. <script src="js/search.js"></script>
  23. <script defer src="js/searchIndex.js"></script>
  24. </head>
  25. <body id="top">
  26. <header class="phpdocumentor-header phpdocumentor-section">
  27. <h1 class="phpdocumentor-title"><a href="" class="phpdocumentor-title__link">Documentation</a></h1>
  28. <input class="phpdocumentor-header__menu-button" type="checkbox" id="menu-button" name="menu-button" />
  29. <label class="phpdocumentor-header__menu-icon" for="menu-button">
  30. <i class="fas fa-bars"></i>
  31. </label>
  32. <section data-search-form class="phpdocumentor-search">
  33. <label>
  34. <span class="visually-hidden">Search for</span>
  35. <svg class="phpdocumentor-search__icon" width="21" height="20" viewBox="0 0 21 20" fill="none" xmlns="http://www.w3.org/2000/svg">
  36. <circle cx="7.5" cy="7.5" r="6.5" stroke="currentColor" stroke-width="2"/>
  37. <line x1="12.4892" y1="12.2727" x2="19.1559" y2="18.9393" stroke="currentColor" stroke-width="3"/>
  38. </svg>
  39. <input type="search" class="phpdocumentor-field phpdocumentor-search__field" placeholder="Loading .." disabled />
  40. </label>
  41. </section>
  42. <nav class="phpdocumentor-topnav">
  43. <ul class="phpdocumentor-topnav__menu">
  44. <li class="phpdocumentor-topnav__menu-item -menu">
  45. <a href="https://php-qrcode.readthedocs.io">
  46. <span>
  47. User Manual
  48. </span>
  49. </a>
  50. </li>
  51. <li class="phpdocumentor-topnav__menu-item -social">
  52. <a href="https://github.com/chillerlan/php-qrcode">
  53. <span>
  54. <i class="fab fa-github"></i>
  55. </span>
  56. </a>
  57. </li>
  58. </ul>
  59. </nav>
  60. </header>
  61. <main class="phpdocumentor">
  62. <div class="phpdocumentor-section">
  63. <input class="phpdocumentor-sidebar__menu-button" type="checkbox" id="sidebar-button" name="sidebar-button" />
  64. <label class="phpdocumentor-sidebar__menu-icon" for="sidebar-button">
  65. Menu
  66. </label>
  67. <aside class="phpdocumentor-column -three phpdocumentor-sidebar">
  68. <section class="phpdocumentor-sidebar__category">
  69. <h2 class="phpdocumentor-sidebar__category-header">Namespaces</h2>
  70. <h4 class="phpdocumentor-sidebar__root-namespace">
  71. <a href="namespaces/chillerlan.html" class="">chillerlan</a>
  72. </h4>
  73. <ul class="phpdocumentor-list">
  74. <li>
  75. <a href="namespaces/chillerlan-qrcode.html" class="">QRCode</a>
  76. </li>
  77. <li>
  78. <a href="namespaces/chillerlan-qrcodetest.html" class="">QRCodeTest</a>
  79. </li>
  80. </ul>
  81. </section>
  82. <section class="phpdocumentor-sidebar__category">
  83. <h2 class="phpdocumentor-sidebar__category-header">Packages</h2>
  84. <h4 class="phpdocumentor-sidebar__root-namespace">
  85. <a href="packages/Application.html" class="">Application</a>
  86. </h4>
  87. </section>
  88. <section class="phpdocumentor-sidebar__category">
  89. <h2 class="phpdocumentor-sidebar__category-header">Reports</h2>
  90. <h3 class="phpdocumentor-sidebar__root-package"><a href="reports/deprecated.html">Deprecated</a></h3>
  91. <h3 class="phpdocumentor-sidebar__root-package"><a href="reports/errors.html">Errors</a></h3>
  92. <h3 class="phpdocumentor-sidebar__root-package"><a href="reports/markers.html">Markers</a></h3>
  93. </section>
  94. <section class="phpdocumentor-sidebar__category">
  95. <h2 class="phpdocumentor-sidebar__category-header">Indices</h2>
  96. <h3 class="phpdocumentor-sidebar__root-package"><a href="indices/files.html">Files</a></h3>
  97. </section>
  98. </aside>
  99. <div class="phpdocumentor-column -nine phpdocumentor-content">
  100. <section>
  101. <ul class="phpdocumentor-breadcrumbs">
  102. <li class="phpdocumentor-breadcrumb"><a href="namespaces/chillerlan.html">chillerlan</a></li>
  103. <li class="phpdocumentor-breadcrumb"><a href="namespaces/chillerlan-qrcode.html">QRCode</a></li>
  104. <li class="phpdocumentor-breadcrumb"><a href="namespaces/chillerlan-qrcode-output.html">Output</a></li>
  105. </ul>
  106. <article class="phpdocumentor-element -class">
  107. <h2 class="phpdocumentor-content__title">
  108. QRMarkupSVG
  109. <span class="phpdocumentor-element__extends">
  110. extends <a href="classes/chillerlan-QRCode-Output-QRMarkup.html"><abbr title="\chillerlan\QRCode\Output\QRMarkup">QRMarkup</abbr></a>
  111. </span>
  112. <div class="phpdocumentor-element__package">
  113. in package
  114. <ul class="phpdocumentor-breadcrumbs">
  115. <li class="phpdocumentor-breadcrumb"><a href="packages/Application.html">Application</a></li>
  116. </ul>
  117. </div>
  118. </h2>
  119. <div class="phpdocumentor-label-line">
  120. </div>
  121. <aside class="phpdocumentor-element-found-in">
  122. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QRMarkupSVG.php"><a href="files/src-output-qrmarkupsvg.html"><abbr title="src/Output/QRMarkupSVG.php">QRMarkupSVG.php</abbr></a></abbr>
  123. :
  124. <span class="phpdocumentor-element-found-in__line">23</span>
  125. </aside>
  126. <p class="phpdocumentor-summary">SVG output</p>
  127. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  128. Tags
  129. <a href="classes/chillerlan-QRCode-Output-QRMarkupSVG.html#tags" class="headerlink"><i class="fas fa-link"></i></a>
  130. </h5>
  131. <dl class="phpdocumentor-tag-list">
  132. <dt class="phpdocumentor-tag-list__entry">
  133. <span class="phpdocumentor-tag__name">see</span>
  134. </dt>
  135. <dd class="phpdocumentor-tag-list__definition">
  136. <span class="phpdocumentor-tag-link"><a href="https://github.com/codemasher/php-qrcode/pull/5">https://github.com/codemasher/php-qrcode/pull/5</a></span>
  137. </dd>
  138. <dt class="phpdocumentor-tag-list__entry">
  139. <span class="phpdocumentor-tag__name">see</span>
  140. </dt>
  141. <dd class="phpdocumentor-tag-list__definition">
  142. <span class="phpdocumentor-tag-link"><a href="https://developer.mozilla.org/en-US/docs/Web/SVG">https://developer.mozilla.org/en-US/docs/Web/SVG</a></span>
  143. </dd>
  144. <dt class="phpdocumentor-tag-list__entry">
  145. <span class="phpdocumentor-tag__name">see</span>
  146. </dt>
  147. <dd class="phpdocumentor-tag-list__definition">
  148. <span class="phpdocumentor-tag-link"><a href="https://www.sarasoueidan.com/demos/interactive-svg-coordinate-system/">https://www.sarasoueidan.com/demos/interactive-svg-coordinate-system/</a></span>
  149. </dd>
  150. <dt class="phpdocumentor-tag-list__entry">
  151. <span class="phpdocumentor-tag__name">see</span>
  152. </dt>
  153. <dd class="phpdocumentor-tag-list__definition">
  154. <span class="phpdocumentor-tag-link"><a href="http://apex.infogridpacific.com/SVG/svg-tutorial-contents.html">http://apex.infogridpacific.com/SVG/svg-tutorial-contents.html</a></span>
  155. </dd>
  156. </dl>
  157. <h3 id="toc">
  158. Table of Contents
  159. <a href="classes/chillerlan-QRCode-Output-QRMarkupSVG.html#toc" class="headerlink"><i class="fas fa-link"></i></a>
  160. </h3>
  161. <h4 id="toc-constants">
  162. Constants
  163. <a href="classes/chillerlan-QRCode-Output-QRMarkupSVG.html#toc-constants" class="headerlink"><i class="fas fa-link"></i></a>
  164. </h4>
  165. <dl class="phpdocumentor-table-of-contents">
  166. <dt class="phpdocumentor-table-of-contents__entry -constant -public">
  167. <a href="classes/chillerlan-QRCode-Output-QRMarkupSVG.html#constant_MIME_TYPE">MIME_TYPE</a>
  168. <span>
  169. &nbsp;= &#039;image/svg+xml&#039; </span>
  170. </dt>
  171. </dl>
  172. <h4 id="toc-properties">
  173. Properties
  174. <a href="classes/chillerlan-QRCode-Output-QRMarkupSVG.html#toc-properties" class="headerlink"><i class="fas fa-link"></i></a>
  175. </h4>
  176. <dl class="phpdocumentor-table-of-contents">
  177. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  178. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_circleDiameter">$circleDiameter</a>
  179. <span>
  180. &nbsp;: float </span>
  181. </dt>
  182. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  183. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_circleRadius">$circleRadius</a>
  184. <span>
  185. &nbsp;: float </span>
  186. </dt>
  187. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  188. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_connectPaths">$connectPaths</a>
  189. <span>
  190. &nbsp;: bool </span>
  191. </dt>
  192. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  193. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_drawCircularModules">$drawCircularModules</a>
  194. <span>
  195. &nbsp;: bool </span>
  196. </dt>
  197. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  198. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_drawLightModules">$drawLightModules</a>
  199. <span>
  200. &nbsp;: bool </span>
  201. </dt>
  202. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  203. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_eol">$eol</a>
  204. <span>
  205. &nbsp;: string </span>
  206. </dt>
  207. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  208. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_excludeFromConnect">$excludeFromConnect</a>
  209. <span>
  210. &nbsp;: array&lt;string|int, mixed&gt; </span>
  211. </dt>
  212. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  213. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_keepAsSquare">$keepAsSquare</a>
  214. <span>
  215. &nbsp;: array&lt;string|int, mixed&gt; </span>
  216. </dt>
  217. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  218. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_length">$length</a>
  219. <span>
  220. &nbsp;: int </span>
  221. </dt>
  222. <dd>the side length of the QR image (modules * scale)</dd>
  223. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  224. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_matrix">$matrix</a>
  225. <span>
  226. &nbsp;: <a href="classes/chillerlan-QRCode-Data-QRMatrix.html"><abbr title="\chillerlan\QRCode\Data\QRMatrix">QRMatrix</abbr></a> </span>
  227. </dt>
  228. <dd>the (filled) data matrix object</dd>
  229. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  230. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_moduleCount">$moduleCount</a>
  231. <span>
  232. &nbsp;: int </span>
  233. </dt>
  234. <dd>the current size of the QR matrix</dd>
  235. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  236. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_moduleValues">$moduleValues</a>
  237. <span>
  238. &nbsp;: array&lt;string|int, mixed&gt; </span>
  239. </dt>
  240. <dd>an (optional) array of color values for the several QR matrix parts</dd>
  241. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  242. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_options">$options</a>
  243. <span>
  244. &nbsp;: <abbr title="\chillerlan\Settings\SettingsContainerInterface">SettingsContainerInterface</abbr>|<a href="classes/chillerlan-QRCode-QROptions.html"><abbr title="\chillerlan\QRCode\QROptions">QROptions</abbr></a> </span>
  245. </dt>
  246. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  247. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_scale">$scale</a>
  248. <span>
  249. &nbsp;: int </span>
  250. </dt>
  251. </dl>
  252. <h4 id="toc-methods">
  253. Methods
  254. <a href="classes/chillerlan-QRCode-Output-QRMarkupSVG.html#toc-methods" class="headerlink"><i class="fas fa-link"></i></a>
  255. </h4>
  256. <dl class="phpdocumentor-table-of-contents">
  257. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  258. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method___construct">__construct()</a>
  259. <span>
  260. &nbsp;: mixed </span>
  261. </dt>
  262. <dd>QROutputAbstract constructor.</dd>
  263. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  264. <a href="classes/chillerlan-QRCode-Output-QRMarkup.html#method_dump">dump()</a>
  265. <span>
  266. &nbsp;: string </span>
  267. </dt>
  268. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  269. <a href="classes/chillerlan-QRCode-Output-QRMarkupSVG.html#method_moduleValueIsValid">moduleValueIsValid()</a>
  270. <span>
  271. &nbsp;: bool </span>
  272. </dt>
  273. <dd>note: we&#039;re not necessarily validating the several values, just checking the general syntax
  274. note: css4 colors are not included</dd>
  275. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  276. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_collectModules">collectModules()</a>
  277. <span>
  278. &nbsp;: array&lt;string|int, mixed&gt; </span>
  279. </dt>
  280. <dd>collects the modules per QRMatrix::M_* type and runs a $transform function on each module and
  281. returns an array with the transformed modules</dd>
  282. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  283. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_copyVars">copyVars()</a>
  284. <span>
  285. &nbsp;: void </span>
  286. </dt>
  287. <dd>Creates copies of several QROptions values to avoid calling the magic getters
  288. in long loops for a significant performance increase.</dd>
  289. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  290. <a href="classes/chillerlan-QRCode-Output-QRMarkupSVG.html#method_createMarkup">createMarkup()</a>
  291. <span>
  292. &nbsp;: string </span>
  293. </dt>
  294. <dd>returns the fully parsed and rendered markup string for the given input</dd>
  295. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  296. <a href="classes/chillerlan-QRCode-Output-QRMarkupSVG.html#method_getCssClass">getCssClass()</a>
  297. <span>
  298. &nbsp;: string </span>
  299. </dt>
  300. <dd>returns a string with all css classes for the current element</dd>
  301. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  302. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_getDefaultModuleValue">getDefaultModuleValue()</a>
  303. <span>
  304. &nbsp;: mixed|null </span>
  305. </dt>
  306. <dd>Returns a default value for either dark or light modules</dd>
  307. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  308. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_getModuleValue">getModuleValue()</a>
  309. <span>
  310. &nbsp;: mixed </span>
  311. </dt>
  312. <dd>Returns the prepared value for the given $M_TYPE</dd>
  313. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  314. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_getModuleValueAt">getModuleValueAt()</a>
  315. <span>
  316. &nbsp;: mixed|null </span>
  317. </dt>
  318. <dd>Returns the prepared module value at the given coordinate [$x, $y] (convenience)</dd>
  319. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  320. <a href="classes/chillerlan-QRCode-Output-QRMarkupSVG.html#method_getOutputDimensions">getOutputDimensions()</a>
  321. <span>
  322. &nbsp;: array&lt;string|int, mixed&gt; </span>
  323. </dt>
  324. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  325. <a href="classes/chillerlan-QRCode-Output-QRMarkupSVG.html#method_getViewBox">getViewBox()</a>
  326. <span>
  327. &nbsp;: string </span>
  328. </dt>
  329. <dd>returns the value for the SVG viewBox attribute</dd>
  330. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  331. <a href="classes/chillerlan-QRCode-Output-QRMarkupSVG.html#method_header">header()</a>
  332. <span>
  333. &nbsp;: string </span>
  334. </dt>
  335. <dd>returns the &lt;svg&gt; header with the given options parsed</dd>
  336. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  337. <a href="classes/chillerlan-QRCode-Output-QRMarkupSVG.html#method_module">module()</a>
  338. <span>
  339. &nbsp;: string </span>
  340. </dt>
  341. <dd>returns a path segment for a single module</dd>
  342. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  343. <a href="classes/chillerlan-QRCode-Output-QRMarkupSVG.html#method_path">path()</a>
  344. <span>
  345. &nbsp;: string </span>
  346. </dt>
  347. <dd>renders and returns a single &lt;path&gt; element</dd>
  348. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  349. <a href="classes/chillerlan-QRCode-Output-QRMarkupSVG.html#method_paths">paths()</a>
  350. <span>
  351. &nbsp;: string </span>
  352. </dt>
  353. <dd>returns one or more SVG &lt;path&gt; elements</dd>
  354. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  355. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_prepareModuleValue">prepareModuleValue()</a>
  356. <span>
  357. &nbsp;: mixed|null </span>
  358. </dt>
  359. <dd>Prepares the value for the given input ()</dd>
  360. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  361. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_saveToFile">saveToFile()</a>
  362. <span>
  363. &nbsp;: void </span>
  364. </dt>
  365. <dd>Saves the qr $data to a $file. If $file is null, nothing happens.</dd>
  366. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  367. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_setMatrixDimensions">setMatrixDimensions()</a>
  368. <span>
  369. &nbsp;: void </span>
  370. </dt>
  371. <dd>Sets/updates the matrix dimensions</dd>
  372. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  373. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_setModuleValues">setModuleValues()</a>
  374. <span>
  375. &nbsp;: void </span>
  376. </dt>
  377. <dd>Sets the initial module values</dd>
  378. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  379. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_toBase64DataURI">toBase64DataURI()</a>
  380. <span>
  381. &nbsp;: string </span>
  382. </dt>
  383. <dd>Returns a base64 data URI for the given string and mime type</dd>
  384. </dl>
  385. <section class="phpdocumentor-constants">
  386. <h3 class="phpdocumentor-elements__header" id="constants">
  387. Constants
  388. <a href="classes/chillerlan-QRCode-Output-QRMarkupSVG.html#constants" class="headerlink"><i class="fas fa-link"></i></a>
  389. </h3>
  390. <article class="phpdocumentor-element -constant -public ">
  391. <h4 class="phpdocumentor-element__name" id="constant_MIME_TYPE">
  392. MIME_TYPE
  393. <a href="classes/chillerlan-QRCode-Output-QRMarkupSVG.html#constant_MIME_TYPE" class="headerlink"><i class="fas fa-link"></i></a>
  394. </h4>
  395. <aside class="phpdocumentor-element-found-in">
  396. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QRMarkupSVG.php"><a href="files/src-output-qrmarkupsvg.html"><abbr title="src/Output/QRMarkupSVG.php">QRMarkupSVG.php</abbr></a></abbr>
  397. :
  398. <span class="phpdocumentor-element-found-in__line">25</span>
  399. </aside>
  400. <code class="phpdocumentor-signature phpdocumentor-code ">
  401. <span class="phpdocumentor-signature__visibility">public</span>
  402. <span class="phpdocumentor-signature__type">mixed</span>
  403. <span class="phpdocumentor-signature__name">MIME_TYPE</span>
  404. = <span class="phpdocumentor-signature__default-value">&#039;image/svg+xml&#039;</span>
  405. </code>
  406. </article>
  407. </section>
  408. <section class="phpdocumentor-properties">
  409. <h3 class="phpdocumentor-elements__header" id="properties">
  410. Properties
  411. <a href="classes/chillerlan-QRCode-Output-QRMarkupSVG.html#properties" class="headerlink"><i class="fas fa-link"></i></a>
  412. </h3>
  413. <article
  414. class="
  415. phpdocumentor-element
  416. -property
  417. -protected
  418. "
  419. >
  420. <h4 class="phpdocumentor-element__name" id="property_circleDiameter">
  421. $circleDiameter
  422. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_circleDiameter" class="headerlink"><i class="fas fa-link"></i></a>
  423. <span class="phpdocumentor-element__modifiers">
  424. </span>
  425. </h4>
  426. <aside class="phpdocumentor-element-found-in">
  427. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QROutputAbstract.php"><a href="files/src-output-qroutputabstract.html"><abbr title="src/Output/QROutputAbstract.php">QROutputAbstract.php</abbr></a></abbr>
  428. :
  429. <span class="phpdocumentor-element-found-in__line">66</span>
  430. </aside>
  431. <code class="phpdocumentor-code phpdocumentor-signature ">
  432. <span class="phpdocumentor-signature__visibility">protected</span>
  433. <span class="phpdocumentor-signature__type">float</span>
  434. <span class="phpdocumentor-signature__name">$circleDiameter</span>
  435. </code>
  436. </article>
  437. <article
  438. class="
  439. phpdocumentor-element
  440. -property
  441. -protected
  442. "
  443. >
  444. <h4 class="phpdocumentor-element__name" id="property_circleRadius">
  445. $circleRadius
  446. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_circleRadius" class="headerlink"><i class="fas fa-link"></i></a>
  447. <span class="phpdocumentor-element__modifiers">
  448. </span>
  449. </h4>
  450. <aside class="phpdocumentor-element-found-in">
  451. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QROutputAbstract.php"><a href="files/src-output-qroutputabstract.html"><abbr title="src/Output/QROutputAbstract.php">QROutputAbstract.php</abbr></a></abbr>
  452. :
  453. <span class="phpdocumentor-element-found-in__line">65</span>
  454. </aside>
  455. <code class="phpdocumentor-code phpdocumentor-signature ">
  456. <span class="phpdocumentor-signature__visibility">protected</span>
  457. <span class="phpdocumentor-signature__type">float</span>
  458. <span class="phpdocumentor-signature__name">$circleRadius</span>
  459. </code>
  460. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  461. Tags
  462. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_circleRadius#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">see</span>
  467. </dt>
  468. <dd class="phpdocumentor-tag-list__definition">
  469. <span class="phpdocumentor-tag-link"><abbr title="\chillerlan\QRCode\QROptions::$circleRadius">QROptions::$circleRadius</abbr></span>
  470. </dd>
  471. </dl>
  472. </article>
  473. <article
  474. class="
  475. phpdocumentor-element
  476. -property
  477. -protected
  478. "
  479. >
  480. <h4 class="phpdocumentor-element__name" id="property_connectPaths">
  481. $connectPaths
  482. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_connectPaths" class="headerlink"><i class="fas fa-link"></i></a>
  483. <span class="phpdocumentor-element__modifiers">
  484. </span>
  485. </h4>
  486. <aside class="phpdocumentor-element-found-in">
  487. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QROutputAbstract.php"><a href="files/src-output-qroutputabstract.html"><abbr title="src/Output/QROutputAbstract.php">QROutputAbstract.php</abbr></a></abbr>
  488. :
  489. <span class="phpdocumentor-element-found-in__line">53</span>
  490. </aside>
  491. <code class="phpdocumentor-code phpdocumentor-signature ">
  492. <span class="phpdocumentor-signature__visibility">protected</span>
  493. <span class="phpdocumentor-signature__type">bool</span>
  494. <span class="phpdocumentor-signature__name">$connectPaths</span>
  495. </code>
  496. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  497. Tags
  498. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_connectPaths#tags" class="headerlink"><i class="fas fa-link"></i></a>
  499. </h5>
  500. <dl class="phpdocumentor-tag-list">
  501. <dt class="phpdocumentor-tag-list__entry">
  502. <span class="phpdocumentor-tag__name">see</span>
  503. </dt>
  504. <dd class="phpdocumentor-tag-list__definition">
  505. <span class="phpdocumentor-tag-link"><abbr title="\chillerlan\QRCode\QROptions::$connectPaths">QROptions::$connectPaths</abbr></span>
  506. </dd>
  507. </dl>
  508. </article>
  509. <article
  510. class="
  511. phpdocumentor-element
  512. -property
  513. -protected
  514. "
  515. >
  516. <h4 class="phpdocumentor-element__name" id="property_drawCircularModules">
  517. $drawCircularModules
  518. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_drawCircularModules" class="headerlink"><i class="fas fa-link"></i></a>
  519. <span class="phpdocumentor-element__modifiers">
  520. </span>
  521. </h4>
  522. <aside class="phpdocumentor-element-found-in">
  523. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QROutputAbstract.php"><a href="files/src-output-qroutputabstract.html"><abbr title="src/Output/QROutputAbstract.php">QROutputAbstract.php</abbr></a></abbr>
  524. :
  525. <span class="phpdocumentor-element-found-in__line">61</span>
  526. </aside>
  527. <code class="phpdocumentor-code phpdocumentor-signature ">
  528. <span class="phpdocumentor-signature__visibility">protected</span>
  529. <span class="phpdocumentor-signature__type">bool</span>
  530. <span class="phpdocumentor-signature__name">$drawCircularModules</span>
  531. </code>
  532. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  533. Tags
  534. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_drawCircularModules#tags" class="headerlink"><i class="fas fa-link"></i></a>
  535. </h5>
  536. <dl class="phpdocumentor-tag-list">
  537. <dt class="phpdocumentor-tag-list__entry">
  538. <span class="phpdocumentor-tag__name">see</span>
  539. </dt>
  540. <dd class="phpdocumentor-tag-list__definition">
  541. <span class="phpdocumentor-tag-link"><abbr title="\chillerlan\QRCode\QROptions::$drawCircularModules">QROptions::$drawCircularModules</abbr></span>
  542. </dd>
  543. </dl>
  544. </article>
  545. <article
  546. class="
  547. phpdocumentor-element
  548. -property
  549. -protected
  550. "
  551. >
  552. <h4 class="phpdocumentor-element__name" id="property_drawLightModules">
  553. $drawLightModules
  554. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_drawLightModules" class="headerlink"><i class="fas fa-link"></i></a>
  555. <span class="phpdocumentor-element__modifiers">
  556. </span>
  557. </h4>
  558. <aside class="phpdocumentor-element-found-in">
  559. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QROutputAbstract.php"><a href="files/src-output-qroutputabstract.html"><abbr title="src/Output/QROutputAbstract.php">QROutputAbstract.php</abbr></a></abbr>
  560. :
  561. <span class="phpdocumentor-element-found-in__line">59</span>
  562. </aside>
  563. <code class="phpdocumentor-code phpdocumentor-signature ">
  564. <span class="phpdocumentor-signature__visibility">protected</span>
  565. <span class="phpdocumentor-signature__type">bool</span>
  566. <span class="phpdocumentor-signature__name">$drawLightModules</span>
  567. </code>
  568. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  569. Tags
  570. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_drawLightModules#tags" class="headerlink"><i class="fas fa-link"></i></a>
  571. </h5>
  572. <dl class="phpdocumentor-tag-list">
  573. <dt class="phpdocumentor-tag-list__entry">
  574. <span class="phpdocumentor-tag__name">see</span>
  575. </dt>
  576. <dd class="phpdocumentor-tag-list__definition">
  577. <span class="phpdocumentor-tag-link"><abbr title="\chillerlan\QRCode\QROptions::$drawLightModules">QROptions::$drawLightModules</abbr></span>
  578. </dd>
  579. </dl>
  580. </article>
  581. <article
  582. class="
  583. phpdocumentor-element
  584. -property
  585. -protected
  586. "
  587. >
  588. <h4 class="phpdocumentor-element__name" id="property_eol">
  589. $eol
  590. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_eol" class="headerlink"><i class="fas fa-link"></i></a>
  591. <span class="phpdocumentor-element__modifiers">
  592. </span>
  593. </h4>
  594. <aside class="phpdocumentor-element-found-in">
  595. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QROutputAbstract.php"><a href="files/src-output-qroutputabstract.html"><abbr title="src/Output/QROutputAbstract.php">QROutputAbstract.php</abbr></a></abbr>
  596. :
  597. <span class="phpdocumentor-element-found-in__line">57</span>
  598. </aside>
  599. <code class="phpdocumentor-code phpdocumentor-signature ">
  600. <span class="phpdocumentor-signature__visibility">protected</span>
  601. <span class="phpdocumentor-signature__type">string</span>
  602. <span class="phpdocumentor-signature__name">$eol</span>
  603. </code>
  604. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  605. Tags
  606. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_eol#tags" class="headerlink"><i class="fas fa-link"></i></a>
  607. </h5>
  608. <dl class="phpdocumentor-tag-list">
  609. <dt class="phpdocumentor-tag-list__entry">
  610. <span class="phpdocumentor-tag__name">see</span>
  611. </dt>
  612. <dd class="phpdocumentor-tag-list__definition">
  613. <span class="phpdocumentor-tag-link"><abbr title="\chillerlan\QRCode\QROptions::$eol">QROptions::$eol</abbr></span>
  614. </dd>
  615. </dl>
  616. </article>
  617. <article
  618. class="
  619. phpdocumentor-element
  620. -property
  621. -protected
  622. "
  623. >
  624. <h4 class="phpdocumentor-element__name" id="property_excludeFromConnect">
  625. $excludeFromConnect
  626. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_excludeFromConnect" class="headerlink"><i class="fas fa-link"></i></a>
  627. <span class="phpdocumentor-element__modifiers">
  628. </span>
  629. </h4>
  630. <aside class="phpdocumentor-element-found-in">
  631. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QROutputAbstract.php"><a href="files/src-output-qroutputabstract.html"><abbr title="src/Output/QROutputAbstract.php">QROutputAbstract.php</abbr></a></abbr>
  632. :
  633. <span class="phpdocumentor-element-found-in__line">55</span>
  634. </aside>
  635. <code class="phpdocumentor-code phpdocumentor-signature ">
  636. <span class="phpdocumentor-signature__visibility">protected</span>
  637. <span class="phpdocumentor-signature__type">array&lt;string|int, mixed&gt;</span>
  638. <span class="phpdocumentor-signature__name">$excludeFromConnect</span>
  639. </code>
  640. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  641. Tags
  642. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_excludeFromConnect#tags" class="headerlink"><i class="fas fa-link"></i></a>
  643. </h5>
  644. <dl class="phpdocumentor-tag-list">
  645. <dt class="phpdocumentor-tag-list__entry">
  646. <span class="phpdocumentor-tag__name">see</span>
  647. </dt>
  648. <dd class="phpdocumentor-tag-list__definition">
  649. <span class="phpdocumentor-tag-link"><abbr title="\chillerlan\QRCode\QROptions::$excludeFromConnect">QROptions::$excludeFromConnect</abbr></span>
  650. </dd>
  651. </dl>
  652. </article>
  653. <article
  654. class="
  655. phpdocumentor-element
  656. -property
  657. -protected
  658. "
  659. >
  660. <h4 class="phpdocumentor-element__name" id="property_keepAsSquare">
  661. $keepAsSquare
  662. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_keepAsSquare" class="headerlink"><i class="fas fa-link"></i></a>
  663. <span class="phpdocumentor-element__modifiers">
  664. </span>
  665. </h4>
  666. <aside class="phpdocumentor-element-found-in">
  667. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QROutputAbstract.php"><a href="files/src-output-qroutputabstract.html"><abbr title="src/Output/QROutputAbstract.php">QROutputAbstract.php</abbr></a></abbr>
  668. :
  669. <span class="phpdocumentor-element-found-in__line">63</span>
  670. </aside>
  671. <code class="phpdocumentor-code phpdocumentor-signature ">
  672. <span class="phpdocumentor-signature__visibility">protected</span>
  673. <span class="phpdocumentor-signature__type">array&lt;string|int, mixed&gt;</span>
  674. <span class="phpdocumentor-signature__name">$keepAsSquare</span>
  675. </code>
  676. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  677. Tags
  678. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_keepAsSquare#tags" class="headerlink"><i class="fas fa-link"></i></a>
  679. </h5>
  680. <dl class="phpdocumentor-tag-list">
  681. <dt class="phpdocumentor-tag-list__entry">
  682. <span class="phpdocumentor-tag__name">see</span>
  683. </dt>
  684. <dd class="phpdocumentor-tag-list__definition">
  685. <span class="phpdocumentor-tag-link"><abbr title="\chillerlan\QRCode\QROptions::$keepAsSquare">QROptions::$keepAsSquare</abbr></span>
  686. </dd>
  687. </dl>
  688. </article>
  689. <article
  690. class="
  691. phpdocumentor-element
  692. -property
  693. -protected
  694. "
  695. >
  696. <h4 class="phpdocumentor-element__name" id="property_length">
  697. $length
  698. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_length" class="headerlink"><i class="fas fa-link"></i></a>
  699. <span class="phpdocumentor-element__modifiers">
  700. </span>
  701. </h4>
  702. <aside class="phpdocumentor-element-found-in">
  703. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QROutputAbstract.php"><a href="files/src-output-qroutputabstract.html"><abbr title="src/Output/QROutputAbstract.php">QROutputAbstract.php</abbr></a></abbr>
  704. :
  705. <span class="phpdocumentor-element-found-in__line">33</span>
  706. </aside>
  707. <p class="phpdocumentor-summary">the side length of the QR image (modules * scale)</p>
  708. <code class="phpdocumentor-code phpdocumentor-signature ">
  709. <span class="phpdocumentor-signature__visibility">protected</span>
  710. <span class="phpdocumentor-signature__type">int</span>
  711. <span class="phpdocumentor-signature__name">$length</span>
  712. </code>
  713. </article>
  714. <article
  715. class="
  716. phpdocumentor-element
  717. -property
  718. -protected
  719. "
  720. >
  721. <h4 class="phpdocumentor-element__name" id="property_matrix">
  722. $matrix
  723. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_matrix" class="headerlink"><i class="fas fa-link"></i></a>
  724. <span class="phpdocumentor-element__modifiers">
  725. </span>
  726. </h4>
  727. <aside class="phpdocumentor-element-found-in">
  728. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QROutputAbstract.php"><a href="files/src-output-qroutputabstract.html"><abbr title="src/Output/QROutputAbstract.php">QROutputAbstract.php</abbr></a></abbr>
  729. :
  730. <span class="phpdocumentor-element-found-in__line">43</span>
  731. </aside>
  732. <p class="phpdocumentor-summary">the (filled) data matrix object</p>
  733. <code class="phpdocumentor-code phpdocumentor-signature ">
  734. <span class="phpdocumentor-signature__visibility">protected</span>
  735. <span class="phpdocumentor-signature__type"><a href="classes/chillerlan-QRCode-Data-QRMatrix.html"><abbr title="\chillerlan\QRCode\Data\QRMatrix">QRMatrix</abbr></a></span>
  736. <span class="phpdocumentor-signature__name">$matrix</span>
  737. </code>
  738. </article>
  739. <article
  740. class="
  741. phpdocumentor-element
  742. -property
  743. -protected
  744. "
  745. >
  746. <h4 class="phpdocumentor-element__name" id="property_moduleCount">
  747. $moduleCount
  748. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_moduleCount" class="headerlink"><i class="fas fa-link"></i></a>
  749. <span class="phpdocumentor-element__modifiers">
  750. </span>
  751. </h4>
  752. <aside class="phpdocumentor-element-found-in">
  753. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QROutputAbstract.php"><a href="files/src-output-qroutputabstract.html"><abbr title="src/Output/QROutputAbstract.php">QROutputAbstract.php</abbr></a></abbr>
  754. :
  755. <span class="phpdocumentor-element-found-in__line">28</span>
  756. </aside>
  757. <p class="phpdocumentor-summary">the current size of the QR matrix</p>
  758. <code class="phpdocumentor-code phpdocumentor-signature ">
  759. <span class="phpdocumentor-signature__visibility">protected</span>
  760. <span class="phpdocumentor-signature__type">int</span>
  761. <span class="phpdocumentor-signature__name">$moduleCount</span>
  762. </code>
  763. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  764. Tags
  765. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_moduleCount#tags" class="headerlink"><i class="fas fa-link"></i></a>
  766. </h5>
  767. <dl class="phpdocumentor-tag-list">
  768. <dt class="phpdocumentor-tag-list__entry">
  769. <span class="phpdocumentor-tag__name">see</span>
  770. </dt>
  771. <dd class="phpdocumentor-tag-list__definition">
  772. <span class="phpdocumentor-tag-link"><a href="classes/chillerlan-QRCode-Data-QRMatrix.html#method_getSize"><abbr title="\chillerlan\QRCode\Data\QRMatrix::getSize()">QRMatrix::getSize()</abbr></a></span>
  773. </dd>
  774. </dl>
  775. </article>
  776. <article
  777. class="
  778. phpdocumentor-element
  779. -property
  780. -protected
  781. "
  782. >
  783. <h4 class="phpdocumentor-element__name" id="property_moduleValues">
  784. $moduleValues
  785. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_moduleValues" class="headerlink"><i class="fas fa-link"></i></a>
  786. <span class="phpdocumentor-element__modifiers">
  787. </span>
  788. </h4>
  789. <aside class="phpdocumentor-element-found-in">
  790. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QROutputAbstract.php"><a href="files/src-output-qroutputabstract.html"><abbr title="src/Output/QROutputAbstract.php">QROutputAbstract.php</abbr></a></abbr>
  791. :
  792. <span class="phpdocumentor-element-found-in__line">38</span>
  793. </aside>
  794. <p class="phpdocumentor-summary">an (optional) array of color values for the several QR matrix parts</p>
  795. <code class="phpdocumentor-code phpdocumentor-signature ">
  796. <span class="phpdocumentor-signature__visibility">protected</span>
  797. <span class="phpdocumentor-signature__type">array&lt;string|int, mixed&gt;</span>
  798. <span class="phpdocumentor-signature__name">$moduleValues</span>
  799. </code>
  800. </article>
  801. <article
  802. class="
  803. phpdocumentor-element
  804. -property
  805. -protected
  806. "
  807. >
  808. <h4 class="phpdocumentor-element__name" id="property_options">
  809. $options
  810. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_options" class="headerlink"><i class="fas fa-link"></i></a>
  811. <span class="phpdocumentor-element__modifiers">
  812. </span>
  813. </h4>
  814. <aside class="phpdocumentor-element-found-in">
  815. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QROutputAbstract.php"><a href="files/src-output-qroutputabstract.html"><abbr title="src/Output/QROutputAbstract.php">QROutputAbstract.php</abbr></a></abbr>
  816. :
  817. <span class="phpdocumentor-element-found-in__line">48</span>
  818. </aside>
  819. <code class="phpdocumentor-code phpdocumentor-signature ">
  820. <span class="phpdocumentor-signature__visibility">protected</span>
  821. <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>
  822. <span class="phpdocumentor-signature__name">$options</span>
  823. </code>
  824. </article>
  825. <article
  826. class="
  827. phpdocumentor-element
  828. -property
  829. -protected
  830. "
  831. >
  832. <h4 class="phpdocumentor-element__name" id="property_scale">
  833. $scale
  834. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_scale" class="headerlink"><i class="fas fa-link"></i></a>
  835. <span class="phpdocumentor-element__modifiers">
  836. </span>
  837. </h4>
  838. <aside class="phpdocumentor-element-found-in">
  839. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QROutputAbstract.php"><a href="files/src-output-qroutputabstract.html"><abbr title="src/Output/QROutputAbstract.php">QROutputAbstract.php</abbr></a></abbr>
  840. :
  841. <span class="phpdocumentor-element-found-in__line">51</span>
  842. </aside>
  843. <code class="phpdocumentor-code phpdocumentor-signature ">
  844. <span class="phpdocumentor-signature__visibility">protected</span>
  845. <span class="phpdocumentor-signature__type">int</span>
  846. <span class="phpdocumentor-signature__name">$scale</span>
  847. </code>
  848. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  849. Tags
  850. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_scale#tags" class="headerlink"><i class="fas fa-link"></i></a>
  851. </h5>
  852. <dl class="phpdocumentor-tag-list">
  853. <dt class="phpdocumentor-tag-list__entry">
  854. <span class="phpdocumentor-tag__name">see</span>
  855. </dt>
  856. <dd class="phpdocumentor-tag-list__definition">
  857. <span class="phpdocumentor-tag-link"><abbr title="\chillerlan\QRCode\QROptions::$scale">QROptions::$scale</abbr></span>
  858. </dd>
  859. </dl>
  860. </article>
  861. </section>
  862. <section class="phpdocumentor-methods">
  863. <h3 class="phpdocumentor-elements__header" id="methods">
  864. Methods
  865. <a href="classes/chillerlan-QRCode-Output-QRMarkupSVG.html#methods" class="headerlink"><i class="fas fa-link"></i></a>
  866. </h3>
  867. <article
  868. class="phpdocumentor-element
  869. -method
  870. -public
  871. "
  872. >
  873. <h4 class="phpdocumentor-element__name" id="method___construct">
  874. __construct()
  875. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method___construct" class="headerlink"><i class="fas fa-link"></i></a>
  876. </h4>
  877. <aside class="phpdocumentor-element-found-in">
  878. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QROutputAbstract.php"><a href="files/src-output-qroutputabstract.html"><abbr title="src/Output/QROutputAbstract.php">QROutputAbstract.php</abbr></a></abbr>
  879. :
  880. <span class="phpdocumentor-element-found-in__line">71</span>
  881. </aside>
  882. <p class="phpdocumentor-summary">QROutputAbstract constructor.</p>
  883. <code class="phpdocumentor-code phpdocumentor-signature ">
  884. <span class="phpdocumentor-signature__visibility">public</span>
  885. <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>&nbsp;</span><span class="phpdocumentor-signature__argument__name">$options</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type"><a href="classes/chillerlan-QRCode-Data-QRMatrix.html"><abbr title="\chillerlan\QRCode\Data\QRMatrix">QRMatrix</abbr></a>&nbsp;</span><span class="phpdocumentor-signature__argument__name">$matrix</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
  886. <div class="phpdocumentor-label-line">
  887. </div>
  888. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  889. <dl class="phpdocumentor-argument-list">
  890. <dt class="phpdocumentor-argument-list__entry">
  891. <span class="phpdocumentor-signature__argument__name">$options</span>
  892. : <span class="phpdocumentor-signature__argument__return-type"><abbr title="\chillerlan\Settings\SettingsContainerInterface">SettingsContainerInterface</abbr></span>
  893. </dt>
  894. <dd class="phpdocumentor-argument-list__definition">
  895. </dd>
  896. <dt class="phpdocumentor-argument-list__entry">
  897. <span class="phpdocumentor-signature__argument__name">$matrix</span>
  898. : <span class="phpdocumentor-signature__argument__return-type"><a href="classes/chillerlan-QRCode-Data-QRMatrix.html"><abbr title="\chillerlan\QRCode\Data\QRMatrix">QRMatrix</abbr></a></span>
  899. </dt>
  900. <dd class="phpdocumentor-argument-list__definition">
  901. </dd>
  902. </dl>
  903. </article>
  904. <article
  905. class="phpdocumentor-element
  906. -method
  907. -public
  908. "
  909. >
  910. <h4 class="phpdocumentor-element__name" id="method_dump">
  911. dump()
  912. <a href="classes/chillerlan-QRCode-Output-QRMarkup.html#method_dump" class="headerlink"><i class="fas fa-link"></i></a>
  913. </h4>
  914. <aside class="phpdocumentor-element-found-in">
  915. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QRMarkup.php"><a href="files/src-output-qrmarkup.html"><abbr title="src/Output/QRMarkup.php">QRMarkup.php</abbr></a></abbr>
  916. :
  917. <span class="phpdocumentor-element-found-in__line">74</span>
  918. </aside>
  919. <code class="phpdocumentor-code phpdocumentor-signature ">
  920. <span class="phpdocumentor-signature__visibility">public</span>
  921. <span class="phpdocumentor-signature__name">dump</span><span>(</span><span class="phpdocumentor-signature__argument"><span>[</span><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$file</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
  922. <div class="phpdocumentor-label-line">
  923. </div>
  924. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  925. <dl class="phpdocumentor-argument-list">
  926. <dt class="phpdocumentor-argument-list__entry">
  927. <span class="phpdocumentor-signature__argument__name">$file</span>
  928. : <span class="phpdocumentor-signature__argument__return-type">string</span>
  929. = <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
  930. <dd class="phpdocumentor-argument-list__definition">
  931. </dd>
  932. </dl>
  933. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  934. Tags
  935. <a href="classes/chillerlan-QRCode-Output-QRMarkup.html#method_dump#tags" class="headerlink"><i class="fas fa-link"></i></a>
  936. </h5>
  937. <dl class="phpdocumentor-tag-list">
  938. <dt class="phpdocumentor-tag-list__entry">
  939. <span class="phpdocumentor-tag__name">inheritDoc</span>
  940. </dt>
  941. <dd class="phpdocumentor-tag-list__definition">
  942. </dd>
  943. </dl>
  944. <section>
  945. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  946. <span class="phpdocumentor-signature__response_type">string</span>
  947. </section>
  948. </article>
  949. <article
  950. class="phpdocumentor-element
  951. -method
  952. -public
  953. -static "
  954. >
  955. <h4 class="phpdocumentor-element__name" id="method_moduleValueIsValid">
  956. moduleValueIsValid()
  957. <a href="classes/chillerlan-QRCode-Output-QRMarkupSVG.html#method_moduleValueIsValid" class="headerlink"><i class="fas fa-link"></i></a>
  958. </h4>
  959. <aside class="phpdocumentor-element-found-in">
  960. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QRMarkupSVG.php"><a href="files/src-output-qrmarkupsvg.html"><abbr title="src/Output/QRMarkupSVG.php">QRMarkupSVG.php</abbr></a></abbr>
  961. :
  962. <span class="phpdocumentor-element-found-in__line">33</span>
  963. </aside>
  964. <p class="phpdocumentor-summary">note: we&#039;re not necessarily validating the several values, just checking the general syntax
  965. note: css4 colors are not included</p>
  966. <code class="phpdocumentor-code phpdocumentor-signature ">
  967. <span class="phpdocumentor-signature__visibility">public</span>
  968. <span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">moduleValueIsValid</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">mixed&nbsp;</span><span class="phpdocumentor-signature__argument__name">$value</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">bool</span></code>
  969. <div class="phpdocumentor-label-line">
  970. </div>
  971. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  972. <dl class="phpdocumentor-argument-list">
  973. <dt class="phpdocumentor-argument-list__entry">
  974. <span class="phpdocumentor-signature__argument__name">$value</span>
  975. : <span class="phpdocumentor-signature__argument__return-type">mixed</span>
  976. </dt>
  977. <dd class="phpdocumentor-argument-list__definition">
  978. </dd>
  979. </dl>
  980. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  981. Tags
  982. <a href="classes/chillerlan-QRCode-Output-QRMarkupSVG.html#method_moduleValueIsValid#tags" class="headerlink"><i class="fas fa-link"></i></a>
  983. </h5>
  984. <dl class="phpdocumentor-tag-list">
  985. <dt class="phpdocumentor-tag-list__entry">
  986. <span class="phpdocumentor-tag__name">todo:</span>
  987. </dt>
  988. <dd class="phpdocumentor-tag-list__definition">
  989. <section class="phpdocumentor-description"><p>XSS proof</p>
  990. </section>
  991. </dd>
  992. <dt class="phpdocumentor-tag-list__entry">
  993. <span class="phpdocumentor-tag__name">see</span>
  994. </dt>
  995. <dd class="phpdocumentor-tag-list__definition">
  996. <span class="phpdocumentor-tag-link"><a href="https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/fill">https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/fill</a></span>
  997. </dd>
  998. <dt class="phpdocumentor-tag-list__entry">
  999. <span class="phpdocumentor-tag__name">inheritDoc</span>
  1000. </dt>
  1001. <dd class="phpdocumentor-tag-list__definition">
  1002. </dd>
  1003. </dl>
  1004. <section>
  1005. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  1006. <span class="phpdocumentor-signature__response_type">bool</span>
  1007. </section>
  1008. </article>
  1009. <article
  1010. class="phpdocumentor-element
  1011. -method
  1012. -protected
  1013. "
  1014. >
  1015. <h4 class="phpdocumentor-element__name" id="method_collectModules">
  1016. collectModules()
  1017. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_collectModules" class="headerlink"><i class="fas fa-link"></i></a>
  1018. </h4>
  1019. <aside class="phpdocumentor-element-found-in">
  1020. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QROutputAbstract.php"><a href="files/src-output-qroutputabstract.html"><abbr title="src/Output/QROutputAbstract.php">QROutputAbstract.php</abbr></a></abbr>
  1021. :
  1022. <span class="phpdocumentor-element-found-in__line">229</span>
  1023. </aside>
  1024. <p class="phpdocumentor-summary">collects the modules per QRMatrix::M_* type and runs a $transform function on each module and
  1025. returns an array with the transformed modules</p>
  1026. <code class="phpdocumentor-code phpdocumentor-signature ">
  1027. <span class="phpdocumentor-signature__visibility">protected</span>
  1028. <span class="phpdocumentor-signature__name">collectModules</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><abbr title="\Closure">Closure</abbr>&nbsp;</span><span class="phpdocumentor-signature__argument__name">$transform</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span></code>
  1029. <div class="phpdocumentor-label-line">
  1030. </div>
  1031. <section class="phpdocumentor-description"><p>The transform callback is called with the following parameters:</p>
  1032. <p>$x - current column
  1033. $y - current row
  1034. $M_TYPE - field value
  1035. $M_TYPE_LAYER - (possibly modified) field value that acts as layer id</p>
  1036. </section>
  1037. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  1038. <dl class="phpdocumentor-argument-list">
  1039. <dt class="phpdocumentor-argument-list__entry">
  1040. <span class="phpdocumentor-signature__argument__name">$transform</span>
  1041. : <span class="phpdocumentor-signature__argument__return-type"><abbr title="\Closure">Closure</abbr></span>
  1042. </dt>
  1043. <dd class="phpdocumentor-argument-list__definition">
  1044. </dd>
  1045. </dl>
  1046. <section>
  1047. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  1048. <span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span>
  1049. </section>
  1050. </article>
  1051. <article
  1052. class="phpdocumentor-element
  1053. -method
  1054. -protected
  1055. "
  1056. >
  1057. <h4 class="phpdocumentor-element__name" id="method_copyVars">
  1058. copyVars()
  1059. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_copyVars" class="headerlink"><i class="fas fa-link"></i></a>
  1060. </h4>
  1061. <aside class="phpdocumentor-element-found-in">
  1062. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QROutputAbstract.php"><a href="files/src-output-qroutputabstract.html"><abbr title="src/Output/QROutputAbstract.php">QROutputAbstract.php</abbr></a></abbr>
  1063. :
  1064. <span class="phpdocumentor-element-found-in__line">90</span>
  1065. </aside>
  1066. <p class="phpdocumentor-summary">Creates copies of several QROptions values to avoid calling the magic getters
  1067. in long loops for a significant performance increase.</p>
  1068. <code class="phpdocumentor-code phpdocumentor-signature ">
  1069. <span class="phpdocumentor-signature__visibility">protected</span>
  1070. <span class="phpdocumentor-signature__name">copyVars</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  1071. <div class="phpdocumentor-label-line">
  1072. </div>
  1073. <section class="phpdocumentor-description"><p>These variables are usually used in the &quot;module&quot; methods and are called up to 31329 times (at version 40).</p>
  1074. </section>
  1075. </article>
  1076. <article
  1077. class="phpdocumentor-element
  1078. -method
  1079. -protected
  1080. "
  1081. >
  1082. <h4 class="phpdocumentor-element__name" id="method_createMarkup">
  1083. createMarkup()
  1084. <a href="classes/chillerlan-QRCode-Output-QRMarkupSVG.html#method_createMarkup" class="headerlink"><i class="fas fa-link"></i></a>
  1085. </h4>
  1086. <aside class="phpdocumentor-element-found-in">
  1087. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QRMarkupSVG.php"><a href="files/src-output-qrmarkupsvg.html"><abbr title="src/Output/QRMarkupSVG.php">QRMarkupSVG.php</abbr></a></abbr>
  1088. :
  1089. <span class="phpdocumentor-element-found-in__line">60</span>
  1090. </aside>
  1091. <p class="phpdocumentor-summary">returns the fully parsed and rendered markup string for the given input</p>
  1092. <code class="phpdocumentor-code phpdocumentor-signature ">
  1093. <span class="phpdocumentor-signature__visibility">protected</span>
  1094. <span class="phpdocumentor-signature__name">createMarkup</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">bool&nbsp;</span><span class="phpdocumentor-signature__argument__name">$saveToFile</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
  1095. <div class="phpdocumentor-label-line">
  1096. </div>
  1097. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  1098. <dl class="phpdocumentor-argument-list">
  1099. <dt class="phpdocumentor-argument-list__entry">
  1100. <span class="phpdocumentor-signature__argument__name">$saveToFile</span>
  1101. : <span class="phpdocumentor-signature__argument__return-type">bool</span>
  1102. </dt>
  1103. <dd class="phpdocumentor-argument-list__definition">
  1104. </dd>
  1105. </dl>
  1106. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  1107. Tags
  1108. <a href="classes/chillerlan-QRCode-Output-QRMarkupSVG.html#method_createMarkup#tags" class="headerlink"><i class="fas fa-link"></i></a>
  1109. </h5>
  1110. <dl class="phpdocumentor-tag-list">
  1111. <dt class="phpdocumentor-tag-list__entry">
  1112. <span class="phpdocumentor-tag__name">inheritDoc</span>
  1113. </dt>
  1114. <dd class="phpdocumentor-tag-list__definition">
  1115. </dd>
  1116. </dl>
  1117. <section>
  1118. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  1119. <span class="phpdocumentor-signature__response_type">string</span>
  1120. </section>
  1121. </article>
  1122. <article
  1123. class="phpdocumentor-element
  1124. -method
  1125. -protected
  1126. "
  1127. >
  1128. <h4 class="phpdocumentor-element__name" id="method_getCssClass">
  1129. getCssClass()
  1130. <a href="classes/chillerlan-QRCode-Output-QRMarkupSVG.html#method_getCssClass" class="headerlink"><i class="fas fa-link"></i></a>
  1131. </h4>
  1132. <aside class="phpdocumentor-element-found-in">
  1133. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QRMarkupSVG.php"><a href="files/src-output-qrmarkupsvg.html"><abbr title="src/Output/QRMarkupSVG.php">QRMarkupSVG.php</abbr></a></abbr>
  1134. :
  1135. <span class="phpdocumentor-element-found-in__line">165</span>
  1136. </aside>
  1137. <p class="phpdocumentor-summary">returns a string with all css classes for the current element</p>
  1138. <code class="phpdocumentor-code phpdocumentor-signature ">
  1139. <span class="phpdocumentor-signature__visibility">protected</span>
  1140. <span class="phpdocumentor-signature__name">getCssClass</span><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">$M_TYPE</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">0</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
  1141. <div class="phpdocumentor-label-line">
  1142. </div>
  1143. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  1144. <dl class="phpdocumentor-argument-list">
  1145. <dt class="phpdocumentor-argument-list__entry">
  1146. <span class="phpdocumentor-signature__argument__name">$M_TYPE</span>
  1147. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  1148. = <span class="phpdocumentor-signature__argument__default-value">0</span> </dt>
  1149. <dd class="phpdocumentor-argument-list__definition">
  1150. </dd>
  1151. </dl>
  1152. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  1153. Tags
  1154. <a href="classes/chillerlan-QRCode-Output-QRMarkupSVG.html#method_getCssClass#tags" class="headerlink"><i class="fas fa-link"></i></a>
  1155. </h5>
  1156. <dl class="phpdocumentor-tag-list">
  1157. <dt class="phpdocumentor-tag-list__entry">
  1158. <span class="phpdocumentor-tag__name">inheritDoc</span>
  1159. </dt>
  1160. <dd class="phpdocumentor-tag-list__definition">
  1161. </dd>
  1162. </dl>
  1163. <section>
  1164. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  1165. <span class="phpdocumentor-signature__response_type">string</span>
  1166. </section>
  1167. </article>
  1168. <article
  1169. class="phpdocumentor-element
  1170. -method
  1171. -protected
  1172. -abstract "
  1173. >
  1174. <h4 class="phpdocumentor-element__name" id="method_getDefaultModuleValue">
  1175. getDefaultModuleValue()
  1176. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_getDefaultModuleValue" class="headerlink"><i class="fas fa-link"></i></a>
  1177. </h4>
  1178. <aside class="phpdocumentor-element-found-in">
  1179. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QROutputAbstract.php"><a href="files/src-output-qroutputabstract.html"><abbr title="src/Output/QROutputAbstract.php">QROutputAbstract.php</abbr></a></abbr>
  1180. :
  1181. <span class="phpdocumentor-element-found-in__line">186</span>
  1182. </aside>
  1183. <p class="phpdocumentor-summary">Returns a default value for either dark or light modules</p>
  1184. <code class="phpdocumentor-code phpdocumentor-signature ">
  1185. <span class="phpdocumentor-signature__visibility">protected</span>
  1186. <span class="phpdocumentor-signature__abstract">abstract</span> <span class="phpdocumentor-signature__name">getDefaultModuleValue</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">bool&nbsp;</span><span class="phpdocumentor-signature__argument__name">$isDark</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed|null</span></code>
  1187. <div class="phpdocumentor-label-line">
  1188. </div>
  1189. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  1190. <dl class="phpdocumentor-argument-list">
  1191. <dt class="phpdocumentor-argument-list__entry">
  1192. <span class="phpdocumentor-signature__argument__name">$isDark</span>
  1193. : <span class="phpdocumentor-signature__argument__return-type">bool</span>
  1194. </dt>
  1195. <dd class="phpdocumentor-argument-list__definition">
  1196. </dd>
  1197. </dl>
  1198. <section>
  1199. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  1200. <span class="phpdocumentor-signature__response_type">mixed|null</span>
  1201. &mdash;
  1202. <section class="phpdocumentor-description"><p>return value depends on the output class</p>
  1203. </section>
  1204. </section>
  1205. </article>
  1206. <article
  1207. class="phpdocumentor-element
  1208. -method
  1209. -protected
  1210. "
  1211. >
  1212. <h4 class="phpdocumentor-element__name" id="method_getModuleValue">
  1213. getModuleValue()
  1214. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_getModuleValue" class="headerlink"><i class="fas fa-link"></i></a>
  1215. </h4>
  1216. <aside class="phpdocumentor-element-found-in">
  1217. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QROutputAbstract.php"><a href="files/src-output-qroutputabstract.html"><abbr title="src/Output/QROutputAbstract.php">QROutputAbstract.php</abbr></a></abbr>
  1218. :
  1219. <span class="phpdocumentor-element-found-in__line">154</span>
  1220. </aside>
  1221. <p class="phpdocumentor-summary">Returns the prepared value for the given $M_TYPE</p>
  1222. <code class="phpdocumentor-code phpdocumentor-signature ">
  1223. <span class="phpdocumentor-signature__visibility">protected</span>
  1224. <span class="phpdocumentor-signature__name">getModuleValue</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$M_TYPE</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
  1225. <div class="phpdocumentor-label-line">
  1226. </div>
  1227. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  1228. <dl class="phpdocumentor-argument-list">
  1229. <dt class="phpdocumentor-argument-list__entry">
  1230. <span class="phpdocumentor-signature__argument__name">$M_TYPE</span>
  1231. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  1232. </dt>
  1233. <dd class="phpdocumentor-argument-list__definition">
  1234. </dd>
  1235. </dl>
  1236. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  1237. Tags
  1238. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_getModuleValue#tags" class="headerlink"><i class="fas fa-link"></i></a>
  1239. </h5>
  1240. <dl class="phpdocumentor-tag-list">
  1241. <dt class="phpdocumentor-tag-list__entry">
  1242. <span class="phpdocumentor-tag__name">throws</span>
  1243. </dt>
  1244. <dd class="phpdocumentor-tag-list__definition">
  1245. <span class="phpdocumentor-tag-link"><a href="classes/chillerlan-QRCode-Output-QRCodeOutputException.html"><abbr title="\chillerlan\QRCode\Output\QRCodeOutputException">QRCodeOutputException</abbr></a></span>
  1246. <section class="phpdocumentor-description"><p>if $moduleValues[$M_TYPE] doesn't exist</p>
  1247. </section>
  1248. </dd>
  1249. </dl>
  1250. <section>
  1251. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  1252. <span class="phpdocumentor-signature__response_type">mixed</span>
  1253. &mdash;
  1254. <section class="phpdocumentor-description"><p>return value depends on the output class</p>
  1255. </section>
  1256. </section>
  1257. </article>
  1258. <article
  1259. class="phpdocumentor-element
  1260. -method
  1261. -protected
  1262. "
  1263. >
  1264. <h4 class="phpdocumentor-element__name" id="method_getModuleValueAt">
  1265. getModuleValueAt()
  1266. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_getModuleValueAt" class="headerlink"><i class="fas fa-link"></i></a>
  1267. </h4>
  1268. <aside class="phpdocumentor-element-found-in">
  1269. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QROutputAbstract.php"><a href="files/src-output-qroutputabstract.html"><abbr title="src/Output/QROutputAbstract.php">QROutputAbstract.php</abbr></a></abbr>
  1270. :
  1271. <span class="phpdocumentor-element-found-in__line">168</span>
  1272. </aside>
  1273. <p class="phpdocumentor-summary">Returns the prepared module value at the given coordinate [$x, $y] (convenience)</p>
  1274. <code class="phpdocumentor-code phpdocumentor-signature ">
  1275. <span class="phpdocumentor-signature__visibility">protected</span>
  1276. <span class="phpdocumentor-signature__name">getModuleValueAt</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$x</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">$y</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed|null</span></code>
  1277. <div class="phpdocumentor-label-line">
  1278. </div>
  1279. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  1280. <dl class="phpdocumentor-argument-list">
  1281. <dt class="phpdocumentor-argument-list__entry">
  1282. <span class="phpdocumentor-signature__argument__name">$x</span>
  1283. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  1284. </dt>
  1285. <dd class="phpdocumentor-argument-list__definition">
  1286. </dd>
  1287. <dt class="phpdocumentor-argument-list__entry">
  1288. <span class="phpdocumentor-signature__argument__name">$y</span>
  1289. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  1290. </dt>
  1291. <dd class="phpdocumentor-argument-list__definition">
  1292. </dd>
  1293. </dl>
  1294. <section>
  1295. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  1296. <span class="phpdocumentor-signature__response_type">mixed|null</span>
  1297. </section>
  1298. </article>
  1299. <article
  1300. class="phpdocumentor-element
  1301. -method
  1302. -protected
  1303. "
  1304. >
  1305. <h4 class="phpdocumentor-element__name" id="method_getOutputDimensions">
  1306. getOutputDimensions()
  1307. <a href="classes/chillerlan-QRCode-Output-QRMarkupSVG.html#method_getOutputDimensions" class="headerlink"><i class="fas fa-link"></i></a>
  1308. </h4>
  1309. <aside class="phpdocumentor-element-found-in">
  1310. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QRMarkupSVG.php"><a href="files/src-output-qrmarkupsvg.html"><abbr title="src/Output/QRMarkupSVG.php">QRMarkupSVG.php</abbr></a></abbr>
  1311. :
  1312. <span class="phpdocumentor-element-found-in__line">53</span>
  1313. </aside>
  1314. <code class="phpdocumentor-code phpdocumentor-signature ">
  1315. <span class="phpdocumentor-signature__visibility">protected</span>
  1316. <span class="phpdocumentor-signature__name">getOutputDimensions</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span></code>
  1317. <div class="phpdocumentor-label-line">
  1318. </div>
  1319. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  1320. Tags
  1321. <a href="classes/chillerlan-QRCode-Output-QRMarkupSVG.html#method_getOutputDimensions#tags" class="headerlink"><i class="fas fa-link"></i></a>
  1322. </h5>
  1323. <dl class="phpdocumentor-tag-list">
  1324. <dt class="phpdocumentor-tag-list__entry">
  1325. <span class="phpdocumentor-tag__name">inheritDoc</span>
  1326. </dt>
  1327. <dd class="phpdocumentor-tag-list__definition">
  1328. </dd>
  1329. </dl>
  1330. <section>
  1331. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  1332. <span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span>
  1333. </section>
  1334. </article>
  1335. <article
  1336. class="phpdocumentor-element
  1337. -method
  1338. -protected
  1339. "
  1340. >
  1341. <h4 class="phpdocumentor-element__name" id="method_getViewBox">
  1342. getViewBox()
  1343. <a href="classes/chillerlan-QRCode-Output-QRMarkupSVG.html#method_getViewBox" class="headerlink"><i class="fas fa-link"></i></a>
  1344. </h4>
  1345. <aside class="phpdocumentor-element-found-in">
  1346. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QRMarkupSVG.php"><a href="files/src-output-qrmarkupsvg.html"><abbr title="src/Output/QRMarkupSVG.php">QRMarkupSVG.php</abbr></a></abbr>
  1347. :
  1348. <span class="phpdocumentor-element-found-in__line">86</span>
  1349. </aside>
  1350. <p class="phpdocumentor-summary">returns the value for the SVG viewBox attribute</p>
  1351. <code class="phpdocumentor-code phpdocumentor-signature ">
  1352. <span class="phpdocumentor-signature__visibility">protected</span>
  1353. <span class="phpdocumentor-signature__name">getViewBox</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
  1354. <div class="phpdocumentor-label-line">
  1355. </div>
  1356. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  1357. Tags
  1358. <a href="classes/chillerlan-QRCode-Output-QRMarkupSVG.html#method_getViewBox#tags" class="headerlink"><i class="fas fa-link"></i></a>
  1359. </h5>
  1360. <dl class="phpdocumentor-tag-list">
  1361. <dt class="phpdocumentor-tag-list__entry">
  1362. <span class="phpdocumentor-tag__name">see</span>
  1363. </dt>
  1364. <dd class="phpdocumentor-tag-list__definition">
  1365. <span class="phpdocumentor-tag-link"><a href="https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/viewBox">https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/viewBox</a></span>
  1366. </dd>
  1367. <dt class="phpdocumentor-tag-list__entry">
  1368. <span class="phpdocumentor-tag__name">see</span>
  1369. </dt>
  1370. <dd class="phpdocumentor-tag-list__definition">
  1371. <span class="phpdocumentor-tag-link"><a href="https://css-tricks.com/scale-svg/#article-header-id-3">https://css-tricks.com/scale-svg/#article-header-id-3</a></span>
  1372. </dd>
  1373. </dl>
  1374. <section>
  1375. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  1376. <span class="phpdocumentor-signature__response_type">string</span>
  1377. </section>
  1378. </article>
  1379. <article
  1380. class="phpdocumentor-element
  1381. -method
  1382. -protected
  1383. "
  1384. >
  1385. <h4 class="phpdocumentor-element__name" id="method_header">
  1386. header()
  1387. <a href="classes/chillerlan-QRCode-Output-QRMarkupSVG.html#method_header" class="headerlink"><i class="fas fa-link"></i></a>
  1388. </h4>
  1389. <aside class="phpdocumentor-element-found-in">
  1390. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QRMarkupSVG.php"><a href="files/src-output-qrmarkupsvg.html"><abbr title="src/Output/QRMarkupSVG.php">QRMarkupSVG.php</abbr></a></abbr>
  1391. :
  1392. <span class="phpdocumentor-element-found-in__line">97</span>
  1393. </aside>
  1394. <p class="phpdocumentor-summary">returns the &lt;svg&gt; header with the given options parsed</p>
  1395. <code class="phpdocumentor-code phpdocumentor-signature ">
  1396. <span class="phpdocumentor-signature__visibility">protected</span>
  1397. <span class="phpdocumentor-signature__name">header</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
  1398. <div class="phpdocumentor-label-line">
  1399. </div>
  1400. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  1401. Tags
  1402. <a href="classes/chillerlan-QRCode-Output-QRMarkupSVG.html#method_header#tags" class="headerlink"><i class="fas fa-link"></i></a>
  1403. </h5>
  1404. <dl class="phpdocumentor-tag-list">
  1405. <dt class="phpdocumentor-tag-list__entry">
  1406. <span class="phpdocumentor-tag__name">see</span>
  1407. </dt>
  1408. <dd class="phpdocumentor-tag-list__definition">
  1409. <span class="phpdocumentor-tag-link"><a href="https://developer.mozilla.org/en-US/docs/Web/SVG/Element/svg">https://developer.mozilla.org/en-US/docs/Web/SVG/Element/svg</a></span>
  1410. </dd>
  1411. </dl>
  1412. <section>
  1413. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  1414. <span class="phpdocumentor-signature__response_type">string</span>
  1415. </section>
  1416. </article>
  1417. <article
  1418. class="phpdocumentor-element
  1419. -method
  1420. -protected
  1421. "
  1422. >
  1423. <h4 class="phpdocumentor-element__name" id="method_module">
  1424. module()
  1425. <a href="classes/chillerlan-QRCode-Output-QRMarkupSVG.html#method_module" class="headerlink"><i class="fas fa-link"></i></a>
  1426. </h4>
  1427. <aside class="phpdocumentor-element-found-in">
  1428. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QRMarkupSVG.php"><a href="files/src-output-qrmarkupsvg.html"><abbr title="src/Output/QRMarkupSVG.php">QRMarkupSVG.php</abbr></a></abbr>
  1429. :
  1430. <span class="phpdocumentor-element-found-in__line">178</span>
  1431. </aside>
  1432. <p class="phpdocumentor-summary">returns a path segment for a single module</p>
  1433. <code class="phpdocumentor-code phpdocumentor-signature ">
  1434. <span class="phpdocumentor-signature__visibility">protected</span>
  1435. <span class="phpdocumentor-signature__name">module</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$x</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">$y</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">$M_TYPE</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
  1436. <div class="phpdocumentor-label-line">
  1437. </div>
  1438. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  1439. <dl class="phpdocumentor-argument-list">
  1440. <dt class="phpdocumentor-argument-list__entry">
  1441. <span class="phpdocumentor-signature__argument__name">$x</span>
  1442. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  1443. </dt>
  1444. <dd class="phpdocumentor-argument-list__definition">
  1445. </dd>
  1446. <dt class="phpdocumentor-argument-list__entry">
  1447. <span class="phpdocumentor-signature__argument__name">$y</span>
  1448. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  1449. </dt>
  1450. <dd class="phpdocumentor-argument-list__definition">
  1451. </dd>
  1452. <dt class="phpdocumentor-argument-list__entry">
  1453. <span class="phpdocumentor-signature__argument__name">$M_TYPE</span>
  1454. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  1455. </dt>
  1456. <dd class="phpdocumentor-argument-list__definition">
  1457. </dd>
  1458. </dl>
  1459. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  1460. Tags
  1461. <a href="classes/chillerlan-QRCode-Output-QRMarkupSVG.html#method_module#tags" class="headerlink"><i class="fas fa-link"></i></a>
  1462. </h5>
  1463. <dl class="phpdocumentor-tag-list">
  1464. <dt class="phpdocumentor-tag-list__entry">
  1465. <span class="phpdocumentor-tag__name">see</span>
  1466. </dt>
  1467. <dd class="phpdocumentor-tag-list__definition">
  1468. <span class="phpdocumentor-tag-link"><a href="https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/d">https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/d</a></span>
  1469. </dd>
  1470. </dl>
  1471. <section>
  1472. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  1473. <span class="phpdocumentor-signature__response_type">string</span>
  1474. </section>
  1475. </article>
  1476. <article
  1477. class="phpdocumentor-element
  1478. -method
  1479. -protected
  1480. "
  1481. >
  1482. <h4 class="phpdocumentor-element__name" id="method_path">
  1483. path()
  1484. <a href="classes/chillerlan-QRCode-Output-QRMarkupSVG.html#method_path" class="headerlink"><i class="fas fa-link"></i></a>
  1485. </h4>
  1486. <aside class="phpdocumentor-element-found-in">
  1487. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QRMarkupSVG.php"><a href="files/src-output-qrmarkupsvg.html"><abbr title="src/Output/QRMarkupSVG.php">QRMarkupSVG.php</abbr></a></abbr>
  1488. :
  1489. <span class="phpdocumentor-element-found-in__line">148</span>
  1490. </aside>
  1491. <p class="phpdocumentor-summary">renders and returns a single &lt;path&gt; element</p>
  1492. <code class="phpdocumentor-code phpdocumentor-signature ">
  1493. <span class="phpdocumentor-signature__visibility">protected</span>
  1494. <span class="phpdocumentor-signature__name">path</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$path</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">$M_TYPE</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
  1495. <div class="phpdocumentor-label-line">
  1496. </div>
  1497. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  1498. <dl class="phpdocumentor-argument-list">
  1499. <dt class="phpdocumentor-argument-list__entry">
  1500. <span class="phpdocumentor-signature__argument__name">$path</span>
  1501. : <span class="phpdocumentor-signature__argument__return-type">string</span>
  1502. </dt>
  1503. <dd class="phpdocumentor-argument-list__definition">
  1504. </dd>
  1505. <dt class="phpdocumentor-argument-list__entry">
  1506. <span class="phpdocumentor-signature__argument__name">$M_TYPE</span>
  1507. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  1508. </dt>
  1509. <dd class="phpdocumentor-argument-list__definition">
  1510. </dd>
  1511. </dl>
  1512. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  1513. Tags
  1514. <a href="classes/chillerlan-QRCode-Output-QRMarkupSVG.html#method_path#tags" class="headerlink"><i class="fas fa-link"></i></a>
  1515. </h5>
  1516. <dl class="phpdocumentor-tag-list">
  1517. <dt class="phpdocumentor-tag-list__entry">
  1518. <span class="phpdocumentor-tag__name">see</span>
  1519. </dt>
  1520. <dd class="phpdocumentor-tag-list__definition">
  1521. <span class="phpdocumentor-tag-link"><a href="https://developer.mozilla.org/en-US/docs/Web/SVG/Element/path">https://developer.mozilla.org/en-US/docs/Web/SVG/Element/path</a></span>
  1522. </dd>
  1523. </dl>
  1524. <section>
  1525. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  1526. <span class="phpdocumentor-signature__response_type">string</span>
  1527. </section>
  1528. </article>
  1529. <article
  1530. class="phpdocumentor-element
  1531. -method
  1532. -protected
  1533. "
  1534. >
  1535. <h4 class="phpdocumentor-element__name" id="method_paths">
  1536. paths()
  1537. <a href="classes/chillerlan-QRCode-Output-QRMarkupSVG.html#method_paths" class="headerlink"><i class="fas fa-link"></i></a>
  1538. </h4>
  1539. <aside class="phpdocumentor-element-found-in">
  1540. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QRMarkupSVG.php"><a href="files/src-output-qrmarkupsvg.html"><abbr title="src/Output/QRMarkupSVG.php">QRMarkupSVG.php</abbr></a></abbr>
  1541. :
  1542. <span class="phpdocumentor-element-found-in__line">117</span>
  1543. </aside>
  1544. <p class="phpdocumentor-summary">returns one or more SVG &lt;path&gt; elements</p>
  1545. <code class="phpdocumentor-code phpdocumentor-signature ">
  1546. <span class="phpdocumentor-signature__visibility">protected</span>
  1547. <span class="phpdocumentor-signature__name">paths</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
  1548. <div class="phpdocumentor-label-line">
  1549. </div>
  1550. <section>
  1551. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  1552. <span class="phpdocumentor-signature__response_type">string</span>
  1553. </section>
  1554. </article>
  1555. <article
  1556. class="phpdocumentor-element
  1557. -method
  1558. -protected
  1559. -abstract "
  1560. >
  1561. <h4 class="phpdocumentor-element__name" id="method_prepareModuleValue">
  1562. prepareModuleValue()
  1563. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_prepareModuleValue" class="headerlink"><i class="fas fa-link"></i></a>
  1564. </h4>
  1565. <aside class="phpdocumentor-element-found-in">
  1566. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QROutputAbstract.php"><a href="files/src-output-qroutputabstract.html"><abbr title="src/Output/QROutputAbstract.php">QROutputAbstract.php</abbr></a></abbr>
  1567. :
  1568. <span class="phpdocumentor-element-found-in__line">179</span>
  1569. </aside>
  1570. <p class="phpdocumentor-summary">Prepares the value for the given input ()</p>
  1571. <code class="phpdocumentor-code phpdocumentor-signature ">
  1572. <span class="phpdocumentor-signature__visibility">protected</span>
  1573. <span class="phpdocumentor-signature__abstract">abstract</span> <span class="phpdocumentor-signature__name">prepareModuleValue</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">mixed&nbsp;</span><span class="phpdocumentor-signature__argument__name">$value</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed|null</span></code>
  1574. <div class="phpdocumentor-label-line">
  1575. </div>
  1576. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  1577. <dl class="phpdocumentor-argument-list">
  1578. <dt class="phpdocumentor-argument-list__entry">
  1579. <span class="phpdocumentor-signature__argument__name">$value</span>
  1580. : <span class="phpdocumentor-signature__argument__return-type">mixed</span>
  1581. </dt>
  1582. <dd class="phpdocumentor-argument-list__definition">
  1583. </dd>
  1584. </dl>
  1585. <section>
  1586. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  1587. <span class="phpdocumentor-signature__response_type">mixed|null</span>
  1588. &mdash;
  1589. <section class="phpdocumentor-description"><p>return value depends on the output class</p>
  1590. </section>
  1591. </section>
  1592. </article>
  1593. <article
  1594. class="phpdocumentor-element
  1595. -method
  1596. -protected
  1597. "
  1598. >
  1599. <h4 class="phpdocumentor-element__name" id="method_saveToFile">
  1600. saveToFile()
  1601. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_saveToFile" class="headerlink"><i class="fas fa-link"></i></a>
  1602. </h4>
  1603. <aside class="phpdocumentor-element-found-in">
  1604. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QROutputAbstract.php"><a href="files/src-output-qroutputabstract.html"><abbr title="src/Output/QROutputAbstract.php">QROutputAbstract.php</abbr></a></abbr>
  1605. :
  1606. <span class="phpdocumentor-element-found-in__line">203</span>
  1607. </aside>
  1608. <p class="phpdocumentor-summary">Saves the qr $data to a $file. If $file is null, nothing happens.</p>
  1609. <code class="phpdocumentor-code phpdocumentor-signature ">
  1610. <span class="phpdocumentor-signature__visibility">protected</span>
  1611. <span class="phpdocumentor-signature__name">saveToFile</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$data</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$file</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  1612. <div class="phpdocumentor-label-line">
  1613. </div>
  1614. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  1615. <dl class="phpdocumentor-argument-list">
  1616. <dt class="phpdocumentor-argument-list__entry">
  1617. <span class="phpdocumentor-signature__argument__name">$data</span>
  1618. : <span class="phpdocumentor-signature__argument__return-type">string</span>
  1619. </dt>
  1620. <dd class="phpdocumentor-argument-list__definition">
  1621. </dd>
  1622. <dt class="phpdocumentor-argument-list__entry">
  1623. <span class="phpdocumentor-signature__argument__name">$file</span>
  1624. : <span class="phpdocumentor-signature__argument__return-type">string</span>
  1625. = <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
  1626. <dd class="phpdocumentor-argument-list__definition">
  1627. </dd>
  1628. </dl>
  1629. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  1630. Tags
  1631. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_saveToFile#tags" class="headerlink"><i class="fas fa-link"></i></a>
  1632. </h5>
  1633. <dl class="phpdocumentor-tag-list">
  1634. <dt class="phpdocumentor-tag-list__entry">
  1635. <span class="phpdocumentor-tag__name">see</span>
  1636. </dt>
  1637. <dd class="phpdocumentor-tag-list__definition">
  1638. <span class="phpdocumentor-tag-link"><abbr title="\chillerlan\QRCode\Output\file_put_contents()">file_put_contents()</abbr></span>
  1639. </dd>
  1640. <dt class="phpdocumentor-tag-list__entry">
  1641. <span class="phpdocumentor-tag__name">see</span>
  1642. </dt>
  1643. <dd class="phpdocumentor-tag-list__definition">
  1644. <span class="phpdocumentor-tag-link"><abbr title="\chillerlan\QRCode\QROptions::$cachefile">QROptions::$cachefile</abbr></span>
  1645. </dd>
  1646. <dt class="phpdocumentor-tag-list__entry">
  1647. <span class="phpdocumentor-tag__name">throws</span>
  1648. </dt>
  1649. <dd class="phpdocumentor-tag-list__definition">
  1650. <span class="phpdocumentor-tag-link"><a href="classes/chillerlan-QRCode-Output-QRCodeOutputException.html"><abbr title="\chillerlan\QRCode\Output\QRCodeOutputException">QRCodeOutputException</abbr></a></span>
  1651. </dd>
  1652. </dl>
  1653. </article>
  1654. <article
  1655. class="phpdocumentor-element
  1656. -method
  1657. -protected
  1658. "
  1659. >
  1660. <h4 class="phpdocumentor-element__name" id="method_setMatrixDimensions">
  1661. setMatrixDimensions()
  1662. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_setMatrixDimensions" class="headerlink"><i class="fas fa-link"></i></a>
  1663. </h4>
  1664. <aside class="phpdocumentor-element-found-in">
  1665. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QROutputAbstract.php"><a href="files/src-output-qroutputabstract.html"><abbr title="src/Output/QROutputAbstract.php">QROutputAbstract.php</abbr></a></abbr>
  1666. :
  1667. <span class="phpdocumentor-element-found-in__line">114</span>
  1668. </aside>
  1669. <p class="phpdocumentor-summary">Sets/updates the matrix dimensions</p>
  1670. <code class="phpdocumentor-code phpdocumentor-signature ">
  1671. <span class="phpdocumentor-signature__visibility">protected</span>
  1672. <span class="phpdocumentor-signature__name">setMatrixDimensions</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  1673. <div class="phpdocumentor-label-line">
  1674. </div>
  1675. <section class="phpdocumentor-description"><p>Call this method if you modify the matrix from within your custom module in case the dimensions have been changed</p>
  1676. </section>
  1677. </article>
  1678. <article
  1679. class="phpdocumentor-element
  1680. -method
  1681. -protected
  1682. "
  1683. >
  1684. <h4 class="phpdocumentor-element__name" id="method_setModuleValues">
  1685. setModuleValues()
  1686. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_setModuleValues" class="headerlink"><i class="fas fa-link"></i></a>
  1687. </h4>
  1688. <aside class="phpdocumentor-element-found-in">
  1689. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QROutputAbstract.php"><a href="files/src-output-qroutputabstract.html"><abbr title="src/Output/QROutputAbstract.php">QROutputAbstract.php</abbr></a></abbr>
  1690. :
  1691. <span class="phpdocumentor-element-found-in__line">132</span>
  1692. </aside>
  1693. <p class="phpdocumentor-summary">Sets the initial module values</p>
  1694. <code class="phpdocumentor-code phpdocumentor-signature ">
  1695. <span class="phpdocumentor-signature__visibility">protected</span>
  1696. <span class="phpdocumentor-signature__name">setModuleValues</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  1697. <div class="phpdocumentor-label-line">
  1698. </div>
  1699. </article>
  1700. <article
  1701. class="phpdocumentor-element
  1702. -method
  1703. -protected
  1704. "
  1705. >
  1706. <h4 class="phpdocumentor-element__name" id="method_toBase64DataURI">
  1707. toBase64DataURI()
  1708. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_toBase64DataURI" class="headerlink"><i class="fas fa-link"></i></a>
  1709. </h4>
  1710. <aside class="phpdocumentor-element-found-in">
  1711. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QROutputAbstract.php"><a href="files/src-output-qroutputabstract.html"><abbr title="src/Output/QROutputAbstract.php">QROutputAbstract.php</abbr></a></abbr>
  1712. :
  1713. <span class="phpdocumentor-element-found-in__line">191</span>
  1714. </aside>
  1715. <p class="phpdocumentor-summary">Returns a base64 data URI for the given string and mime type</p>
  1716. <code class="phpdocumentor-code phpdocumentor-signature ">
  1717. <span class="phpdocumentor-signature__visibility">protected</span>
  1718. <span class="phpdocumentor-signature__name">toBase64DataURI</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$data</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$mime</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
  1719. <div class="phpdocumentor-label-line">
  1720. </div>
  1721. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  1722. <dl class="phpdocumentor-argument-list">
  1723. <dt class="phpdocumentor-argument-list__entry">
  1724. <span class="phpdocumentor-signature__argument__name">$data</span>
  1725. : <span class="phpdocumentor-signature__argument__return-type">string</span>
  1726. </dt>
  1727. <dd class="phpdocumentor-argument-list__definition">
  1728. </dd>
  1729. <dt class="phpdocumentor-argument-list__entry">
  1730. <span class="phpdocumentor-signature__argument__name">$mime</span>
  1731. : <span class="phpdocumentor-signature__argument__return-type">string</span>
  1732. = <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
  1733. <dd class="phpdocumentor-argument-list__definition">
  1734. </dd>
  1735. </dl>
  1736. <section>
  1737. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  1738. <span class="phpdocumentor-signature__response_type">string</span>
  1739. </section>
  1740. </article>
  1741. </section>
  1742. <div class="phpdocumentor-modal" id="source-view">
  1743. <div class="phpdocumentor-modal-bg" data-exit-button></div>
  1744. <div class="phpdocumentor-modal-container">
  1745. <div class="phpdocumentor-modal-content">
  1746. <pre style="max-height: 500px; overflow-y: scroll" data-src="files/src/Output/QRMarkupSVG.php.txt" class="language-php line-numbers linkable-line-numbers"></pre>
  1747. </div>
  1748. <button data-exit-button class="phpdocumentor-modal__close">&times;</button>
  1749. </div>
  1750. </div>
  1751. <script type="text/javascript">
  1752. (function () {
  1753. function loadExternalCodeSnippet(el, url, line) {
  1754. Array.prototype.slice.call(el.querySelectorAll('pre[data-src]')).forEach((pre) => {
  1755. const src = url || pre.getAttribute('data-src').replace(/\\/g, '/');
  1756. const language = 'php';
  1757. const code = document.createElement('code');
  1758. code.className = 'language-' + language;
  1759. pre.textContent = '';
  1760. pre.setAttribute('data-line', line)
  1761. code.textContent = 'Loading…';
  1762. pre.appendChild(code);
  1763. var xhr = new XMLHttpRequest();
  1764. xhr.open('GET', src, true);
  1765. xhr.onreadystatechange = function () {
  1766. if (xhr.readyState !== 4) {
  1767. return;
  1768. }
  1769. if (xhr.status < 400 && xhr.responseText) {
  1770. code.textContent = xhr.responseText;
  1771. Prism.highlightElement(code);
  1772. return;
  1773. }
  1774. if (xhr.status === 404) {
  1775. code.textContent = '✖ Error: File could not be found';
  1776. return;
  1777. }
  1778. if (xhr.status >= 400) {
  1779. code.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText;
  1780. return;
  1781. }
  1782. code.textContent = '✖ Error: An unknown error occurred';
  1783. };
  1784. xhr.send(null);
  1785. });
  1786. }
  1787. const modalButtons = document.querySelectorAll("[data-modal]");
  1788. const openedAsLocalFile = window.location.protocol === 'file:';
  1789. if (modalButtons.length > 0 && openedAsLocalFile) {
  1790. console.warn(
  1791. 'Viewing the source code is unavailable because you are opening this page from the file:// scheme; ' +
  1792. 'browsers block XHR requests when a page is opened this way'
  1793. );
  1794. }
  1795. modalButtons.forEach(function (trigger) {
  1796. if (openedAsLocalFile) {
  1797. trigger.setAttribute("hidden", "hidden");
  1798. }
  1799. trigger.addEventListener("click", function (event) {
  1800. event.preventDefault();
  1801. const modal = document.getElementById(trigger.dataset.modal);
  1802. if (!modal) {
  1803. console.error(`Modal with id "${trigger.dataset.modal}" could not be found`);
  1804. return;
  1805. }
  1806. modal.classList.add("phpdocumentor-modal__open");
  1807. loadExternalCodeSnippet(modal, trigger.dataset.src || null, trigger.dataset.line)
  1808. const exits = modal.querySelectorAll("[data-exit-button]");
  1809. exits.forEach(function (exit) {
  1810. exit.addEventListener("click", function (event) {
  1811. event.preventDefault();
  1812. modal.classList.remove("phpdocumentor-modal__open");
  1813. });
  1814. });
  1815. });
  1816. });
  1817. })();
  1818. </script>
  1819. </article>
  1820. </section>
  1821. <section class="phpdocumentor-on-this-page__sidebar">
  1822. <section class="phpdocumentor-on-this-page__content">
  1823. <strong class="phpdocumentor-on-this-page__title">On this page</strong>
  1824. <ul class="phpdocumentor-list -clean">
  1825. <li class="phpdocumentor-on-this-page-section__title">Table Of Contents</li>
  1826. <li>
  1827. <ul class="phpdocumentor-list -clean">
  1828. <li><a href="classes/chillerlan-QRCode-Output-QRMarkupSVG.html#toc-constants">Constants</a></li>
  1829. <li><a href="classes/chillerlan-QRCode-Output-QRMarkupSVG.html#toc-properties">Properties</a></li>
  1830. <li><a href="classes/chillerlan-QRCode-Output-QRMarkupSVG.html#toc-methods">Methods</a></li>
  1831. </ul>
  1832. </li>
  1833. <li class="phpdocumentor-on-this-page-section__title">Constants</li>
  1834. <li>
  1835. <ul class="phpdocumentor-list -clean">
  1836. <li><a href="classes/chillerlan-QRCode-Output-QRMarkupSVG.html#constant_MIME_TYPE">MIME_TYPE</a></li>
  1837. </ul>
  1838. </li>
  1839. <li class="phpdocumentor-on-this-page-section__title">Properties</li>
  1840. <li>
  1841. <ul class="phpdocumentor-list -clean">
  1842. <li><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_circleDiameter">$circleDiameter<a href="classes/chillerlan-QRCode-Output-QRMarkupSVG.html"></li>
  1843. <li><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_circleRadius">$circleRadius<a href="classes/chillerlan-QRCode-Output-QRMarkupSVG.html"></li>
  1844. <li><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_connectPaths">$connectPaths<a href="classes/chillerlan-QRCode-Output-QRMarkupSVG.html"></li>
  1845. <li><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_drawCircularModules">$drawCircularModules<a href="classes/chillerlan-QRCode-Output-QRMarkupSVG.html"></li>
  1846. <li><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_drawLightModules">$drawLightModules<a href="classes/chillerlan-QRCode-Output-QRMarkupSVG.html"></li>
  1847. <li><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_eol">$eol<a href="classes/chillerlan-QRCode-Output-QRMarkupSVG.html"></li>
  1848. <li><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_excludeFromConnect">$excludeFromConnect<a href="classes/chillerlan-QRCode-Output-QRMarkupSVG.html"></li>
  1849. <li><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_keepAsSquare">$keepAsSquare<a href="classes/chillerlan-QRCode-Output-QRMarkupSVG.html"></li>
  1850. <li><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_length">$length<a href="classes/chillerlan-QRCode-Output-QRMarkupSVG.html"></li>
  1851. <li><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_matrix">$matrix<a href="classes/chillerlan-QRCode-Output-QRMarkupSVG.html"></li>
  1852. <li><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_moduleCount">$moduleCount<a href="classes/chillerlan-QRCode-Output-QRMarkupSVG.html"></li>
  1853. <li><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_moduleValues">$moduleValues<a href="classes/chillerlan-QRCode-Output-QRMarkupSVG.html"></li>
  1854. <li><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_options">$options<a href="classes/chillerlan-QRCode-Output-QRMarkupSVG.html"></li>
  1855. <li><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_scale">$scale<a href="classes/chillerlan-QRCode-Output-QRMarkupSVG.html"></li>
  1856. </ul>
  1857. </li>
  1858. <li class="phpdocumentor-on-this-page-section__title">Methods</li>
  1859. <li>
  1860. <ul class="phpdocumentor-list -clean">
  1861. <li><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method___construct">__construct()</a></li>
  1862. <li><a href="classes/chillerlan-QRCode-Output-QRMarkup.html#method_dump">dump()</a></li>
  1863. <li><a href="classes/chillerlan-QRCode-Output-QRMarkupSVG.html#method_moduleValueIsValid">moduleValueIsValid()</a></li>
  1864. <li><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_collectModules">collectModules()</a></li>
  1865. <li><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_copyVars">copyVars()</a></li>
  1866. <li><a href="classes/chillerlan-QRCode-Output-QRMarkupSVG.html#method_createMarkup">createMarkup()</a></li>
  1867. <li><a href="classes/chillerlan-QRCode-Output-QRMarkupSVG.html#method_getCssClass">getCssClass()</a></li>
  1868. <li><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_getDefaultModuleValue">getDefaultModuleValue()</a></li>
  1869. <li><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_getModuleValue">getModuleValue()</a></li>
  1870. <li><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_getModuleValueAt">getModuleValueAt()</a></li>
  1871. <li><a href="classes/chillerlan-QRCode-Output-QRMarkupSVG.html#method_getOutputDimensions">getOutputDimensions()</a></li>
  1872. <li><a href="classes/chillerlan-QRCode-Output-QRMarkupSVG.html#method_getViewBox">getViewBox()</a></li>
  1873. <li><a href="classes/chillerlan-QRCode-Output-QRMarkupSVG.html#method_header">header()</a></li>
  1874. <li><a href="classes/chillerlan-QRCode-Output-QRMarkupSVG.html#method_module">module()</a></li>
  1875. <li><a href="classes/chillerlan-QRCode-Output-QRMarkupSVG.html#method_path">path()</a></li>
  1876. <li><a href="classes/chillerlan-QRCode-Output-QRMarkupSVG.html#method_paths">paths()</a></li>
  1877. <li><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_prepareModuleValue">prepareModuleValue()</a></li>
  1878. <li><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_saveToFile">saveToFile()</a></li>
  1879. <li><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_setMatrixDimensions">setMatrixDimensions()</a></li>
  1880. <li><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_setModuleValues">setModuleValues()</a></li>
  1881. <li><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_toBase64DataURI">toBase64DataURI()</a></li>
  1882. </ul>
  1883. </li>
  1884. </ul>
  1885. </section>
  1886. </section>
  1887. </div>
  1888. <section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
  1889. <section class="phpdocumentor-search-results__dialog">
  1890. <header class="phpdocumentor-search-results__header">
  1891. <h2 class="phpdocumentor-search-results__title">Search results</h2>
  1892. <button class="phpdocumentor-search-results__close"><i class="fas fa-times"></i></button>
  1893. </header>
  1894. <section class="phpdocumentor-search-results__body">
  1895. <ul class="phpdocumentor-search-results__entries"></ul>
  1896. </section>
  1897. </section>
  1898. </section>
  1899. </div>
  1900. <a href="classes/chillerlan-QRCode-Output-QRMarkupSVG.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a>
  1901. </main>
  1902. <script>
  1903. cssVars({});
  1904. </script>
  1905. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/prism.min.js"></script>
  1906. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/autoloader/prism-autoloader.min.js"></script>
  1907. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.min.js"></script>
  1908. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.min.js"></script>
  1909. </body>
  1910. </html>