helpers\BaseArrayHelper htmlDecode()

htmlDecode() public static method

Decodes HTML entities into the corresponding characters in an array of strings.

Only array values will be decoded by default. If a value is an array, this method will also decode it recursively. Only string values will be decoded.

See also http://www.php.net/manual/en/function.htmlspecialchars-decode.php.

public static array htmlDecode ( $data, $valuesOnly = true )
$data array

Data to be decoded

$valuesOnly boolean

Whether to decode array values only. If false, both the array keys and array values will be decoded.

return array

The decoded data

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

Please login to continue.