Class ContentNavigationCollection
This class extends the KeyValueCollection where the key is the display name of the navigation and the value the URL of the page. If you use the constructor to set the content navigation links make sure that you provide an empty URL for the current page so that it's marked as active in frontend.
category |
System |
---|---|
package |
Http |
subpackage |
Collections |
__construct(array|mixed|null $argumentsArray = null)
Throws |
|
---|
array|mixed|null
add(\StringType $name, \StringType $url, \BoolType $current)
count() : integer
integer
getArray() : array
array
getItem( $p_index) : mixed
Throws |
|
---|
mixed
getIterator()
getValue(string $p_keyName) : mixed
Throws |
|
---|
string
mixed
isEmpty() : boolean
boolean
keyExists(string $p_keyName) : boolean
string
boolean