Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 1a8f793c

Von Kivitendo Admin vor fast 10 Jahren hinzugefügt

  • ID 1a8f793c1ca451df4d1ea6afd070038b242d80dc
  • Vorgänger 219ac567
  • Nachfolger d1c60741

Typos in Doku

Unterschiede anzeigen:

SL/Controller/Helper/GetModels.pm
211 211

  
212 212
=head1 NAME
213 213

  
214
SL::Controller::Helper::GetModels - Base class for a the GetModels system.
214
SL::Controller::Helper::GetModels - Base class for the GetModels system.
215 215

  
216 216
=head1 SYNOPSIS
217 217

  
......
228 228
=head1 OVERVIEW
229 229

  
230 230
Building a CRUD controller would be easy, were it not for those stupid
231
list actions. People unreasonable expect stuff like filtering, sorting,
231
list actions. People unreasonably expect stuff like filtering, sorting,
232 232
paginating, exporting etc simply to work. Well, lets try to make it simply work
233 233
a little.
234 234

  
......
237 237
the means to retrieve the information when needed to display sort headers or
238 238
paginating footers.
239 239

  
240
Information about the requested data query can be stored into the object up to
240
Information about the requested data query can be stored in the object up to
241 241
a certain point, from which on the object becomes locked and can only be
242 242
accessed for information. (See C<STATES>).
243 243

  
......
302 302

  
303 303
Note that most higher functions will call this themselves to force a finalized
304 304
state. If you do use it it must come before any other finalizing methods, and
305
will most likely function as a reminder or maintainers where your codes
305
will most likely function as a reminder for maintainers where your code
306 306
switches from configuration to finalized state.
307 307

  
308 308
=item source HASHREF
......
364 364

  
365 365
=item Init
366 366

  
367
In this state every information needed from the source ($::form) has been read
367
In this state all the information needed from the source ($::form) has been read
368 368
and subsequent changes to the source have no effect. In the current
369 369
implementation this will happen during creation, so that the return value of
370 370
C<new> is already in state C<Init>.
......
401 401
=item filtered PARAMS
402 402

  
403 403
Configuration for plugins. If the option for any plugin is omitted, it defaults
404
to enabled and configured by default. Giving a falsish value as first argument
404
to enabled and is configured by default. Giving a falsish value as first argument
405 405
will disable the plugin.
406 406

  
407 407
If the value is a hashref, it will be passed to the plugin's C<init> method.

Auch abrufbar als: Unified diff