'tpl1variable' =>
$site->
getTpl1Variable(),
'tpl1path' =>
$site->
getTpl1Path(),
'tpl2variable' =>
$site->
getTpl2Variable(),
'tpl2path' =>
$site->
getTpl2Path(),
'tpl3variable' =>
$site->
getTpl3Variable(),
'tpl3path' =>
$site->
getTpl3Path(),
'description' =>
$site->
getDescription(),
'pageTitle' =>
$site->
getPageTitle(),
'metaKeywords' =>
$site->
getMetaKeywords(),
'metaDescription' =>
$site->
getMetaDescription(),
'html' =>
$site->
getHtml(),
'grouping' =>
$site->
getGrouping(),
'position' =>
$site->
getPosition(),
'link' =>
$site->
getLink(),
'target' =>
$site->
getTarget(),
'shopIds' =>
$site->
getShopIds(),
'changed' =>
$site->
getChanged(),
'parentId' =>
$site->
getParentId(),
'leaf' => true,
];
// If the site has children, append them
if ($site->
getChildren()->
count() > 0
) {