X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FContribute%2FBAO%2FManagePremiums.php;h=b0ada9e03a7971eeb25a02cc686ccec50081ef8c;hb=1817e748ccf09fb18d5e66b8825f6ef32dd4a3aa;hp=a46c380ae8382abe2cb3d3e0a7d4bf297f807423;hpb=22426deb4d98f719d40d60f35b3fdbae707e5b17;p=civicrm-core.git diff --git a/CRM/Contribute/BAO/ManagePremiums.php b/CRM/Contribute/BAO/ManagePremiums.php index a46c380ae8..b0ada9e03a 100644 --- a/CRM/Contribute/BAO/ManagePremiums.php +++ b/CRM/Contribute/BAO/ManagePremiums.php @@ -23,7 +23,7 @@ | GNU Affero General Public License or the licensing of CiviCRM, | | see the CiviCRM license FAQ at http://civicrm.org/licensing | +--------------------------------------------------------------------+ -*/ + */ /** * @@ -35,19 +35,19 @@ class CRM_Contribute_BAO_ManagePremiums extends CRM_Contribute_DAO_Product { /** - * Static holder for the default LT + * Static holder for the default LT. */ static $_defaultContributionType = NULL; /** - * Class constructor + * Class constructor. */ public function __construct() { parent::__construct(); } /** - * Fetch object based on array of properties + * Fetch object based on array of properties. * * @param array $params * (reference ) an assoc array of name/value pairs. @@ -68,7 +68,7 @@ class CRM_Contribute_BAO_ManagePremiums extends CRM_Contribute_DAO_Product { } /** - * Update the is_active flag in the db + * Update the is_active flag in the db. * * @param int $id * Id of the database record. @@ -88,7 +88,7 @@ class CRM_Contribute_BAO_ManagePremiums extends CRM_Contribute_DAO_Product { } /** - * add the financial types + * add the financial types. * * @param array $params * Reference array contains the values submitted by the form. @@ -129,7 +129,7 @@ class CRM_Contribute_BAO_ManagePremiums extends CRM_Contribute_DAO_Product { } /** - * Delete premium Types + * Delete premium Types. * * @param int $productID */ @@ -149,4 +149,5 @@ class CRM_Contribute_BAO_ManagePremiums extends CRM_Contribute_DAO_Product { $premium->id = $productID; $premium->delete(); } + }