David Warring > Elive-StandardV3 > Elive::StandardV3::SessionAttendance

Download:
Elive-StandardV3-0.01_4.tar.gz

Dependencies

Annotate this POD

Source  

NAME ^

Elive::StandardV3::SessionAttendance - Elluminate Session Attendance Report

DESCRIPTION ^

This is the main entity class for session attendance reports.

PROPERTIES ^

roomName (Str)

The name of the room. This is derived from the name of the session as it was defined at the time the scheduled session was launched.

roomOpened (HiResDate)

The date and time that the room opened (also known as the date and time session was launched) in milliseconds.

roomClosed (HiResDate)

The date and time that the room shut down.

attendees (Arr)

This is a collection of Elive::StandardV3::SessionAttendance::Attendee objects. This collection represents all the attendees who were present in this session between the roomOpen and roomClosed time.

Since guests can attend sessions, not all the attendees may be users in your system.

METHODS ^

list

    my $session_id = '123456789012';
    my $yesterday = DateTime->today->subtract(days => 1);

    my $attendance = Elive::StandardV3::SessionAttendance->list(
                                    sessionId => $session_id,
                                    startTime => $yesterday->epoch.'000');

Gets a session attendance report. It returns a reference to an array of Elive::StandardV3::SessionAttendance objects.

The attendance information is returned for the specified session for the 24 hour period starting from the date/time passed in. If the session ran more than once during that 24 hour period, you will get the attendance data for all instances of the session that ran during that date.

syntax highlighting: