Table des matières
Datatype : Country -- Pays
Date de publication: le mardi 5 juin 2007 à 22h43
Dernière modification: par Pascal BOYER le mardi 15 février 2011 à 22h35
Summary / Résumé
Stores a user country. [Webshop]
Stocke le nom d'un pays (datatype spécifique au système d'e-commerce).
Properties / Propriétés
|
Name Nom |
Internal name Nom interne |
Searchable Interrogeable |
Information collector Collecteur d'information |
|---|---|---|---|
|
Country Pays | ezcountry | Yes / Oui | No / Non |
Description
This datatype allows the storage of a user country and thus makes it possible to charge the value added taxes depending on the country the customer is from. This functionality is described in the "VAT charging system" section of the "Features" chapter. The following screenshot shows the class attribute edit interface for this datatype.
Ce datatype permet de stocker le nom d'un pays et donc d'appliquer une TVA en fonction du pays de provenance du client. Cette fonctionnalité est détaillée dans la documentation
Système d'application de TVA
du chapitre
Fonctionnalités
. L'image ci-dessous illustre l'interface d'édition des attributs de classe dans le cas de ce datatype.
Class attribute edit interface for the "Country" datatype.
Interface d'édition des attributs de classe dans le cas du datatype «Pays»
Object attribute edit interface / Interface d'édition des attributs d'objet
The following screenshot shows the object attribute edit interface for this datatype.
L'image ci-dessous illustre l'interface d'édition des attributs d'objet dans le cas de ce datatype.
Object attribute edit interface for the "Country" datatype.
Interface d'édition des attributs d'objet dans le cas du datatype «Pays»
Raw output / Sortie brute
The ".content" of an ezcontentobjectattribute object using this datatype returns a hash that consists of the following elements:
La partie .content d'un objet
ezcontentobjectattribute
utilisant un attribut basé sur ce datatype renvoie un tableau (hash) dont la structure est données par le tableau ci-dessous:
|
Key Clef | Type | Description |
|---|---|---|
|
value valeur |
string chaîne de caractères |
The actual name of the country (for example "Norway"). Le vrai nom du pays (par exemple «Norvège»). |














