EVENTS.txt 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. Events that come with the Favorite plugin
  2. =========================================
  3. EndFavorNotice: After saving a notice as a favorite
  4. - $profile: profile of the person faving (can be remote!)
  5. - $notice: notice being faved
  6. StartDisfavorNotice: Saving a notice as a favorite
  7. - $profile: profile of the person faving (can be remote!)
  8. - $notice: notice being faved
  9. - &$result: result of the disfavoring (if you override)
  10. EndDisfavorNotice: After saving a notice as a favorite
  11. - $profile: profile of the person faving (can be remote!)
  12. - $notice: notice being faved
  13. StartFavorNoticeForm: starting the data in the form for favoring a notice
  14. - $FavorForm: the favor form being shown
  15. - $notice: notice being favored
  16. EndFavorNoticeForm: Ending the data in the form for favoring a notice
  17. - $FavorForm: the favor form being shown
  18. - $notice: notice being favored
  19. StartDisFavorNoticeForm: starting the data in the form for disfavoring a notice
  20. - $DisfavorForm: the disfavor form being shown
  21. - $notice: notice being difavored
  22. EndDisFavorNoticeForm: Ending the data in the form for disfavoring a notice
  23. - $DisfavorForm: the disfavor form being shown
  24. - $notice: notice being disfavored
  25. StartShowFaveForm: just before showing the fave form
  26. - $item: the NoticeListItem object being shown
  27. EndShowFaveForm: just after showing the fave form
  28. - $item: the NoticeListItem object being shown