private function safe_decode($data) {
    if (is_array($data)) {
      return array_map(array($this, 'safe_decode'), $data);
    } else if (is_scalar($data)) {
      return rawurldecode($data);
    } else {
      return '';
    }
  }
private function safe_decode($data) {
    if (is_array($data)) {
      return array_map(array($this, 'safe_decode'), $data);
    } else if (is_scalar($data)) {
      return rawurldecode($data);
    } else {
      return '';
    }
  }
private function safe_decode ( $ data ) { if ( is_array ( $ data ) ) { return array_map ( array ( $ this , 'safe_decode' ) , $ data ) ; } else if ( is_scalar ( $ data ) ) { return rawurldecode ( $ data ) ; } else { return '' ; } }
Decodes the string or array from it's URL encoded form
If an array is passed each array value will will be decoded.

@param mixed $data the scalar or array to decode
@return string $data decoded from the URL encoded form
Decodes the string or array from it s URL encoded form If an array is passed each array value will will be decoded .