public static function respondCsv($responseID, $responseData = array()) { if (!static::checkAPIAccess($responseID, $responseData, 'csv')) { return static::throwAPIUnauthorizedError(); } return parent::respondCsv($responseID, $responseData); }