ILIAS
trunk Revision v11.0_alpha-2662-g519ff7d528f
◀ ilDoc Overview
RIDHelper.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\components\ResourceStorage\Collections\View
;
22
23
use
ILIAS\ResourceStorage\Identification\ResourceIdentification
;
24
use
ILIAS\ResourceStorage\Information\Information
;
25
use
ILIAS\ResourceStorage\Revision\Revision
;
26
30
trait
RIDHelper
31
{
32
private
function
getResourceInfo(ResourceIdentification $identification): Information
33
{
34
return
$this->getCurrentRevision($identification)->getInformation();
35
}
36
37
protected
function
getCurrentRevision(ResourceIdentification $identification): Revision
38
{
39
return
$this->irss->manage()->getCurrentRevision($identification);
40
}
41
}
ResourceIdentification
Revision
ILIAS\components\ResourceStorage\Collections\View
Definition:
ActionBuilder.php:21
Information
RIDHelper
components
ILIAS
ResourceStorage
classes
Collections
View
RIDHelper.php
Generated on Wed Sep 3 2025 23:03:42 for ILIAS by
1.8.13 (using
Doxyfile
)