Overview
  • Package
  • Class
  • Tree
  • Todo

Packages

  • AddonValue
    • Interfaces
  • AdminHttpViewControllers
  • ApiV2Controllers
  • Category
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Providers
    • Repositories
    • Storages
  • Customer
    • Address
    • Country
    • CountryZone
    • Interfaces
    • Storages
    • Validation
    • ValueObjects
  • Email
    • Collections
    • Entities
    • Exceptions
    • Interfaces
    • Repository
    • ValueObjects
  • Extensions
    • Customers
    • Emails
    • Helpers
    • Orders
    • Serializers
  • Http
    • Collections
    • Exceptions
    • Factories
    • Interfaces
    • ValueObjects
  • HttpViewControllers
  • InfoBox
    • Interfaces
  • Invoice
    • Interfaces
    • ValueObjects
  • Loaders
    • CrossCuttingLoader
    • GXCoreLoader
    • Interfaces
  • Modules
    • Collections
    • Controllers
    • Interfaces
  • Order
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Repositories
    • Storages
    • ValueObjects
  • Product
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Providers
    • Repositories
    • Storages
  • ProductModule
    • Collections
    • Deleter
    • Entities
    • Factories
    • Interface
    • Interfaces
    • Reader
    • Repositories
    • Writer
  • Shared
    • ClassFinder
    • Exceptions
    • FileSystem
    • Interfaces
    • Storage
    • Types
  • SharedShoppingCart
    • Interfaces
  • Statistics
    • Interfaces
  • UserConfiguration
    • Interfaces
    • Repository

Classes

  • AssetCollection
  • ContentNavigationCollection

Class ContentNavigationCollection

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.

AbstractCollection implements IteratorAggregate, Countable
Extended by KeyValueCollection
Extended by ContentNavigationCollection implements ContentNavigationCollectionInterface
Package: Http\Collections
Category: System
Located at Services/System/Http/Collections/ContentNavigationCollection.inc.php

Methods summary

public
# add( StringType $name, StringType $url, BoolType $current )

Adds a new page to the collection.

Adds a new page to the collection.

Parameters

$name
The page name to be displayed must be already translated.
$url
The page url to be displayed.
$current
Whether the provided page is the one currently displayed.

Implementation of

ContentNavigationCollectionInterface::add()

Methods inherited from KeyValueCollection

__construct(), _addToCollectionContentArray(), _getValidType(), getValue(), keyExists()

Methods inherited from AbstractCollection

_add(), _getExceptionText(), _itemIsValid(), count(), getArray(), getItem(), getIterator(), isEmpty()

Properties summary

Properties inherited from AbstractCollection

$collectionContentArray

API documentation generated by ApiGen