Le CMS Ametys met à disposition des intégrateurs de nombreuses méthodes accessibles à partir des fichiers XSLT, facilitant l'intégration des informations liées aux users.
Pour plus d'informations, cliquez ici.
Add this code to the header of XSL files:
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" ... xmlns:ametys="org.ametys.plugins.userdirectory.transformation.xslt.UserXSLTHelper" ... extension-element-prefixes="... ametys ...">
So that you can call any of the functions defined below, using "ametys:functionName(argument1, argument2)"
For example:
TODO
Description :
TODO
Le résultat peut être vide si TODO.
Signature :
String getUserContent(String lang, String userIdentity)
Arguments:
Name |
Type |
Description |
---|---|---|
lang |
String |
TODO |
userIdentity |
String |
TODO |
Example:
TODO
Description :
TODO
Le résultat peut être vide si TODO.
Signature :
String getCurrentUserContent(String lang)
Arguments:
Name |
Type |
Description |
---|---|---|
lang |
String |
TODO |
Example:
TODO
Description :
TODO
Le résultat peut être vide si TODO.
Signature :
String getCurrentUserPage(String lang)
Arguments:
Name |
Type |
Description |
---|---|---|
lang |
String |
TODO |
Example:
TODO
Description :
TODO
Le résultat peut être vide si TODO.
Signature :
String getUserPage(String contentId)
Arguments:
Name |
Type |
Description |
---|---|---|
contentId |
String |
TODO |
Example:
TODO
Description :
TODO
Le résultat peut être vide si TODO.
Signature :
String getUserPage(String contentId, String siteName)
Arguments:
Name |
Type |
Description |
---|---|---|
contentId |
String |
TODO |
siteName |
String |
TODO |
Example:
TODO