<?php
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.4 |
+ | CiviCRM version 4.5 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013 |
+ | Copyright CiviCRM LLC (c) 2004-2014 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
require_once '../civicrm.config.php';
require_once 'CRM/Core/Config.php';
+
+/**
+ * Class CRM_ParticipantProcessor
+ */
class CRM_ParticipantProcessor {
+ /**
+ *
+ */
function __construct() {
$config = CRM_Core_Config::singleton();
foreach ($participantDetails as $participantId => $values) {
//process the additional participant at the time of
//primary participant, don't process separately.
- if (CRM_Utils_Array::value('registered_by_id', $values)) {
+ if (!empty($values['registered_by_id'])) {
continue;
}
foreach ($participantDetails as $participantId => $values) {
//process the additional participant at the time of
//primary participant, don't process separately.
- if (CRM_Utils_Array::value('registered_by_id', $values)) {
+ if (!empty($values['registered_by_id'])) {
continue;
}