- static function getOptionGroup($entityId, $entityTable) {
- $optionGroupIDs = array();
- $dao = new CRM_Core_DAO_Discount( );
- $dao->entity_id = $entityId;
+ public static function getOptionGroup($entityId, $entityTable) {
+ $optionGroupIDs = array();
+ $dao = new CRM_Core_DAO_Discount();
+ $dao->entity_id = $entityId;