Esempio n. 1
0
 /**
  * TODO
  *
  * @param string $table       TODO
  * @param string $field       TODO
  * @param string $data        TODO
  * @param string $attributes  TODO
  *
  * @return mixed  TODO
  * @throws Horde_Vfs_Exception
  */
 protected function _insertBlob($table, $field, $data, $attributes)
 {
     $attributes[$field] = new Horde_Db_Value_Binary($data);
     /* Execute the query. */
     try {
         $this->_db->insertBlob($table, $attributes);
     } catch (Horde_Db_Exception $e) {
         throw new Horde_Vfs_Exception($e);
     }
 }