Skip to content
PHP Ecosystem
Explore

Encode

API reference › HTML Helper › Encode

final classUIAwesome\Html\Helper\Encode
ExtendsUIAwesome\Html\Helper\Base\BaseEncode
Sourcesrc/Encode.php

Provides the concrete entry point for HTML content and attribute encoding.

MethodDescriptionDefined by
content() staticEncodes special characters into HTML entities for use as HTML tag content.UIAwesome\Html\Helper\Base\BaseEncode
value() staticEncodes special characters into HTML entities for use as HTML tag quoted attribute values.UIAwesome\Html\Helper\Base\BaseEncode