CouchdbTable of Contents
 The CouchdbClient classIntroductionCouchdbClient Class Class synopsisCouchdbClient 
    
     
       class CouchdbClient
     
     { 
    
    /* Methods */ 
    
   public  bool  compactDatabase
    ([  string  $db_name
  ] ) 
    __construct
    (  string  $uri = NULL
   [,  bool  $use_cookie_auth = FALSE
   [,  string  $db_name = NULL
  ]] ) 
   public  array  copyDoc
    (  string  $doc_id
   ,  string  $new_doc_id
   [,  string  $new_doc_revision
  ] ) 
   public  bool  createAdminUser
    (  string  $user_name
   ,  string  $password
   ) 
   public  bool  createDatabase
    ([  string  $db_name
  ] ) 
   public  array  deleteAttachment
    (  string  $doc_id
   ,  string  $attachment_name
   [,  string  $doc_rev
  ] ) 
   public  bool  deleteDatabase
    ([  string  $db_name
  ] ) 
   public  bool  deleteDoc
    (  string  $doc_id
   ,  string  $rev
   ) 
   public  void  __destruct
    ( void
   ) 
   public  bool  dropDatabase
    ([  string  $db_name
  ] ) 
   public  array  getAllDocs
    ([  string  $by_sequence
   [,  array  $query_options
  ]] ) 
   public  array  getCAPath
    ( void
   ) 
   public  array  getDatabaseChanges
    ([  array  $query_options
  ] ) 
   public  array  getDatabaseInfo
    ([  string  $db_name
  ] ) 
   public  object  getDoc
    (  string  $doc_id
   [,  array  $options
  ] ) 
   public  mixed  getLastResponse
    ([  string  $json_decode
  ] ) 
   public  array  getServerConfig
    ( void
   ) 
   public  array  getServerInfo
    ( void
   ) 
   public  array  getServerStats
    ( void
   ) 
   public  object  getTempView
    (  string  $temp_view
   ) 
   public  array  getUuids
    ([  int  $count
  ] ) 
   public  object  getView
    (  string  $design_doc
   ,  string  $view_name
   ) 
   public  array  listActiveTasks
    ( void
   ) 
   public  array  listDatabases
    ( void
   ) 
   public  bool  selectDB
    ([  string  $db_name
  ] ) 
   public  bool  setCAPath
    (  string  $ca_path
   ,  string  $ca_info
   ) 
   public  bool  startReplication
    (  string  $source
   ,  string  $destination
   [,  bool  $set_continuous
  ] ) 
   public  array  storeAttachment
    (  string  $doc_id
   ,  string  $filename
   ,  string  $attachment_name
   ,  string  $content_type
   [,  string  $doc_rev
  ] ) 
   public  array  storeDoc
    (  mixed  $document
   ) 
   public  array  storeDocs
    (  mixed  $documents
   ) 
   }The CouchdbClientException classIntroductionThis exception is thrown when errors occur while using the CouchdbClient extension. Class synopsisCouchdbClientException 
    
     
       class CouchdbClientException
     
     
     
      extends
       Exception
     
     { 
    /* Properties */ 
    
    /* Inherited methods */ 
    
   final public  string  Exception::getMessage
    ( void
   ) 
   final public  Exception  Exception::getPrevious
    ( void
   ) 
   final public  int  Exception::getCode
    ( void
   ) 
   final public  string  Exception::getFile
    ( void
   ) 
   final public  int  Exception::getLine
    ( void
   ) 
   final public  array  Exception::getTrace
    ( void
   ) 
   final public  string  Exception::getTraceAsString
    ( void
   ) 
   public  string   Exception::__toString
    ( void
   ) 
   final private  void  Exception::__clone
    ( void
   ) 
   }Properties
  |