Public Member Functions | |
| _getLink ($a_ref_id, $a_type= '', $a_params=array()) | |
Definition at line 37 of file class.ilLink.php.
| ilLink::_getLink | ( | $ | a_ref_id, | |
| $ | a_type = '', |
|||
| $ | a_params = array() | |||
| ) |
Definition at line 39 of file class.ilLink.php.
Referenced by ilCourseContentGUI::__renderItem(), ilLPListOfSettingsGUI::__showCollectionTable(), ilCourseContentGUI::editTimings(), ilLPObjectItemListGUI::renderPath(), and ilCourseContentGUI::showStartObjects().
{
global $ilObjDataCache;
if(!strlen($a_type))
{
$a_type = $ilObjDataCache->lookupType($ilObjDataCache->lookupObjId($a_ref_id));
}
if(count($a_params))
{
$param_string = '&';
foreach($a_params as $name => $value)
{
$param_string = '&'.$name.'='.$value;
}
}
else
{
$param_string = '';
}
switch($a_type)
{
default:
return './'.IL_INTERNAL_LINK_SCRIPT.'?target='.$a_type.'_'.$a_ref_id.$param_string;
}
}
Here is the caller graph for this function:
1.7.1