Date de publication: le mercredi 29 août 2007 à 11h50
Dernière modification: par Pascal BOYER le jeudi 24 février 2011 à 00h55
Summary / Résumé
Allows an integer selection. [Webshop]
Permet la sélection d'un nombre entier. (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 |
|---|---|---|---|
|
Range option Option d'étendue | ezrangeoption | No / Non | No / Non |
Description
This datatype makes it possible to create a single group of enumerated options for each content object. For example, it can be used in a scenario where the goal is to sell shoes of different sizes and the size does not affect the price. For each content object, the administrator needs to set up the available range (if any). The following screenshot shows the class attribute edit interface for this datatype.
Ce datatype permet de créer, pour chaque objet de contenu, un seul groupe d'option de nombres entiers (il s'agit en fait de créer une liste de nombres entiers présentés dans un menu déroulant). Ce datatype peut être, par exemple, utilisé lorsque l'on souhaite vendre des chaussures de différentes tailles sans que la taille n'influe sur le prix. Pour chaque objet de contenu, l'administrateur doit définir l'intervalle de valeurs disponible. L'image ci-dessous montre l'interface d'édition des attributs de classe pour ce datatype:
Class attribute edit interface for the "Range option" datatype.
Interface d'édition des attributs de classes dans le cas du datatype Date
The "Default name" parameter can be used to specify a name which will be used (as the name for the option) every time a new object is created.
Le paramètre Nom par défaut sert à spécifier le nom qui sera utilisé (en tant que nom de l'option) chaque fois qu'un nouvel objet sera créé.
Object attribute edit interface / Interface d'édition des attributs d'objet
The following screenshot shows the object attribute edit interface for this datatype.
La capture d'écran suivante montre l'interface d'édition des attributs d'objet dans le cas de ce datatype:
Object attribute edit interface for the "Range option" datatype.
Interface d'édition des attributs d'objet dans le cas du datatype Option d'étendue
Raw output / Sortie brute
The ".content" of an ezcontentobjectattribute object using this datatype returns an ezrangeoption object.
La partie .content de l'objet
ezcontentobjectattribute
utilisant ce datatype renvoie un objet
ezrangeoption
.














