Revision 4f949248
Von Sven Schöling vor etwa 11 Jahren hinzugefügt
SL/Controller/Helper/GetModels.pm | ||
---|---|---|
220 | 220 |
|
221 | 221 |
Information about the requested data query can be stored into the object up to |
222 | 222 |
a certain point, from which on the object becomes locked and can only be |
223 |
accessed for information. (Seee TODO STAGES).
|
|
223 |
accessed for information. (See C<STATES>).
|
|
224 | 224 |
|
225 | 225 |
=head1 INTERFACE METHODS |
226 | 226 |
|
227 | 227 |
=over 4 |
228 | 228 |
|
229 |
=item new PARMAS
|
|
229 |
=item new PARAMS
|
|
230 | 230 |
|
231 | 231 |
Create a new GetModels object. Params must have at least an entry |
232 | 232 |
C<controller>, other than that, see C<CONFIGURATION> for options. |
... | ... | |
293 | 293 |
|
294 | 294 |
=head1 DELEGATION METHODS |
295 | 295 |
|
296 |
All of these finalize. |
|
297 |
|
|
296 | 298 |
Methods delegating to C<Sorted>: |
297 | 299 |
|
298 | 300 |
=over 4 |
... | ... | |
336 | 338 |
|
337 | 339 |
=item Init |
338 | 340 |
|
339 |
In this state every information needed from the source ($::form) has beed read
|
|
341 |
In this state every information needed from the source ($::form) has been read
|
|
340 | 342 |
and subsequent changes to the source have no effect. In the current |
341 |
implementation this will called immediately during creation, so that the return
|
|
342 |
value of C<new> is already in state C<Init>.
|
|
343 |
implementation this will happen during creation, so that the return value of
|
|
344 |
C<new> is already in state C<Init>. |
|
343 | 345 |
|
344 | 346 |
=item Finalized |
345 | 347 |
|
346 | 348 |
In this state no new configuration will be accepted so that information gotten |
347 | 349 |
through the various methods is consistent. Every information retrieval method |
348 |
will trigger finalizing.
|
|
350 |
will trigger finalize.
|
|
349 | 351 |
|
350 | 352 |
=back |
351 | 353 |
|
... | ... | |
376 | 378 |
to enabled and configured by default. Giving a falsish value as first argument |
377 | 379 |
will disable the plugin. |
378 | 380 |
|
379 |
If the value is a hashref, it will be passed to the plugin C<init> method. |
|
381 |
If the value is a hashref, it will be passed to the plugin's C<init> method.
|
|
380 | 382 |
|
381 | 383 |
=item query |
382 | 384 |
|
Auch abrufbar als: Unified diff
Doku