|
ILIAS
release_10 Revision v10.1-43-ga1241a92c2f
|
Collaboration diagram for ILIAS\MediaObjects\MediaObjectManager:Public Member Functions | |
| __construct (protected InternalDataService $data, InternalRepoService $repo, protected InternalDomainService $domain, protected \ilMobStakeholder $stakeholder) | |
| create (int $id, string $title, int $from_mob_id=0) | |
| addLocalDirectory (int $mob_id, string $dir) | |
| addFileFromLegacyUpload (int $mob_id, string $tmp_name, string $target_path="") | |
| addFileFromUpload (int $mob_id, UploadResult $result, string $path="/") | |
| addFileFromLocal (int $mob_id, string $tmp_name, string $path) | |
| removeLocation (int $mob_id, string $location) | |
| getLocationStream (int $mob_id, string $location) | |
| addStream (int $mob_id, string $location, FileStream $stream) | |
| getLocalSrc (int $mob_id, string $location) | |
| hasLocalFile (int $mob_id, string $location) | |
| getContainerResource (int $mob_id) | |
| getContainerResourceId (int $mob_id) | |
| getFilesOfPath (int $mob_id, string $dir_path) | |
| getInfoOfEntry (int $mob_id, string $path) | |
| deliverEntry (int $mob_id, string $path) | |
| generatePreview (int $mob_id, string $location, bool $local, string $format, int $sec=1, string $target_location="mob_vpreview.png") | |
| addPreviewFromUrl (int $mob_id, string $url, string $target_location) | |
| getSrtFiles (int $mob_id, bool $vtt_only=false) | |
| generateMissingVTT (int $mob_id) | |
| srtToVtt (string $srt_text) | |
Protected Attributes | |
| ImageOutputOptions | $output_options |
| Images | $image_converters |
| MediaObjectRepository | $repo |
Definition at line 33 of file MediaObjectManager.php.
| ILIAS\MediaObjects\MediaObjectManager::__construct | ( | protected InternalDataService | $data, |
| InternalRepoService | $repo, | ||
| protected InternalDomainService | $domain, | ||
| protected \ilMobStakeholder | $stakeholder | ||
| ) |
Definition at line 39 of file MediaObjectManager.php.
| ILIAS\MediaObjects\MediaObjectManager::addFileFromLegacyUpload | ( | int | $mob_id, |
| string | $tmp_name, | ||
| string | $target_path = "" |
||
| ) |
Definition at line 68 of file MediaObjectManager.php.
| ILIAS\MediaObjects\MediaObjectManager::addFileFromLocal | ( | int | $mob_id, |
| string | $tmp_name, | ||
| string | $path | ||
| ) |
Definition at line 82 of file MediaObjectManager.php.
| ILIAS\MediaObjects\MediaObjectManager::addFileFromUpload | ( | int | $mob_id, |
| UploadResult | $result, | ||
| string | $path = "/" |
||
| ) |
| ILIAS\MediaObjects\MediaObjectManager::addLocalDirectory | ( | int | $mob_id, |
| string | $dir | ||
| ) |
Definition at line 63 of file MediaObjectManager.php.
| ILIAS\MediaObjects\MediaObjectManager::addPreviewFromUrl | ( | int | $mob_id, |
| string | $url, | ||
| string | $target_location | ||
| ) |
| ILIAS\MediaObjects\MediaObjectManager::addStream | ( | int | $mob_id, |
| string | $location, | ||
| FileStream | $stream | ||
| ) |
Definition at line 101 of file MediaObjectManager.php.
| ILIAS\MediaObjects\MediaObjectManager::create | ( | int | $id, |
| string | $title, | ||
| int | $from_mob_id = 0 |
||
| ) |
Definition at line 50 of file MediaObjectManager.php.
| ILIAS\MediaObjects\MediaObjectManager::deliverEntry | ( | int | $mob_id, |
| string | $path | ||
| ) |
Definition at line 160 of file MediaObjectManager.php.
| ILIAS\MediaObjects\MediaObjectManager::generateMissingVTT | ( | int | $mob_id | ) |
Definition at line 267 of file MediaObjectManager.php.
References ILIAS\MediaObjects\MediaObjectManager\getSrtFiles(), and ILIAS\MediaObjects\MediaObjectManager\srtToVtt().
Here is the call graph for this function:| ILIAS\MediaObjects\MediaObjectManager::generatePreview | ( | int | $mob_id, |
| string | $location, | ||
| bool | $local, | ||
| string | $format, | ||
| int | $sec = 1, |
||
| string | $target_location = "mob_vpreview.png" |
||
| ) |
Definition at line 169 of file MediaObjectManager.php.
References ilObjMediaObject\DEFAULT_PREVIEW_SIZE, ilFFmpeg\extractPNGFromVideoInZip(), and ILIAS\Filesystem\Util\Convert\ImageOutputOptions\FORMAT_PNG.
Here is the call graph for this function:| ILIAS\MediaObjects\MediaObjectManager::getContainerResource | ( | int | $mob_id | ) |
Definition at line 130 of file MediaObjectManager.php.
| ILIAS\MediaObjects\MediaObjectManager::getContainerResourceId | ( | int | $mob_id | ) |
Definition at line 136 of file MediaObjectManager.php.
| ILIAS\MediaObjects\MediaObjectManager::getFilesOfPath | ( | int | $mob_id, |
| string | $dir_path | ||
| ) |
Definition at line 142 of file MediaObjectManager.php.
Referenced by ILIAS\MediaObjects\MediaObjectManager\getSrtFiles().
Here is the caller graph for this function:| ILIAS\MediaObjects\MediaObjectManager::getInfoOfEntry | ( | int | $mob_id, |
| string | $path | ||
| ) |
Definition at line 149 of file MediaObjectManager.php.
| ILIAS\MediaObjects\MediaObjectManager::getLocalSrc | ( | int | $mob_id, |
| string | $location | ||
| ) |
Definition at line 109 of file MediaObjectManager.php.
References Vendor\Package\$e, $location, ilObjMediaObject\_getURL(), and ilWACSignedPath\signFile().
Referenced by ILIAS\MediaObjects\MediaObjectManager\getSrtFiles().
Here is the call graph for this function:
Here is the caller graph for this function:| ILIAS\MediaObjects\MediaObjectManager::getLocationStream | ( | int | $mob_id, |
| string | $location | ||
| ) |
Definition at line 94 of file MediaObjectManager.php.
| ILIAS\MediaObjects\MediaObjectManager::getSrtFiles | ( | int | $mob_id, |
| bool | $vtt_only = false |
||
| ) |
Definition at line 247 of file MediaObjectManager.php.
References ILIAS\MediaObjects\MediaObjectManager\getFilesOfPath(), and ILIAS\MediaObjects\MediaObjectManager\getLocalSrc().
Referenced by ILIAS\MediaObjects\MediaObjectManager\generateMissingVTT().
Here is the call graph for this function:
Here is the caller graph for this function:| ILIAS\MediaObjects\MediaObjectManager::hasLocalFile | ( | int | $mob_id, |
| string | $location | ||
| ) |
Definition at line 125 of file MediaObjectManager.php.
| ILIAS\MediaObjects\MediaObjectManager::removeLocation | ( | int | $mob_id, |
| string | $location | ||
| ) |
Definition at line 87 of file MediaObjectManager.php.
| ILIAS\MediaObjects\MediaObjectManager::srtToVtt | ( | string | $srt_text | ) |
Definition at line 289 of file MediaObjectManager.php.
Referenced by ILIAS\MediaObjects\MediaObjectManager\generateMissingVTT().
Here is the caller graph for this function:
|
protected |
Definition at line 36 of file MediaObjectManager.php.
|
protected |
Definition at line 35 of file MediaObjectManager.php.
|
protected |
Definition at line 37 of file MediaObjectManager.php.