void safeGet(
mixed
&$arArray, mixed
$oKey)
|
|
If the passed in array has the key, return the value, otherwise return null. This allows you to get values from arrays without triggering any Notice warnings if the key isn't present.
Tags:
void safeSet(
mixed
&$arArray, mixed
$oKey, mixed
&$oValue)
|
|
If the value passed in is not blank or null, adds the key
to the array and sets its value. This allows you to rely on count(array) to be 0 if you try to add blank values into an array
Tags: