OXID eShop CE  4.9.7
 All Classes Files Functions Variables Pages
oxTheme Class Reference
+ Inheritance diagram for oxTheme:
+ Collaboration diagram for oxTheme:

Public Member Functions

 load ($sOXID)
 activate ()
 getList ()
 getInfo ($sName)
 getActiveThemeId ()
 getParent ()
 checkForActivationErrors ()
 getId ()
- Public Member Functions inherited from oxSuperCfg
 __call ($sMethod, $aArgs)
 __construct ()
 getConfig ()
 setConfig ($oConfig)
 getSession ()
 setSession ($oSession)
 getUser ()
 setUser ($oUser)
 isAdmin ()
 setAdminMode ($blAdmin)

Protected Attributes

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

Additional Inherited Members

- Static Protected Attributes inherited from oxSuperCfg
static $_oConfig = null
static $_oSession = null
static $_oRights = null
static $_oActUser = null
static $_blIsAdmin = null

Detailed Description

Themes handler class.

Definition at line 9 of file oxtheme.php.

Member Function Documentation

oxTheme::activate ( )

Set theme as active

Definition at line 52 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 145 of file oxtheme.php.

oxTheme::getActiveThemeId ( )

return current active theme, or custom theme if specified

Returns
string

Definition at line 110 of file oxtheme.php.

oxTheme::getId ( )

Get theme ID

Returns
string

Definition at line 175 of file oxtheme.php.

oxTheme::getInfo (   $sName)

get theme info item

Parameters
string$sNamename of info item to retrieve
Returns
mixed

Definition at line 96 of file oxtheme.php.

oxTheme::getList ( )

Load theme info list

Returns
array

Definition at line 75 of file oxtheme.php.

oxTheme::getParent ( )

return loaded parent

Returns
oxTheme

Definition at line 125 of file oxtheme.php.

oxTheme::load (   $sOXID)

Load theme info

Parameters
string$sOXIDtheme id
Returns
bool

Definition at line 33 of file oxtheme.php.

Member Data Documentation

oxTheme::$_aTheme = array()
protected

Definition at line 17 of file oxtheme.php.

oxTheme::$_aThemeList = array()
protected

Definition at line 24 of file oxtheme.php.


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