/** * Fetches the weekly report for the current developer for the specified week. * * @param RemoteApi $client The connection resource * @param array $auth Array of authentication information (email, password) * @param integer $week The week for the report. If start and end date are set, this is ignored. * @param string $start_date The start date of the report. (optional) * @param string $end_date The end_date of the report. (optional) * @param boolean $separate_closed If closed issues should be separated from other issues. */ public static function getWeeklyReport($client, $auth, $week, $start_date = '', $end_date = '', $separate_closed = false) { $ret = $client->getWeeklyReport($auth[0], $auth[1], (int) $week, $start_date, $end_date, $separate_closed); echo $ret; }