You are here

function _simplenews_statistics_encode_parameter in Simplenews Statistics 6.2

Same name and namespace in other branches
  1. 6.3 simplenews_statistics.module \_simplenews_statistics_encode_parameter()
2 calls to _simplenews_statistics_encode_parameter()
simplenews_statistics_mail_alter in ./simplenews_statistics.module
Implemetation of hook_mail_alter().
_simplenews_statistics_replace_url in ./simplenews_statistics.module
Alter link to go through statistics

File

./simplenews_statistics.module, line 312
Gathers newsletter statistics.

Code

function _simplenews_statistics_encode_parameter($par) {
  return strtr(base64_encode(addslashes(gzcompress(serialize($par), 9))), '+/=', '-_,');
}