CouchdbClient::storeAttachment

Stores an attachment.

Description

public array CouchdbClient::storeAttachment ( string $doc_id , string $filename , string $attachment_name , string $content_type [, string $doc_rev ] )

Warning

This function is currently not documented; only its argument list is available.

Parameters

doc_id

filename

attachment_name

content_type

doc_rev

Return Values

Examples

Example #1 CouchdbClient::storeAttachment example

<?php

/* ... */

?>

The above example will output something similar to:

...