6 include_once
"Services/Object/classes/class.ilObjectListGUI.php";
7 include_once(
'./Modules/WebResource/classes/class.ilObjLinkResourceAccess.php');
40 return $this->link_data[
'title'];
42 return parent::getTitle();
55 $desc = $this->link_data[
'description'];
58 if($ilSetting->get(
"rep_shorten_description"))
61 $ilSetting->get(
"rep_shorten_description_length"),
true);
66 return parent::getDescription();
74 $this->delete_enabled =
true;
75 $this->cut_enabled =
true;
76 $this->copy_enabled =
true;
77 $this->subscribe_enabled =
true;
78 $this->link_enabled =
true;
79 $this->payment_enabled =
false;
81 $this->gui_class_name =
"ilobjlinkresourcegui";
82 $this->info_screen_enabled =
true;
149 $a_cmd =
"calldirectlink";
151 $this->ctrl->setParameterByClass($this->gui_class_name,
"ref_id",
"");
152 $this->ctrl->setParameterByClass($this->gui_class_name,
"wsp_id", $this->ref_id);
153 return $this->ctrl->getLinkTargetByClass(array(
"ilpersonalworkspacegui", $this->gui_class_name), $a_cmd);
165 $cmd_link =
"ilias.php?baseClass=ilLinkResourceHandlerGUI&ref_id=".$this->ref_id.
"&cmd=calldirectlink";
169 $cmd_link =
"ilias.php?baseClass=ilLinkResourceHandlerGUI&ref_id=".$this->ref_id.
"&cmd=$a_cmd";
174 $cmd_link =
"ilias.php?baseClass=ilLinkResourceHandlerGUI&ref_id=".$this->ref_id.
"&cmd=$a_cmd";
187 include_once
'./Modules/WebResource/classes/class.ilLinkResourceItems.php';
188 include_once
'./Modules/WebResource/classes/class.ilParameterAppender.php';
__readLink()
Get data of first active link resource.
ilObjectListGUI()
constructor
_getCommands()
get commands
static shortenText($a_str, $a_len, $a_dots=false, $a_next_blank=false, $a_keep_extension=false)
shorten a string to given length.
getCommandFrame($a_cmd)
Get command target frame.
static _checkDirectLink($a_obj_id)
Check whether there is only one active link in the web resource.
static _append($a_link_data)
static _getFirstLink($a_webr_id)
Get first link item Check before with _isSingular() if there is more or less than one...
getDescription()
overwritten from base class
ilObjLinkResourceListGUI()
constructor
Class ilObjLinkResourceListGUI.
if($_REQUEST['ilias_path']) define('ILIAS_HTTP_PATH' $_REQUEST['ilias_path']
getCommandLink($a_cmd)
Get command link url.
getProperties()
Get item properties.
static _isEnabled()
Check if dynamic parameters are enabled.
getTitle()
overwritten from base class