$subnodes
$subnodes : array
$backend : \midcom_helper_nav_backend
__construct(\midcom_helper_nav_backend $backend, $topic)
\midcom_helper_nav_backend | $backend | |
$topic |
get_leaves() : array<mixed,\midcom_helper_nav_leaf>
get_cache() : \midcom_services_cache_module_nap
write_leaves_to_cache(array<mixed,\midcom_helper_nav_leaf> $leaves)
Writes the passed leaves to the cache, assigning them to the specified node.
The function will bail out on any critical error. Data inconsistencies will be logged and overwritten silently otherwise.
array<mixed,\midcom_helper_nav_leaf> | $leaves | The leaves to store in the cache. |
get_component_interface(\midcom_db_topic $topic) : \midcom_baseclasses_components_interface
\midcom_db_topic | $topic |