Log in
Collection

Page\Collection

Magento\Cms\Model\ResourceModel\Page\Collection

What it does

This collection class is used to retrieve and manage multiple CMS pages from the database.

Developers use it to load, filter, and manipulate sets of CMS pages, particularly when filtering by store views or when working with multi-store Magento installations.

It handles the relationship between pages and stores, ensuring pages are loaded with their correct store associations.

Public Methods

  • setFirstStoreFlag()
  • addStoreFilter()