framework/RedKiteCms/Content/PageCollection/PagesCollectionParser.php
public function permalinksByLanguage($language = null)
    {
        $result = array();

        if (null === $language) {
            $language = $this->currentLanguage;
        }

        foreach ($this->pages as $page) {
            foreach ($page["seo"] as $pageAttribute) {
                if ($pageAttribute["language"] != $language) {
                    continue;
                }

                $result[] = $pageAttribute["permalink"];
            }
        }

        return $result;
    }
public function permalinksByLanguage($language = null)
    {
        $result = array();

        if (null === $language) {
            $language = $this->currentLanguage;
        }

        foreach ($this->pages as $page) {
            foreach ($page["seo"] as $pageAttribute) {
                if ($pageAttribute["language"] != $language) {
                    continue;
                }

                $result[] = $pageAttribute["permalink"];
            }
        }

        return $result;
    }
Return the permalinks for the given language. By default this method returns the permalinks for the handled
language

@param null|string $language

@return array