Skip to content

Reference

tilttek/kudos

Every public type of the package, with its role.

TypeRole
KudosGives, refuses, withdraws and cancels thanks; reads what a member received and gave; counts what they gave
MessageA fixed message: name, translation key and English text
MessagesThe closed list of messages, its defaults and the application's own
LimitsThe daily cap, and the limit per receiver over a period
RefusalWhy thanks are refused: self, declined, daily cap, limit per receiver
GivenThe thanks given, and whether this call gave them
ThanksThanks as their giver or receiver reads them
ThanksPageA page of thanks, and the position to read the next one after
KudosGivenThe event of thanks given, identifiers only
KudosCancelledThe event of thanks withdrawn or cancelled, identifiers only
Contract\KudosPreferencesWhether a receiver takes thanks from a giver
Contract\MemberTimeZonesThe time zone a member's day is counted in
Contract\KudosObserverTold once of thanks given and cancelled
Preferences\AcceptAllEvery member takes thanks from everyone
TimeZone\SiteTimeZoneEvery member's day in the site's time zone
Exception\KudosException and its three exceptionsExceptions