original_string: public function getSecurity()
  	{
  		$dbname = $this->client->getDatabaseName();
  		$raw = $this->client->query(
  				"GET", "/" . $dbname . "/_security"
  		);
  		$resp = Couch::parseRawResponse($raw);
  		if ($resp['status_code'] != 200) {
  			throw new CouchException($raw);
  		}
  		if (!property_exists($resp['body'], "admins")) {
  			$resp["body"]->admins = new stdClass();
  			$resp["body"]->admins->names = array();
  			$resp["body"]->admins->roles = array();
  			$resp["body"]->readers = new stdClass();
  			$resp["body"]->readers->names = array();
  			$resp["body"]->readers->roles = array();
  		}
  		return $resp['body'];
  	}
code: public function getSecurity()
  	{
  		$dbname = $this->client->getDatabaseName();
  		$raw = $this->client->query(
  				"GET", "/" . $dbname . "/_security"
  		);
  		$resp = Couch::parseRawResponse($raw);
  		if ($resp['status_code'] != 200) {
  			throw new CouchException($raw);
  		}
  		if (!property_exists($resp['body'], "admins")) {
  			$resp["body"]->admins = new stdClass();
  			$resp["body"]->admins->names = array();
  			$resp["body"]->admins->roles = array();
  			$resp["body"]->readers = new stdClass();
  			$resp["body"]->readers->names = array();
  			$resp["body"]->readers->roles = array();
  		}
  		return $resp['body'];
  	}
code_tokens: public function getSecurity ( ) { $ dbname = $ this -> client -> getDatabaseName ( ) ; $ raw = $ this -> client -> query ( "GET" , "/" . $ dbname . "/_security" ) ; $ resp = Couch :: parseRawResponse ( $ raw ) ; if ( $ resp [ 'status_code' ] != 200 ) { throw new CouchException ( $ raw ) ; } if ( ! property_exists ( $ resp [ 'body' ] , "admins" ) ) { $ resp [ "body" ] -> admins = new stdClass ( ) ; $ resp [ "body" ] -> admins -> names = array ( ) ; $ resp [ "body" ] -> admins -> roles = array ( ) ; $ resp [ "body" ] -> readers = new stdClass ( ) ; $ resp [ "body" ] -> readers -> names = array ( ) ; $ resp [ "body" ] -> readers -> roles = array ( ) ; } return $ resp [ 'body' ] ; }
docstring: returns the security object of a database
  
  @link http://wiki.apache.org/couchdb/Security_Features_Overview
  @return stdClass security object of the database
  @throws CouchException
docstring_tokens: returns the security object of a database