Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 5eb16622

Von Kivitendo Admin vor fast 8 Jahren hinzugefügt

  • ID 5eb166228b04d27236862de0bfc1d8df6080ba0b
  • Vorgänger 1918cfae
  • Nachfolger 8172364e

Typos in Doku

Unterschiede anzeigen:

SL/Presenter/Part.pm
124 124
=head1 SYNOPSIS
125 125

  
126 126
  # Create an html link for editing/opening a part/service/assembly
127
  my $object = my $object = SL::DB::Manager::Part->get_first;
127
  my $object = SL::DB::Manager::Part->get_first;
128 128
  my $html   = SL::Presenter->get->part($object, display => 'inline');
129 129

  
130 130
see also L<SL::Presenter>
......
168 168

  
169 169
=item C<separate_abbreviation $classification_id>
170 170

  
171
Returns the shortcut of the classification if the classifiaction has the separate flag set.
171
Returns the shortcut of the classification if the classification has the separate flag set.
172 172

  
173 173
=back
174 174

  
......
176 176

  
177 177
=item C<select_classification $name,%params>
178 178

  
179
Returns a HTML Select Tag with all available Classifications
179
Returns an HTML select tag with all available classifications.
180 180

  
181 181
C<%params> can include:
182 182

  
......
184 184

  
185 185
=item * default
186 186

  
187
The Id of the selected item .
187
The id of the selected item.
188 188

  
189 189
=back
190 190

  
......
233 233

  
234 234
=item * C<commit_one>
235 235

  
236
If exactly one element matches the input, the internal id will set to this id,
237
the internal state will be set to C<PICKED> and the C<change> even on the
238
picker will be fired. Additionally, if C<params> contain C<fat_set_item>
239
a special event C<set_item:PartPicker> will be fired which is guaranteed to
236
If exactly one element matches the input, the internal id will be set to this
237
id, the internal state will be set to C<PICKED> and the C<change> event on the
238
picker will be fired. Additionally, if C<params> contains C<fat_set_item> a
239
special event C<set_item:PartPicker> will be fired which is guaranteed to
240 240
contain a complete JSON representation of the part.
241 241

  
242 242
After that the action C<commit_one> will be executed, which defaults to
......
248 248
undefined.
249 249

  
250 250
After that the action C<commit_one> will be executed, which defaults to
251
opening a popup dialog for graphical interaction. If C<params> contain
251
opening a popup dialog for graphical interaction. If C<params> contains
252 252
C<multiple> an alternative popup will be opened, allowing multiple items to be
253 253
selected. Note however that this requires an additional callback
254 254
C<set_multi_items> to work.

Auch abrufbar als: Unified diff