Commit 95586f24 by Nikola Basic

Fixed docblock for htmlEncode and htmlDecode [skip ci]

parent e70e0b34
...@@ -439,7 +439,7 @@ class BaseArrayHelper ...@@ -439,7 +439,7 @@ class BaseArrayHelper
/** /**
* Encodes special characters in an array of strings into HTML entities. * Encodes special characters in an array of strings into HTML entities.
* Both the array keys and values will be encoded. * Only array values will be encoded by default.
* If a value is an array, this method will also encode it recursively. * If a value is an array, this method will also encode it recursively.
* @param array $data data to be encoded * @param array $data data to be encoded
* @param boolean $valuesOnly whether to encode array values only. If false, * @param boolean $valuesOnly whether to encode array values only. If false,
...@@ -471,7 +471,7 @@ class BaseArrayHelper ...@@ -471,7 +471,7 @@ class BaseArrayHelper
/** /**
* Decodes HTML entities into the corresponding characters in an array of strings. * Decodes HTML entities into the corresponding characters in an array of strings.
* Both the array keys and values will be decoded. * Only array values will be decoded by default.
* If a value is an array, this method will also decode it recursively. * If a value is an array, this method will also decode it recursively.
* @param array $data data to be decoded * @param array $data data to be decoded
* @param boolean $valuesOnly whether to decode array values only. If false, * @param boolean $valuesOnly whether to decode array values only. If false,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment