Function __global->base64url_encode
Definitions
sources/global3.php
- Encode a string into base64url (base64 which is URL and file friendly).This is just a shortcut for cms_base64_encode. Be aware of case sensitivity and only use this in parameters.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: string
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $data | LONG_TEXT | No | No | required parameter | N/A | N/A | The data to decode |
Returns
- The decoded data
- Type: string
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Encode a string into base64url (base64 which is URL and file friendly).This is just a shortcut for cms_base64_encode. Be aware of case sensitivity and only use this in parameters.
*
* @param LONG_TEXT $data The data to decode
* @return string The decoded data
*/
function base64url_encode(string $data) : string
* Encode a string into base64url (base64 which is URL and file friendly).This is just a shortcut for cms_base64_encode. Be aware of case sensitivity and only use this in parameters.
*
* @param LONG_TEXT $data The data to decode
* @return string The decoded data
*/
function base64url_encode(string $data) : string

