6include_once 
"Services/Object/classes/class.ilObjectListGUI.php";
 
    7include_once(
'./Modules/WebResource/classes/class.ilObjLinkResourceAccess.php');
 
   30            return $this->link_data[
'title'];
 
   32        return parent::getTitle();
 
   47            $desc = $this->link_data[
'description'];
 
   50            if (
$ilSetting->get(
"rep_shorten_description")) {
 
   53                    $ilSetting->get(
"rep_shorten_description_length"),
 
   60        return parent::getDescription();
 
   68        $this->delete_enabled = 
true;
 
   69        $this->cut_enabled = 
true;
 
   70        $this->copy_enabled = 
true;
 
   71        $this->subscribe_enabled = 
true;
 
   72        $this->link_enabled = 
true;
 
   74        $this->gui_class_name = 
"ilobjlinkresourcegui";
 
   75        $this->info_screen_enabled = 
true;
 
   97            include_once 
"Services/Form/classes/class.ilFormPropertyGUI.php";
 
   98            include_once 
"Services/Form/classes/class.ilLinkInputGUI.php";
 
  135        if ($_REQUEST[
"wsp_id"] || $_REQUEST[
"cmdClass"] == 
"ilpersonalworkspacegui") {
 
  139                $a_cmd = 
"calldirectlink";
 
  141            $this->ctrl->setParameterByClass($this->gui_class_name, 
"ref_id", 
"");
 
  142            $this->ctrl->setParameterByClass($this->gui_class_name, 
"wsp_id", $this->ref_id);
 
  143            return $this->ctrl->getLinkTargetByClass(array(
"ilpersonalworkspacegui", $this->gui_class_name), $a_cmd);
 
  152                        $cmd_link = 
"ilias.php?baseClass=ilLinkResourceHandlerGUI&ref_id=" . $this->ref_id . 
"&cmd=calldirectlink";
 
  154                        $cmd_link = 
"ilias.php?baseClass=ilLinkResourceHandlerGUI&ref_id=" . $this->ref_id . 
"&cmd=$a_cmd";
 
  159                    $cmd_link = 
"ilias.php?baseClass=ilLinkResourceHandlerGUI&ref_id=" . $this->ref_id . 
"&cmd=$a_cmd";
 
  172        include_once 
'./Modules/WebResource/classes/class.ilLinkResourceItems.php';
 
  173        include_once 
'./Modules/WebResource/classes/class.ilParameterAppender.php';
 
An exception for terminatinating execution or to throw for unit testing.
static _getFirstLink($a_webr_id)
Get first link item Check before with _isSingular() if there is more or less than one.
static checkListStatus(int $a_webr_id)
Check if a weblink list was already created or transformed from a single weblink.
static _getFirstLink($a_webr_id)
Get first link item Check before with _isSingular() if there is more or less than one.
static _checkDirectLink($a_obj_id)
Check whether there is only one active link in the web resource.
static _getCommands()
get commands
Class ilObjLinkResourceListGUI.
getCommandFrame($a_cmd)
Get command target frame.
getDescription()
overwritten from base class
__readLink()
Get data of first active link resource.
getCommandLink($a_cmd)
Get command link url.
getProperties()
Get item properties.
getTitle()
overwritten from base class
static _append($a_link_data)
static _isEnabled()
Check if dynamic parameters are enabled.
static shortenText( $a_str, $a_len, $a_dots=false, $a_next_blank=false, $a_keep_extension=false)
shorten a string to given length.