ImageDeleteEvent
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
__construct(
CategoryImage|ProductImage|ContentImage|FolderImage $imageToDelete,
string $imageType)
Constructor
$this
from
FileDeleteEvent
$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
getImageToDelete()
Get Image about to be deleted
Details
in
ActionEvent at line 30
__set($name, $value)
in
ActionEvent at line 35
__get($name)
in
ActionEvent at line 44
bindForm(
Form $form)
at line 42
__construct(
CategoryImage|ProductImage|ContentImage|FolderImage $imageToDelete,
string $imageType)
Constructor
in
FileDeleteEvent at line 45
$this
setFileToDelete(
FileModelInterface $fileToDelete)
Set Image about to be deleted
in
FileDeleteEvent at line 57
FileModelInterface
getFileToDelete()
Get Image about to be deleted
at line 55
$this
setImageType(
string $imageType)
Set picture type
at line 66
string
getImageType()
Get picture type
at line 79
$this
setImageToDelete(
CategoryImage|ProductImage|ContentImage|FolderImage $imageToDelete)
Set Image about to be deleted
at line 92
CategoryImage|ProductImage|ContentImage|FolderImage
getImageToDelete()
Get Image about to be deleted