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

__set($name, $value)

No description

__get($name)

No description

bindForm( Form $form)

No description

__construct( CategoryDocument|ProductDocument|ContentDocument|FolderDocument $documentToDelete, string $documentType)

Constructor

$this
setFileToDelete( FileModelInterface $fileToDelete)

Set Image about to be deleted

getFileToDelete()

Get Image about to be deleted

$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

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( CategoryDocument|ProductDocument|ContentDocument|FolderDocument $documentToDelete, string $documentType)

Constructor

Parameters

CategoryDocument|ProductDocument|ContentDocument|FolderDocument $documentToDelete Document about to be deleted
string $documentType Document 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 setDocumentType( string $documentType)

Set picture type

Parameters

string $documentType Document type

Return Value

$this

at line 66
string getDocumentType()

Get picture type

Return Value

string

at line 79
$this setDocumentToDelete( CategoryDocument|ProductDocument|ContentDocument|FolderDocument $documentToDelete)

Set Document about to be deleted

Parameters

CategoryDocument|ProductDocument|ContentDocument|FolderDocument $documentToDelete Document about to be deleted

Return Value

$this

at line 92
CategoryDocument|ProductDocument|ContentDocument|FolderDocument getDocumentToDelete()

Get Document about to be deleted