helpers\BaseHtml encode()

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 $content. If false, HTML entities in $content will not be further encoded.

return string

The encoded content

doc_Yii
2016-10-30 17:05:04
Comments
Leave a Comment

Please login to continue.