PHP QrCode Liblary
2.0
|
Global config file (contains global configuration-releted constants). More...
Variables | |
const | QR_CACHEABLE true |
Mask cache switch. More... | |
const | QR_CACHE_DIR dirname(__FILE__).DIRECTORY_SEPARATOR.'cache'.DIRECTORY_SEPARATOR |
Cache dir path. More... | |
const | QR_LOG_DIR dirname(__FILE__).DIRECTORY_SEPARATOR |
Default error logs dir. More... | |
const | QR_FIND_BEST_MASK true |
If best mask is found. More... | |
const | QR_FIND_FROM_RANDOM false |
Configure random mask checking. More... | |
const | QR_DEFAULT_MASK 2 |
Default an only mask to apply. More... | |
const | QR_PNG_MAXIMUM_SIZE 1024 |
Maximum allowed png image width (in pixels). More... | |
Global config file (contains global configuration-releted constants).
Before version 2.0.0 only way to configure all calls. From version 2.0.0 values used here are treated as defaults but culd be overwriten by additional config. parrameters passed to functions.
const QR_CACHE_DIR dirname(__FILE__).DIRECTORY_SEPARATOR.'cache'.DIRECTORY_SEPARATOR |
Cache dir path.
String Used when QR_CACHEABLE === true. Specifies absolute server path for masks and format templates cache dir
const QR_CACHEABLE true |
Mask cache switch.
Boolean Speciffies does mask ant template caching is enabled.
const QR_DEFAULT_MASK 2 |
Default an only mask to apply.
Integer Specifies mask no (1..8) to be aplied every time, used when QR_FIND_BEST_MASK is set to false.
const QR_FIND_BEST_MASK true |
If best mask is found.
Boolean Speciffies mask searching strategy:
const QR_FIND_FROM_RANDOM false |
Configure random mask checking.
Specifies algorithm for mask selection when QR_FIND_BEST_MASK is set to true.
const QR_LOG_DIR dirname(__FILE__).DIRECTORY_SEPARATOR |
Default error logs dir.
String Absolute server path for log directory.
const QR_PNG_MAXIMUM_SIZE 1024 |
Maximum allowed png image width (in pixels).
Integer Maximal width/height of generated raster image. Tune to make sure GD and PHP can handle such big images.