lithium\core\Environment::_processDotPath PHP Method

_processDotPath() protected static method

protected static _processDotPath ( $path, &$arrayPointer )
    protected static function _processDotPath($path, &$arrayPointer)
    {
        if (isset($arrayPointer[$path])) {
            return $arrayPointer[$path];
        }
        if (strpos($path, '.') === false) {
            return null;
        }
        $pathKeys = explode('.', $path);
        foreach ($pathKeys as $pathKey) {
            if (!is_array($arrayPointer) || !isset($arrayPointer[$pathKey])) {
                return false;
            }
            $arrayPointer =& $arrayPointer[$pathKey];
        }
        return $arrayPointer;
    }