PHP_MINFO_FUNCTION | ( | qrencode | ) |
PHP_MINIT_FUNCTION | ( | qrencode | ) |
PHP_MSHUTDOWN_FUNCTION | ( | qrencode | ) |
static void qr_dtor | ( | zend_rsrc_list_entry *rsrc | TSRMLS_DC | ) | [static] |
resource qr_encode | ( | string | text, | |
int | version, | |||
int | level, | |||
int | mode, | |||
int | casesensitive | |||
) |
main function to encode text to qr code.
text | the string want to encode. | |
version | qrcode version | |
level | level | |
mode | mode, could be QR_MODE_NUM, QR_MODE_AN, QR_MODE_8, QR_MODE_KANJI. | |
casesensitive | casesentive, if you want the 8 bit mode, must set this on. |
int qr_save | ( | resource | link, | |
string | filename, | |||
int | size, | |||
int | margin | |||
) |
save function for qrencode.
link | qrcode resource link. | |
filename | filename want to save, it could be empty, and will show the content directly. | |
size | size | |
margin | margin. |
int le_qr [static] |
$file qrencode.c source file of php qrencode extension.
zend_function_entry qrencode_functions |
Initial value:
{ PHP_FE(qr_save, NULL) {NULL, NULL, NULL} }
zend_module_entry qrencode_module_entry |
Initial value:
{ "qrencode", qrencode_functions, PHP_MINIT(qrencode), PHP_MSHUTDOWN(qrencode), NULL, NULL, PHP_MINFO(qrencode), STANDARD_MODULE_PROPERTIES }