Public Member Functions | Protected Attributes

oxTheme Class Reference

Inheritance diagram for oxTheme:
Collaboration diagram for oxTheme:

List of all members.

Public Member Functions

 load ($sOXID)
 activate ()
 getList ()
 getInfo ($sName)
 getActiveThemeId ()
 getParent ()
 checkForActivationErrors ()

Protected Attributes

 $_aTheme = array()
 $_aThemeList = array()

Detailed Description

Class handling shop themes

Definition at line 7 of file oxtheme.php.


Member Function Documentation

oxTheme.activate (  ) 

Set theme as active

Returns:
null

Definition at line 48 of file oxtheme.php.

oxTheme.checkForActivationErrors (  ) 

run pre-activation checks and return EXCEPTION_* translation string if error found or false on success

Returns:
string

Definition at line 135 of file oxtheme.php.

oxTheme.getActiveThemeId (  ) 

return current active theme, or custom theme if specified

Returns:
string

Definition at line 102 of file oxtheme.php.

oxTheme.getInfo ( sName  ) 

get theme info item

Parameters:
string $sName name of info item to retrieve
Returns:
mixed

Definition at line 89 of file oxtheme.php.

oxTheme.getList (  ) 

Load theme info list

Returns:
array

Definition at line 69 of file oxtheme.php.

oxTheme.getParent (  ) 

return loaded parent

Returns:
oxTheme

Definition at line 116 of file oxtheme.php.

oxTheme.load ( sOXID  ) 

Load theme info

Parameters:
string $sOXID theme id
Returns:
bool

Definition at line 28 of file oxtheme.php.


Member Data Documentation

oxTheme.$_aTheme = array() [protected]

Definition at line 13 of file oxtheme.php.

oxTheme.$_aThemeList = array() [protected]

Definition at line 19 of file oxtheme.php.


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