NAME
Elive::Entity::Participants - A list of participants
DESCRIPTION
This class implements the participants
property of Elive::Entity::Session
and Elive::Entity::ParticipantList
METHODS
add
$participants->add('alice=2', 'bob');
Add additional participants
tidied
my $untidy = 'trev;bob=3;bob=2'
my $participants = Elive::Entity::Participants->new($untidy);
# outputs: alice=2;bob=3;trev=3
print $participants->tidy;
Produces a tidied list of participants. These are sorted with duplicates removed (highest role is retained).
The facilitatorId
option can be used to ensure that the meeting facilitator is included and has a moderator role.