8c0601816f
For reference (raised by rozzin in IRC): * http://foldoc.org/module * http://foldoc.org/library * http://foldoc.org/plugin As noted by XRevan86, modules are not necessarily non-essential. As we will keep the modules directory in GS root [therefore, near to plugins/], it is evidenced the difference between both. This is a simple yet fundamental structural change. It doesn't change functionality but makes clearer the way we understand GNU social's internals.
39 lines
1.3 KiB
Plaintext
39 lines
1.3 KiB
Plaintext
Events that come with the Favorite plugin
|
|
=========================================
|
|
|
|
EndFavorNotice: After saving a notice as a favorite
|
|
- $profile: profile of the person faving (can be remote!)
|
|
- $notice: notice being faved
|
|
|
|
StartDisfavorNotice: Saving a notice as a favorite
|
|
- $profile: profile of the person faving (can be remote!)
|
|
- $notice: notice being faved
|
|
- &$result: result of the disfavoring (if you override)
|
|
|
|
EndDisfavorNotice: After saving a notice as a favorite
|
|
- $profile: profile of the person faving (can be remote!)
|
|
- $notice: notice being faved
|
|
|
|
StartFavorNoticeForm: starting the data in the form for favoring a notice
|
|
- $FavorForm: the favor form being shown
|
|
- $notice: notice being favored
|
|
|
|
EndFavorNoticeForm: Ending the data in the form for favoring a notice
|
|
- $FavorForm: the favor form being shown
|
|
- $notice: notice being favored
|
|
|
|
StartDisFavorNoticeForm: starting the data in the form for disfavoring a notice
|
|
- $DisfavorForm: the disfavor form being shown
|
|
- $notice: notice being difavored
|
|
|
|
EndDisFavorNoticeForm: Ending the data in the form for disfavoring a notice
|
|
- $DisfavorForm: the disfavor form being shown
|
|
- $notice: notice being disfavored
|
|
|
|
StartShowFaveForm: just before showing the fave form
|
|
- $item: the NoticeListItem object being shown
|
|
|
|
EndShowFaveForm: just after showing the fave form
|
|
- $item: the NoticeListItem object being shown
|
|
|