3 declare(strict_types=1);
    39         return parent::getTitle();
    47                                            ->getDescription() ?? 
'';
    50             if ($this->
settings->get(
"rep_shorten_description")) {
    54                         "rep_shorten_description_length"    62         return parent::getDescription();
    65     public function init(): void
    67         $this->delete_enabled = 
true;
    68         $this->cut_enabled = 
true;
    69         $this->copy_enabled = 
true;
    70         $this->subscribe_enabled = 
true;
    71         $this->link_enabled = 
true;
    73         $this->gui_class_name = 
"ilobjlinkresourcegui";
    74         $this->info_screen_enabled = 
true;
   104         if ($this->request_wrapper->has(
'cmdClass')) {
   105             $cmd_class = $this->request_wrapper->retrieve(
   107                 $this->
refinery->kindlyTo()->string()
   111             $this->request_wrapper->has(
'wsp_id') ||
   112             strcasecmp($cmd_class, ilPersonalWorkspaceGUI::class) === 0
   119                 $cmd = 
"calldirectlink";
   121             $this->
ctrl->setParameterByClass(
   122                 $this->gui_class_name,
   126             $this->
ctrl->setParameterByClass(
   127                 $this->gui_class_name,
   131             return $this->
ctrl->getLinkTargetByClass(
   132                 array(
"ilpersonalworkspacegui", $this->gui_class_name),
   143                         $cmd_link = 
"ilias.php?baseClass=ilLinkResourceHandlerGUI&ref_id=" . $this->ref_id . 
"&cmd=calldirectlink";
   145                         $cmd_link = 
"ilias.php?baseClass=ilLinkResourceHandlerGUI&ref_id=" . $this->ref_id . 
"&cmd=$cmd";
   150                     $cmd_link = 
"ilias.php?baseClass=ilLinkResourceHandlerGUI&ref_id=" . $this->ref_id . 
"&cmd=$cmd";
 This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
getCommandLink(string $cmd)
 
static _checkDirectLink($a_obj_id)
Check whether there is only one active link in the web resource. 
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
getCommandFrame(string $cmd)
 
static shortenTextExtended(string $a_str, int $a_len, bool $a_dots=false, bool $a_next_blank=false, bool $a_keep_extension=false)
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
static _getFirstLink(int $a_webr_id)
Get first link item Check before with _isSingular() if there is more or less than one...