\PageController
Synopsis
class PageController
extends ContentController
{
- // members
- private static array $allowed_actions = ;
- private array $critical_css = ;
- protected static $page_cache_key;
- // methods
- protected void init()
- public null|DBHTMLText getGTMFallback()
- public mixed|string|null getCriticalCSS()
- public void PageCacheKey()
Hierarchy
Extends
- SilverStripe\CMS\Controllers\ContentController
Members
private
- $allowed_actions
—
array
An array of actions that can be accessed via a request. Each array element should be an action name, and the permissions or conditions required to allow the user to access it. - $critical_css
—
array
Define files for each class you've rendered critical css for
protected
- $page_cache_key
—
string
Store for page cache key
Methods
protected
- init() — Initiate the controller
public
- PageCacheKey()
- getCriticalCSS() — Find CriticalCSS file for given class
- getGTMFallback() — Fallback tag for Google Tag manager