...
Code Block | ||
---|---|---|
| ||
/** * Get the details on loggued contact. Null if not logged. Otherwise: * { * lang: // the contact prefered language * firstName: // the contact first name * lastName: // the contact last name * title: // the contact title * structureName: // if contact belongs to a structure, structure name * } * * @returns {Object} */ getContact: function() {} |
Accès aux urls utilisable
L'API suivante donne accès aux urls utilisables dans les liens.
Code Block | ||
---|---|---|
| ||
<script type="text/javascript">
var SecuTixAPI = window.parent.SecuTixAPI;
</script> | ||
| ||
/**
* Return available urls:
* {
* account: // url to account page
* cart: // url to cart page
* continueShopping: // url to continue shopping
* logout: // url to logout the user
* langs: // map of urls for the langs. Keys are the language codes
* }
* @returns {Object}
*/
getUrls: function () {} |
L'API suivante donne accès aux urls utilisable dans les liens.