ImageCreateOrUpdateEvent
class ImageCreateOrUpdateEvent extends FileCreateOrUpdateEvent
Created by JetBrains PhpStorm.
Date: 9/18/13 Time: 3:56 PM
Occurring when an Image is saved
Methods
__construct(
string $imageType,
int $parentId)
Constructor
$this
setUploadedFile(
UploadedFile|null $uploadedFile)
Set uploaded file
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
getOldModelImage()
Get old model value
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 39
__construct(
string $imageType,
int $parentId)
Constructor
in
FileCreateOrUpdateEvent at line 60
$this
setModel(
FileModelInterface $model)
Set file to save
in
FileCreateOrUpdateEvent at line 72
FileModelInterface
getModel()
Get file being saved
in
FileCreateOrUpdateEvent at line 84
$this
setParentId(
int $parentId)
Set Document parent id
in
FileCreateOrUpdateEvent at line 96
int
getParentId()
Get Document parent id
in
FileCreateOrUpdateEvent at line 108
$this
setUploadedFile(
UploadedFile|null $uploadedFile)
Set uploaded file
in
FileCreateOrUpdateEvent at line 120
UploadedFile|null
getUploadedFile()
Get uploaded file
in
FileCreateOrUpdateEvent at line 132
$this
setParentName(
string $parentName)
Set parent name
in
FileCreateOrUpdateEvent at line 144
string
getParentName()
Get parent name
in
FileCreateOrUpdateEvent at line 154
setOldModel(
FileModelInterface $oldModel)
Set old model value
in
FileCreateOrUpdateEvent at line 164
FileModelInterface
getOldModel()
Get old model value
at line 48
setLocale(
mixed $locale)
at line 57
mixed
getLocale()
at line 70
$this
setModelImage($image)
Set Image to save
at line 81
FileModelInterface
getModelImage()
Get Image being saved
at line 94
$this
setImageType(
string $imageType)
Set picture type
at line 105
string
getImageType()
Get picture type
at line 116
setOldModelImage(
FileModelInterface $oldModelImage)
Set old model value
at line 127
FileModelInterface
getOldModelImage()
Get old model value