public function getAllUsers($include_docs = false)
	{
		$client = new CouchClient($this->client->dsn(), $this->usersdb, $this->client->options());
		if ($include_docs) {
			$client->include_docs(true);
		}
		return $client->startkey("org.couchdb.user:")->endkey("org.couchdb.user?")->getAllDocs()->rows;
	}
public function getAllUsers($include_docs = false)
	{
		$client = new CouchClient($this->client->dsn(), $this->usersdb, $this->client->options());
		if ($include_docs) {
			$client->include_docs(true);
		}
		return $client->startkey("org.couchdb.user:")->endkey("org.couchdb.user?")->getAllDocs()->rows;
	}
public function getAllUsers ( $ include_docs = false ) { $ client = new CouchClient ( $ this -> client -> dsn ( ) , $ this -> usersdb , $ this -> client -> options ( ) ) ; if ( $ include_docs ) { $ client -> include_docs ( true ) ; } return $ client -> startkey ( "org.couchdb.user:" ) -> endkey ( "org.couchdb.user?" ) -> getAllDocs ( ) -> rows ; }
returns all users

@param boolean $include_docs if set to true, users documents will also be included
@return array users array : each row is a stdObject with "id", "rev" and optionally "doc" properties
returns all users