ILIAS  trunk Revision v12.0_alpha-1221-g4e438232683
ILIAS\MediaPool\PermanentLink\PermanentLinkManager Class Reference
+ Collaboration diagram for ILIAS\MediaPool\PermanentLink\PermanentLinkManager:

Public Member Functions

 __construct (protected StaticUrl $static_url, protected InternalGUIService $gui, protected $ref_id=0)
 
 getPermanentLink ()
 
 setPermanentLink ()
 

Detailed Description

Definition at line 28 of file PermanentLinkManager.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\MediaPool\PermanentLink\PermanentLinkManager::__construct ( protected StaticUrl  $static_url,
protected InternalGUIService  $gui,
protected  $ref_id = 0 
)

Definition at line 30 of file PermanentLinkManager.php.

34 {
35 $this->ref_id = $this->gui->standardRequest()->getRefId();
36 }

Member Function Documentation

◆ getPermanentLink()

ILIAS\MediaPool\PermanentLink\PermanentLinkManager::getPermanentLink ( )

Definition at line 38 of file PermanentLinkManager.php.

39 : string {
41 $uri = $this->static_url->builder()->build(
42 'mep', // namespace
43 $id > 0 ? new ReferenceId($id) : null
44 );
45 return (string) $uri;
46 }
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Definition: plugin.php:23
$ref_id
Definition: ltiauth.php:66

◆ setPermanentLink()

ILIAS\MediaPool\PermanentLink\PermanentLinkManager::setPermanentLink ( )

Definition at line 48 of file PermanentLinkManager.php.


The documentation for this class was generated from the following file: