From ef1385c2174f17c63ca4b8eec861db76d7ef513d Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" <> Date: Wed, 20 Aug 2008 02:46:25 +0000 Subject: The hook docs in Bugzilla::Hook had gotten out of alphabetical order, fix the POD. --- Bugzilla/Hook.pm | 88 ++++++++++++++++++++++++++++---------------------------- 1 file changed, 44 insertions(+), 44 deletions(-) diff --git a/Bugzilla/Hook.pm b/Bugzilla/Hook.pm index 7ffd38aa5..b9b111963 100644 --- a/Bugzilla/Hook.pm +++ b/Bugzilla/Hook.pm @@ -170,34 +170,6 @@ This describes what hooks exist in Bugzilla currently. They are mostly in alphabetical order, but some related hooks are near each other instead of being alphabetical. -=head2 buglist-columns - -This happens in buglist.cgi after the standard columns have been defined and -right before the display column determination. It gives you the opportunity -to add additional display columns. - -Params: - -=over - -=item C - A hashref, where the keys are unique string identifiers -for the column being defined and the values are hashrefs with the -following fields: - -=over - -=item C - The name of the column in the database. - -=item C - The title of the column as displayed to users. - -=back - -The definition is structured as: - - $columns->{$id} = { name => $name, title => $title }; - -=back - =head2 auth-login_methods This allows you to add new login types to Bugzilla. @@ -235,6 +207,50 @@ This works just like L</auth-login_methods> except it's for login verification methods (See L<Bugzilla::Auth::Verify>.) It also takes a C<modules> parameter, just like L</auth-login_methods>. +=head2 buglist-columns + +This happens in buglist.cgi after the standard columns have been defined and +right before the display column determination. It gives you the opportunity +to add additional display columns. + +Params: + +=over + +=item C<columns> - A hashref, where the keys are unique string identifiers +for the column being defined and the values are hashrefs with the +following fields: + +=over + +=item C<name> - The name of the column in the database. + +=item C<title> - The title of the column as displayed to users. + +=back + +The definition is structured as: + + $columns->{$id} = { name => $name, title => $title }; + +=back + +=head2 colchange-columns + +This happens in F<colchange.cgi> right after the list of possible display +columns have been defined and gives you the opportunity to add additional +display columns to the list of selectable columns. + +Params: + +=over + +=item C<columns> - An arrayref containing an array of column IDs. Any IDs +added by this hook must have been defined in the the buglist-columns hook. +See L</buglist-columns>. + +=back + =head2 config-add_panels If you want to add new panels to the Parameters administrative interface, @@ -393,19 +409,3 @@ A hash that maps the names of errors (like C<invalid_param>) to numbers. See L<Bugzilla::WebService::Constants/WS_ERROR_CODE> for an example. =back - -=head2 colchange-columns - -This happens in F<colchange.cgi> right after the list of possible display -columns have been defined and gives you the opportunity to add additional -display columns to the list of selectable columns. - -Params: - -=over - -=item C<columns> - An arrayref containing an array of column IDs. Any IDs -added by this hook must have been defined in the the buglist-columns hook. -See L</buglist-columns>. - -=back -- cgit v1.2.3-24-g4f1b