[tools] testbot/cgi: Document CollectionBlock::new().

Francois Gouget fgouget at codeweavers.com
Fri Apr 1 10:10:26 CDT 2022


Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
---
 .../lib/ObjectModel/CGI/CollectionBlock.pm    | 22 +++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/testbot/lib/ObjectModel/CGI/CollectionBlock.pm b/testbot/lib/ObjectModel/CGI/CollectionBlock.pm
index 200734a6a..cbe22f90f 100644
--- a/testbot/lib/ObjectModel/CGI/CollectionBlock.pm
+++ b/testbot/lib/ObjectModel/CGI/CollectionBlock.pm
@@ -74,6 +74,28 @@ use POSIX qw(strftime);
 use URI::Escape;
 
 
+=pod
+=over 12
+
+=item C<new()>
+
+Creates a table showing the content of the specified Collection with
+support for performing actions on selected rows, or performing global actions.
+
+Parameters:
+=over
+=Collection
+The collection of objects to show in the table.
+
+=item EnclosingPage
+The page the table will be inserted in. This page object must implement the
+ObjectModel::CGI::Page interface.
+
+=back
+
+=back
+=cut
+
 sub new($$$@)
 {
   my $class = shift;
-- 
2.30.2




More information about the wine-devel mailing list