ILIAS  release_7 Revision v7.30-3-g800a261c036
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 return 'accesskey="' . $key . '"';
26 }
27
28 return "";
29 }
30}
An exception for terminatinating execution or to throw for unit testing.
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.