Log in
Model

Page

Magento\Sitemap\Model\ResourceModel\Cms\Page

What it does

This resource model manages database operations for CMS pages in the context of sitemap generation.

Developers use this class when they need to retrieve CMS page data for XML sitemap files, specifically filtering out utility pages and handling multi-store configurations.

It extends Magento's AbstractDb to provide specialized collection methods that fetch only active, non-utility CMS pages with their URLs and update timestamps.

Public Methods

  • getConnection()
  • getCollection()
  • load()
  • save()
  • delete()