Horde_Kolab_Storage_Data_Base::getObject PHP Метод

getObject() публичный Метод

Return the specified object.
public getObject ( string $object_id ) : array
$object_id string The object id.
Результат array The object data as an array.
    public function getObject($object_id)
    {
        $objects = $this->getObjects();
        if (isset($objects[$object_id])) {
            return $objects[$object_id];
        } else {
            throw new Horde_Kolab_Storage_Exception(sprintf('Object ID %s does not exist!', $object_id));
        }
    }