protected function &getValueFromObjectTree(array $objectPathArray, &$objectTree = null)
{
if (is_null($objectTree)) {
$objectTree =& $this->objectTree;
}
if (count($objectPathArray) > 0) {
$currentKey = array_shift($objectPathArray);
if ((int) $currentKey > 0) {
$currentKey = intval($currentKey);
}
if (!isset($objectTree[$currentKey])) {
$objectTree[$currentKey] = array();
}
$value =& $this->getValueFromObjectTree($objectPathArray, $objectTree[$currentKey]);
} else {
$value =& $objectTree;
}
return $value;
}