You are here

function _simplenews_statistics_decode_parameter in Simplenews Statistics 6.3

Same name and namespace in other branches
  1. 6.2 simplenews_statistics.module \_simplenews_statistics_decode_parameter()

Decode encode string so we can work with the data

1 call to _simplenews_statistics_decode_parameter()
_simplenews_statistics_decode in ./simplenews_statistics.module
Decode a request.

File

./simplenews_statistics.module, line 285
Main simplenews statistics file.

Code

function _simplenews_statistics_decode_parameter($par) {
  return unserialize(gzuncompress(stripslashes(base64_decode(strtr($par, '-_,', '+/=')))));
}