diff options
Diffstat (limited to 'docs/fr/developers/03_Backend/05_Extensions.md')
| -rw-r--r-- | docs/fr/developers/03_Backend/05_Extensions.md | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/fr/developers/03_Backend/05_Extensions.md b/docs/fr/developers/03_Backend/05_Extensions.md index cdf70fe74..18cc892be 100644 --- a/docs/fr/developers/03_Backend/05_Extensions.md +++ b/docs/fr/developers/03_Backend/05_Extensions.md @@ -235,6 +235,14 @@ The following events are available: executed when a feed is refreshed and new entries will be imported into the database. The new entry (instance of FreshRSS\_Entry) will be passed as parameter. +* `entry_before_add` (`function($entry) -> Entry | null`): will be + executed when a feed is refreshed and just before an entry is added to the database. + Useful for reading the final state of the entry after filter actions have been applied. + The new entry (instance of FreshRSS\_Entry) will be passed as parameter. +* `entry_before_update` (`function($entry) -> Entry | null`): will be + executed when a feed is refreshed and just before an entry is updated in the database. + Useful for reading the final state of the entry after filter actions have been applied. + The updated entry (instance of FreshRSS\_Entry) will be passed as parameter. * `entries_favorite` (`function(array $ids, bool $is_favorite): void`): will be executed when some entries are marked or unmarked as favorites (starred) * `feed_before_actualize` (`function($feed) -> Feed | null`): will be |
