\SplObjectStorage
Synopsis
class SplObjectStorage
implements
Countable
{
- // methods
- public void addAll()
- public void attach()
- public bool contains()
- public int count()
- public current()
- public void detach()
- public string getHash()
- public mixed getInfo()
- public int key()
- public void next()
- public bool offsetExists()
- public mixed offsetGet()
- public void offsetSet()
- public void offsetUnset()
- public void removeAll()
- public void removeAllExcept()
- public void rewind()
- public string serialize()
- public void setInfo()
- public void unserialize()
- public bool valid()
Hierarchy
Methods
public
- addAll() — Adds all objects from another storage
- attach() — Adds an object in the storage
- contains() — Checks if the storage contains a specific object
- count() — Returns the number of objects in the storage
- current() — Returns the current storage entry
- detach() — Removes an object from the storage
- getHash() — Calculate a unique identifier for the contained objects
- getInfo() — Returns the data associated with the current iterator entry
- key() — Returns the index at which the iterator currently is
- next() — Move to the next entry
- offsetExists() — Checks whether an object exists in the storage
- offsetGet() — Returns the data associated with an object
- offsetSet() — Associates data to an object in the storage
- offsetUnset() — Removes an object from the storage
- removeAll() — Removes objects contained in another storage from the current storage
- removeAllExcept() — Removes all objects except for those contained in another storage from the current storage
- rewind() — Rewind the iterator to the first storage element
- serialize() — Serializes the storage
- setInfo() — Sets the data associated with the current iterator entry
- unserialize() — Unserializes a storage from its string representation
- valid() — Returns if the current iterator entry is valid