phpDocumentor

ModifierDTO

Class ModifierDTO

Table of Contents

$groupId  : GroupIdentifierInterface
$id  : ModifierIdentifierInterface
$image  : string
$name  : string
$price  : float
$pricePrefix  : string
$selected  : bool
$source  : string
$type  : string
$selectable  : bool
$showStock  : bool
__construct()  : mixed
ModifierDTO constructor.
groupId()  : GroupIdentifierInterface
id()  : ModifierIdentifierInterface
image()  : string
isSelectable()  : bool
isSelected()  : bool
name()  : string
price()  : float
pricePrefix()  : string
showStock()  : bool
source()  : string
type()  : string

Properties

Methods

__construct()

ModifierDTO constructor.

public __construct(ModifierIdentifierInterface $id, GroupIdentifierInterface $groupId, string $name, string $source, string $type, string $image[, string $pricePrefix = '' ], float $price[, bool $selected = false ][, bool $selectable = true ][, bool $showStock = false ]) : mixed
Parameters
$id : ModifierIdentifierInterface
$groupId : GroupIdentifierInterface
$name : string
$source : string
$type : string
$image : string
$pricePrefix : string = ''
$price : float
$selected : bool = false
$selectable : bool = true
$showStock : bool = false
Return values
mixed

image()

public image() : string
Return values
string

isSelectable()

public isSelectable() : bool
Return values
bool

isSelected()

public isSelected() : bool
Return values
bool

name()

public name() : string
Return values
string

price()

public price() : float
Return values
float

pricePrefix()

public pricePrefix() : string
Return values
string

showStock()

public showStock() : bool
Return values
bool

source()

public source() : string
Return values
string

type()

public type() : string
Return values
string

Search results