/** * Returns the contents of a draft via XML-RPC. * * @param RemoteApi $client The connection resource * @param array $auth Array of authentication information (email, password) * @param integer $issue_id The issue ID * @param integer $draft_id The sequential id of the draft to view * @return array An array containing draft details. */ public function getDraft($client, $auth, $issue_id, $draft_id) { $draft = $client->getDraft($auth[0], $auth[1], $issue_id, (int) $draft_id); return $draft; }