ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
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  {
26  return 'accesskey="' . $key . '"';
27  }
28 
29  return "";
30  }
31 }
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.