Class Document

Description

Located in /sources/document.php (line 5)

CouchAPI
   |
   --Document
Method Summary
void CopyDoc ( $db,  $src,  $dst, [ $rev = ''])
void CreateDoc ( $database,  $doc_id,  $data, [ $update = false], [ $rev = ''])
void DeleteAttachment ( $database,  $doc_id,  $attachment,  $rev)
void DeleteDoc ( $database,  $doc_id,  $rev)
void GetAttachment ( $db,  $document,  $attachment)
void Init ()
void isDocExists ( $database,  $doc_id)
void ModifyDoc ( $database,  $doc_id,  $data,  $rev)
void PutAttachment ( $db,  $document,  $attachment,  $rev)
void RetrieveDoc ( $database,  $doc_id, [ $revsInfo = false], [ $rev = ''])
Variables
Methods
CopyDoc (line 111)
  • access: public
void CopyDoc ( $db,  $src,  $dst, [ $rev = ''])
  • $db
  • $src
  • $dst
  • $rev
CreateDoc (line 16)
  • access: public
void CreateDoc ( $database,  $doc_id,  $data, [ $update = false], [ $rev = ''])
  • $database
  • $doc_id
  • $data
  • $update
  • $rev
DeleteAttachment (line 159)
  • access: public
void DeleteAttachment ( $database,  $doc_id,  $attachment,  $rev)
  • $database
  • $doc_id
  • $attachment
  • $rev
DeleteDoc (line 100)
  • access: public
void DeleteDoc ( $database,  $doc_id,  $rev)
  • $database
  • $doc_id
  • $rev
GetAttachment (line 126)
  • access: public
void GetAttachment ( $db,  $document,  $attachment)
  • $db
  • $document
  • $attachment
Init (line 10)
  • access: public
void Init ()

Redefinition of:
CouchAPI::Init()
isDocExists (line 84)
  • access: public
void isDocExists ( $database,  $doc_id)
  • $database
  • $doc_id
ModifyDoc (line 95)
  • access: public
void ModifyDoc ( $database,  $doc_id,  $data,  $rev)
  • $database
  • $doc_id
  • $data
  • $rev
PutAttachment (line 137)
  • access: public
void PutAttachment ( $db,  $document,  $attachment,  $rev)
  • $db
  • $document
  • $attachment
  • $rev
RetrieveDoc (line 52)
  • access: public
void RetrieveDoc ( $database,  $doc_id, [ $revsInfo = false], [ $rev = ''])
  • $database
  • $doc_id
  • $revsInfo
  • $rev

Inherited Methods

Inherited From CouchAPI

CouchAPI::__construct()
CouchAPI::addQuotes()
CouchAPI::GetCouchDBHost()
CouchAPI::GetCouchDBPort()
CouchAPI::GetCouchPasswd()
CouchAPI::GetCouchUser()
CouchAPI::GetHandle()
CouchAPI::GetProto()
CouchAPI::GetProxyAuthName()
CouchAPI::GetProxyAuthPasswd()
CouchAPI::GetProxyHost()
CouchAPI::GetProxyPort()
CouchAPI::GetProxyURL()
CouchAPI::GetRoot()
CouchAPI::GetTimeout()
CouchAPI::Init()
CouchAPI::SendRequest()
CouchAPI::SetCouchHost()
CouchAPI::SetCouchPassword()
CouchAPI::SetCouchPort()
CouchAPI::SetCouchUser()
CouchAPI::SetProxyAuthName()
CouchAPI::SetProxyAuthPasswd()
CouchAPI::SetProxyHost()
CouchAPI::SetProxyPort()
CouchAPI::SetTimeout()
CouchAPI::SetUseAuth()
CouchAPI::SetUseProxy()
CouchAPI::SetUseSecure()
CouchAPI::UseAuth()
CouchAPI::UseProxy()
CouchAPI::UseSecure()
CouchAPI::__destruct()

Documentation generated on Sat, 16 Jun 2012 15:01:54 +0400 by phpDocumentor 1.4.4