public static function getFullPathsVariations($pageIds, $separator = ' &raquo; ')
    {
        $paths = [];
        foreach ($pageIds as $pageId) {
            $paths[$pageId] = self::getFullPath($pageId, $separator);
            if ($paths[$pageId]->groupContainers) {
                foreach ($paths[$pageId]->groupContainers as $groupContainerPageId => $groupContainer) {
                    if ($paths[$pageId]->fullUrl != $groupContainer['url'] . '/' . $paths[$pageId]->url) {
                        $parsedId = self::parsePageId($pageId, $groupContainerPageId);
                        $paths[$parsedId] = self::getFullPath($parsedId, $separator);
                    }
                }
            }
        }
        return $paths;
    }
public static function getFullPathsVariations($pageIds, $separator = ' &raquo; ')
    {
        $paths = [];
        foreach ($pageIds as $pageId) {
            $paths[$pageId] = self::getFullPath($pageId, $separator);
            if ($paths[$pageId]->groupContainers) {
                foreach ($paths[$pageId]->groupContainers as $groupContainerPageId => $groupContainer) {
                    if ($paths[$pageId]->fullUrl != $groupContainer['url'] . '/' . $paths[$pageId]->url) {
                        $parsedId = self::parsePageId($pageId, $groupContainerPageId);
                        $paths[$parsedId] = self::getFullPath($parsedId, $separator);
                    }
                }
            }
        }
        return $paths;
    }
public static function getFullPathsVariations ( $ pageIds , $ separator = ' &raquo; ' ) { $ paths = [ ] ; foreach ( $ pageIds as $ pageId ) { $ paths [ $ pageId ] = self :: getFullPath ( $ pageId , $ separator ) ; if ( $ paths [ $ pageId ] -> groupContainers ) { foreach ( $ paths [ $ pageId ] -> groupContainers as $ groupContainerPageId => $ groupContainer ) { if ( $ paths [ $ pageId ] -> fullUrl != $ groupContainer [ 'url' ] . '/' . $ paths [ $ pageId ] -> url ) { $ parsedId = self :: parsePageId ( $ pageId , $ groupContainerPageId ) ; $ paths [ $ parsedId ] = self :: getFullPath ( $ parsedId , $ separator ) ; } } } } return $ paths ; }
Get paths with group variations
@param array $pageIds
@param string $separator
@return Path[]
Get paths with group variations