PHP 클래스 ProductAttributeType, silvershop-core

.., but the lists that contain the ProductAttributeValues. For a clothing store you will have two entries: - Size - Colour
상속: extends DataObject, implements EditableEcommerceObject
파일 보기 프로젝트 열기: burnbright/silverstripe-shop 1 사용 예제들

공개 메소드들

메소드 설명
addValues ( array $values )
canDelete ( $member = null )
convertArrayToValues ( array $values ) : ArrayList Finds or creates values for this type.
find_or_make ( $name )
getCMSFields ( )
getDropDownField ( $emptystring = null, ArrayList $values = null ) : DropdownField Returns a dropdown field for the user to select a variant.
onBeforeWrite ( )

메소드 상세

addValues() 공개 메소드

public addValues ( array $values )
$values array

canDelete() 공개 메소드

public canDelete ( $member = null )

convertArrayToValues() 공개 메소드

Finds or creates values for this type.
public convertArrayToValues ( array $values ) : ArrayList
$values array
리턴 ArrayList

find_or_make() 공개 정적인 메소드

public static find_or_make ( $name )

getCMSFields() 공개 메소드

public getCMSFields ( )

getDropDownField() 공개 메소드

Returns a dropdown field for the user to select a variant.
public getDropDownField ( $emptystring = null, ArrayList $values = null ) : DropdownField
$values ArrayList
리턴 DropdownField

onBeforeWrite() 공개 메소드

public onBeforeWrite ( )