class ProductCreateEvent extends ProductEvent

Properties

$product from  ProductEvent

Methods

__set($name, $value)

No description

__get($name)

No description

bindForm( Form $form)

No description

__construct( Product $product = null)

No description

hasProduct()

No description

getProduct()

No description

setProduct( Product $product)

No description

getRef()

No description

setRef($ref)

No description

getTitle()

No description

setTitle($title)

No description

getLocale()

No description

setLocale($locale)

No description

getDefaultCategory()

No description

setDefaultCategory($default_category)

No description

getVisible()

No description

setVisible($visible)

No description

setVirtual($virtual)

No description

getVirtual()

No description

getBasePrice()

No description

setBasePrice($basePrice)

No description

getBaseWeight()

No description

setBaseWeight($baseWeight)

No description

getTaxRuleId()

No description

setTaxRuleId($taxRuleId)

No description

getCurrencyId()

No description

setCurrencyId($currencyId)

No description

$this
setPrice( float $price)

This method is an alias of setBasePrice and used by the event when binding a form

$this
setWeight( float $weight)

This method is an alias of setBaseWeight and used by the event when binding a form

$this
setCurrency($currencyId)

This method is an alias of setCurrencyId and used by the event when binding a form

$this
setTaxRule($taxRuleId)

This method is an alias of setTaxRuleId and used by the event when binding a form

integer
getBaseQuantity()

No description

$this
setBaseQuantity( integer $baseQuantity)

No description

$this
setQuantity( integer $quantity)

This method is an alias of setBaseQuantity and used by the event when binding a form

integer
getTemplateId()

No description

$this
setTemplateId( integer $templateId)

No description

Details

in ActionEvent at line 30
__set($name, $value)

Parameters

$name
$value

in ActionEvent at line 35
__get($name)

Parameters

$name

in ActionEvent at line 44
bindForm( Form $form)

Parameters

Form $form

in ProductEvent at line 22
__construct( Product $product = null)

Parameters

Product $product

in ProductEvent at line 27
hasProduct()

in ProductEvent at line 32
getProduct()

in ProductEvent at line 37
setProduct( Product $product)

Parameters

Product $product

at line 31
getRef()

at line 36
setRef($ref)

Parameters

$ref

at line 43
getTitle()

at line 48
setTitle($title)

Parameters

$title

at line 55
getLocale()

at line 60
setLocale($locale)

Parameters

$locale

at line 67
getDefaultCategory()

at line 72
setDefaultCategory($default_category)

Parameters

$default_category

at line 79
getVisible()

at line 84
setVisible($visible)

Parameters

$visible

at line 91
setVirtual($virtual)

Parameters

$virtual

at line 98
getVirtual()

at line 103
getBasePrice()

at line 108
setBasePrice($basePrice)

Parameters

$basePrice

at line 115
getBaseWeight()

at line 120
setBaseWeight($baseWeight)

Parameters

$baseWeight

at line 127
getTaxRuleId()

at line 132
setTaxRuleId($taxRuleId)

Parameters

$taxRuleId

at line 139
getCurrencyId()

at line 144
setCurrencyId($currencyId)

Parameters

$currencyId

at line 158
$this setPrice( float $price)

This method is an alias of setBasePrice and used by the event when binding a form

Parameters

float $price price for this new product

Return Value

$this

See also

setBasePrice

at line 170
$this setWeight( float $weight)

This method is an alias of setBaseWeight and used by the event when binding a form

Parameters

float $weight

Return Value

$this

See also

setBaseWeight

at line 182
$this setCurrency($currencyId)

This method is an alias of setCurrencyId and used by the event when binding a form

Parameters

$currencyId

Return Value

$this

See also

setCurrencyId

at line 194
$this setTaxRule($taxRuleId)

This method is an alias of setTaxRuleId and used by the event when binding a form

Parameters

$taxRuleId

Return Value

$this

See also

setTaxRuleId

at line 202
integer getBaseQuantity()

Return Value

integer

at line 211
$this setBaseQuantity( integer $baseQuantity)

Parameters

integer $baseQuantity

Return Value

$this

at line 224
$this setQuantity( integer $quantity)

This method is an alias of setBaseQuantity and used by the event when binding a form

Parameters

integer $quantity quantity for this new product

Return Value

$this

See also

setBaseQuantity

at line 232
integer getTemplateId()

Return Value

integer

at line 241
$this setTemplateId( integer $templateId)

Parameters

integer $templateId

Return Value

$this