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 StartShowStylesheets: Showing stylesheet links
24 - $action: the current action
26 EndShowStylesheets: End showing stylesheet links; good place to add handheld or JavaScript dependant styles
27 - $action: the current action
29 StartShowUAStyles: Showing custom User-Agent style links
30 - $action: the current action
32 EndShowUAStyles: End showing custom User-Agent links; good place to add user-agent (e.g., filter, -webkit, -moz) specific styles
33 - $action: the current action
35 StartShowScripts: Showing JavaScript links
36 - $action: the current action
38 EndShowScripts: End showing JavaScript links; good place to add custom
39 links like Google Analytics
40 - $action: the current action
42 StartShowJQueryScripts: Showing JQuery script links (use this to link to e.g. Google mirrors)
43 - $action: the current action
45 EndShowJQueryScripts: End showing JQuery script links
46 - $action: the current action
48 StartShowStatusNetScripts: Showing StatusNet script links (use this to link to a CDN or something)
49 - $action: the current action
51 EndShowStatusNetScripts: End showing StatusNet script links
52 - $action: the current action
54 StartShowSections: Start the list of sections in the sidebar
55 - $action: the current action
57 EndShowSections: End the list of sections in the sidebar
58 - $action: the current action
60 StartShowHeader: Showing before the header container
61 - $action: the current action
63 EndShowHeader: Showing after the header container
64 - $action: the current action
66 StartShowFooter: Showing before the footer container
67 - $action: the current action
69 EndShowFooter: Showing after the footer container
70 - $action: the current action
72 StartShowContentBlock: Showing before the content container
73 - $action: the current action
75 EndShowContentBlock: Showing after the content container
76 - $action: the current action
78 StartShowAside: Showing before the Aside container
79 - $action: the current action
81 EndShowAside: Showing after the Aside container
82 - $action: the current action
84 StartShowNoticeFormData: Showing before the notice form data
85 - $action: the current action
87 EndShowNoticeFormData: Showing after the notice form data
88 - $action: the current action
90 StartNoticeSave: before inserting a notice (good place for content filters)
91 - $notice: notice being saved (no ID or URI)
93 EndNoticeSave: after inserting a notice and related code
94 - $notice: notice that was saved (with ID and URI)
96 StartShowLocalNavBlock: Showing the local nav menu
97 - $action: the current action
99 EndShowLocalNavBlock: At the end of the local nav menu
100 - $action: the current action
102 StartShowHTML: Chance to set document headers (e.g., content type, charset, language), DOCTYPE and html element properties
103 - $action: the current action
105 EndShowHTML: Showing after the html element
106 - $action: the current action
108 StartPublicGroupNav: Showing the public group nav menu
109 - $menu: the menu widget; use $menu->action for output
111 EndPublicGroupNav: At the end of the public group nav menu
112 - $menu: the menu widget; use $menu->action for output
114 StartSubGroupNav: Showing the subscriptions group nav menu
115 - $menu: the menu widget; use $menu->action for output
117 EndSubGroupNav: At the end of the subscriptions group nav menu
118 - $menu: the menu widget; use $menu->action for output
120 StartInitializeRouter: Before the router instance has been initialized; good place to add routes
121 - $m: the Net_URL_Mapper that has just been set up
123 RouterInitialized: After the router instance has been initialized
124 - $m: the Net_URL_Mapper that has just been set up
126 StartLogout: Before logging out
127 - $action: the logout action
129 EndLogout: After logging out
130 - $action: the logout action
132 ArgsInitialize: After the argument array has been initialized
133 - $args: associative array of arguments, can be modified
135 StartAddressData: Allows the site owner to provide additional information about themselves for contact (e.g., tagline, email, location)
136 - $action: the current action
138 EndAddressData: At the end of <address>
139 - $action: the current action
141 StartShowSiteNotice: Before showing site notice
142 - $action: the current action
144 EndShowSiteNotice: After showing site notice
145 - $action: the current action
147 StartLoginGroupNav: Before showing the login and register navigation menu
148 - $action: the current action
150 EndLoginGroupNav: After showing the login and register navigation menu
151 - $action: the current action
153 StartAccountSettingsNav: Before showing the account settings menu
154 - $action: the current action
156 EndAccountSettingsNav: After showing the account settings menu
157 - $action: the current action
159 StartAccountSettingsProfileMenuItem: Before showing the Profile menu item
160 - $widget: AccountSettingsNav instance being shown
162 EndAccountSettingsProfileMenuItem: After showing the Profile menu item
163 - $widget: AccountSettingsNav instance being shown
165 StartAccountSettingsAvatarMenuItem: Before showing the Avatar menu item
166 - $widget: AccountSettingsNav instance being shown
168 EndAccountSettingsAvatarMenuItem: After showing the Avatar menu item
169 - $widget: AccountSettingsNav instance being shown
171 StartAccountSettingsPasswordMenuItem: Before showing the Password menu item
172 - $widget: AccountSettingsNav instance being shown
174 EndAccountSettingsPasswordMenuItem: After showing the Password menu item
175 - $widget: AccountSettingsNav instance being shown
177 StartAccountSettingsEmailMenuItem: Before showing the Email menu item
178 - $widget: AccountSettingsNav instance being shown
180 EndAccountSettingsEmailMenuItem: After showing the Email menu item
181 - $widget: AccountSettingsNav instance being shown
183 StartAccountSettingsDesignMenuItem: Before showing the Design menu item
184 - $widget: AccountSettingsNav instance being shown
186 EndAccountSettingsDesignMenuItem: After showing the Design menu item
187 - $widget: AccountSettingsNav instance being shown
189 StartAccountSettingsOtherMenuItem: Before showing the Other menu item
190 - $widget: AccountSettingsNav instance being shown
192 EndAccountSettingsOtherMenuItem: After showing the Other menu item
193 - $widget: AccountSettingsNav instance being shown
195 Autoload: When trying to autoload a class
196 - $cls: the class being sought. A plugin might require_once the file for the class.
198 SensitiveAction: determines if an action is 'sensitive' and should use SSL
199 - $action: name of the action, like 'login'
200 - $sensitive: flag for whether this is a sensitive action
202 LoginAction: determines if an action is a 'login' action (OK for public view in private mode)
203 - $action: name of the action, like 'register'
204 - $login: flag for whether this is a login action
206 StartShowHead: called before showing the <head> element and children
207 - $action: action object being show
209 EndShowHead: called after showing the <head> element (and </head>)
210 - $action: action object being shown
212 StartShowBody: called before showing the <body> element and children
213 - $action: action object being shown
215 EndShowBody: called after showing the <body> element (and </body>)
216 - $action: action object being shown
218 StartPersonalGroupNav: beginning of personal group nav menu
219 - $menu: Menu list object being shown
220 - $target: Profile for whom it is shown
221 - $scoped: Profile of currently logged in user (or null)
223 EndPersonalGroupNav: end of personal group nav menu (good place to add a menu item)
224 - $action: action object being shown
226 StartGroupGroupNav: Showing the group nav menu
227 - $action: the current action
229 EndGroupGroupNav: At the end of the group nav menu
230 - $action: the current action
232 StartEndHTML: just before the </html> tag
233 - $action: action object being shown
235 EndEndHTML: just after the </html> tag
236 - $action: action object being shown
238 FinalAction: After prepare() (and possible handle) in Action class.
239 - $status: result of "prepare" call on action
240 - $action: Action that is currently running
242 StartShowDesign: just before showing a site, user, or group design
243 - $action: action object being shown
245 EndShowDesign: just after showing a site, user, or group design
246 - $action: action object being shown
248 StartShowExportData: just before showing the <div> with export data (feeds)
249 - $action: action object being shown
251 EndShowExportData: just after showing the <div> with export data (feeds)
252 - $action: action object being shown
254 StartShowNoticeItem: just before showing the notice item
255 - $item: The NoticeListItem object being shown
257 EndShowNoticeItem: just after showing the notice item
258 - $item: the NoticeListItem object being shown
260 StartShowNoticeInfo: just before showing notice info
261 - $item: The NoticeListItem object being shown
263 EndShowNoticeInfo: just after showing notice info
264 - $item: The NoticeListItem object being shown
266 StartShowNoticeOptions: just before showing notice options like fave, repeat, etc.
267 - $item: the NoticeListItem object being shown
269 EndShowNoticeOptions: just after showing notice options like fave, repeat, etc.
270 - $item: the NoticeListItem object being shown
272 StartShowPageNotice: just before showing the page notice (instructions or error)
273 - $action: action object being shown
275 EndShowPageNotice: just after showing the page notice (instructions or error)
276 - $action: action object being shown
278 StartShowPageTitle: just before showing the main h1 title of a page (only for registration)
279 - $action: action object being shown
281 StartProfileFormData: just before showing text entry fields on profile settings page
282 - $action: action object being shown
284 EndProfileFormData: just after showing text entry fields on profile settings page
285 - $action: action object being shown
287 StartProfileSaveForm: before starting to save a profile settings form
288 - $action: action object being shown
290 EndProfileSaveForm: after saving a profile settings form (after commit, no profile or user object!)
291 - $action: action object being shown
293 StartEmailFormData: just before showing form input fields on email settings page
294 - $action: Action object being shown
295 - $scoped: Profile for whom settings are being configured
297 EndEmailFormData: just after showing form input fields on email settings page
298 - $action: action object being shown
299 - $scoped: Profile for whom settings are being configured
301 StartEmailSaveForm: before starting to save a email settings form
302 - $action: action object being shown
303 - &$user: user being saved
305 EndEmailSaveForm: after saving a email settings form (after commit)
306 - $action: action object being shown
307 - &$user: user being saved
309 StartRegistrationFormData: just before showing text entry fields on registration page
310 - $action: action object being shown
312 EndRegistrationFormData: just after showing text entry fields on registration page
313 - $action: action object being shown
315 StartRegistrationTry: before validating and saving a new user
316 - $action: action object being shown
318 EndRegistrationTry: after saving a new user (note: no profile or user object!)
319 - $action: action object being shown
321 StartAvatarFormData: before displaying avatar form
322 - $action: action object being shown
324 EndAvatarFormData: after displaying avatar form
325 - $action: action object being shown
327 StartAvatarSaveForm: before saving the avatar
328 - $action: action object being shown
330 EndAvatarSaveForm: after saving the avatar
331 - $action: action object being shown
333 StartNewQueueManager: before trying to start a new queue manager; good for plugins implementing new queue manager classes
334 - $qm: empty queue manager to set
336 RedirectToLogin: event when we force a redirect to login (like when going to a settings page on a remembered login)
337 - $action: action object being shown
338 - $user: current user
340 StartLoadDoc: before loading a help doc (hook this to show your own documentation)
341 - $title: title of the document
342 - $output: HTML output to show
344 EndLoadDoc: after loading a help doc (hook this to modify other documentation)
345 - $title: title of the document
346 - $output: HTML output to show
348 StartApiRss: after the rss <channel> element is started
349 - $action: action object being shown
351 StartApiAtom: after the <feed> element is started
352 - $action: action object being shown
354 StartEnqueueNotice: about to add a notice to the queues (good place to add a new transport)
355 - $notice: the notice being added
356 - &$transports: modifiable list of transports (as strings) to queue for
358 EndEnqueueNotice: after adding a notice to the queues
359 - $notice: the notice being added
360 - $transports: modifiable list of transports to use
362 UnqueueHandleNotice: Handle a notice when no queue manager is available
363 - $notice: the notice to handle
364 - $queue: the "queue" that is being executed
366 GetValidDaemons: Just before determining which daemons to run
367 - &$daemons: modifiable list of daemon scripts to run, filenames relative to scripts/
369 HandleQueuedNotice: Handle a queued notice at queue time (or immediately if no queue)
370 - &$notice: notice to handle
372 StartHtmlElement: Reight before outputting the HTML element - allows plugins to add namespaces
373 - $action: the current action
374 - &$attrs: attributes for the HTML element
376 EndHtmlElement: Right after outputting the HTML element
377 - $action: the current action
378 - &$attrs: attributes for the HTML element
380 StartShowHeadElements: Right after the <head> tag
381 - $action: the current action
383 EndShowHeadElements: Right before the </head> tag; put <script>s here if you need them in <head>
384 - $action: the current action
386 CheckSchema: chance to check the schema
388 StartProfileRemoteSubscribe: Before showing the link to remote subscription
389 - $userprofile: UserProfile widget
390 - &$profile: the profile being shown
392 EndProfileRemoteSubscribe: After showing the link to remote subscription
393 - $userprofile: UserProfile widget
394 - &$profile: the profile being shown
396 StartGroupSubscribe: Before showing the link to remote subscription
397 - $action: the current action
398 - $group: the group being shown
400 EndGroupSubscribe: After showing the link to remote subscription
401 - $action: the current action
402 - $group: the group being shown
404 StartProfilePageProfileSection: Starting to show the section of the
405 profile page with the actual profile data;
406 hook to prevent showing the profile (e.g.)
407 - $userprofile: UserProfile widget
408 - &$profile: the profile being shown
410 StartProfilePageProfileElements: inside the section, before the first
411 element; prepend elements here
412 - $userprofile: UserProfile widget
413 - &$profile: the profile being shown
415 EndProfilePageProfileElements: inside the section, after the last element;
417 - $userprofile: UserProfile widget
418 - &$profile: the profile being shown
420 EndProfilePageProfileSection: After showing the section of the profile
421 page with the profile elements
422 - $userprofile: UserProfile widget
423 - &$profile: the profile being shown
425 StartProfilePageActionsSection: Starting to show the section of the
426 profile page with action links; hook
427 to hide them (for example)
428 - $userprofile: UserProfile widget
429 - &$profile: the profile being shown
431 StartProfilePageActionsElements: inside the list, before the first
432 element; prepend elements here
433 - $userprofile: UserProfile widget
434 - &$profile: the profile being shown
436 EndProfilePageActionsElements: inside the list, after the last element;
438 - $userprofile: UserProfile widget
439 - &$profile: the profile being shown
441 EndProfilePageActionsSection: After showing the section of the profile
442 page with the entity actions
443 - $userprofile: UserProfile widget
444 - &$profile: the profile being shown
446 StartProfilePageAvatar: before showing the avatar on the profile page
447 - $userprofile: UserProfile widget
448 - &$profile: the profile being shown
450 EndProfilePageAvatar: after showing the avatar on the profile page
451 - $userprofile: UserProfile widget
452 - &$profile: the profile being shown
454 StartProfilePageNickname: before showing the nickname on the profile page
455 - $userprofile: UserProfile widget
456 - &$profile: the profile being shown
458 EndProfilePageNickname: after showing the nickname on the profile page
459 - $userprofile: UserProfile widget
460 - &$profile: the profile being shown
462 StartProfilePageFullName: before showing the fullname on the profile page
463 - $userprofile: UserProfile widget
464 - &$profile: the profile being shown
466 EndProfilePageFullName: after showing the fullname on the profile page
467 - $userprofile: UserProfile widget
468 - &$profile: the profile being shown
470 StartProfilePageLocation: before showing the location on the profile page
471 - $userprofile: UserProfile widget
472 - &$profile: the profile being shown
474 EndProfilePageLocation: after showing the location on the profile page
475 - $userprofile: UserProfile widget
476 - &$profile: the profile being shown
478 StartProfilePageHomepage: before showing the homepage link on the profile page
479 - $userprofile: UserProfile widget
480 - &$profile: the profile being shown
482 EndProfilePageHomepage: after showing the homepage on the profile page
483 - $userprofile: UserProfile widget
484 - &$profile: the profile being shown
486 StartProfilePageBio: before showing the bio on the profile page
487 - $userprofile: UserProfile widget
488 - &$profile: the profile being shown
490 EndProfilePageBio: after showing the bio on the profile page
491 - $userprofile: UserProfile widget
492 - &$profile: the profile being shown
494 StartProfilePageProfileTags: before showing the tags on the profile page
495 - $userprofile: UserProfile widget
496 - &$profile: the profile being shown
498 EndProfilePageProfileTags: after showing the tags on the profile page
499 - $userprofile: UserProfile widget
500 - &$profile: the profile being shown
502 StartProfileList: when starting a list of profiles (before <ul>)
503 - $profilelist: ProfileList widget, with $profile, $action, and $out
505 EndProfileList: when ending a list of profiles (after </ul>)
506 - $profilelist: ProfileList widget
508 StartProfileListItem: when starting to show a profile list item
509 - $item: ProfileListItem widget
511 EndProfileListItem: after showing a profile list item
512 - $item: ProfileListItem widget
514 StartProfileListItemProfile: the profile data part of the item
515 - $item: ProfileListItem widget
517 EndProfileListItemProfile: the profile data part of the item
518 - $item: ProfileListItem widget
520 StartProfileListItemActions: the actions (buttons) for an item
521 - $item: ProfileListItem widget
523 EndProfileListItemActions: the actions (buttons) for an item
524 - $item: ProfileListItem widget
526 StartProfileListItemProfileElements: inside the <div>
527 - $item: ProfileListItem widget
529 EndProfileListItemProfileElements: inside the <div>
530 - $item: ProfileListItem widget
532 StartProfileListItemAvatar: Showing a profile list avatar
533 - $item: ProfileListItem widget
535 EndProfileListItemAvatar: Showing a profile list avatar
536 - $item: ProfileListItem widget
538 StartProfileListItemFullName: Showing the profile list full name
539 - $item: ProfileListItem widget
541 EndProfileListItemFullName: Showing the profile list full name
542 - $item: ProfileListItem widget
544 StartProfileListItemLocation: Showing the profile list location
545 - $item: ProfileListItem widget
547 EndProfileListItemLocation: Showing the profile list location
548 - $item: ProfileListItem widget
550 StartProfileListItemHomepage: Showing the profile list homepage
551 - $item: ProfileListItem widget
553 EndProfileListItemHomepage: Showing the profile list homepage
554 - $item: ProfileListItem widget
556 StartProfileListItemBio: Showing the profile list bio
557 - $item: ProfileListItem widget
559 EndProfileListItemBio: Showing the profile list bio
560 - $item: ProfileListItem widget
562 StartProfileListItemActionElements: Showing the profile list actions (prepend a button here, or replace all buttons)
563 - $item: ProfileListItem widget
565 EndProfileListItemActionElements: Showing profile list actions (append a button here)
566 - $item: ProfileListItem widget
568 StartUserXRDS: Start XRDS output (right after the opening XRDS tag)
569 - $action: the current action
570 - &$xrdsoutputter - XRDSOutputter object to write to
572 EndUserXRDS: End XRDS output (right before the closing XRDS tag)
573 - $action: the current action
574 - &$xrdsoutputter - XRDSOutputter object to write to
576 StartPublicXRDS: Start XRDS output (right after the opening XRDS tag)
577 - $action: the current action
578 - &$xrdsoutputter - XRDSOutputter object to write to
580 EndPublicXRDS: End XRDS output (right before the closing XRDS tag)
581 - $action: the current action
582 - &$xrdsoutputter - XRDSOutputter object to write to
584 StartCheckPassword: Check a username/password
585 - $nickname: The nickname to check
586 - $password: The password to check
587 - &$authenticatedUser: set to User object if credentials match a user.
589 EndCheckPassword: After checking a username/password pair
590 - $nickname: The nickname that was checked
591 - $password: The password that was checked
592 - $authenticatedUser: User object if credentials match a user, else null.
594 StartChangePassword: Before changing a password
596 - $oldpassword: the user's old password
597 - $newpassword: the desired new password
599 EndChangePassword: After changing a password
602 StartHashPassword: Generate a hashed version of the password (like a salted crypt)
603 - &$hashed: Hashed version of the password, later put in the database
604 - $password: The password that should be hashed
605 - $profile: Profile that this password and hash belongs to. Can be null.
607 StartSetUser: Before setting the currently logged in user
610 EndSetUser: After setting the currently logged in user
613 StartSetApiUser: Before setting the current API user
616 EndSetApiUser: After setting the current API user
619 StartHasRole: Before determing if the a profile has a given role
620 - $profile: profile in question
621 - $name: name of the role in question
622 - &$has_role: does this profile have the named role?
624 EndHasRole: Before determing if the a profile has a given role
625 - $profile: profile in question
626 - $name: name of the role in question
627 - $has_role: does this profile have the named role?
629 UserDeleteRelated: Specify additional tables to delete entries from when deleting users
631 - &$related: array of DB_DataObject class names to delete entries on matching user_id.
633 GetUrlShorteners: Specify URL shorteners that are available for use
634 - &$shorteners: append your shortener to this array like so: $shorteners[shortenerName]=array('display'=>display, 'freeService'=>boolean)
636 StartShortenUrl: About to shorten a URL
637 - $url: url to be shortened
638 - $shortenerName: name of the requested shortener
639 - &$shortenedUrl: short version of the url
641 EndShortenUrl: After a URL has been shortened
642 - $url: url to be shortened
643 - $shortenerName: name of the requested shortener
644 - $shortenedUrl: short version of the url
646 StartCssLinkElement: Before a <link rel="stylesheet"..> element is written
652 EndCssLinkElement: After a <link rel="stylesheet"..> element is written
658 StartStyleElement: Before a <style...> element is written
664 EndStyleElement: After a <style...> element is written
670 StartScriptElement: Before a <script...> element is written
675 EndScriptElement: After a <script...> element is written
680 StartInlineScriptElement: Before a <script...> element is written
685 EndInlineScriptElement: After a <script...> element is written
690 StartLog: Before writing to the logs
695 EndLog: After writing to the logs
700 StartBlockProfile: when we're about to block
701 - $user: the person doing the block
702 - $profile: the person getting blocked, can be remote
704 EndBlockProfile: when a block has succeeded
705 - $user: the person doing the block
706 - $profile: the person blocked, can be remote
708 StartUnblockProfile: when we're about to unblock
709 - $user: the person doing the unblock
710 - $profile: the person getting unblocked, can be remote
712 EndUnblockProfile: when an unblock has succeeded
713 - $user: the person doing the unblock
714 - $profile: the person unblocked, can be remote
716 StartSubscribe: when a subscription is starting
717 - $profile: Profile that is subscribing
718 - $other: Profile that is being subscribed to
720 EndSubscribe: when a subscription is finished
721 - $profile: Profile that is subscribing
722 - $other: Profile that is being subscribed to
724 StartUnsubscribe: when an unsubscribe is starting
725 - $profile: Profile that is unsubscribing
726 - $other: Profile that is being unsubscribed from
728 EndUnsubscribe: when an unsubscribe is done
729 - $profile: Profile that is unsubscribing
730 - $other: Profile that is being unsubscribed from
732 StartJoinGroup: when a user is joining a group
733 - $group: the group being joined
734 - $profile: the local or remote user joining
736 EndJoinGroup: when a user finishes joining a group
737 - $group: the group being joined
738 - $profile: the local or remote user joining
740 StartLeaveGroup: when a user is leaving a group
741 - $group: the group being left
742 - $profile: the local or remote user leaving
744 EndLeaveGroup: when a user has left a group
745 - $group: the group being left
746 - $profile: the local or remote user leaving
748 StartShowContentLicense: Showing the default license for content
749 - $action: the current action
751 EndShowContentLicense: Showing the default license for content
752 - $action: the current action
754 GetImTransports: Get IM transports that are available
755 - &$transports: append your transport to this array like so: $transports[transportName]=array('display'=>display)
757 NormalizeImScreenname: Normalize an IM screenname
758 - $transport: transport the screenname is on
759 - &$screenname: screenname to be normalized
761 ValidateImScreenname: Validate an IM screenname
762 - $transport: transport the screenname is on
763 - $screenname: screenname to be validated
764 - $valid: is the screenname valid?
766 SendImConfirmationCode: Send a confirmation code to confirm a user owns an IM screenname
767 - $transport: transport the screenname exists on
768 - $screenname: screenname being confirmed
769 - $code: confirmation code for confirmation URL
770 - $user: user requesting the confirmation
772 StartUserRegister: When a new user is being registered
773 - $profile: Profile object with new profile data (no ID yet)
775 EndUserRegister: When a new user has been registered
776 - $profile: Profile object with new profile data
778 StartRobotsTxt: Before outputting the robots.txt page
779 - &$action: RobotstxtAction being shown
781 EndRobotsTxt: After the default robots.txt page (good place for customization)
782 - &$action: RobotstxtAction being shown
784 StartGetProfileUri: When determining the canonical URI for a given profile
785 - $profile: the current profile
788 EndGetProfileUri: After determining the canonical URI for a given profile
789 - $profile: the current profile
792 StartGetProfileAcctUri: Get the acct: URI for a Profile (or throw ProfileNoAcctUriException)
793 - $profile: Profile of user we want to get acct: URI for
794 - &$acct: string with the resulting acct: uri
796 EndGetProfileAcctUri: Last attempts to get the acct: URI for a Profile (or throw ProfileNoAcctUriException)
797 - $profile: Profile of user we want to get acct: URI for
798 - &$acct: string with the resulting acct: uri
800 StartFindMentions: start finding mentions in a block of text
801 - $sender: sender profile
802 - $text: plain text version of the notice
803 - &$mentions: mentions found so far. Array of arrays; each array
804 has 'mentioned' (array of mentioned profiles), 'url' (url to link as),
805 'title' (title of the link), 'position' (position of the text to
806 replace), 'text' (text to replace)
808 EndFindMentions: end finding mentions in a block of text
809 - $sender: sender profile
810 - $text: plain text version of the notice
811 - &$mentions: mentions found so far. Array of arrays; each array
812 has 'mentioned' (array of mentioned profiles), 'url' (url to link as),
813 'title' (title of the link), 'position' (position of the text to
814 replace), 'text' (text to replace)
816 StartShowSubscriptionsContent: before showing the subscriptions content
817 - $action: the current action
819 EndShowSubscriptionsContent: after showing the subscriptions content
820 - $action: the current action
822 StartShowUserGroupsContent: before showing the user groups content
823 - $action: the current action
825 EndShowUserGroupsContent: after showing the user groups content
826 - $action: the current action
828 StartShowAllContent: before showing the all (you and friends) content
829 - $action: the current action
831 EndShowAllContent: after showing the all (you and friends) content
832 - $action: the current action
834 StartShowSubscriptionsMiniList: at the start of subscriptions mini list
835 - $action: the current action
837 EndShowSubscriptionsMiniList: at the end of subscriptions mini list
838 - $action: the current action
840 StartShowGroupsMiniList: at the start of groups mini list
841 - $action: the current action
843 EndShowGroupsMiniList: at the end of groups mini list
844 - $action: the current action
846 StartDeleteUserForm: starting the data in the form for deleting a user
847 - $action: action being shown
848 - $user: user being deleted
850 EndDeleteUserForm: Ending the data in the form for deleting a user
851 - $action: action being shown
852 - $user: user being deleted
854 StartDeleteUser: handling the post for deleting a user
855 - $action: action being shown
856 - $user: user being deleted
858 EndDeleteUser: handling the post for deleting a user
859 - $action: action being shown
860 - $user: user being deleted
862 StartNoticeAsActivity: before converting a notice to an activity
863 - $notice: notice being converted
864 - &$activity: initially empty activity
866 EndNoticeAsActivity: after converting a notice to an activity (good time to customize!)
867 - $notice: notice being converted
868 - &$activity: activity, now more-or-less full
870 StartNoticeSaveWeb: before saving a notice through the Web interface
871 - $action: action being executed (instance of NewNoticeAction)
872 - &$authorId: integer ID of the author
873 - &$text: text of the notice
874 - &$options: additional options (location, replies, etc.)
876 EndNoticeSaveWeb: after saving a notice through the Web interface
877 - $action: action being executed (instance of NewNoticeAction)
878 - $notice: notice that was saved
880 StartRssEntryArray: at the start of copying a notice to an array
881 - $notice: the notice being copied
882 - &$entry: the entry (empty at beginning)
884 EndRssEntryArray: at the end of copying a notice to an array
885 - $notice: the notice being copied
886 - &$entry: the entry, with all the fields filled up
888 NoticeDeleteRelated: at the beginning of deleting related fields to a notice
889 - $notice: notice being deleted
891 FileDeleteRelated: at the beginning of deleting related fields to a File
892 - $notice: File being deleted
894 StartShowHeadTitle: when beginning to show the <title> element
895 - $action: action being shown
897 EndShowHeadTitle: when done showing the <title>
898 - $action: action being shown
900 StartShowPageTitle: when beginning to show the page title <h1>
901 - $action: action being shown
903 EndShowPageTitle: when done showing the page title <h1>
904 - $action: action being shown
906 StartDeleteOwnNotice: when a user starts to delete their own notice
907 - $user: the user doing the delete
908 - $notice: the notice being deleted
910 EndDeleteOwnNotice: when a user has deleted their own notice
911 - $user: the user doing the delete
912 - $notice: the notice being deleted
914 StartShowFeedLinkList: before showing the feed list in the sidebar
915 - $action: action being executed
916 - $feeds: list of feeds to show
918 EndShowFeedLinkList: after showing the feed list in the sidebar
919 - $action: action being executed
920 - $feeds: list of feeds shown
922 StartShowFeedLink: before showing an individual feed item
923 - $action: action being executed
924 - $feed: feed to show
926 EndShowFeedLink: after showing an individual feed
927 - $action: action being executed
928 - $feed: feed to show
930 StartShowNoticeForm: before showing the notice form (before <form>)
931 - $action: action being executed
933 EndShowNoticeForm: after showing the notice form (after <form>)
934 - $action: action being executed
936 StartShowEntryForms: microapp entry form tab data
937 - &$tabs: tab assoc array with 'tag' => (title, href to create new entry)
939 StartGrantRole: when a role is being assigned
940 - $profile: profile that will have the role
941 - $role: string name of the role
943 EndGrantRole: when a role has been successfully assigned
944 - $profile: profile that will have the role
945 - $role: string name of the role
947 StartRevokeRole: when a role is being revoked
948 - $profile: profile that will lose the role
949 - $role: string name of the role
951 EndRevokeRole: when a role has been revoked
952 - $profile: profile that lost the role
953 - $role: string name of the role
955 StartAtomPubNewActivity: When a new activity comes in through Atom Pub API
956 - &$activity: received activity
957 - $user: user publishing the entry
958 - &$notice: notice created; initially null, can be set
960 EndAtomPubNewActivity: When a new activity comes in through Atom Pub API
961 - $activity: received activity
962 - $user: user publishing the entry
963 - $notice: notice that was created
965 AdminPanelCheck: When checking whether the current user can access a given admin panel
966 - $name: Name of the admin panel
967 - &$isOK: Boolean whether the user is allowed to use the panel
969 StartAdminPanelNav: Before displaying the first item in the list of admin panels
970 - $nav The AdminPanelNav widget
972 EndAdminPanelNav: After displaying the last item in the list of admin panels
973 - $nav The AdminPanelNav widget
975 StartActivityObjectFromNotice: When converting a notice to an activity:object
976 - $notice: The notice being converted
977 - &$object: The resulting object. Fill this and return false to override defaults.
979 EndActivityObjectFromNotice: After converting a notice to an activity:object
980 - $notice: The notice being converted
981 - &$object: The resulting object. Can be edited
983 StartActivityObjectFromProfile: When converting a profile to an activity:object
984 - $profile: The profile being converted
985 - &$object: The (empty) object. Fill it up and return false to override defaults.
987 EndActivityObjectFromProfile: After converting a profile to an activity:object
988 - $profile: The profile being converted
989 - &$object: The finished object. Can be tweaked
991 StartActivityObjectFromGroup: When converting a group to an activity:object
992 - $group: The group being converted
993 - &$object: The (empty) object. Fill and return false to override.
995 EndActivityObjectFromGroup: After converting a group to an activity:object
996 - $group: The group being converted
997 - &$object: The finished object. Tweak as needed.
999 StartImportActivity: when we start to import an activity
1000 - $user: User to make the author import
1001 - $author: Author of the feed; good for comparisons
1002 - $activity: The current activity
1003 - $trusted: How "trusted" the process is
1004 - &$done: Return value; whether to continue
1006 EndImportActivity: when we finish importing an activity
1007 - $user: User to make the author import
1008 - $author: Author of the feed; good for comparisons
1009 - $activity: The current activity
1010 - $trusted: How "trusted" the process is
1012 StartProfileSettingsActions: when we're showing account-management action list
1013 - $action: Action being shown (use for output)
1015 EndProfileSettingsActions: when we're showing account-management action list
1016 - $action: Action being shown (use for output)
1018 StartOpenNoticeListItemElement: Before the opening <li> of a notice list element
1019 - $nli: The notice list item being shown
1021 EndOpenNoticeListItemElement: After the opening <li> of a notice list element
1022 - $nli: The notice list item being shown
1024 StartCloseNoticeListItemElement: Before the closing </li> of a notice list element
1025 - $nli: The notice list item being shown
1027 EndCloseNoticeListItemElement: After the closing </li> of a notice list element
1028 - $nli: The notice list item being shown
1030 StartGroupEditFormData: Beginning the group edit form entries
1031 - $form: The form widget being shown
1033 EndGroupEditFormData: Ending the group edit form entries
1034 - $form: The form widget being shown
1036 StartGroupSave: After initializing but before saving a group
1037 - &$group: group about to be saved
1039 EndGroupSave: After saving a group, aliases, and first member
1040 - $group: group that was saved
1042 StartInterpretCommand: Before running a command
1043 - $cmd: First word in the string, 'foo' in 'foo argument'
1044 - $arg: Argument, if any, like 'argument' in 'foo argument'
1045 - $user: User who issued the command
1046 - &$result: Resulting command; you can set this!
1048 EndInterpretCommand: Before running a command
1049 - $cmd: First word in the string, 'foo' in 'foo argument'
1050 - $arg: Argument, if any, like 'argument' in 'foo argument'
1051 - $user: User who issued the command
1052 - $result: Resulting command
1054 StartGroupActionsList: Start the list of actions on a group profile page (after <ul>, before first <li>)
1055 - $action: action being executed (for output and params)
1056 - $group: group for the page
1058 EndGroupActionsList: End the list of actions on a group profile page (before </ul>, after last </li>)
1059 - $action: action being executed (for output and params)
1060 - $group: group for the page
1062 StartGroupProfileElements: Start showing stuff about the group on its profile page
1063 - $action: action being executed (for output and params)
1064 - $group: group for the page
1066 EndGroupProfileElements: Start showing stuff about the group on its profile page
1067 - $action: action being executed (for output and params)
1068 - $group: group for the page
1070 StartShowProfileTagContent: When showing a people tag page
1071 - $action: action being executed (for output and params)
1073 EndShowProfileTagContent: After showing the contents of a people tag page
1074 - $action: action being executed (for output and params)
1076 StartShowTaggedProfilesMiniList: at the start of mini list of tagged profiles
1077 - $action: action being executed (for output and params)
1079 EndShowTaggedProfilesMiniList: at the end of mini list of tagged profiles
1080 - $action: action being executed (for output and params)
1082 StartShowProfileTagSubscribersMiniList: at the start of mini list of people tag subscribers
1083 - $action: action being executed (for output and params)
1085 EndShowProfileTagSubscribersMiniList: at the end of mini list of people tag subscribers
1086 - $action: action being executed (for output and params)
1088 StartTagProfileAction: When starting to show profile tagging page
1089 - $action: action being executed (for output and params)
1090 - $profile: profile being tagged
1092 EndTagProfileAction: After showing profile tagging page
1093 - $action: action being executed (for output and params)
1094 - $profile: profile being tagged
1096 StartProfileCompletionSearch: When starting a profile search for autocompletion
1097 - $action: action being executed (for output and params)
1098 - &$profile: result Profile objects
1099 - $search_engine: the search engine
1101 EndProfileCompletionSearch: After search results for profile autocompletion have been found
1102 - $action: profilec completion action
1103 - &$profile: current result Profile objects
1104 - $search_engine: The search engine object
1106 StartShowTagProfileForm: When showing people tagging form
1107 - $action: action being executed (for output and params)
1108 - $profile: profile being tagged
1110 EndShowTagProfileForm: After showing people tagging form
1111 - $action: action being executed (for output and params)
1112 - $profile: profile being tagged
1114 StartSavePeopletags: When starting to save people tags
1115 - $action: action being executed (for output and params)
1116 - $tagstring: string input, a list of tags
1118 EndSavePeopletags: After saving people tags
1119 - $action: action being executed (for output and params)
1120 - $tagstring: string input, a list of tags
1122 StartProfiletagGetUri: when generating the Uri for a people tag
1123 - $profile_list: the people tag, a Profile_list object
1126 EndProfiletagGetUri: after generating the uri for a people tag
1127 - $profile_list: the people tag, a Profile_list object
1130 StartUserPeopletagHomeUrl: when generating the homepage url for a people tag
1131 - $profile_list: the people tag, a Profile_list object
1134 EndUserPeopletagHomeUrl: after generating the homepage url for a people tag
1135 - $profile_list: the people tag, a Profile_list object
1138 StartProfiletagPermalink: when generating the permalink url for a people tag
1139 - $profile_list: the people tag, a Profile_list object
1142 EndProfiletagPermalink: after generating the permalink url for a people tag
1143 - $profile_list: the people tag, a Profile_list object
1146 StartTagProfile: when tagging a profile
1147 - $tagger: profile tagging
1148 - $tagged: profile being tagged
1151 EndTagProfile: after tagging a profile
1152 - $newtag: the newly created Profile_tag object
1154 StartUntagProfile: when deleting a people tag
1155 - $ptag: the Profile_tag object being deleted
1157 EndUntagProfile: after deleting a people tag
1158 - $orig: a copy of the deleted Profile_tag object
1160 StartSubscribePeopletag: when subscribing to a people tag
1161 - $peopletag: Profile_list object being subscribed to
1162 - $profile: subscriber's profile
1164 EndSubscribePeopletag: after subscribing to a people tag
1165 - $profile_list: the people tag, a Profile_list object: Profile_list object being subscribed to
1166 - $profile: subscriber's profile
1168 StartUnsubscribePeopletag: when unsubscribing to a people tag
1169 - $profile_list: the people tag, a Profile_list object: Profile_list object being subscribed to
1170 - $profile: subscriber's profile
1172 EndUnsubscribePeopletag: after unsubscribing to a people tag
1173 - $peopletag: Profile_list object being subscribed to
1174 - $profile: subscriber's profile
1176 StartActivityObjectFromPeopletag: while starting to create an ActivityObject from a people tag
1177 - $profile_list: the people tag, a Profile_list object
1178 - &$object: activity object
1180 EndActivityObjectFromPeopletag: after making an ActivityObject from a people tag
1181 - $profile_list: the people tag, a Profile_list object
1182 - &$object: activity object
1184 StartPeopletagGroupNav: Showing the people tag nav menu
1185 - $menu: the menu widget; use $menu->action for output
1187 EndPeopletagGroupNav: after showing the people tag nav menu
1188 - $menu: the menu widget; use $menu->action for output
1190 StartShowPeopletagItem: when showing a people tag
1191 - $widget: PeopletagListItem widget
1193 EndShowPeopletagItem: after showing a people tag
1194 - $widget: PeopletagListItem widget
1196 StartSubscribePeopletagForm: when showing people tag subscription form
1197 - $action: action being executed (for output and params)
1198 - $peopletag: people tag being subscribed to
1200 EndSubscribePeopletagForm: after showing the people tag subscription form
1201 - $action: action being executed (for output and params)
1202 - $peopletag: people tag being subscribed to
1204 StartShowPeopletags: when showing a textual list of people tags
1205 - $widget: PeopletagsWidget; use $widget->out for output
1206 - $tagger: profile of the tagger
1207 - $tagged: profile tagged
1209 EndShowPeopletags: after showing a textual list of people tags
1210 - $widget: PeopletagsWidget; use $widget->out for output
1211 - $tagger: profile of the tagger
1212 - $tagged: profile tagged
1214 StartProfileListItemTags: when showing people tags in a profile list item widget
1215 - $widget: ProfileListItem widget
1217 EndProfileListItemTags: after showing people tags in a profile list item widget
1218 - $widget: ProfileListItem widget
1220 StartActivityObjectOutputAtom: Called at start of Atom XML output generation for ActivityObject chunks, just inside the <activity:object>. Cancel the event to take over its output completely (you're responsible for calling the matching End event if so)
1221 - $obj: ActivityObject
1222 - $out: XMLOutputter to append custom output
1224 EndActivityObjectOutputAtom: Called at end of Atom XML output generation for ActivityObject chunks, just inside the </activity:object>
1225 - $obj: ActivityObject
1226 - $out: XMLOutputter to append custom output
1228 StartActivityObjectOutputJson: Called at start of JSON output generation for ActivityObject chunks: the array has not yet been filled out. Cancel the event to take over its output completely (you're responsible for calling the matching End event if so)
1229 - $obj ActivityObject
1230 - &$out: array to be serialized; you're free to modify it
1232 EndActivityObjectOutputJson: Called at end of JSON output generation for ActivityObject chunks: the array has not yet been filled out.
1233 - $obj ActivityObject
1234 - &$out: array to be serialized; you're free to modify it
1236 StartNoticeWhoGets: Called at start of inbox delivery prep; plugins can schedule notices to go to particular profiles that would otherwise not have reached them. Canceling will take over the entire addressing operation. Be aware that output can be cached or used several times, so should remain idempotent.
1238 - &$ni: in/out array mapping profile IDs to constants: NOTICE_INBOX_SOURCE_SUB etc
1240 EndNoticeWhoGets: Called at end of inbox delivery prep; plugins can filter out profiles from receiving inbox delivery here. Be aware that output can be cached or used several times, so should remain idempotent.
1242 - &$ni: in/out array mapping profile IDs to constants: NOTICE_INBOX_SOURCE_SUB etc
1244 StartDefaultLocalNav: When showing the default local nav
1246 - $user: current user
1248 EndDefaultLocalNav: When showing the default local nav
1250 - $user: current user
1252 StartShowAccountProfileBlock: When showing the profile block for an account
1253 - $out: XMLOutputter to append custom output
1254 - $profile: the profile being shown
1256 EndShowAccountProfileBlock: After showing the profile block for an account
1257 - $out: XMLOutputter to append custom output
1258 - $profile: the profile being shown
1260 StartShowGroupProfileBlock: When showing the profile block for a group
1261 - $out: XMLOutputter to append custom output
1262 - $profile: the profile being shown
1264 EndShowGroupProfileBlock: After showing the profile block for a group
1265 - $out: XMLOutputter to append custom output
1266 - $group: the group being shown
1268 StartShowConversation: start the listing of a conversation
1269 - $action: Action object (used mainly as HTMLOutputter)
1270 - $conv: Conversation object, has functions to retrieve relevant notices
1271 - $scoped: Profile for scoping (null if not logged in)
1273 EndShowConversation: after the listing of a conversation
1274 - $action: Action object (used mainly as HTMLOutputter)
1275 - $conv: Conversation object, has functions to retrieve relevant notices
1276 - $scoped: Profile for scoping (null if not logged in)
1278 StartShowThreadedNoticeTail: when showing the replies etc. to a notice
1279 - $nli: parent noticelistitem
1280 - $notice: parent notice
1281 - &$children: list of children
1283 EndShowThreadedNoticeTail: when showing the replies etc. to a notice
1284 - $nli: parent noticelistitem
1285 - $notice: parent notice
1286 - $children: list of children
1288 StartShowThreadedNoticeSub: when showing a reply to a notice
1289 - $nli: parent noticelistitem
1290 - $parent: parent notice
1291 - $child: child notice
1293 EndShowThreadedNoticeSub: when showing a reply to a notice
1294 - $nli: parent noticelistitem
1295 - $parent: parent notice
1296 - $child: child notice
1298 StartAddEmailAddress: when adding an email address through the Web UI
1299 - $user: user getting the new address
1300 - $email: email being added
1302 EndAddEmailAddress: done adding an email address through the Web UI
1303 - $user: user getting the new address
1304 - $email: email being added
1306 StartValidateEmailInvite: when validating an email address for invitations
1307 - $user: user doing the invite
1308 - $email: email address
1309 - &$valid: flag for if it's valid; can be modified
1311 EndValidateEmailInvite: after validating an email address for invitations
1312 - $user: user doing the invite
1313 - $email: email address
1314 - &$valid: flag for if it's valid; can be modified
1316 StartLocalURL: before resolving a local url for an action
1317 - &$action: action to find a path for
1318 - &$paramsi: parameters to pass to the action
1319 - &$fragment: any url fragement
1320 - &$addSession: whether to add session variable
1321 - &$url: resulting URL to local resource
1323 EndLocalURL: before resolving a local url for an action
1324 - &$action: action to find a path for
1325 - &$paramsi: parameters to pass to the action
1326 - &$fragment: any url fragement
1327 - &$addSession: whether to add session variable
1328 - &$url: resulting URL to local resource
1330 StartProfileGetAvatar: When getting an avatar for a profile
1332 - $size: size of the avatar
1335 EndProfileGetAvatar: After getting an avatar for a profile
1337 - $size: size of the avatar
1340 StartRegisterSuccess: Before showing the registration success message
1341 - $action: the registration action
1343 StartRegisterSuccess: After showing the registration success message
1344 - $action: the registration action
1346 StartDocFileForTitle: Before searching for a doc or mail template
1347 - $title: Title we're looking for
1348 - &$paths: Paths we're searching
1349 - &$filename: Filename so far (set this if you want)
1351 EndDocFileForTitle: After searching for a doc or mail template
1352 - $title: Title we looked for
1353 - $paths: Paths we searched
1354 - &$filename: Filename so far (set this if you want)
1356 StartReadWriteTables: when noting which tables must be read-write, even on read-only actions
1357 - &$tables: list of table names
1358 - &$rwdb: read-write database URI
1360 EndReadWriteTables: after noting which tables must be read-write, even on read-only actions
1361 - $tables: list of table names
1362 - $rwdb: read-write database URI
1364 StartShowInviteForm: Right before displaying the invitations form
1365 - $action: invitation action
1367 EndShowInviteForm: After displaying the invitations form
1368 - $action: invitation action
1370 StartSendInvitations: Right before sending invitations
1371 - $action: invitation action
1373 EndSendInvitations: Right after sending invitations
1374 - $action: invitation action
1376 StartShowInvitationSuccess: Right before showing invitations success msg
1377 - $action: invitation action
1379 EndShowInvitationSuccess: After showing invitations success msg
1380 - $action: invitation action
1382 StartUpgrade: when starting a site upgrade
1384 EndUpgrade: when ending a site upgrade; good place to do your own upgrades
1386 HaveIMPlugin: is there an IM plugin loaded?
1387 - &$haveIMPlugin: set me to true if you're loaded!
1389 StartShowNoticeOptionItems: Before showing first controls in a notice list item; inside the div
1390 - $nli: NoticeListItem being shown
1392 EndShowNoticeOptionItems: After showing last controls in a notice list item; inside the div
1393 - $nli: NoticeListItem being shown
1395 StartNoticeInScope: Before checking if a notice should be visible to a user
1396 - $notice: The notice to check
1397 - $profile: The profile to check for scope
1398 - &$bResult: The boolean result; fill this in if you want to skip
1400 EndNoticeInScope: After checking if a notice should be visible to a user
1401 - $notice: The notice to check
1402 - $profile: The profile to check for scope
1403 - &$bResult: The boolean result; overwrite this if you so desire
1405 StartNoticeListPrefill: Before pre-filling a list of notices with extra data
1406 - &$notices: Notices to be pre-filled
1407 - $avatarSize: The avatar size for the list
1409 EndNoticeListPrefill: After pre-filling a list of notices with extra data
1410 - &$notices: Notices that were pre-filled
1411 - &$profiles: Profiles that were pre-filled
1412 - $avatarSize: The avatar size for the list
1414 OtherAccountProfiles: Hook to add account profiles to a user account profile block
1415 - $profile: the Profile being shown
1416 - &$others: Modifiable array of profile info arrays. Each one has the following fields:
1417 href: link to the profile
1418 text: text for the profile
1419 image: mini image for the profile
1421 CreateFileImageThumbnailSource: Hook to create image thumbnail source from a File
1422 - $file: 'File' object to source the image from
1423 - &$imgPath: Path to image file which can be used as source for our thumbnail algorithm.
1424 - $media: MIME media type ('image', 'video', 'audio' etc.)
1426 StartResizeImageFile: Hook to resize an image and output it to a file. No matching End event yet.
1427 - $imagefile: ImageFile object we're resizing.
1428 - $outpath: string with output filepath
1429 - $box: array with size ('width', 'height') and boundary box('x', 'y', 'w', 'h').
1431 StartShowAttachmentRepresentation: Attachment representation, full file (or in rare cases thumbnails/previews).
1432 - $out: HTMLOutputter class to use for outputting HTML.
1433 - $file: 'File' object which we're going to show representation for.
1435 EndShowAttachmentRepresentation: Executed after Attachment representation, despite perhaps being unsupported media.
1436 - $out: HTMLOutputter class to use for outputting HTML.
1437 - $file: 'File' object which we're going to show representation for.
1439 ShowUnsupportedAttachmentRepresentation: Attachment representation, full file (or in rare cases thumbnails/previews).
1440 - $out: HTMLOutputter class to use for outputting HTML.
1441 - $file: 'File' object which we're going to show representation for.
1443 StartNotifyMentioned: During notice distribution, we send notifications (email, im...) to the profiles who were somehow mentioned.
1444 - $stored: Notice object that is being distributed.
1445 - &$mentioned_ids: Array of profile IDs (not just for local users) who got mentioned by the notice.
1447 EndNotifyMentioned: During notice distribution, we send notifications (email, im...) to the profiles who were somehow mentioned.
1448 - $stored: Notice object that is being distributed.
1449 - $mentioned_ids: Array of profile IDs (not just for local users) who got mentioned by the notice.