public function query($array)
	{
		$array['action'] = 'query';
		$array['format'] = 'php';

		$apiResult = $this->session->get($this->api.'?'.http_build_query($array));

		return unserialize($apiResult->body);
	}
public function query($array)
	{
		$array['action'] = 'query';
		$array['format'] = 'php';

		$apiResult = $this->session->get($this->api.'?'.http_build_query($array));

		return unserialize($apiResult->body);
	}
public function query ( $ array ) { $ array [ 'action' ] = 'query' ; $ array [ 'format' ] = 'php' ; $ apiResult = $ this -> session -> get ( $ this -> api . '?' . http_build_query ( $ array ) ) ; return unserialize ( $ apiResult -> body ) ; }
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
Performs a query to the wiki API with the given details .