ILIAS  trunk Revision v13.0_alpha-62-g3b72d83f2e5
ILIAS\PersonalWorkspace\PermanentLink\PermanentLinkManager Class Reference
+ Collaboration diagram for ILIAS\PersonalWorkspace\PermanentLink\PermanentLinkManager:

Public Member Functions

 __construct (protected StaticUrl $static_url, protected int $wsp_id)
 
 getPermanentLink ()
 
 setPermanentLink ()
 

Detailed Description

Definition at line 27 of file PermanentLinkManager.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\PersonalWorkspace\PermanentLink\PermanentLinkManager::__construct ( protected StaticUrl  $static_url,
protected int  $wsp_id 
)

Definition at line 29 of file PermanentLinkManager.php.

32 {
33 }

Member Function Documentation

◆ getPermanentLink()

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

Definition at line 35 of file PermanentLinkManager.php.

35 : string
36 {
37 return (string) $this->static_url->builder()->build(
38 'wsp',
39 $this->wsp_id > 0 ? new ReferenceId($this->wsp_id) : null
40 );
41 }

Referenced by ILIAS\PersonalWorkspace\PermanentLink\PermanentLinkManager\setPermanentLink().

+ Here is the caller graph for this function:

◆ setPermanentLink()

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

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