Revision 013804fd
Von Moritz Bunkus vor mehr als 10 Jahren hinzugefügt
SL/DB/RequirementSpecItem.pm | ||
---|---|---|
126 | 126 |
} |
127 | 127 |
|
128 | 128 |
1; |
129 |
__END__ |
|
130 |
|
|
131 |
=pod |
|
132 |
|
|
133 |
=encoding utf8 |
|
134 |
|
|
135 |
=head1 NAME |
|
136 |
|
|
137 |
SL::DB::RequirementSpecItem - Items for requirement specs |
|
138 |
|
|
139 |
=head1 OVERVIEW |
|
140 |
|
|
141 |
Please see L<SL::DB::RequirementSpec> for the architectual overview. |
|
142 |
|
|
143 |
=head1 FUNCTIONS |
|
144 |
|
|
145 |
=over 4 |
|
146 |
|
|
147 |
=item C<child_type> |
|
148 |
|
|
149 |
Returns the C<item_type> for children of C<$self>. |
|
150 |
|
|
151 |
=item C<children_sorted> |
|
152 |
|
|
153 |
Returns an array (or an array reference depending on context) of |
|
154 |
direct children (not of grandchildren) for C<$self> ordered by their |
|
155 |
positional column in ascending order. |
|
156 |
|
|
157 |
=item C<section> |
|
158 |
|
|
159 |
Returns the section this item belongs to. It can be C<$self> if |
|
160 |
C<$self> is already a section, its parent or grandparent. |
|
161 |
|
|
162 |
=item C<validate> |
|
163 |
|
|
164 |
Validates before saving and returns an array of human-readable error |
|
165 |
messages in case of an error. |
|
166 |
|
|
167 |
=back |
|
168 |
|
|
169 |
=head1 BUGS |
|
170 |
|
|
171 |
Nothing here yet. |
|
172 |
|
|
173 |
=head1 AUTHOR |
|
174 |
|
|
175 |
Moritz Bunkus E<lt>m.bunkus@linet-services.deE<gt> |
|
176 |
|
|
177 |
=cut |
Auch abrufbar als: Unified diff
Pflichtenhefte: Dokumentation; Refactoring; Bugfix Diff-Berechnung