abstract class TreeCollection implements TreeCollectionInterface (View source)

Properties

protected EntryInterface[] $entries
protected GroupInterface[] $entryGroups

Methods

getEntries()

Get the list of sitemap entries.

addEntry(EntryInterface $entry)

Add an entry to the entry list.

addEntryGroup(GroupInterface $group)

Add a group to the group list.

getEntryGroups()

Get the list of sitemap groups.

Details

EntryInterface[] getEntries()

Get the list of sitemap entries.

addEntry(EntryInterface $entry)

Add an entry to the entry list.

Parameters

EntryInterface $entry

addEntryGroup(GroupInterface $group)

Add a group to the group list.

Parameters

GroupInterface $group

GroupInterface[] getEntryGroups()

Get the list of sitemap groups.