encode() public static method
Encodes special characters into HTML entities.
The application charset will be used for encoding.
See also:
| public static string encode ( $content, $doubleEncode = true ) | ||
|---|---|---|
| $content | string |
The content to be encoded |
| $doubleEncode | boolean |
Whether to encode HTML entities in |
| return | string |
The encoded content |
Please login to continue.