Commit 84266b06 authored by Koosha Khajeh Moogahi's avatar Koosha Khajeh Moogahi Committed by Frédéric Buclin

Bug 807937: Fix POD

r/a=LpSolit
parent 03a7c682
...@@ -796,7 +796,7 @@ your own C<DB_COLUMNS> subroutine in a subclass.) ...@@ -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 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 "name" of this object. The 'name' is a B<string> that uniquely identifies
this Object in the database. Defaults to 'name'. When you specify 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. matched against in the DB.
=item C<ID_FIELD> =item C<ID_FIELD>
...@@ -1084,8 +1084,9 @@ Notes: In order for this function to work in your subclass, ...@@ -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> your subclass's L</ID_FIELD> must be of C<SERIAL>
type in the database. type in the database.
Subclass Implementors: This function basically just Subclass Implementors:
calls L</check_required_create_fields>, then This function basically just calls
L</check_required_create_fields>, then
L</run_create_validators>, and then finally L</run_create_validators>, and then finally
L</insert_create_data>. So if you have a complex system that L</insert_create_data>. So if you have a complex system that
you need to implement, you can do it by calling these you need to implement, you can do it by calling these
...@@ -1278,9 +1279,9 @@ C<0> otherwise. ...@@ -1278,9 +1279,9 @@ C<0> otherwise.
Returns: A list of objects, or an empty list if there are none. 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 Notes: Note that you must call this as $class->get_all. For
example, C<Bugzilla::Keyword->get_all>. example, Bugzilla::Keyword->get_all.
C<Bugzilla::Keyword::get_all> will not work. Bugzilla::Keyword::get_all will not work.
=back =back
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment