original_string: public function query($array)
  	{
  		$array['action'] = 'query';
  		$array['format'] = 'php';
  
  		$apiResult = $this->session->get($this->api.'?'.http_build_query($array));
  
  		return unserialize($apiResult->body);
  	}
code: public function query($array)
  	{
  		$array['action'] = 'query';
  		$array['format'] = 'php';
  
  		$apiResult = $this->session->get($this->api.'?'.http_build_query($array));
  
  		return unserialize($apiResult->body);
  	}
code_tokens: public function query ( $ array ) { $ array [ 'action' ] = 'query' ; $ array [ 'format' ] = 'php' ; $ apiResult = $ this -> session -> get ( $ this -> api . '?' . http_build_query ( $ array ) ) ; return unserialize ( $ apiResult -> body ) ; }
docstring: Performs a query to the wiki API with the given details.
  
  @param   array  $array  Array of details to be passed in the query
  @return  array          Unserialized php output from the wiki API
docstring_tokens: Performs a query to the wiki API with the given details .