/**
* Create a new object.
*
* @param array &$object The array that holds the object data.
* @param boolean $raw True if the data to be stored has been provided in
* raw format.
*
* @return string The ID of the new object or true in case the backend does
* not support this return value.
*
* @throws Horde_Kolab_Storage_Exception In case an error occured while
* saving the data.
*/
public function create(&$object, $raw = false)
{
$this->_logger->debug(sprintf('Creating new data object in %s.', $this->_data->getPath()));
$result = $this->_data->create($object, $raw);
$this->_logger->debug(sprintf('Created data object %s in %s [backend: %s].', $object['uid'], $this->_data->getPath(), $result));
return $result;
}