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