Horde_Kolab_Storage_Cache_Data::getObjectByBackendId PHP Method

getObjectByBackendId() public method

Retrieves the specified object from the cache.
public getObjectByBackendId ( string $obid ) : array
$obid string The object ID to fetch.
return array The list of objects.
    public function getObjectByBackendId($obid)
    {
        $obids = $this->getBackendToObject();
        if (isset($obids[$obid])) {
            $objects = $this->getObjects();
            return $objects[$obids[$obid]];
        } else {
            throw new Horde_Kolab_Storage_Exception(sprintf('No such object %s!', $obid));
        }
    }