/** * Get first link item * Check before with _isSingular() if there is more or less than one * * @param int $a_webr_id object id of web resource * @return array link item data * */ public static function _getFirstLink($a_webr_id) { global $ilDB; include_once "./Modules/WebResource/classes/class.ilObjLinkResourceAccess.php"; return ilObjLinkResourceAccess::_getFirstLink($a_webr_id); }