diff options
author | Craig Andrews <candrews@integralblue.com> | 2009-11-11 14:02:57 -0500 |
---|---|---|
committer | Craig Andrews <candrews@integralblue.com> | 2009-11-11 14:04:44 -0500 |
commit | 014d6b1d19b6ae5de8d87f055397993f80579f74 (patch) | |
tree | 55faca777c7ef1f8576b21f98dc4e3f74e99ac4d /EVENTS.txt | |
parent | 086759f32ab6d2c5aadecb57941e7e14015b8bd6 (diff) |
Redid how URL shorteners work. This way is much more like how Evan wants events to work (and more like how the rest of SN works).
Diffstat (limited to 'EVENTS.txt')
-rw-r--r-- | EVENTS.txt | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/EVENTS.txt b/EVENTS.txt index f75dcebca..3acff277b 100644 --- a/EVENTS.txt +++ b/EVENTS.txt @@ -538,3 +538,17 @@ EndChangePassword: After changing a password UserDeleteRelated: Specify additional tables to delete entries from when deleting users - $user: User object - &$related: array of DB_DataObject class names to delete entries on matching user_id. + +GetUrlShorteners: Specify URL shorteners that are available for use +- &$shorteners: append your shortener to this array like so: $shorteners[shortenerName]=array('display'=>display, 'freeService'=>boolean) + +StartShortenUrl: About to shorten a URL +- $url: url to be shortened +- $shortenerName: name of the requested shortener +- &$shortenedUrl: short version of the url + +EndShortenUrl: After a URL has been shortened +- $url: url to be shortened +- $shortenerName: name of the requested shortener +- $shortenedUrl: short version of the url + |