1 InitializePlugin: a chance to initialize a plugin in a complete environment
3 CleanupPlugin: a chance to cleanup a plugin at the end of a program
5 StartPrimaryNav: Showing the primary nav menu
6 - $action: the current action
8 EndPrimaryNav: At the end of the primary nav menu
9 - $action: the current action
11 StartSecondaryNav: Showing the secondary nav menu
12 - $action: the current action
14 EndSecondaryNav: At the end of the secondary nav menu
15 - $action: the current action
17 StartShowStyles: Showing Style links; good place to add UA style resets
18 - $action: the current action
20 EndShowStyles: End showing Style links; good place to add custom styles
21 - $action: the current action
23 StartShowStatusNetStyles: Showing StatusNet Style links
24 - $action: the current action
26 EndShowStatusNetStyles: End showing StatusNet Style links; good place to add handheld or JavaScript dependant styles
27 - $action: the current action
29 StartShowLaconicaStyles: backwards compatibility; deprecated
30 - $action: the current action
32 EndShowLaconicaStyles: backwards compatibility; deprecated
33 - $action: the current action
35 StartShowUAStyles: Showing custom User-Agent style links
36 - $action: the current action
38 EndShowUAStyles: End showing custom User-Agent links; good place to add user-agent (e.g., filter, -webkit, -moz) specific styles
39 - $action: the current action
41 StartShowScripts: Showing JavaScript links
42 - $action: the current action
44 EndShowScripts: End showing JavaScript links; good place to add custom
45 links like Google Analytics
46 - $action: the current action
48 StartShowJQueryScripts: Showing JQuery script links (use this to link to e.g. Google mirrors)
49 - $action: the current action
51 EndShowJQueryScripts: End showing JQuery script links
52 - $action: the current action
54 StartShowStatusNetScripts: Showing StatusNet script links (use this to link to a CDN or something)
55 - $action: the current action
57 EndShowStatusNetScripts: End showing StatusNet script links
58 - $action: the current action
60 StartShowLaconicaScripts: backwards compatibility; deprecated
61 - $action: the current action
63 EndShowLaconicaScripts: backwards compatibility; deprecated
64 - $action: the current action
66 StartShowSections: Start the list of sections in the sidebar
67 - $action: the current action
69 EndShowSections: End the list of sections in the sidebar
70 - $action: the current action
72 StartShowHeader: Showing before the header container
73 - $action: the current action
75 EndShowHeader: Showing after the header container
76 - $action: the current action
78 StartShowFooter: Showing before the footer container
79 - $action: the current action
81 EndShowFooter: Showing after the footer container
82 - $action: the current action
84 StartShowContentBlock: Showing before the content container
85 - $action: the current action
87 EndShowContentBlock: Showing after the content container
88 - $action: the current action
90 StartShowAside: Showing before the Aside container
91 - $action: the current action
93 EndShowAside: Showing after the Aside container
94 - $action: the current action
96 StartShowNoticeFormData: Showing before the notice form data
97 - $action: the current action
99 EndShowNoticeFormData: Showing after the notice form data
100 - $action: the current action
102 StartNoticeSave: before inserting a notice (good place for content filters)
103 - $notice: notice being saved (no ID or URI)
105 EndNoticeSave: after inserting a notice and related code
106 - $notice: notice that was saved (with ID and URI)
108 StartShowLocalNavBlock: Showing the local nav menu
109 - $action: the current action
111 EndShowLocalNavBlock: At the end of the local nav menu
112 - $action: the current action
114 StartShowHTML: Chance to set document headers (e.g., content type, charset, language), DOCTYPE and html element properties
115 - $action: the current action
117 EndShowHTML: Showing after the html element
118 - $action: the current action
120 StartPublicGroupNav: Showing the public group nav menu
121 - $menu: the menu widget; use $menu->action for output
123 EndPublicGroupNav: At the end of the public group nav menu
124 - $menu: the menu widget; use $menu->action for output
126 StartSubGroupNav: Showing the subscriptions group nav menu
127 - $menu: the menu widget; use $menu->action for output
129 EndSubGroupNav: At the end of the subscriptions group nav menu
130 - $menu: the menu widget; use $menu->action for output
132 StartInitializeRouter: Before the router instance has been initialized; good place to add routes
133 - $m: the Net_URL_Mapper that has just been set up
135 RouterInitialized: After the router instance has been initialized
136 - $m: the Net_URL_Mapper that has just been set up
138 StartLogout: Before logging out
139 - $action: the logout action
141 EndLogout: After logging out
142 - $action: the logout action
144 ArgsInitialize: After the argument array has been initialized
145 - $args: associative array of arguments, can be modified
147 StartAddressData: Allows the site owner to provide additional information about themselves for contact (e.g., tagline, email, location)
148 - $action: the current action
150 EndAddressData: At the end of <address>
151 - $action: the current action
153 StartShowSiteNotice: Before showing site notice
154 - $action: the current action
156 EndShowSiteNotice: After showing site notice
157 - $action: the current action
159 StartLoginGroupNav: Before showing the login and register navigation menu
160 - $action: the current action
162 EndLoginGroupNav: After showing the login and register navigation menu
163 - $action: the current action
165 StartAccountSettingsNav: Before showing the account settings menu
166 - $action: the current action
168 EndAccountSettingsNav: After showing the account settings menu
169 - $action: the current action
171 StartAccountSettingsProfileMenuItem: Before showing the Profile menu item
172 - $widget: AccountSettingsNav instance being shown
174 EndAccountSettingsProfileMenuItem: After showing the Profile menu item
175 - $widget: AccountSettingsNav instance being shown
177 StartAccountSettingsAvatarMenuItem: Before showing the Avatar menu item
178 - $widget: AccountSettingsNav instance being shown
180 EndAccountSettingsAvatarMenuItem: After showing the Avatar menu item
181 - $widget: AccountSettingsNav instance being shown
183 StartAccountSettingsPasswordMenuItem: Before showing the Password menu item
184 - $widget: AccountSettingsNav instance being shown
186 EndAccountSettingsPasswordMenuItem: After showing the Password menu item
187 - $widget: AccountSettingsNav instance being shown
189 StartAccountSettingsEmailMenuItem: Before showing the Email menu item
190 - $widget: AccountSettingsNav instance being shown
192 EndAccountSettingsEmailMenuItem: After showing the Email menu item
193 - $widget: AccountSettingsNav instance being shown
195 StartAccountSettingsDesignMenuItem: Before showing the Design menu item
196 - $widget: AccountSettingsNav instance being shown
198 EndAccountSettingsDesignMenuItem: After showing the Design menu item
199 - $widget: AccountSettingsNav instance being shown
201 StartAccountSettingsOtherMenuItem: Before showing the Other menu item
202 - $widget: AccountSettingsNav instance being shown
204 EndAccountSettingsOtherMenuItem: After showing the Other menu item
205 - $widget: AccountSettingsNav instance being shown
207 Autoload: When trying to autoload a class
208 - $cls: the class being sought. A plugin might require_once the file for the class.
210 SensitiveAction: determines if an action is 'sensitive' and should use SSL
211 - $action: name of the action, like 'login'
212 - $sensitive: flag for whether this is a sensitive action
214 LoginAction: determines if an action is a 'login' action (OK for public view in private mode)
215 - $action: name of the action, like 'register'
216 - $login: flag for whether this is a login action
218 StartShowHead: called before showing the <head> element and children
219 - $action: action object being show
221 EndShowHead: called after showing the <head> element (and </head>)
222 - $action: action object being shown
224 StartShowBody: called before showing the <body> element and children
225 - $action: action object being shown
227 EndShowBody: called after showing the <body> element (and </body>)
228 - $action: action object being shown
230 StartPersonalGroupNav: beginning of personal group nav menu
231 - $action: action object being shown
233 EndPersonalGroupNav: end of personal group nav menu (good place to add a menu item)
234 - $action: action object being shown
236 StartGroupGroupNav: Showing the group nav menu
237 - $action: the current action
239 EndGroupGroupNav: At the end of the group nav menu
240 - $action: the current action
242 StartEndHTML: just before the </html> tag
243 - $action: action object being shown
245 EndEndHTML: just after the </html> tag
246 - $action: action object being shown
248 StartShowDesign: just before showing a site, user, or group design
249 - $action: action object being shown
251 EndShowDesign: just after showing a site, user, or group design
252 - $action: action object being shown
254 StartShowExportData: just before showing the <div> with export data (feeds)
255 - $action: action object being shown
257 EndShowExportData: just after showing the <div> with export data (feeds)
258 - $action: action object being shown
260 StartShowNoticeItem: just before showing the notice item
261 - $item: The NoticeListItem object being shown
263 EndShowNoticeItem: just after showing the notice item
264 - $item: the NoticeListItem object being shown
266 StartShowNoticeInfo: just before showing notice info
267 - $item: The NoticeListItem object being shown
269 EndShowNoticeInfo: just after showing notice info
270 - $item: The NoticeListItem object being shown
272 StartShowNoticeOptions: just before showing notice options like fave, repeat, etc.
273 - $item: the NoticeListItem object being shown
275 EndShowNoticeOptions: just after showing notice options like fave, repeat, etc.
276 - $item: the NoticeListItem object being shown
278 StartShowFaveForm: just before showing the fave form
279 - $item: the NoticeListItem object being shown
281 EndShowFaveForm: just after showing the fave form
282 - $item: the NoticeListItem object being shown
284 StartShowPageNotice: just before showing the page notice (instructions or error)
285 - $action: action object being shown
287 EndShowPageNotice: just after showing the page notice (instructions or error)
288 - $action: action object being shown
290 StartShowPageTitle: just before showing the main h1 title of a page (only for registration)
291 - $action: action object being shown
293 StartProfileFormData: just before showing text entry fields on profile settings page
294 - $action: action object being shown
296 EndProfileFormData: just after showing text entry fields on profile settings page
297 - $action: action object being shown
299 StartProfileSaveForm: before starting to save a profile settings form
300 - $action: action object being shown
302 EndProfileSaveForm: after saving a profile settings form (after commit, no profile or user object!)
303 - $action: action object being shown
305 StartEmailFormData: just before showing text entry fields on email settings page
306 - $action: action object being shown
308 EndEmailFormData: just after showing text entry fields on email settings page
309 - $action: action object being shown
311 StartEmailSaveForm: before starting to save a email settings form
312 - $action: action object being shown
313 - &$user: user being saved
315 EndEmailSaveForm: after saving a email settings form (after commit)
316 - $action: action object being shown
317 - &$user: user being saved
319 StartRegistrationFormData: just before showing text entry fields on registration page
320 - $action: action object being shown
322 EndRegistrationFormData: just after showing text entry fields on registration page
323 - $action: action object being shown
325 StartRegistrationTry: before validating and saving a new user
326 - $action: action object being shown
328 EndRegistrationTry: after saving a new user (note: no profile or user object!)
329 - $action: action object being shown
331 StartAvatarFormData: before displaying avatar form
332 - $action: action object being shown
334 EndAvatarFormData: after displaying avatar form
335 - $action: action object being shown
337 StartAvatarSaveForm: before saving the avatar
338 - $action: action object being shown
340 EndAvatarSaveForm: after saving the avatar
341 - $action: action object being shown
343 StartNewQueueManager: before trying to start a new queue manager; good for plugins implementing new queue manager classes
344 - $qm: empty queue manager to set
346 RedirectToLogin: event when we force a redirect to login (like when going to a settings page on a remembered login)
347 - $action: action object being shown
348 - $user: current user
350 StartLoadDoc: before loading a help doc (hook this to show your own documentation)
351 - $title: title of the document
352 - $output: HTML output to show
354 EndLoadDoc: after loading a help doc (hook this to modify other documentation)
355 - $title: title of the document
356 - $output: HTML output to show
358 StartApiRss: after the rss <channel> element is started
359 - $action: action object being shown
361 StartApiAtom: after the <feed> element is started
362 - $action: action object being shown
364 StartEnqueueNotice: about to add a notice to the queues (good place to add a new transport)
365 - $notice: the notice being added
366 - &$transports: modifiable list of transports (as strings) to queue for
368 EndEnqueueNotice: after adding a notice to the queues
369 - $notice: the notice being added
370 - $transports: modifiable list of transports to use
372 UnqueueHandleNotice: Handle a notice when no queue manager is available
373 - $notice: the notice to handle
374 - $queue: the "queue" that is being executed
376 GetValidDaemons: Just before determining which daemons to run
377 - &$daemons: modifiable list of daemon scripts to run, filenames relative to scripts/
379 HandleQueuedNotice: Handle a queued notice at queue time (or immediately if no queue)
380 - &$notice: notice to handle
382 StartHtmlElement: Reight before outputting the HTML element - allows plugins to add namespaces
383 - $action: the current action
384 - &$attrs: attributes for the HTML element
386 EndHtmlElement: Right after outputting the HTML element
387 - $action: the current action
388 - &$attrs: attributes for the HTML element
390 StartShowHeadElements: Right after the <head> tag
391 - $action: the current action
393 EndShowHeadElements: Right before the </head> tag; put <script>s here if you need them in <head>
394 - $action: the current action
396 CheckSchema: chance to check the schema
398 StartProfileRemoteSubscribe: Before showing the link to remote subscription
399 - $userprofile: UserProfile widget
400 - &$profile: the profile being shown
402 EndProfileRemoteSubscribe: After showing the link to remote subscription
403 - $userprofile: UserProfile widget
404 - &$profile: the profile being shown
406 StartGroupSubscribe: Before showing the link to remote subscription
407 - $action: the current action
408 - $group: the group being shown
410 EndGroupSubscribe: After showing the link to remote subscription
411 - $action: the current action
412 - $group: the group being shown
414 StartProfilePageProfileSection: Starting to show the section of the
415 profile page with the actual profile data;
416 hook to prevent showing the profile (e.g.)
417 - $userprofile: UserProfile widget
418 - &$profile: the profile being shown
420 StartProfilePageProfileElements: inside the section, before the first
421 element; prepend elements here
422 - $userprofile: UserProfile widget
423 - &$profile: the profile being shown
425 EndProfilePageProfileElements: inside the section, after the last element;
427 - $userprofile: UserProfile widget
428 - &$profile: the profile being shown
430 EndProfilePageProfileSection: After showing the section of the profile
431 page with the profile elements
432 - $userprofile: UserProfile widget
433 - &$profile: the profile being shown
435 StartProfilePageActionsSection: Starting to show the section of the
436 profile page with action links; hook
437 to hide them (for example)
438 - $userprofile: UserProfile widget
439 - &$profile: the profile being shown
441 StartProfilePageActionsElements: inside the list, before the first
442 element; prepend elements here
443 - $userprofile: UserProfile widget
444 - &$profile: the profile being shown
446 EndProfilePageActionsElements: inside the list, after the last element;
448 - $userprofile: UserProfile widget
449 - &$profile: the profile being shown
451 EndProfilePageActionsSection: After showing the section of the profile
452 page with the entity actions
453 - $userprofile: UserProfile widget
454 - &$profile: the profile being shown
456 StartProfilePageAvatar: before showing the avatar on the profile page
457 - $userprofile: UserProfile widget
458 - &$profile: the profile being shown
460 EndProfilePageAvatar: after showing the avatar on the profile page
461 - $userprofile: UserProfile widget
462 - &$profile: the profile being shown
464 StartProfilePageNickname: before showing the nickname on the profile page
465 - $userprofile: UserProfile widget
466 - &$profile: the profile being shown
468 EndProfilePageNickname: after showing the nickname on the profile page
469 - $userprofile: UserProfile widget
470 - &$profile: the profile being shown
472 StartProfilePageFullName: before showing the fullname on the profile page
473 - $userprofile: UserProfile widget
474 - &$profile: the profile being shown
476 EndProfilePageFullName: after showing the fullname on the profile page
477 - $userprofile: UserProfile widget
478 - &$profile: the profile being shown
480 StartProfilePageLocation: before showing the location on the profile page
481 - $userprofile: UserProfile widget
482 - &$profile: the profile being shown
484 EndProfilePageLocation: after showing the location on the profile page
485 - $userprofile: UserProfile widget
486 - &$profile: the profile being shown
488 StartProfilePageHomepage: before showing the homepage link on the profile page
489 - $userprofile: UserProfile widget
490 - &$profile: the profile being shown
492 EndProfilePageHomepage: after showing the homepage on the profile page
493 - $userprofile: UserProfile widget
494 - &$profile: the profile being shown
496 StartProfilePageBio: before showing the bio on the profile page
497 - $userprofile: UserProfile widget
498 - &$profile: the profile being shown
500 EndProfilePageBio: after showing the bio on the profile page
501 - $userprofile: UserProfile widget
502 - &$profile: the profile being shown
504 StartProfilePageProfileTags: before showing the tags on the profile page
505 - $userprofile: UserProfile widget
506 - &$profile: the profile being shown
508 EndProfilePageProfileTags: after showing the tags on the profile page
509 - $userprofile: UserProfile widget
510 - &$profile: the profile being shown
512 StartProfileList: when starting a list of profiles (before <ul>)
513 - $profilelist: ProfileList widget, with $profile, $action, and $out
515 EndProfileList: when ending a list of profiles (after </ul>)
516 - $profilelist: ProfileList widget
518 StartProfileListItem: when starting to show a profile list item
519 - $item: ProfileListItem widget
521 EndProfileListItem: after showing a profile list item
522 - $item: ProfileListItem widget
524 StartProfileListItemProfile: the profile data part of the item
525 - $item: ProfileListItem widget
527 EndProfileListItemProfile: the profile data part of the item
528 - $item: ProfileListItem widget
530 StartProfileListItemActions: the actions (buttons) for an item
531 - $item: ProfileListItem widget
533 EndProfileListItemActions: the actions (buttons) for an item
534 - $item: ProfileListItem widget
536 StartProfileListItemProfileElements: inside the <div>
537 - $item: ProfileListItem widget
539 EndProfileListItemProfileElements: inside the <div>
540 - $item: ProfileListItem widget
542 StartProfileListItemAvatar: Showing a profile list avatar
543 - $item: ProfileListItem widget
545 EndProfileListItemAvatar: Showing a profile list avatar
546 - $item: ProfileListItem widget
548 StartProfileListItemFullName: Showing the profile list full name
549 - $item: ProfileListItem widget
551 EndProfileListItemFullName: Showing the profile list full name
552 - $item: ProfileListItem widget
554 StartProfileListItemLocation: Showing the profile list location
555 - $item: ProfileListItem widget
557 EndProfileListItemLocation: Showing the profile list location
558 - $item: ProfileListItem widget
560 StartProfileListItemHomepage: Showing the profile list homepage
561 - $item: ProfileListItem widget
563 EndProfileListItemHomepage: Showing the profile list homepage
564 - $item: ProfileListItem widget
566 StartProfileListItemBio: Showing the profile list bio
567 - $item: ProfileListItem widget
569 EndProfileListItemBio: Showing the profile list bio
570 - $item: ProfileListItem widget
572 StartProfileListItemActionElements: Showing the profile list actions (prepend a button here, or replace all buttons)
573 - $item: ProfileListItem widget
575 EndProfileListItemActionElements: Showing profile list actions (append a button here)
576 - $item: ProfileListItem widget
578 StartUserXRDS: Start XRDS output (right after the opening XRDS tag)
579 - $action: the current action
580 - &$xrdsoutputter - XRDSOutputter object to write to
582 EndUserXRDS: End XRDS output (right before the closing XRDS tag)
583 - $action: the current action
584 - &$xrdsoutputter - XRDSOutputter object to write to
586 StartPublicXRDS: Start XRDS output (right after the opening XRDS tag)
587 - $action: the current action
588 - &$xrdsoutputter - XRDSOutputter object to write to
590 EndPublicXRDS: End XRDS output (right before the closing XRDS tag)
591 - $action: the current action
592 - &$xrdsoutputter - XRDSOutputter object to write to
594 StartHostMetaLinks: Start /.well-known/host-meta links
595 - &links: array containing the links elements to be written
597 EndHostMetaLinks: End /.well-known/host-meta links
598 - &links: array containing the links elements to be written
600 StartCheckPassword: Check a username/password
601 - $nickname: The nickname to check
602 - $password: The password to check
603 - &$authenticatedUser: set to User object if credentials match a user.
605 EndCheckPassword: After checking a username/password pair
606 - $nickname: The nickname that was checked
607 - $password: The password that was checked
608 - $authenticatedUser: User object if credentials match a user, else null.
610 StartChangePassword: Before changing a password
612 - $oldpassword: the user's old password
613 - $newpassword: the desired new password
615 EndChangePassword: After changing a password
618 StartSetUser: Before setting the currently logged in user
621 EndSetUser: After setting the currently logged in user
624 StartSetApiUser: Before setting the current API user
627 EndSetApiUser: After setting the current API user
630 StartHasRole: Before determing if the a profile has a given role
631 - $profile: profile in question
632 - $name: name of the role in question
633 - &$has_role: does this profile have the named role?
635 EndHasRole: Before determing if the a profile has a given role
636 - $profile: profile in question
637 - $name: name of the role in question
638 - $has_role: does this profile have the named role?
640 UserDeleteRelated: Specify additional tables to delete entries from when deleting users
642 - &$related: array of DB_DataObject class names to delete entries on matching user_id.
644 GetUrlShorteners: Specify URL shorteners that are available for use
645 - &$shorteners: append your shortener to this array like so: $shorteners[shortenerName]=array('display'=>display, 'freeService'=>boolean)
647 StartShortenUrl: About to shorten a URL
648 - $url: url to be shortened
649 - $shortenerName: name of the requested shortener
650 - &$shortenedUrl: short version of the url
652 EndShortenUrl: After a URL has been shortened
653 - $url: url to be shortened
654 - $shortenerName: name of the requested shortener
655 - $shortenedUrl: short version of the url
657 StartCssLinkElement: Before a <link rel="stylesheet"..> element is written
663 EndCssLinkElement: After a <link rel="stylesheet"..> element is written
669 StartStyleElement: Before a <style...> element is written
675 EndStyleElement: After a <style...> element is written
681 StartScriptElement: Before a <script...> element is written
686 EndScriptElement: After a <script...> element is written
691 StartInlineScriptElement: Before a <script...> element is written
696 EndInlineScriptElement: After a <script...> element is written
701 StartLog: Before writing to the logs
706 EndLog: After writing to the logs
711 StartBlockProfile: when we're about to block
712 - $user: the person doing the block
713 - $profile: the person getting blocked, can be remote
715 EndBlockProfile: when a block has succeeded
716 - $user: the person doing the block
717 - $profile: the person blocked, can be remote
719 StartUnblockProfile: when we're about to unblock
720 - $user: the person doing the unblock
721 - $profile: the person getting unblocked, can be remote
723 EndUnblockProfile: when an unblock has succeeded
724 - $user: the person doing the unblock
725 - $profile: the person unblocked, can be remote
727 StartSubscribe: when a subscription is starting
728 - $user: the person subscribing
729 - $other: the person being subscribed to
731 EndSubscribe: when a subscription is finished
732 - $user: the person subscribing
733 - $other: the person being subscribed to
735 StartUnsubscribe: when an unsubscribe is starting
736 - $user: the person unsubscribing
737 - $other: the person being unsubscribed from
739 EndUnsubscribe: when an unsubscribe is done
740 - $user: the person unsubscribing
741 - $other: the person being unsubscribed to
743 StartJoinGroup: when a user is joining a group
744 - $group: the group being joined
745 - $user: the user joining
747 EndJoinGroup: when a user finishes joining a group
748 - $group: the group being joined
749 - $user: the user joining
751 StartLeaveGroup: when a user is leaving a group
752 - $group: the group being left
753 - $user: the user leaving
755 EndLeaveGroup: when a user has left a group
756 - $group: the group being left
757 - $user: the user leaving
759 StartShowContentLicense: Showing the default license for content
760 - $action: the current action
762 EndShowContentLicense: Showing the default license for content
763 - $action: the current action
765 StartUserRegister: When a new user is being registered
766 - &$profile: new profile data (no ID)
767 - &$user: new user account (no ID or URI)
769 EndUserRegister: When a new user has been registered
770 - &$profile: new profile data
771 - &$user: new user account
773 StartRobotsTxt: Before outputting the robots.txt page
774 - &$action: RobotstxtAction being shown
776 EndRobotsTxt: After the default robots.txt page (good place for customization)
777 - &$action: RobotstxtAction being shown
779 StartGetProfileUri: When determining the canonical URI for a given profile
780 - $profile: the current profile
783 EndGetProfileUri: After determining the canonical URI for a given profile
784 - $profile: the current profile
787 StartFavorNotice: Saving a notice as a favorite
788 - $profile: profile of the person faving (can be remote!)
789 - $notice: notice being faved
790 - &$fave: Favor object; null to start off with, but feel free to override.
792 EndFavorNotice: After saving a notice as a favorite
793 - $profile: profile of the person faving (can be remote!)
794 - $notice: notice being faved
796 StartDisfavorNotice: Saving a notice as a favorite
797 - $profile: profile of the person faving (can be remote!)
798 - $notice: notice being faved
799 - &$result: result of the disfavoring (if you override)
801 EndDisfavorNotice: After saving a notice as a favorite
802 - $profile: profile of the person faving (can be remote!)
803 - $notice: notice being faved
805 StartFavorNoticeForm: starting the data in the form for favoring a notice
806 - $FavorForm: the favor form being shown
807 - $notice: notice being favored
809 EndFavorNoticeForm: Ending the data in the form for favoring a notice
810 - $FavorForm: the favor form being shown
811 - $notice: notice being favored
813 StartDisFavorNoticeForm: starting the data in the form for disfavoring a notice
814 - $DisfavorForm: the disfavor form being shown
815 - $notice: notice being difavored
817 EndDisFavorNoticeForm: Ending the data in the form for disfavoring a notice
818 - $DisfavorForm: the disfavor form being shown
819 - $notice: notice being disfavored
821 StartFindMentions: start finding mentions in a block of text
822 - $sender: sender profile
823 - $text: plain text version of the notice
824 - &$mentions: mentions found so far. Array of arrays; each array
825 has 'mentioned' (array of mentioned profiles), 'url' (url to link as),
826 'title' (title of the link), 'position' (position of the text to
827 replace), 'text' (text to replace)
829 EndFindMentions: end finding mentions in a block of text
830 - $sender: sender profile
831 - $text: plain text version of the notice
832 - &$mentions: mentions found so far. Array of arrays; each array
833 has 'mentioned' (array of mentioned profiles), 'url' (url to link as),
834 'title' (title of the link), 'position' (position of the text to
835 replace), 'text' (text to replace)
837 StartShowSubscriptionsContent: before showing the subscriptions content
838 - $action: the current action
840 EndShowSubscriptionsContent: after showing the subscriptions content
841 - $action: the current action
843 StartShowUserGroupsContent: before showing the user groups content
844 - $action: the current action
846 EndShowUserGroupsContent: after showing the user groups content
847 - $action: the current action
849 StartShowAllContent: before showing the all (you and friends) content
850 - $action: the current action
852 EndShowAllContent: after showing the all (you and friends) content
853 - $action: the current action
855 StartShowSubscriptionsMiniList: at the start of subscriptions mini list
856 - $action: the current action
858 EndShowSubscriptionsMiniList: at the end of subscriptions mini list
859 - $action: the current action
861 StartShowGroupsMiniList: at the start of groups mini list
862 - $action: the current action
864 EndShowGroupsMiniList: at the end of groups mini list
865 - $action: the current action
867 StartDeleteUserForm: starting the data in the form for deleting a user
868 - $action: action being shown
869 - $user: user being deleted
871 EndDeleteUserForm: Ending the data in the form for deleting a user
872 - $action: action being shown
873 - $user: user being deleted
875 StartDeleteUser: handling the post for deleting a user
876 - $action: action being shown
877 - $user: user being deleted
879 EndDeleteUser: handling the post for deleting a user
880 - $action: action being shown
881 - $user: user being deleted
883 StartActivityStart: starting the output for a notice activity <event>
884 - &$notice: notice being output
885 - &$xs: XMLStringer for output
886 - &$attrs: <entry> attributes (mostly namespace declarations, if any)
888 EndActivityStart: end the opening tag for an activity <event>
889 - &$notice: notice being output
890 - &$xs: XMLStringer for output
891 - $attrs: <entry> attributes (mostly namespace declarations, if any)
893 StartActivitySource: before outputting the <source> element for a notice activity
894 - &$notice: notice being output
895 - &$xs: XMLStringer for output
897 EndActivitySource: after outputting the <source> element for a notice activity
898 - &$notice: notice being output
899 - &$xs: XMLStringer for output
901 StartActivityTitle: before outputting notice activity title
902 - &$notice: notice being output
903 - &$xs: XMLStringer for output
904 - &$title: title of the notice, mutable
906 EndActivityTitle: after outputting notice activity title
907 - $notice: notice being output
908 - &$xs: XMLStringer for output
909 - $title: title of the notice
911 StartActivityAuthor: before outputting atom author
912 - &$notice: notice being output
913 - &$xs: XMLStringer for output
914 - &$atomAuthor: string for XML representing atom author
916 EndActivityAuthor: after outputting atom author
917 - &$notice: notice being output
918 - &$xs: XMLStringer for output
919 - &$atomAuthor: string for XML representing atom author
921 StartActivityActor: before outputting activity actor element for a notice activity entry
922 - &$notice: notice being output
923 - &$xs: XMLStringer for output
924 - &$actor: string for XML representing activity actor
926 EndActivityActor: after outputting activity actor element for a notice activity entry
927 - &$notice: notice being output
928 - &$xs: XMLStringer for output
929 - &$actor: string for XML representing activity actor
931 StartActivityLink: before outputting activity HTML link element for a notice activity entry
932 - &$notice: notice being output
933 - &$xs: XMLStringer for output
934 - &$url: URL for activity HTML link element for a notice activity entry
936 EndActivityLink: before outputting activity HTML link element for a notice activity entry
937 - &$notice: notice being output
938 - &$xs: XMLStringer for output
939 - $url: URL for activity HTML link element for a notice activity entry
941 StartActivityId: before outputting atom:id element for a notice activity entry
942 - &$notice: notice being output
943 - &$xs: XMLStringer for output
944 - &$id: atom:id (notice URI by default)
946 EndActivityId: after outputting atom:id element for a notice activity entry
947 - &$notice: notice being output
948 - &$xs: XMLStringer for output
949 - $id: atom:id (notice URI by default)
951 StartActivityPublished: before outputting atom:published element for a notice activity entry
952 - &$notice: notice being output
953 - &$xs: XMLStringer for output
954 - &$published: atom:published value (notice created by default)
956 EndActivityPublished: before outputting atom:published element for a notice activity entry
957 - &$notice: notice being output
958 - &$xs: XMLStringer for output
959 - $published: atom:published value (notice created by default)
961 StartActivityUpdated: before outputting atom:updated element for a notice activity entry
962 - &$notice: notice being output
963 - &$xs: XMLStringer for output
964 - &$updated: atom:updated value (same as atom:published by default)
966 EndActivityUpdated: after outputting atom:updated element for a notice activity entry
967 - &$notice: notice being output
968 - &$xs: XMLStringer for output
969 - $updated: atom:updated value (same as atom:published by default)
971 StartActivityContent: before outputting atom:content element for a notice activity entry
972 - &$notice: notice being output
973 - &$xs: XMLStringer for output
974 - &$content: atom:content value (notice rendered HTML by default)
976 EndActivityContent: after outputting atom:content element for a notice activity entry
977 - &$notice: notice being output
978 - &$xs: XMLStringer for output
979 - $content: atom:content value (notice rendered HTML by default)
981 StartActivityVerb: before outputting activity:verb element for a notice activity entry
982 - &$notice: notice being output
983 - &$xs: XMLStringer for output
984 - &$verb: activity:verb URI ('http://activitystrea.ms/schema/1.0/post' by default)
986 EndActivityVerb: after outputting activity:verb element for a notice activity entry
987 - &$notice: notice being output
988 - &$xs: XMLStringer for output
989 - $verb: activity:verb URI ('http://activitystrea.ms/schema/1.0/post' by default)
991 StartActivityDefaultObjectType: before outputting activity:object-type element for a notice activity entry
992 - &$notice: notice being output
993 - &$xs: XMLStringer for output
994 - &$type: activity:object-type URI for default object ('http://activitystrea.ms/schema/1.0/note' by default)
996 EndActivityDefaultObjectType: after outputting activity:verb element for a notice activity entry
997 - &$notice: notice being output
998 - &$xs: XMLStringer for output
999 - $type: activity:object-type URI for default object ('http://activitystrea.ms/schema/1.0/note' by default)
1001 StartActivityObjects: before outputting activity:object elements for a notice activity entry
1002 - &$notice: notice being output
1003 - &$xs: XMLStringer for output
1004 - &$objects: array of ActivityObject objects to output (empty by default)
1006 EndActivityObjects: after outputting activity:object elements for a notice activity entry
1007 - &$notice: notice being output
1008 - &$xs: XMLStringer for output
1009 - $objects: array of ActivityObject objects to output (empty by default)
1011 StartActivityNoticeInfo: before outputting statusnet:notice-info element for a notice activity entry
1012 - &$notice: notice being output
1013 - &$xs: XMLStringer for output
1014 - &$noticeInfoAttr: array of attributes for notice info element
1016 EndActivityNoticeInfo: after outputting statusnet:notice-info element for a notice activity entry
1017 - &$notice: notice being output
1018 - &$xs: XMLStringer for output
1019 - $noticeInfoAttr: array of attributes for notice info element
1021 StartActivityInReplyTo: before outputting thr:in-reply-to element for a notice activity entry
1022 - &$notice: notice being output
1023 - &$xs: XMLStringer for output
1024 - &$replyNotice: Notice object the main notice is in-reply-to
1026 EndActivityInReplyTo: after outputting thr:in-reply-to element for a notice activity entry
1027 - &$notice: notice being output
1028 - &$xs: XMLStringer for output
1029 - $replyNotice: Notice object the main notice is in-reply-to
1031 StartActivityConversation: before outputting ostatus:conversation link element for a notice activity entry
1032 - &$notice: notice being output
1033 - &$xs: XMLStringer for output
1034 - &$conv: Conversation object
1036 EndActivityConversation: after outputting ostatus:conversation link element for a notice activity entry
1037 - &$notice: notice being output
1038 - &$xs: XMLStringer for output
1039 - $conv: Conversation object
1041 StartActivityAttentionProfiles: before outputting ostatus:attention link element for people in a notice activity entry
1042 - &$notice: notice being output
1043 - &$xs: XMLStringer for output
1044 - &$replyProfiles: array of profiles of people being replied to
1046 EndActivityAttentionProfiles: after outputting ostatus:attention link element for people in a notice activity entry
1047 - &$notice: notice being output
1048 - &$xs: XMLStringer for output
1049 - $replyProfiles: array of Profile object of people being replied to
1051 StartActivityAttentionGroups: before outputting ostatus:attention link element for groups in a notice activity entry
1052 - &$notice: notice being output
1053 - &$xs: XMLStringer for output
1054 - &$groups: array of Group objects of groups being addressed
1056 EndActivityAttentionGroups: after outputting ostatus:attention link element for groups in a notice activity entry
1057 - &$notice: notice being output
1058 - &$xs: XMLStringer for output
1059 - $groups: array of Group objects of groups being addressed
1061 StartActivityForward: before outputting ostatus:forward link element in a notice activity entry
1062 - &$notice: notice being output
1063 - &$xs: XMLStringer for output
1064 - &$repeat: Notice that was repeated
1066 EndActivityForward: after outputting ostatus:forward link element in a notice activity entry
1067 - &$notice: notice being output
1068 - &$xs: XMLStringer for output
1069 - $repeat: Notice that was repeated
1071 StartActivityCategories: before outputting atom:category elements in a notice activity entry
1072 - &$notice: notice being output
1073 - &$xs: XMLStringer for output
1074 - &$tags: array of strings for tags on the notice (used for categories)
1076 EndActivityCategories: after outputting atom:category elements in a notice activity entry
1077 - &$notice: notice being output
1078 - &$xs: XMLStringer for output
1079 - $tags: array of strings for tags on the notice (used for categories)
1081 StartActivityEnclosures: before outputting enclosure link elements in a notice activity entry
1082 - &$notice: notice being output
1083 - &$xs: XMLStringer for output
1084 - &$enclosures: array of enclosure objects (see File::getEnclosure() for details)
1086 EndActivityEnclosures: after outputting enclosure link elements in a notice activity entry
1087 - &$notice: notice being output
1088 - &$xs: XMLStringer for output
1089 - $enclosures: array of enclosure objects (see File::getEnclosure() for details)
1091 StartActivityGeo: before outputting geo:rss element in a notice activity entry
1092 - &$notice: notice being output
1093 - &$xs: XMLStringer for output
1097 EndActivityGeo: after outputting geo:rss element in a notice activity entry
1098 - &$notice: notice being output
1099 - &$xs: XMLStringer for output
1103 StartActivityEnd: before the closing </entry> in a notice activity entry (last chance for data!)
1104 - &$notice: notice being output
1105 - &$xs: XMLStringer for output
1107 EndActivityEnd: after the closing </entry> in a notice activity entry
1108 - &$notice: notice being output
1109 - &$xs: XMLStringer for output
1111 StartNoticeSaveWeb: before saving a notice through the Web interface
1112 - $action: action being executed (instance of NewNoticeAction)
1113 - &$authorId: integer ID of the author
1114 - &$text: text of the notice
1115 - &$options: additional options (location, replies, etc.)
1117 EndNoticeSaveWeb: after saving a notice through the Web interface
1118 - $action: action being executed (instance of NewNoticeAction)
1119 - $notice: notice that was saved
1121 StartRssEntryArray: at the start of copying a notice to an array
1122 - $notice: the notice being copied
1123 - &$entry: the entry (empty at beginning)
1125 EndRssEntryArray: at the end of copying a notice to an array
1126 - $notice: the notice being copied
1127 - &$entry: the entry, with all the fields filled up
1129 NoticeDeleteRelated: at the beginning of deleting related fields to a notice
1130 - $notice: notice being deleted
1132 StartShowHeadTitle: when beginning to show the <title> element
1133 - $action: action being shown
1135 EndShowHeadTitle: when done showing the <title>
1136 - $action: action being shown
1138 StartShowPageTitle: when beginning to show the page title <h1>
1139 - $action: action being shown
1141 EndShowPageTitle: when done showing the page title <h1>
1142 - $action: action being shown
1144 StartDeleteOwnNotice: when a user starts to delete their own notice
1145 - $user: the user doing the delete
1146 - $notice: the notice being deleted
1148 EndDeleteOwnNotice: when a user has deleted their own notice
1149 - $user: the user doing the delete
1150 - $notice: the notice being deleted
1152 StartShowFeedLinkList: before showing the feed list in the sidebar
1153 - $action: action being executed
1154 - $feeds: list of feeds to show
1156 EndShowFeedLinkList: after showing the feed list in the sidebar
1157 - $action: action being executed
1158 - $feeds: list of feeds shown
1160 StartShowFeedLink: before showing an individual feed item
1161 - $action: action being executed
1162 - $feed: feed to show
1164 EndShowFeedLink: after showing an individual feed
1165 - $action: action being executed
1166 - $feed: feed to show
1168 StartShowNoticeForm: before showing the notice form (before <form>)
1169 - $action: action being executed
1171 EndShowNoticeForm: after showing the notice form (after <form>)
1172 - $action: action being executed
1174 StartGrantRole: when a role is being assigned
1175 - $profile: profile that will have the role
1176 - $role: string name of the role
1178 EndGrantRole: when a role has been successfully assigned
1179 - $profile: profile that will have the role
1180 - $role: string name of the role
1182 StartRevokeRole: when a role is being revoked
1183 - $profile: profile that will lose the role
1184 - $role: string name of the role
1186 EndRevokeRole: when a role has been revoked
1187 - $profile: profile that lost the role
1188 - $role: string name of the role
1190 StartAtomPubNewActivity: When a new activity comes in through Atom Pub API
1191 - &$activity: received activity
1193 EndAtomPubNewActivity: When a new activity comes in through Atom Pub API
1194 - $activity: received activity
1195 - $notice: notice that was created
1197 StartXrdActionAliases: About to set aliases for the XRD object for a user
1198 - &$xrd: XRD object being shown
1199 - $user: User being shown
1201 EndXrdActionAliases: Done with aliases for the XRD object for a user
1202 - &$xrd: XRD object being shown
1203 - $user: User being shown
1205 StartXrdActionLinks: About to set links for the XRD object for a user
1206 - &$xrd: XRD object being shown
1207 - $user: User being shown
1209 EndXrdActionLinks: Done with links for the XRD object for a user
1210 - &$xrd: XRD object being shown
1211 - $user: User being shown