Function __global->ldap_unescape
Definitions
sources/cns_ldap.php
- Unescape data from LDAP. Technically this is not unescaping, it's just a character set conversion, but function is named to provide symmetry with cms_ldap_escape which does both escaping and character set conversion.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: string
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $str | string | No | No | required parameter | N/A | N/A | The escaped value |
Returns
- The value
- Type: string
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Unescape data from LDAP. Technically this is not unescaping, it's just a character set conversion, but function is named to provide symmetry with cms_ldap_escape which does both escaping and character set conversion.
*
* @param string $str The escaped value
* @return string The value
*/
function ldap_unescape(string $str) : string
* Unescape data from LDAP. Technically this is not unescaping, it's just a character set conversion, but function is named to provide symmetry with cms_ldap_escape which does both escaping and character set conversion.
*
* @param string $str The escaped value
* @return string The value
*/
function ldap_unescape(string $str) : string

