LegacyCustomizationsManager
class LegacyCustomizationsManager implements ManagerInterface (View source)
Traits
Properties
| protected Connection | $db | 
Methods
A helper method for getting tree IDs for use in a query. Includes "0" in the query out of simplicity
Detects whether individual pages have theme customizations applied, either through the application of a custom skin, or in the case of the legacy customizer, the application of a custom style set.
Detects whether your site has theme-level customizations applied. Only really applicable for the legacy customizer.
Used by the legacy customizer – this allows us to preload an active legacy style configuration into the panel This is NOT part of the customizations manager going forward, but this class is a better place to put this functionality than inline in a controller.
Details
        
                            string
    getTreeIdsForQuery(Site $site)
        
    
    A helper method for getting tree IDs for use in a query. Includes "0" in the query out of simplicity
        
                            
    __construct(Connection $db)
        
    
    No description
        
                            bool
    hasPageThemeCustomizations(Site $site)
        
    
    Detects whether individual pages have theme customizations applied, either through the application of a custom skin, or in the case of the legacy customizer, the application of a custom style set.
        
                            bool
    hasSiteThemeCustomizations(Site $site)
        
    
    Detects whether your site has theme-level customizations applied. Only really applicable for the legacy customizer.
        
                            CustomStyle|null
    getCustomStyleObjectForPage(Page $page, Theme $theme)
        
    
    Used by the legacy customizer – this allows us to preload an active legacy style configuration into the panel This is NOT part of the customizations manager going forward, but this class is a better place to put this functionality than inline in a controller.
        
                            mixed
    getResetPageThemeCustomizationsCommand(Site $site)
        
    
    No description
        
                            mixed
    getResetSiteThemeCustomizationsCommand(Site $site)
        
    
    No description