class SaleUpdateEvent extends SaleCreateEvent

Class SaleUpdateEvent

Methods

__set($name, $value)

No description

__get($name)

No description

bindForm( Form $form)

No description

__construct( int $saleId)

No description

setSale( Sale $sale)

No description

from  SaleEvent
getSale()

No description

from  SaleEvent
bool
hasSale()

check if sale exists

from  SaleEvent
setLocale( string $locale)

No description

string
getLocale()

No description

$this
setTitle( string $title)

No description

string
getTitle()

No description

$this
setSaleLabel( string $saleLabel)

No description

string
getSaleLabel()

No description

setSaleId( int $saleId)

No description

int
getSaleId()

No description

setChapo( string $chapo)

No description

string
getChapo()

No description

setDescription( string $description)

No description

string
getDescription()

No description

setPostscriptum( string $postscriptum)

No description

string
getPostscriptum()

No description

setActive( bool $active)

No description

bool
getActive()

No description

setEndDate( mixed $endDate)

No description

null|DateTime
getEndDate()

No description

setPriceOffsetType( int $priceOffsetType)

No description

int
getPriceOffsetType()

No description

setStartDate( mixed $startDate)

No description

null|DateTime
getStartDate()

No description

$this
setDisplayInitialPrice( bool $displayInitialPrice)

No description

bool
getDisplayInitialPrice()

No description

$this
setPriceOffsets( array $priceOffsets)

No description

array
getPriceOffsets()

No description

$this
setProducts( array $products)

No description

array
getProducts()

No description

$this
setProductAttributes( array $productAttributes)

No description

array
getProductAttributes()

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

at line 41
__construct( int $saleId)

Parameters

int $saleId

in SaleEvent at line 39
SaleEvent setSale( Sale $sale)

Parameters

Sale $sale

Return Value

SaleEvent

in SaleEvent at line 49
Sale getSale()

Return Value

Sale

in SaleEvent at line 59
bool hasSale()

check if sale exists

Return Value

bool

in SaleCreateEvent at line 31
SaleCreateEvent setLocale( string $locale)

Parameters

string $locale

Return Value

SaleCreateEvent $this

in SaleCreateEvent at line 41
string getLocale()

Return Value

string

in SaleCreateEvent at line 51
$this setTitle( string $title)

Parameters

string $title

Return Value

$this

in SaleCreateEvent at line 61
string getTitle()

Return Value

string

in SaleCreateEvent at line 70
$this setSaleLabel( string $saleLabel)

Parameters

string $saleLabel

Return Value

$this

in SaleCreateEvent at line 80
string getSaleLabel()

Return Value

string

at line 51
SaleUpdateEvent setSaleId( int $saleId)

Parameters

int $saleId

Return Value

SaleUpdateEvent $this

at line 61
int getSaleId()

Return Value

int

at line 71
SaleUpdateEvent setChapo( string $chapo)

Parameters

string $chapo

Return Value

SaleUpdateEvent $this

at line 81
string getChapo()

Return Value

string

at line 90
SaleUpdateEvent setDescription( string $description)

Parameters

string $description

Return Value

SaleUpdateEvent $this

at line 100
string getDescription()

Return Value

string

at line 110
SaleUpdateEvent setPostscriptum( string $postscriptum)

Parameters

string $postscriptum

Return Value

SaleUpdateEvent $this

at line 120
string getPostscriptum()

Return Value

string

at line 129
SaleUpdateEvent setActive( bool $active)

Parameters

bool $active

Return Value

SaleUpdateEvent $this

at line 139
bool getActive()

Return Value

bool

at line 148
SaleUpdateEvent setEndDate( mixed $endDate)

Parameters

mixed $endDate string, integer (timestamp), or \DateTime value.

Return Value

SaleUpdateEvent $this

at line 158
null|DateTime getEndDate()

Return Value

null|DateTime

at line 167
SaleUpdateEvent setPriceOffsetType( int $priceOffsetType)

Parameters

int $priceOffsetType

Return Value

SaleUpdateEvent $this

at line 177
int getPriceOffsetType()

Return Value

int

at line 186
SaleUpdateEvent setStartDate( mixed $startDate)

Parameters

mixed $startDate string, integer (timestamp), or \DateTime value.

Return Value

SaleUpdateEvent $this

at line 196
null|DateTime getStartDate()

Return Value

null|DateTime

at line 205
$this setDisplayInitialPrice( bool $displayInitialPrice)

Parameters

bool $displayInitialPrice

Return Value

$this

at line 215
bool getDisplayInitialPrice()

Return Value

bool

at line 224
$this setPriceOffsets( array $priceOffsets)

Parameters

array $priceOffsets an array of (currency_id => price offset) couples.

Return Value

$this

at line 234
array getPriceOffsets()

Return Value

array

at line 243
$this setProducts( array $products)

Parameters

array $products an array of product ID

Return Value

$this

at line 253
array getProducts()

Return Value

array

at line 262
$this setProductAttributes( array $productAttributes)

Parameters

array $productAttributes an array of (product_id => array of attribute IDs)

Return Value

$this

at line 272
array getProductAttributes()

Return Value

array $productAttributes an array of (product_id => array of attribute IDs)