]> git.mxchange.org Git - quix0rs-gnu-social.git/blob - plugins/Favorite/EVENTS.txt
Merge branch 'master' of gitorious.org:social/mainline into social-master
[quix0rs-gnu-social.git] / plugins / Favorite / EVENTS.txt
1 Events that come with the Favorite plugin
2 =========================================
3
4 StartFavorNotice: Saving a notice as a favorite
5 - $profile: profile of the person faving (can be remote!)
6 - $notice: notice being faved
7 - &$fave: Favor object; null to start off with, but feel free to override.
8
9 EndFavorNotice: After saving a notice as a favorite
10 - $profile: profile of the person faving (can be remote!)
11 - $notice: notice being faved
12
13 StartDisfavorNotice: Saving a notice as a favorite
14 - $profile: profile of the person faving (can be remote!)
15 - $notice: notice being faved
16 - &$result: result of the disfavoring (if you override)
17
18 EndDisfavorNotice: After saving a notice as a favorite
19 - $profile: profile of the person faving (can be remote!)
20 - $notice: notice being faved
21
22 StartFavorNoticeForm: starting the data in the form for favoring a notice
23 - $FavorForm: the favor form being shown
24 - $notice: notice being favored
25
26 EndFavorNoticeForm: Ending the data in the form for favoring a notice
27 - $FavorForm: the favor form being shown
28 - $notice: notice being favored
29
30 StartDisFavorNoticeForm: starting the data in the form for disfavoring a notice
31 - $DisfavorForm: the disfavor form being shown
32 - $notice: notice being difavored
33
34 EndDisFavorNoticeForm: Ending the data in the form for disfavoring a notice
35 - $DisfavorForm: the disfavor form being shown
36 - $notice: notice being disfavored
37
38 StartShowFaveForm: just before showing the fave form
39 - $item: the NoticeListItem object being shown
40
41 EndShowFaveForm: just after showing the fave form
42 - $item: the NoticeListItem object being shown
43