Check if an item can be translated
It be translated if translation if globally on and item is an instance of CommonDropdown
or CommonTreeDropdown and if translation is enabled for this class
static public canBeTranslated ( CommonGLPI $item ) : true | ||
$item | CommonGLPI | the item to check |
Résultat | true | if item can be translated, false otherwise |