PHP Class ProductAttributeType, silvershop-core
.., but the lists that contain the
ProductAttributeValues.
For a clothing store you will have two entries:
- Size
- Colour
Afficher le fichier
Open project: burnbright/silverstripe-shop
Class Usage Examples
Méthodes publiques
Method Details
addValues()
public méthode
canDelete()
public méthode
convertArrayToValues()
public méthode
Finds or creates values for this type.
find_or_make()
public static méthode
getCMSFields()
public méthode
getDropDownField()
public méthode
Returns a dropdown field for the user to select a variant.
public getDropDownField ( $emptystring = null, ArrayList $values = null ) : DropdownField |
$values |
ArrayList |
|
Résultat |
DropdownField |
|
onBeforeWrite()
public méthode