From: G. Richardson Date: Mon, 15 Dec 2014 06:51:14 +0000 (+0100) Subject: Typos in LinkedRecords Dokumentation X-Git-Tag: release-3.2.0beta~177 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=b2f713102369a59726b6fb128dbb0be2fc7dc8e6;p=kivitendo-erp.git Typos in LinkedRecords Dokumentation --- diff --git a/SL/DB/Helper/LinkedRecords.pm b/SL/DB/Helper/LinkedRecords.pm index 182f3bdcc..bb21ecf27 100644 --- a/SL/DB/Helper/LinkedRecords.pm +++ b/SL/DB/Helper/LinkedRecords.pm @@ -370,7 +370,7 @@ names in an array reference in which case all links matching any of the model names will be returned. If no parameter C is given, but any of C, C or C, -then C is infered accordingly. If neither are given, C is +then C is inferred accordingly. If neither are given, C is set to C. The optional parameter C can be used to retrieve all documents that may @@ -392,7 +392,7 @@ delivery orders inbetween) then the call could look like this: ); Retrieving all invoices from a quotation no matter whether or not -orders or delivery orders where created: +orders or delivery orders were created: my $invoices = $quotation->linked_records( direction => 'to', @@ -435,7 +435,7 @@ visited twice, so this will find the path o1 -> o2 -> do -> o2 -> i without considering it a cycle. -The optional extra flag C will give you extra inforamtion saved in +The optional extra flag C will give you extra information saved in the returned objects: my $records = $order->linked_records( @@ -450,8 +450,8 @@ Every record will have two fields set: =item C<_record_link_path> -And array with the ids of the visited links. The shortest paths will be -prefered, so in the previous example this would contain the ids of o1-o2 and +An array with the ids of the visited links. The shortest paths will be +preferred, so in the previous example this would contain the ids of o1-o2 and o2-i. =item C<_record_link_depth> @@ -543,7 +543,7 @@ Note: If the latter has a default setting it will always mask the creation time. Returns an array reference. -Can only be called both as a class function since it is noe exported. +Can only be called both as a class function since it is not exported. =back