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.

Return Value

EntryInterface

See also

\Concrete\Core\Application\UserInterface\Sitemap\TreeCollection\TreeCollectionInterface::getEntries()

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.

Return Value

GroupInterface

See also

\Concrete\Core\Application\UserInterface\Sitemap\TreeCollection\TreeCollectionInterface::getEntryGroups()