class ImageCreateOrUpdateEvent extends FileCreateOrUpdateEvent

Created by JetBrains PhpStorm.

Date: 9/18/13 Time: 3:56 PM

Occurring when an Image is saved

Methods

__set($name, $value)

No description

__get($name)

No description

bindForm( Form $form)

No description

__construct( string $imageType, int $parentId)

Constructor

$this
setModel( FileModelInterface $model)

Set file to save

getModel()

Get file being saved

$this
setParentId( int $parentId)

Set Document parent id

int
getParentId()

Get Document parent id

$this
setUploadedFile( UploadedFile|null $uploadedFile)

Set uploaded file

UploadedFile|null
getUploadedFile()

Get uploaded file

$this
setParentName( string $parentName)

Set parent name

string
getParentName()

Get parent name

setOldModel( FileModelInterface $oldModel)

Set old model value

setLocale( mixed $locale)

No description

mixed
getLocale()

No description

$this
setModelImage($image)

Set Image to save

getModelImage()

Get Image being saved

$this
setImageType( string $imageType)

Set picture type

string
getImageType()

Get picture type

setOldModelImage( FileModelInterface $oldModelImage)

Set old model value

getOldModelImage()

Get old model value

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 39
__construct( string $imageType, int $parentId)

Constructor

Parameters

string $imageType Image type ex : FileManager::TYPE_CATEGORY
int $parentId file parent id

$this setModel( FileModelInterface $model)

Set file to save

Parameters

FileModelInterface $model Document to save

Return Value

$this

FileModelInterface getModel()

Get file being saved

Return Value

FileModelInterface

$this setParentId( int $parentId)

Set Document parent id

Parameters

int $parentId Document parent id

Return Value

$this

int getParentId()

Get Document parent id

Return Value

int

$this setUploadedFile( UploadedFile|null $uploadedFile)

Set uploaded file

Parameters

UploadedFile|null $uploadedFile File being uploaded

Return Value

$this

UploadedFile|null getUploadedFile()

Get uploaded file

Return Value

UploadedFile|null

$this setParentName( string $parentName)

Set parent name

Parameters

string $parentName Parent name

Return Value

$this

string getParentName()

Get parent name

Return Value

string

setOldModel( FileModelInterface $oldModel)

Set old model value

Parameters

FileModelInterface $oldModel

FileModelInterface getOldModel()

Get old model value

Return Value

FileModelInterface

at line 48
setLocale( mixed $locale)

Parameters

mixed $locale

at line 57
mixed getLocale()

Return Value

mixed

at line 70
$this setModelImage($image)

Set Image to save

Parameters

$image FileModelInterface

Return Value

$this

at line 81
FileModelInterface getModelImage()

Get Image being saved

Return Value

FileModelInterface

at line 94
$this setImageType( string $imageType)

Set picture type

Parameters

string $imageType Image type

Return Value

$this

at line 105
string getImageType()

Get picture type

Return Value

string

at line 116
setOldModelImage( FileModelInterface $oldModelImage)

Set old model value

Parameters

FileModelInterface $oldModelImage

at line 127
FileModelInterface getOldModelImage()

Get old model value

Return Value

FileModelInterface