Function __global->_copy_from_sitemap_to_new_menu
Definitions
sources/menus2.php
- Copy a Sitemap node's children into a new menu.
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: N/A
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$target_menu | ID_TEXT | required parameter | N/A | N/A | The ID of the menu to save into |
$node | array | required parameter | N/A | N/A | Sitemap node, containing children |
$order | integer | required parameter | N/A | N/A | Sequence order to save with |
$parent | ?AUTO_LINK | Null | N/A | N/A | Menu parent ID (null: root) |