52 static $usr_language_key;
53 static $default_language;
54 if (!$usr_language_key) {
55 $usr_language_key =
$DIC->language()->getUserLanguage() ?
$DIC->language()->getUserLanguage() :
$DIC->language()->getDefaultLanguage();
57 if (!$default_language) {
62 'identification' => $item->getProviderIdentification()->serialize()
66 $item = $item->
withTitle(($ar->getAction() > 0) ?
71 if (
null !== $ar && $item instanceof
Link && empty($item->
getTitle())) {
72 $item = $item->
withTitle($ar->getAction());
74 if ($item instanceof
hasTitle && isset($this->translations[
"{$item->getProviderIdentification()->serialize()}|$usr_language_key"])
75 && $this->translations[
"{$item->getProviderIdentification()->serialize()}|$usr_language_key"] !==
''
77 $item = $item->
withTitle((
string) $this->translations[
"{$item->getProviderIdentification()->serialize()}|$usr_language_key"]);
120 if (isset($this->items[$serialize][
'active'])) {
121 return $this->items[$serialize][
'active'] ===
"1";
135 if (isset($this->items[$parent_string][
'parent_identification'])) {
136 return $DIC->globalScreen()->identification()->fromSerializedIdentification($this->items[$parent_string][
'parent_identification']);
static where($where, $operator=null)
static getArray($key=null, $values=null)
An exception for terminatinating execution or to throw for unit testing.
static getDefaultLanguage()
static _lookupTitle($a_id)
lookup object title
static _lookupObjectId($a_ref_id)
lookup object id
Interface IdentificationInterface.
translateItemForUser(hasTitle $item)
getProviderIdentification()
getPosition()
Return the default position for installation, this will be overridden by the configuration later.