+--------------------------------------------------------------------+
| CiviCRM version 4.6 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2014 |
+ | Copyright CiviCRM LLC (c) 2004-2015 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
/**
*
* @package CRM
- * @copyright CiviCRM LLC (c) 2004-2014
+ * @copyright CiviCRM LLC (c) 2004-2015
* $Id$
*
*/
class CRM_Contribute_BAO_Premium extends CRM_Contribute_DAO_Premium {
/**
- * Product information
+ * Product information.
* @var array
*/
private static $productInfo;
/**
- * 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.
}
/**
- * Update the is_active flag in the db
+ * Update the is_active flag in the db.
*
* @param int $id
* Id of the database record.
}
/**
- * Delete financial Types
+ * Delete financial Types.
*
* @param int $premiumID
*
}
/**
- * Build Premium Block im Contribution Pages
+ * Build Premium Block im Contribution Pages.
*
* @param CRM_Core_Form $form
* @param int $pageID
}
/**
- * Build Premium B im Contribution Pages
+ * Build Premium B im Contribution Pages.
*
* @param CRM_Core_Form $form
* @param int $productID
}
/**
- * Retrieve premium product and their options
+ * Retrieve premium product and their options.
*
* @return array
* product and option arrays