summaryrefslogtreecommitdiffstats
path: root/Bugzilla/WebService.pm
diff options
context:
space:
mode:
authorMax Kanat-Alexander <mkanat@bugzilla.org>2010-07-20 23:58:47 +0200
committerMax Kanat-Alexander <mkanat@bugzilla.org>2010-07-20 23:58:47 +0200
commit0d280b9011568abf2c5f95a33fd20195b91528d9 (patch)
treef08cd0a72cc845e7577f863f86ef7ade48f6a563 /Bugzilla/WebService.pm
parent69be160f92f1d20408c0e390610dffbd619f63cb (diff)
downloadbugzilla-0d280b9011568abf2c5f95a33fd20195b91528d9.tar.gz
bugzilla-0d280b9011568abf2c5f95a33fd20195b91528d9.tar.xz
Bug 579514: Make Bug.attachments also return attachment data
r=dkl, a=mkanat
Diffstat (limited to 'Bugzilla/WebService.pm')
-rw-r--r--Bugzilla/WebService.pm15
1 files changed, 8 insertions, 7 deletions
diff --git a/Bugzilla/WebService.pm b/Bugzilla/WebService.pm
index 9e83a5a64..0ca5da267 100644
--- a/Bugzilla/WebService.pm
+++ b/Bugzilla/WebService.pm
@@ -269,11 +269,11 @@ the structs, to possibly improve performance or save some bandwidth.
=over
-=item C<include_fields> (array)
+=item C<include_fields>
-An array of strings, representing the (case-sensitive) names of fields.
-Only the fields specified in this hash will be returned, the rest will
-not be included.
+C<array> An array of strings, representing the (case-sensitive) names of
+fields in the return value. Only the fields specified in this hash will
+be returned, the rest will not be included.
If you specify an empty array, then this function will return empty
hashes.
@@ -288,10 +288,11 @@ would return something like:
{ users => [{ id => 1, name => 'user@domain.com' }] }
-=item C<exclude_fields> (array)
+=item C<exclude_fields>
-An array of strings, representing the (case-sensitive) names of fields.
-The fields specified will not be included in the returned hashes.
+C<array> An array of strings, representing the (case-sensitive) names of
+fields in the return value. The fields specified will not be included in
+the returned hashes.
If you specify all the fields, then this function will return empty
hashes.