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(mixed $item)
This method must be used by child-collection classes.
Throws |
|
---|
mixed
Item which should add to the collection
_addToCollectionContentArray(array $keyValueArray)
array
_getExceptionText() : string
string
_getValidType() : string
This method must be implemented in the child-collection classes.
string
_itemIsValid(mixed $dataItem) : boolean
mixed
boolean
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
collectionContentArray : array
var |
---|
array