From b07c28db46f93f57a25b1b0210761f257fd05fbd Mon Sep 17 00:00:00 2001 From: Koosha Khajeh Moogahi Date: Fri, 2 Nov 2012 13:45:33 +0100 Subject: Bug 807937: Fix POD r/a=LpSolit --- Bugzilla/Object.pm | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'Bugzilla/Object.pm') diff --git a/Bugzilla/Object.pm b/Bugzilla/Object.pm index 422a2ffa5..70ca1a5f0 100644 --- a/Bugzilla/Object.pm +++ b/Bugzilla/Object.pm @@ -801,7 +801,7 @@ your own C subroutine in a subclass.) The name of the column that should be considered to be the unique "name" of this object. The 'name' is a B that uniquely identifies this Object in the database. Defaults to 'name'. When you specify -C<{name => $name}> to C, this is the column that will be +C<< {name => $name} >> to C, this is the column that will be matched against in the DB. =item C @@ -1089,8 +1089,9 @@ Notes: In order for this function to work in your subclass, your subclass's L must be of C type in the database. - Subclass Implementors: This function basically just - calls L, then +Subclass Implementors: + This function basically just calls + L, then L, and then finally L. So if you have a complex system that you need to implement, you can do it by calling these @@ -1283,9 +1284,9 @@ C<0> otherwise. Returns: A list of objects, or an empty list if there are none. - Notes: Note that you must call this as C<$class->get_all>. For - example, Cget_all>. - C will not work. + Notes: Note that you must call this as $class->get_all. For + example, Bugzilla::Keyword->get_all. + Bugzilla::Keyword::get_all will not work. =back -- cgit v1.2.3-24-g4f1b From fc3af9b31f71c93b4824e8558dda60e4d5efe6f5 Mon Sep 17 00:00:00 2001 From: Frédéric Buclin Date: Fri, 2 Nov 2012 13:56:57 +0100 Subject: Fix typo --- Bugzilla/Object.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Bugzilla/Object.pm') diff --git a/Bugzilla/Object.pm b/Bugzilla/Object.pm index 70ca1a5f0..d4574abd2 100644 --- a/Bugzilla/Object.pm +++ b/Bugzilla/Object.pm @@ -964,7 +964,7 @@ for each placeholder in C, in order. This is to allow subclasses to have complex parameters, and then to translate those parameters into C and C when they -call C<$self->SUPER::new> (which is this function, usually). +call C<< $self->SUPER::new >> (which is this function, usually). If you try to call C outside of a subclass with the C and C parameters, Bugzilla will throw an error. These parameters -- cgit v1.2.3-24-g4f1b