Manager

Methods Summary
public
# registerTheme( string $id )
Register a new theme.
public
# iniIsValid( Omeka\Site\Theme\Theme $theme )
Check whether the theme INI is valid.
public
# isRegistered( string $id )
Check whether a theme is registered.
public
# getTheme( string $id )
Get a registered theme.
public
# getThemes( )
Get all registered themes.
public
# setCurrentTheme( Omeka\Site\Theme\Theme $theme )
Set the current theme.
public
# getCurrentTheme( )
Get the current theme.
Constants Summary
public string STATE_ACTIVE
# 'active'
public string STATE_INVALID_INI
# 'invalid_ini'
public string STATE_INVALID_OMEKA_VERSION
# 'invalid_omeka_version'
public string STATE_NOT_FOUND
# 'not_found'
Properties Summary
protected array $themes
# array ( )
protected Omeka\Site\Theme\Theme $currentTheme
# NULL