phpDocumentor

Attribut
in package

A product attribute.

Note: The class is intentionally named “Attribut”, not “Attribute”; the spelling reflects the name of the XML tag found in GetShopProducts responses.

Table of Contents

$Name  : string
$Position  : int
$Required  : bool
$Type  : int
$Value  : string
__construct()  : mixed
getName()  : string
getPosition()  : int
getType()  : int
getValue()  : string
isRequired()  : bool
setName()  : void
setPosition()  : void
setRequired()  : void
setType()  : void
setValue()  : void
toArray()  : array<string|int, mixed>

Properties

Methods

__construct()

public __construct(string $Name, string $Value, int $Type, bool $Required, int $Position) : mixed
Parameters
$Name : string
$Value : string
$Type : int
$Required : bool
$Position : int
Return values
mixed

getName()

public getName() : string
Return values
string

getPosition()

public getPosition() : int
Return values
int

getType()

public getType() : int
Return values
int

getValue()

public getValue() : string
Return values
string

isRequired()

public isRequired() : bool
Return values
bool

setName()

public setName(string $Name) : void
Parameters
$Name : string
Return values
void

setPosition()

public setPosition(int $Position) : void
Parameters
$Position : int
Return values
void

setRequired()

public setRequired(bool $Required) : void
Parameters
$Required : bool
Return values
void

setType()

public setType(int $Type) : void
Parameters
$Type : int
Return values
void

setValue()

public setValue(string $Value) : void
Parameters
$Value : string
Return values
void

toArray()

public toArray() : array<string|int, mixed>
Return values
array<string|int, mixed>

Search results