class ImageDeleteEvent extends FileDeleteEvent

Created by JetBrains PhpStorm.

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

Occurring when a Image is about to be deleted

Methods

__set($name, $value)

No description

__get($name)

No description

bindForm( Form $form)

No description

__construct( CategoryImage|ProductImage|ContentImage|FolderImage $imageToDelete, string $imageType)

Constructor

$this
setFileToDelete( FileModelInterface $fileToDelete)

Set Image about to be deleted

getFileToDelete()

Get Image about to be deleted

$this
setImageType( string $imageType)

Set picture type

string
getImageType()

Get picture type

$this
setImageToDelete( CategoryImage|ProductImage|ContentImage|FolderImage $imageToDelete)

Set Image about to be deleted

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 42
__construct( CategoryImage|ProductImage|ContentImage|FolderImage $imageToDelete, string $imageType)

Constructor

Parameters

CategoryImage|ProductImage|ContentImage|FolderImage $imageToDelete Image about to be deleted
string $imageType Image type ex : FileManager::TYPE_CATEGORY

in FileDeleteEvent at line 45
$this setFileToDelete( FileModelInterface $fileToDelete)

Set Image about to be deleted

Parameters

FileModelInterface $fileToDelete Image about to be deleted

Return Value

$this

in FileDeleteEvent at line 57
FileModelInterface getFileToDelete()

Get Image about to be deleted

Return Value

FileModelInterface

at line 55
$this setImageType( string $imageType)

Set picture type

Parameters

string $imageType Image type

Return Value

$this

at line 66
string getImageType()

Get picture type

Return Value

string

at line 79
$this setImageToDelete( CategoryImage|ProductImage|ContentImage|FolderImage $imageToDelete)

Set Image about to be deleted

Parameters

CategoryImage|ProductImage|ContentImage|FolderImage $imageToDelete Image about to be deleted

Return Value

$this

at line 92
CategoryImage|ProductImage|ContentImage|FolderImage getImageToDelete()

Get Image about to be deleted