Chamilo is a learning management system focused on ease of use and accessibility
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
chamilo-lms/plugin/zoom/lib/CourseMeetingInfoGet.php

57 lines
1.3 KiB

<?php
/* For licensing terms, see /license.txt */
namespace Chamilo\PluginBundle\Zoom;
use Exception;
/**
* Class CourseMeetingInfoGet. A full Meeting as returned by the server and locally linked to a course.
*
* @package Chamilo\PluginBundle\Zoom
*/
class CourseMeetingInfoGet extends API\MeetingInfoGet
{
use CourseMeetingTrait;
use DisplayableMeetingTrait;
/**
* {@inheritdoc}
*
* @throws Exception
*/
public function initializeExtraProperties()
{
parent::initializeExtraProperties();
$this->decodeAndRemoveTag();
$this->initializeDisplayableProperties();
}
/**
* Updates the meeting on server, tagging it so to remember its course and session.
*
* @param API\Client $client
*
* @throws Exception
*/
public function update($client)
{
$this->tagAgenda();
parent::update($client);
$this->untagAgenda();
}
/**
* Retrieves meeting registrants.
*
* @param API\Client $client
*
* @throws Exception
*
* @return UserMeetingRegistrantListItem[]
*/
public function getUserRegistrants($client)
{
return UserMeetingRegistrantList::loadUserMeetingRegistrants($client, $this->id);
}
}