phpDocumentor

DefaultThemeSettings
in package

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 DefaultThemeSettings class

  • 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; }

Tags
category

System

subpackage

Themes

Table of Contents

$themeSettingsArray  : array<string|int, mixed>
getThemeSettingsArray()  : array<string|int, mixed>
Getter method
setThemeSettingsArray()  : mixed
Setter method

Properties

Methods

getThemeSettingsArray()

Getter method

public getThemeSettingsArray() : array<string|int, mixed>

Returns the settings of a theme as an array.

Return values
array<string|int, mixed>

setThemeSettingsArray()

Setter method

public setThemeSettingsArray(array<string|int, mixed> $settingsArray) : mixed

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; }

Parameters
$settingsArray : array<string|int, mixed>
Return values
mixed

Search results