public static function unsetDimensionalArrayElement(&$mSubject, array $aKeys)
{
$_sKey = array_shift($aKeys);
if (!empty($aKeys)) {
if (isset($mSubject[$_sKey]) && is_array($mSubject[$_sKey])) {
self::unsetDimensionalArrayElement($mSubject[$_sKey], $aKeys);
}
return;
}
if (is_array($mSubject)) {
unset($mSubject[$_sKey]);
}
}