DocumentDeleteEvent
class DocumentDeleteEvent extends FileDeleteEvent
Created by JetBrains PhpStorm.
Date: 9/18/13 Time: 3:56 PM
Occurring when a Document is about to be deleted
Methods
__construct(
CategoryDocument|ProductDocument|ContentDocument|FolderDocument $documentToDelete,
string $documentType)
Constructor
$this
from
FileDeleteEvent
$this
setDocumentType(
string $documentType)
Set picture type
string
getDocumentType()
Get picture type
$this
setDocumentToDelete(
CategoryDocument|ProductDocument|ContentDocument|FolderDocument $documentToDelete)
Set Document about to be deleted
getDocumentToDelete()
Get Document 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(
CategoryDocument|ProductDocument|ContentDocument|FolderDocument $documentToDelete,
string $documentType)
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
setDocumentType(
string $documentType)
Set picture type
at line 66
string
getDocumentType()
Get picture type
at line 79
$this
setDocumentToDelete(
CategoryDocument|ProductDocument|ContentDocument|FolderDocument $documentToDelete)
Set Document about to be deleted
at line 92
CategoryDocument|ProductDocument|ContentDocument|FolderDocument
getDocumentToDelete()
Get Document about to be deleted