JOAuth1Client::safeEncode
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
public function safeEncode(mixed
$data )
Parameters
-
$data
- The scalar or array to encode.
Returns
- string
- $data encoded in a way compatible with OAuth.