original_string: public function edit($array)
  	{
  		$headers = array(
  			'Content-Type' => "application/x-www-form-urlencoded"
  		);
  
  		$array['action'] = 'edit';
  		$array['format'] = 'php';
  
  		$apiResult = $this->session->post($this->api, $headers, $array);
  
  		return unserialize($apiResult->body);
  	}
code: public function edit($array)
  	{
  		$headers = array(
  			'Content-Type' => "application/x-www-form-urlencoded"
  		);
  
  		$array['action'] = 'edit';
  		$array['format'] = 'php';
  
  		$apiResult = $this->session->post($this->api, $headers, $array);
  
  		return unserialize($apiResult->body);
  	}
code_tokens: public function edit ( $ array ) { $ headers = array ( 'Content-Type' => "application/x-www-form-urlencoded" ) ; $ array [ 'action' ] = 'edit' ; $ array [ 'format' ] = 'php' ; $ apiResult = $ this -> session -> post ( $ this -> api , $ headers , $ array ) ; return unserialize ( $ apiResult -> body ) ; }
docstring: Perfoms an edit query to the wiki API.
  
  @param   array  $array  Array of details to be passed in the query
  @return  array          Unserialized php output from the wiki API
docstring_tokens: Perfoms an edit query to the wiki API .