Beta version

class DocumentEvents

Constants

DOCUMENT_CREATED

Event document.created is triggered each time a document is created.

Event listener will be given a: RZ\Roadiz\Core\Events\FilterDocumentEvent instance

DOCUMENT_UPDATED

Event document.updated is triggered each time a document is updated.

Event listener will be given a: RZ\Roadiz\Core\Events\FilterDocumentEvent instance

DOCUMENT_TRANSLATION_UPDATED

Event document_translation.updated is triggered each time a document translation is updated.

Event listener will be given a: RZ\Roadiz\Core\Events\FilterDocumentEvent instance

DOCUMENT_DELETED

Event document.deleted is triggered each time a document is deleted.

Event listener will be given a: RZ\Roadiz\Core\Events\FilterDocumentEvent instance

DOCUMENT_IMAGE_UPLOADED

Event document.image.uploaded is triggered each time a document valid image formatted is uploaded. Even if the document is new or existing.

Event listener will be given a: RZ\Roadiz\Core\Events\FilterDocumentEvent instance

DOCUMENT_SVG_UPLOADED

Event document.svg.uploaded is triggered each time a document valid SVG formatted is uploaded. Even if the document is new or existing.

Event listener will be given a: RZ\Roadiz\Core\Events\FilterDocumentEvent instance

DOCUMENT_IN_FOLDER

Event document.in.folder is triggered each time a document is linked to a folder.

Event listener will be given a: RZ\Roadiz\Core\Events\FilterDocumentEvent instance

DOCUMENT_OUT_FOLDER

Event document.out.folder is triggered each time a document is linked to a folder.

Event listener will be given a: RZ\Roadiz\Core\Events\FilterDocumentEvent instance