DATA_PREFIX
DATA_PREFIX
Displays the top navigation. Gets data from Fuman_Navigation.
__construct(null $maxDepth = null, null $activeInitDepth = null, null $configName = null, null $minCount = null, null $currentDepth = null, null $children = null) : \Fuman_Response_Data
Gets Fuman_Navigation and parses it to a navigation structure.
For search action a special link will be created which opens a overlay to search.
Usage: {component:app_core_component_frontendsitemapnavigation:maxDepth:activeInitDepth:configName}
$configName: [app_core_component_frontendsitemapnavigation_main] filter = "itemKey1,itemKey2" root = "itemKey"
null | $maxDepth | Max depth to be layouted (null=infinite depth) |
null | $activeInitDepth | If set (positive value: depth from root; negative value: depth relative to active item) |
null | $configName | Config which should be used |
null | $minCount | How many items must be available until it will be displayed |
null | $currentDepth | |
null | $children |
setAttribute(string $key, string $value, boolean $appendValue = true, string $appendSpacer = ' ') : void
Sets an attribute. If $appendValue is true, the value is going to be appended with the $appendSpacer argument.
string | $key | |
string | $value | |
boolean | $appendValue | |
string | $appendSpacer |
addCssFile(string $path, string $media = 'all', string|null $packageName = null) : \Fuman_Response_Data
Add a CSS file
string | $path | |
string | $media | |
string|null | $packageName | Used for pack.php |
addJsFile(string $path, integer $javaScriptLoadType, string|null $packageName = null) : \Fuman_Response_Data
Add a Js file
string | $path | |
integer | $javaScriptLoadType | |
string|null | $packageName | Used for pack.php |
setTemplatePath(string $templatePath) : \Fuman_Response_Data
Sets script path
string | $templatePath |
recursiveCall(\app_core_component_frontendsitemapnavigation $self, $children) : \app_core_component_frontendsitemapnavigation
\app_core_component_frontendsitemapnavigation | $self | |
$children |