summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Object.pm
diff options
context:
space:
mode:
authorKoosha Khajeh Moogahi <koosha.khajeh@gmail.com>2012-11-02 13:43:00 +0100
committerFrédéric Buclin <LpSolit@gmail.com>2012-11-02 13:43:00 +0100
commit84266b06461795428504318fedae837b3802e386 (patch)
treee380ff8cfa2227a2efbecb4dd997028a4b202a49 /Bugzilla/Object.pm
parent03a7c682dde16c39f1fd8eaeed8f6606f18fcceb (diff)
downloadbugzilla-84266b06461795428504318fedae837b3802e386.tar.gz
bugzilla-84266b06461795428504318fedae837b3802e386.tar.xz
Bug 807937: Fix POD
r/a=LpSolit
Diffstat (limited to 'Bugzilla/Object.pm')
-rw-r--r--Bugzilla/Object.pm13
1 files changed, 7 insertions, 6 deletions
diff --git a/Bugzilla/Object.pm b/Bugzilla/Object.pm
index fa4c4e790..448cb1fe4 100644
--- a/Bugzilla/Object.pm
+++ b/Bugzilla/Object.pm
@@ -796,7 +796,7 @@ your own C<DB_COLUMNS> 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<string> that uniquely identifies
this Object in the database. Defaults to 'name'. When you specify
-C<{name => $name}> to C<new()>, this is the column that will be
+C<< {name => $name} >> to C<new()>, this is the column that will be
matched against in the DB.
=item C<ID_FIELD>
@@ -1084,8 +1084,9 @@ Notes: In order for this function to work in your subclass,
your subclass's L</ID_FIELD> must be of C<SERIAL>
type in the database.
- Subclass Implementors: This function basically just
- calls L</check_required_create_fields>, then
+Subclass Implementors:
+ This function basically just calls
+ L</check_required_create_fields>, then
L</run_create_validators>, and then finally
L</insert_create_data>. So if you have a complex system that
you need to implement, you can do it by calling these
@@ -1278,9 +1279,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, C<Bugzilla::Keyword->get_all>.
- C<Bugzilla::Keyword::get_all> 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