Returns an un-used access key from the label given.
public static getAccessKey ( string $label, boolean $nocheck = false, boolean $shutdown = false ) : string | ||
$label | string | The label to choose an access key from. |
$nocheck | boolean | Don't check if the access key already has been used? |
$shutdown | boolean | Is this called as a shutdown function? |
return | string | A single lower case character access key, or an empty string if no key can be found. |