Class: xos_opal_ThemeFactory

Source Location: /class/theme.php

Class xos_opal_ThemeFactory

Class Overview

xos_opal_ThemeFactory

Located in /class/theme.php [line 22]



		
				Author(s):
		
  • Skalpa Keo
Information Tags:
Since:  2.3.0

Properties

Methods

[ Top ]
Property Summary
array   $allowedThemes   Currently enabled themes (if empty, all the themes in themes/ are allowed)
bool   $allowUserSelection   If users are allowed to choose a custom theme
string   $defaultTheme   Default theme to instanciate if none specified
mixed   $xoBundleIdentifier  

[ Top ]
Method Summary
void   &createInstance()   Instanciate the specified theme
bool   isThemeAllowed()   Checks if the specified theme is enabled or not

[ Top ]
Properties
array   $allowedThemes = array() [line 29]

Currently enabled themes (if empty, all the themes in themes/ are allowed)


[ Top ]
bool   $allowUserSelection = true [line 39]

If users are allowed to choose a custom theme


[ Top ]
string   $defaultTheme = 'impresstheme' [line 34]

Default theme to instanciate if none specified


[ Top ]
mixed   $xoBundleIdentifier = 'xos_opal_ThemeFactory' [line 24]

[ Top ]
Methods
createInstance  [line 44]

  void &createInstance( [ $options = array()], [ $initArgs = array()]  )

Instanciate the specified theme

Parameters:
   $options: 
   $initArgs: 


[ Top ]
isThemeAllowed  [line 72]

  bool isThemeAllowed( string $name  )

Checks if the specified theme is enabled or not

Parameters:
string   $name: 


[ Top ]

Documentation generated on Sat, 15 Nov 2008 14:27:13 -0600 by phpDocumentor 1.4.1