Page
Magento\Cms\Model\ResourceModel\Page
What it does
This is the resource model for CMS Pages in Magento 2, responsible for all database operations related to CMS pages.
Developers use this class to load, save, delete CMS pages, check if page identifiers exist, retrieve page information by ID or identifier, and manage store-specific page associations.
It handles validation like ensuring page identifiers follow proper URL formatting rules and manages the relationship between pages and stores.
Public Methods
- getConnection()
- load()
- checkIdentifier()
- getCmsPageTitleByIdentifier()
- getCmsPageTitleById()
- getCmsPageIdentifierById()
- lookupStoreIds()
- setStore()
- getStore()
- save()
- delete()