Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision b2f71310

Von Kivitendo Admin vor etwa 10 Jahren hinzugefügt

  • ID b2f713102369a59726b6fb128dbb0be2fc7dc8e6
  • Vorgänger 021e46ad
  • Nachfolger b8ee6b6e

Typos in LinkedRecords Dokumentation

Unterschiede anzeigen:

SL/DB/Helper/LinkedRecords.pm
370 370
names will be returned.
371 371

  
372 372
If no parameter C<direction> is given, but any of C<to>, C<from> or C<both>,
373
then C<direction> is infered accordingly. If neither are given, C<direction> is
373
then C<direction> is inferred accordingly. If neither are given, C<direction> is
374 374
set to C<both>.
375 375

  
376 376
The optional parameter C<via> can be used to retrieve all documents that may
......
392 392
  );
393 393

  
394 394
Retrieving all invoices from a quotation no matter whether or not
395
orders or delivery orders where created:
395
orders or delivery orders were created:
396 396

  
397 397
  my $invoices = $quotation->linked_records(
398 398
    direction => 'to',
......
435 435

  
436 436
will find the path o1 -> o2 -> do -> o2 -> i without considering it a cycle.
437 437

  
438
The optional extra flag C<save_path> will give you extra inforamtion saved in
438
The optional extra flag C<save_path> will give you extra information saved in
439 439
the returned objects:
440 440

  
441 441
  my $records = $order->linked_records(
......
450 450

  
451 451
=item C<_record_link_path>
452 452

  
453
And array with the ids of the visited links. The shortest paths will be
454
prefered, so in the previous example this would contain the ids of o1-o2 and
453
An array with the ids of the visited links. The shortest paths will be
454
preferred, so in the previous example this would contain the ids of o1-o2 and
455 455
o2-i.
456 456

  
457 457
=item C<_record_link_depth>
......
543 543

  
544 544
Returns an array reference.
545 545

  
546
Can only be called both as a class function since it is noe exported.
546
Can only be called both as a class function since it is not exported.
547 547

  
548 548
=back
549 549

  

Auch abrufbar als: Unified diff