asImage() public method
Formats the value as an image tag.
| public string asImage ( $value, $options = [] ) | ||
|---|---|---|
| $value | mixed |
The value to be formatted. |
| $options | array |
The tag options in terms of name-value pairs. See yii\helpers\Html::img(). |
| return | string |
The formatted result. |
Please login to continue.