• ActiveWAFL 2706 API Reference Documentation
  • Search
  • Version

DblEj \ Collections

The Collections namespace.

Contains several high-level interfaces, as well as several implementations, of different types of collections for use on the server-side (PHP). Collections hold lists of information, similar to arrays, but often with additional functionality and/or constraints.

 
DblEj\Collections

Classes

Collection

Stores, and provides easy access to, a collection of anything.

CollectionEventRaiser

A Collection that raises events when items are added or removed

InvalidKeyException

Exception that is thrown when an attempt is made to access a key (or an item stored under a key) in a keyed collection that does not contain the specified key.

InvalidOptionException

Thrown when trying to access an option that doesn't exist in the OptionList.

KeyedCollection

Stores, and provides access to, a collection of things, where each thing is stored under a unique key identifier.

KeyedCollectionOfCollections

Stores, and provides access to, a collection of collections, where each collection is stored under a unique key identifier.

Option

An option that would typically be used as part of a configuration.

OptionList

A collection of Options.

TypedCollection

A strongly-typed collection of items.

An item's type will be evaluated whenever it is added to the collection and an InvalidDataTypeException will be thrown if the type is not correct.

When performing merge commands, the other collection must be strongly typed and be of the same type.

TypedKeyedCollection

Stores, and provides access to, a collection of things, where each thing is stored under a unique key identifier.

Interfaces

ICollection

An interface that can be used to implement classes that store a collection of data.

IKeyedCollection

An interface that can be used to implement classes that store a keyed collection of data.

ISortableCollection

A collection that can sort it's items.

ITypedCollection

A strongly-typed collection.

Exceptions

NoSubitemsException

Thrown when trying to add a subitem to an item that cannot have sub items.

Child Namespaces

There are no namespaces beneath Collections