| GNU Affero General Public License or the licensing of CiviCRM, |
| see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+
-*/
+ */
/**
*
* @param int $entityId
* @param string $entityTable
*
- * @return boolean
- * @static
+ * @return bool
*/
public static function del($entityId, $entityTable) {
// delete all discount records with the selected discounted id
*
* @return object
* CRM_Core_DAO_Discount object on success, otherwise null
- * @static
*/
public static function add(&$params) {
$discount = new CRM_Core_DAO_Discount();
* Determine whether the given table/id
* has discount associated with it
*
- * @param int $entityIdEntity id to be searched.
+ * @param int $entityId
* Entity id to be searched.
* @param string $entityTable
* Entity table to be searched.