IQnection\Base\PageExtension
Synopsis
class PageExtension
extends DataExtension
{
- // methods
- public void updateCMSFields()
- public void AllowSidebar()
- public void updateSettingsFields()
- public void MobileNavChildren()
- public void RefreshCacheVars()
- public void updateRefreshCacheVars()
- public void onAfterWrite()
- public void updateTemplateCachePath()
- public void getTemplateCachePath()
- public void cacheSiteTree()
- public void updateCachedSiteTree()
- public void dataForCache()
- public void updateDataForCache()
- public void ShowSidebar()
Hierarchy
Extends
- SilverStripe\ORM\DataExtension
Members
private
- $db
- $defaults
Methods
public
- AllowSidebar()
- RefreshCacheVars()
- ShowSidebar()
- cacheSiteTree() — Caches the site tree for use in Pinnacle scripts Stores it to the site root, file is hashed for the current domain so there is a different file for each
- dataForCache() — generates the array of cached data for the current page adds all children to the array This method can be overloaded to add additional details about the object
- getTemplateCachePath()
- onAfterWrite()
- updateCMSFields()
- updateCachedSiteTree()
- updateDataForCache()
- updateRefreshCacheVars()
- updateSettingsFields()
- updateTemplateCachePath()