David Warring > Elive-1.30 > Elive::Entity::Participants

Download:
Elive-1.30.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Source   Latest Release: Elive-1.32

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->tidied;

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.

SEE ALSO ^

Elive::Entity::Session Elive::Entity::ParticipantList

syntax highlighting: