Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
09ac5d13
Commit
09ac5d13
authored
Jun 13, 2000
by
endico%mozilla.org
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
adding toArrayOfStrings subroutine needed by Bug.pm
parent
2559a21d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
0 deletions
+28
-0
RelationSet.pm
Bugzilla/RelationSet.pm
+14
-0
RelationSet.pm
RelationSet.pm
+14
-0
No files found.
Bugzilla/RelationSet.pm
View file @
09ac5d13
...
...
@@ -196,6 +196,20 @@ sub toArray {
return
keys
(
%
$self
);
}
# return this set as an array of strings
#
sub
toArrayOfStrings
{
(
$#_
==
0
)
||
confess
(
"invalid number of arguments"
);
my
$self
=
shift
();
my
@result
=
();
foreach
my
$i
(
keys
%
$self
)
{
push
@result
,
&::
DBID_to_name
(
$i
);
}
return
sort
(
@result
);
}
# return this set in string form (comma-separated and sorted)
#
sub
toString
{
...
...
RelationSet.pm
View file @
09ac5d13
...
...
@@ -196,6 +196,20 @@ sub toArray {
return
keys
(
%
$self
);
}
# return this set as an array of strings
#
sub
toArrayOfStrings
{
(
$#_
==
0
)
||
confess
(
"invalid number of arguments"
);
my
$self
=
shift
();
my
@result
=
();
foreach
my
$i
(
keys
%
$self
)
{
push
@result
,
&::
DBID_to_name
(
$i
);
}
return
sort
(
@result
);
}
# return this set in string form (comma-separated and sorted)
#
sub
toString
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment