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/File.php

28 lines
571 B

<?php
/* For licensing terms, see /license.txt */
namespace Chamilo\PluginBundle\Zoom;
use Exception;
/**
* Class File. A RecordingFile with extra help properties for the web view.
*
* @package Chamilo\PluginBundle\Zoom
*/
class File extends API\RecordingFile
{
/** @var string */
public $formattedFileSize;
/**
* {@inheritdoc}
*
* @throws Exception
*/
public function initializeExtraProperties()
{
parent::initializeExtraProperties();
$this->formattedFileSize = format_file_size($this->file_size);
}
}