ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
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
4include_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 getAttribute($a_func_id)
Get accesskey HTML attribute.
static getKey($a_func_id, $lang_key="0", $a_ignore_default=false)
Get single access key.