Download the PHP package heimrichhannot/contao-entity_notifyer without Composer
On this page you can find all versions of the php package heimrichhannot/contao-entity_notifyer. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download heimrichhannot/contao-entity_notifyer
More information about heimrichhannot/contao-entity_notifyer
Files in heimrichhannot/contao-entity_notifyer
Download heimrichhannot/contao-entity_notifyer
More information about heimrichhannot/contao-entity_notifyer
Files in heimrichhannot/contao-entity_notifyer
Vendor heimrichhannot
Package contao-entity_notifyer
Short Description A backend module for sending notifications if an entity hasn't been changed in a while.
License LGPL-3.0+
Homepage https://github.com/heimrichhannot/contao-entity_notifyer
Package contao-entity_notifyer
Short Description A backend module for sending notifications if an entity hasn't been changed in a while.
License LGPL-3.0+
Homepage https://github.com/heimrichhannot/contao-entity_notifyer
Please rate this library. Is it a good library?
Informations about the package contao-entity_notifyer
Entity Notifyer
This module is used to send a notification for the subject that an entity hasn't been changed in a while.
Technical instruction
set up the entity_notifyer
Step 1
- create a new observer in heimrichhannot\contao-observer backend module
- select
entity_notification
as subject in the observer config - select a dataContainer
- select
entity_inactive_notifcation
as observer in the observer config - set criteria on which the notification should be send
Step 2
- create a new entity_notification in heimrichhannot\contao-entity_notifyer backend module
- select an previously defined observer
- choose a notification that should be send when the criteria set in the observer is fullfilled
optional
-
enable the backend user to exclude an entity from the entity notifyer (e.g. this could come to use when a notification has been send a couple of times for that entity and you don't want to get more)
-
add
excludeFromEntityNotifyer
field to dca which you want to exclude from the notification -
add the
operation
to the dca -
add the operation in the
config.php
- you can now exclude/include an entity from the functionality of entity_notifyer at the backend entity
Classes
Name | Description |
---|---|
Entity | set up constants |
EntityNotifyerHelper | Helper class to get options for dca and handle the exclude/include of entities from entity_notifyer |
EntityInactiveObserver | Observer that can be selected in heimrichhannot/contao-observer config. Sends the notification |
NotificationSubject | Subject that can be selected in heimrichhannot/contao-observer. Notifys the observer wether it should send the notification. Check if entity is excluded from entity_notifyer happens here. |
Hooks
Name | Arguments | Expected return value | Description |
---|---|---|---|
editEntityNotificationTokens | $entity,$tokens | $tokens | Modify the tokens used for the notification send by entity_notifyer |
All versions of contao-entity_notifyer with dependencies
PHP Build Version
Package Version
Requires
php Version
~5.4 || ~7.0
contao/core-bundle Version ^3.5.1 || ~4.1
contao-community-alliance/composer-plugin Version ~2.4 || ~3.0
heimrichhannot/contao-observer Version >=1.2.0
terminal42/notification_center Version >=1.3.10
contao/core-bundle Version ^3.5.1 || ~4.1
contao-community-alliance/composer-plugin Version ~2.4 || ~3.0
heimrichhannot/contao-observer Version >=1.2.0
terminal42/notification_center Version >=1.3.10
The package heimrichhannot/contao-entity_notifyer contains the following files
Loading the files please wait ....