DocumentCreateOrUpdateEvent
class DocumentCreateOrUpdateEvent extends FileCreateOrUpdateEvent
Created by JetBrains PhpStorm.
Date: 9/18/13 Time: 3:56 PM
Occurring when an Document is saved
Methods
__construct(
string $documentType,
int $parentId)
Constructor
$this
setUploadedFile(
UploadedFile|null $uploadedFile)
Set uploaded file
setLocale(
mixed $locale)
No description
mixed
getLocale()
No description
$this
setModelDocument($document)
Set Document to save
getModelDocument()
Get Document being saved
$this
setDocumentType(
string $documentType)
Set picture type
string
getDocumentType()
Get picture type
getOldModelDocument()
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 $documentType,
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
setModelDocument($document)
Set Document to save
at line 81
FileModelInterface
getModelDocument()
Get Document being saved
at line 94
$this
setDocumentType(
string $documentType)
Set picture type
at line 105
string
getDocumentType()
Get picture type
at line 116
setOldModelDocument(
FileModelInterface $oldModelDocument)
Set old model value
at line 127
FileModelInterface
getOldModelDocument()
Get old model value