Class DefaultThemeSettings
Class to provide the default settings of a shop frontend theme. Used for overload able theme settings.
For overloading some of the theme settings do as follows:
create a overload of the setThemeSettings method:
public function setThemeSettingsArray (array $settingsArray) { $settingsArray['MENUBOXES']['your_new_menu_box'] = array('POSITION' => 'gm_box_pos_99', 'STATUS' => 0); $this->themeSettingsArray = $settingsArray; }
category |
System |
---|---|
package |
Extensions |
subpackage |
Themes |
getThemeSettingsArray() : array
Returns the settings of a theme as an array.
array
setThemeSettingsArray(array $settingsArray)
Sets the themeSettingsArray to the given values.
You can use something like this to manipulate the settingsArray:
public function setThemeSettingsArray (array $settingsArray) { $settingsArray['MENUBOXES']['your_new_menu_box'] = array('POSITION' => 'gm_box_pos_99', 'STATUS' => 0); $this->themeSettingsArray = $settingsArray; }
array
themeSettingsArray : array
var |
---|
array