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