Overview
  • Package
  • Class
  • Tree
  • Todo

Packages

  • AddonValue
    • Interfaces
  • AdminHttpViewControllers
  • ApiV2Controllers
  • Authentication
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Strategies
  • 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
    • Invoices
    • Orders
    • Serializers
    • Templates
  • Http
    • Collections
    • Exceptions
    • Factories
    • Interfaces
    • ValueObjects
  • HttpViewControllers
  • InfoBox
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Repositories
  • Invoice
    • Interfaces
    • ValueObjects
  • Loaders
    • CrossCuttingLoader
    • GXCoreLoader
    • Interfaces
  • Modules
    • Collections
    • Controllers
    • Interfaces
  • None
  • Order
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Repositories
    • Storages
    • ValueObjects
  • Precheck
  • 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
  • Slider
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Repositories
    • Storages
  • Statistics
    • Interfaces
  • UserConfiguration
    • Interfaces
    • Repository

Classes

  • AbstractCollection
  • AddressFormatProvider
  • CurrencyCode
  • CustomerStatusProvider
  • EditableCollection
  • EditableKeyValueCollection
  • EmptyCurrencyCode
  • EmptyDateTime
  • EmptyLanguageCode
  • FileDownloadInformation
  • IdCollection
  • KeyValueCollection
  • LanguageCode
  • LanguageProvider
  • StringCollection
  • UrlRewrite
  • UrlRewriteCollection

Class KeyValueCollection

Class KeyValueCollection

AbstractCollection implements IteratorAggregate, Countable
Extended by KeyValueCollection

Direct known subclasses

ContentNavigationCollection, EditableKeyValueCollection, ModuleCenterModuleCollection

Indirect known subclasses

UrlRewriteCollection

Package: Shared
Category: System
Located at Shared/KeyValueCollection.inc.php

Methods summary

public
# __construct( array $keyValueArray )

Class Constructor

Class Constructor

Parameters

$keyValueArray

Throws

InvalidArgumentException

Overrides

AbstractCollection::__construct
public mixed
# getValue( string $p_keyName )

Get the value that corresponds to the provided key.

Get the value that corresponds to the provided key.

Parameters

$p_keyName

Returns

mixed

Throws

InvalidArgumentException
public boolean
# keyExists( string $p_keyName )

Check if a given key exists within the collection.

Check if a given key exists within the collection.

Parameters

$p_keyName

Returns

boolean
protected string
# _getValidType( )

Get valid item type.

Get valid item type.

Returns

string
protected
# _addToCollectionContentArray( array $keyValueArray )

Add the passed key value array to the collection content array.

Add the passed key value array to the collection content array.

Parameters

$keyValueArray

Methods inherited from AbstractCollection

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

Properties summary

Properties inherited from AbstractCollection

$collectionContentArray

API documentation generated by ApiGen