(int) $x, $levels); $keys = array_keys($levels); $elements = []; foreach ($keys as $key) { $hierarchy[$levels[$key]] = $tags[$key]; $full_tag = implode(':', array_slice($hierarchy, 0, 1 + $levels[$key])); $elements[$key] = Registry::elementFactory()->make($full_tag); } /** @todo filter links to private records and their subtags */ ?> make($match[1], $tree) ?> toString() ?> getPreference('EXPAND_SOURCES') === '1' ?>