Final Class Yiisoft\Html\NoEncode
| Inheritance | Yiisoft\ |
|---|---|
| Implements | Yiisoft\ |
The NoEncode class is designed to wrap content that should not be encoded in HTML tags.
For example:
// The following will produce "<b><i>hello</i></b>"
echo Html:b(NoEncode::string('<i>hello</i>'));
Public Methods
| Method | Description | Defined By |
|---|---|---|
| __toString() | Yiisoft\ |
|
| string() | Yiisoft\ |
User Contributed Notes
Leave a comment
Join the conversation to share a note.