Merge pull request #5061 from civicrm/CRM-15895
[civicrm-core.git] / CRM / Core / BAO / Discount.php
index 9acd5f42559d30740598215aa64edfe16a6c9751..1644cee4e3539afe1f6836fad1f8778134a09c6e 100644 (file)
@@ -1,9 +1,9 @@
 <?php
 /*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.3                                                |
+ | CiviCRM version 4.5                                                |
  +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
+ | Copyright CiviCRM LLC (c) 2004-2014                                |
  +--------------------------------------------------------------------+
  | This file is a part of CiviCRM.                                    |
  |                                                                    |
@@ -28,7 +28,7 @@
 /**
  *
  * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
+ * @copyright CiviCRM LLC (c) 2004-2014
  * $Id$
  *
  */
@@ -44,12 +44,14 @@ class CRM_Core_BAO_Discount extends CRM_Core_DAO_Discount {
   /**
    * Function to delete the discount
    *
-   * @param int $id   discount id
+   * @param $entityId
+   * @param $entityTable
+   *
+   * @internal param int $id discount id
    *
    * @return boolean
    * @access public
    * @static
-   *
    */
   static function del($entityId,$entityTable) {
     // delete all discount records with the selected discounted id
@@ -106,9 +108,10 @@ class CRM_Core_BAO_Discount extends CRM_Core_DAO_Discount {
   /**
    * Determine in which discount set the registration date falls
    *
-   * @param  integer  $entityId      entity id to be searched
-   * @param  string   $entityTable   entity table to be searched
+   * @param $entityID
+   * @param  string $entityTable entity table to be searched
    *
+   * @internal param int $entityId entity id to be searched
    * @return integer  $dao->id       discount id of the set which matches
    *                                 the date criteria
    */