Module: tools Branch: master Commit: ff279c46c3a9ea9ce16f8b01b661e894e4f3597b URL: https://source.winehq.org/git/tools.git/?a=commit;h=ff279c46c3a9ea9ce16f8b01...
Author: Francois Gouget fgouget@codeweavers.com Date: Fri Apr 1 17:10:26 2022 +0200
testbot/cgi: Document CollectionBlock::new().
Signed-off-by: Francois Gouget fgouget@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
testbot/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 200734a..cbe22f9 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;