class SkinCustomizationsManager implements ManagerInterface (View source)

Traits

Properties

protected Connection $db

Methods

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.

mixed
mixed

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

Parameters

Site $site

Return Value

string

__construct(Connection $db)

No description

Parameters

Connection $db

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.

Parameters

Site $site

Return Value

bool

bool hasSiteThemeCustomizations(Site $site)

Detects whether your site has theme-level customizations applied. Only really applicable for the legacy customizer.

Parameters

Site $site

Return Value

bool

mixed getResetPageThemeCustomizationsCommand(Site $site)

No description

Parameters

Site $site

Return Value

mixed

mixed getResetSiteThemeCustomizationsCommand(Site $site)

No description

Parameters

Site $site

Return Value

mixed