class Attribute implements AttributeInterface, TypeInterface

Class Attribute

Properties

protected string $name Attribute name
protected string $type One of the predefined(CHECK, RADIO, SELECT) Currently supported types: "RADIO"
protected string $attributeType Attribute type. One of the predefined(information type, file type, price type) Currently supported types: "information type" and "price type"
protected string $typeOfValues Type of values Currently supported types: "number"

Methods

string
getType()

No description

mixed
setType(string $type)

No description

mixed
setName(string $name)

No description

string
getName()

No description

static array
getAttributeAllTypes()

No description

string
getAttributeType()

No description

setAttributeType(string $attributeType)

No description

string
getTypeOfValues()

No description

setTypeOfValues(string $typeOfValues)

No description

Details

at line 84
string getType()

Return Value

string

at line 94
mixed setType(string $type)

Parameters

string $type

Return Value

mixed

at line 106
mixed setName(string $name)

Parameters

string $name

Return Value

mixed

at line 116
string getName()

Return Value

string

at line 124
static array getAttributeAllTypes()

Return Value

array

at line 132
string getAttributeType()

Return Value

string

at line 142
Attribute setAttributeType(string $attributeType)

Parameters

string $attributeType

Return Value

Attribute

at line 152
string getTypeOfValues()

Return Value

string

at line 162
Attribute setTypeOfValues(string $typeOfValues)

Parameters

string $typeOfValues

Return Value

Attribute