Commit f485925f authored by jhodgdon's avatar jhodgdon

Issue #2324083 by er.pushpinderrana, martin_q: Fix up description of return...

Issue #2324083 by er.pushpinderrana, martin_q: Fix up description of return value from NestedArray::getValue()
parent 234382b6
......@@ -34,10 +34,10 @@ class NestedArray {
* $value = NestedArray::getValue($form, $parents);
* @endcode
*
* The return value will be NULL, regardless of whether the actual value is
* NULL or whether the requested key does not exist. If it is required to know
* whether the nested array key actually exists, pass a third argument that is
* altered by reference:
* A return value of NULL is ambiguous, and can mean either that the requested
* key does not exist, or that the actual value is NULL. If it is required to
* know whether the nested array key actually exists, pass a third argument
* that is altered by reference:
* @code
* $key_exists = NULL;
* $value = NestedArray::getValue($form, $parents, $key_exists);
......
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