Added objectName(): returns current translated object name
This commit is contained in:
parent
def29edb0d
commit
6beb9b0080
@ -230,6 +230,19 @@ function className ()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
*Fonction objectName
|
||||||
|
* <P>Récépere le nom localisé de l'outil courant</P>
|
||||||
|
* @return string name
|
||||||
|
*/
|
||||||
|
function objectName($langcode="fr")
|
||||||
|
{
|
||||||
|
if (isset($GLOBALS["SYSTEM_CONTROL"]))
|
||||||
|
return $GLOBALS["SYSTEM_CONTROL"]->currentCoordinationObject->getName($langcode);
|
||||||
|
else
|
||||||
|
return NULL; /* Attention variable arbitraire */
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*Fonction methodName
|
*Fonction methodName
|
||||||
* <P>Récépere le nom de la methode courante</P>
|
* <P>Récépere le nom de la methode courante</P>
|
||||||
@ -472,7 +485,8 @@ function systemPrint($data)
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Function permettant de récupérer l'id du noeud racine de communauté
|
* Function permettant de récupérer l'id du noeud racine de communauté
|
||||||
* @access private
|
* @access pri()
|
||||||
|
{vate
|
||||||
* @return chaine entier noeud de configuration
|
* @return chaine entier noeud de configuration
|
||||||
*/
|
*/
|
||||||
function recupCommunityByDomain($domain)
|
function recupCommunityByDomain($domain)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user