ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
class.ilAccessKeyGUI.php
Go to the documentation of this file.
1 <?php
2 /* Copyright (c) 1998-2009 ILIAS open source, Extended GPL, see docs/LICENSE */
3 
4 include_once("./Services/Accessibility/classes/class.ilAccessKey.php");
5 
13 {
20  public static function getAttribute($a_func_id)
21  {
22  $key = ilAccessKey::getKey($a_func_id);
23 
24  if ($key != "") {
25  return 'accesskey="' . $key . '"';
26  }
27 
28  return "";
29  }
30 }
Access key user interface handling.
static getKey($a_func_id, $lang_key="0", $a_ignore_default=false)
Get single access key.
static getAttribute($a_func_id)
Get accesskey HTML attribute.
$key
Definition: croninfo.php:18