API - XOOPS 2.5.11 Beta 2
By monxoops.fr
xos_opal_ThemeFactory Class Reference
Inheritance diagram for xos_opal_ThemeFactory:

Public Member Functions

 createInstance ($options=array(), $initArgs=array())
 
 isThemeAllowed ($name)
 

Data Fields

 $xoBundleIdentifier = 'xos_opal_ThemeFactory'
 
 $allowedThemes = array()
 
 $defaultTheme = 'default'
 
 $allowUserSelection = true
 

Member Function Documentation

◆ createInstance()

createInstance (   $options = array(),
  $initArgs = array() 
)

Instantiate the specified theme

Parameters
array$options
array$initArgs
Returns
null|xos_opal_Theme

Reimplemented in xos_opal_AdminThemeFactory.

Here is the call graph for this function:

◆ isThemeAllowed()

isThemeAllowed (   $name)

Checks if the specified theme is enabled or not

Parameters
string$name
Returns
bool
Here is the caller graph for this function:

Field Documentation

◆ $allowedThemes

$allowedThemes = array()

◆ $allowUserSelection

$allowUserSelection = true

◆ $defaultTheme

$defaultTheme = 'default'

◆ $xoBundleIdentifier

$xoBundleIdentifier = 'xos_opal_ThemeFactory'

The documentation for this class was generated from the following file: