tmhOAuth::safe_encode
Encodes the string or array passed in a way compatible with OAuth.
If an array is passed each array value will will be encoded.
Signature
private function safe_encode(mixed
$data )
Parameters
$data
— mixed- the scalar or array to encode
Returns
- $data
- encoded in a way compatible with OAuth