plugin:qrcode2
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
plugin:qrcode2 [2018-05-13 18:30] – obel1x | plugin:qrcode2 [2021-12-11 17:38] (current) – obel1x | ||
---|---|---|---|
Line 5: | Line 5: | ||
author | author | ||
email : obel1x@web.de | email : obel1x@web.de | ||
- | type : syntax | + | type : syntax,helper |
- | lastupdate : 2018-03-18 | + | lastupdate : 2019-12-08 |
- | compatible : 2017-02-19e, | + | compatible : 2017-02-19e, |
depends | depends | ||
conflicts | conflicts | ||
Line 13: | Line 13: | ||
tags : QR bitcoin barcode qrcode | tags : QR bitcoin barcode qrcode | ||
- | downloadurl: | + | downloadurl: |
- | donationurl: | + | donationurl: |
---- | ---- | ||
===== Installation ===== | ===== Installation ===== | ||
+ | Search and install the plugin using the [[plugin: | ||
- | Install the plugin using the [[plugin: | + | If above method is not working, download the plugin at my homepage directly at\\ |
- | [[http:// | + | [[https:// |
- | [[https:// | + | |
and refer to [[: | and refer to [[: | ||
- | Note: This Plugin makes use of the library "PHP QR Code encoder" | + | Note: This Plugin makes use of the library "PHP QR Code encoder" |
===== Examples/ | ===== Examples/ | ||
Line 40: | Line 40: | ||
</ | </ | ||
- | See the plugin in action [[http://obel1x.de/ | + | ==== Use the helper Class ==== |
- | or at [[https://obel1x.de/dokuwiki/doku.php? | + | If you like to use it from other plugins, you can use the helper- class, like this: |
+ | < | ||
+ | Here are 2 ways to use it (first one gives more control on the result) : | ||
+ | if (!plugin_isdisabled(' | ||
+ | $qrcode2Helper = plugin_load(' | ||
+ | | ||
+ | $src = $qrcode2Helper-> | ||
+ | print "< | ||
+ | // second example | ||
+ | $qrcode2Helper-> | ||
+ | } | ||
+ | </ | ||
===== Syntax ===== | ===== Syntax ===== | ||
See above, no other things to know about. | See above, no other things to know about. | ||
- | ===== Configuration and Settings | + | ===== Configuration, settings |
No configuration, | No configuration, | ||
+ | |||
+ | Check, that php has the Libarary " | ||
===== Development ===== | ===== Development ===== | ||
Line 57: | Line 69: | ||
=== Change Log === | === Change Log === | ||
+ | * **2019-12-08** | ||
+ | * Enhancement by Simon DELAGE / sdelage@gmail.com New helper-Class added. use it like: | ||
* **2018-03-18** | * **2018-03-18** | ||
* Bugfix by Georg Schmidt / gs-develop@gs-sys.de: | * Bugfix by Georg Schmidt / gs-develop@gs-sys.de: |
plugin/qrcode2.1526229034.txt.gz · Last modified: by obel1x