X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FPrice%2FBAO%2FLineItem.php;h=f056ed78a7e38bbab2d907fd71e78cfb52b28c50;hb=bb2a13239be55c916c3eaf2aee9519fd9b1e2823;hp=d07b4a0e7a7b7fb0d83631ba6a525a45c03131b4;hpb=82e7a8b8a4054c4814900ddf5e8fc56d6819c134;p=civicrm-core.git diff --git a/CRM/Price/BAO/LineItem.php b/CRM/Price/BAO/LineItem.php index d07b4a0e7a..f056ed78a7 100644 --- a/CRM/Price/BAO/LineItem.php +++ b/CRM/Price/BAO/LineItem.php @@ -84,10 +84,9 @@ class CRM_Price_BAO_LineItem extends CRM_Price_DAO_LineItem { } /** - * Takes a bunch of params that are needed to match certain criteria and - * retrieves the relevant objects. Typically, the valid params are only - * price_field_id. This is the inverse function of create. It also - * stores all of the retrieved values in the default array. + * Retrieve DB object based on input parameters. + * + * It also stores all the retrieved values in the default array. * * @param array $params * (reference ) an assoc array of name/value pairs. @@ -123,7 +122,7 @@ AND li.entity_id = {$entityId} } /** - * Wrapper for line item retrieval when contribution ID is known + * Wrapper for line item retrieval when contribution ID is known. * @param int $contributionID * * @return array @@ -530,7 +529,7 @@ AND li.entity_id = {$entityId} } /** - * Calculate tax rate in percentage + * Calculate tax rate in percentage. * * @param array $lineItemId * An assoc array of lineItem.