'Pending from approval' => ['Registered', 'Cancelled'],
];
- /**
- */
- public function __construct() {
- parent::__construct();
- }
-
/**
* Takes an associative array and creates a participant object.
*
*
* @return string
*/
- public function updateStatusMessage($participantId, $statusChangeTo, $fromStatusId) {
+ public static function updateStatusMessage($participantId, $statusChangeTo, $fromStatusId) {
$statusMsg = NULL;
$results = self::transitionParticipants([$participantId],
$statusChangeTo, $fromStatusId, TRUE