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 StartShowNoticeItemNotice: just before outputting the "top" notice part of a NoticeListItem to HTML
261 - $item: The NoticeListItem object being shown
263 EndShowNoticeItemNotice: just after outputting the "top" notice part of a NoticeListItem to HTML
264 - $item: The NoticeListItem object being shown
266 StartShowNoticeContent: just before outputting the content part of a Notice
267 - $stored: The Notice object
268 - $out: HTMLOutputter for writing to
269 - $scoped: optional Profile object for permission scoping
271 EndShowNoticeContent: just after outputting the content part of a Notice, plugins must call this manually
272 - $stored: The Notice object
273 - $out: HTMLOutputter for writing to
274 - $scoped: optional Profile object for permission scoping
276 StartShowNoticeInfo: just before showing notice info
277 - $item: The NoticeListItem object being shown
279 EndShowNoticeInfo: just after showing notice info
280 - $item: The NoticeListItem object being shown
282 StartShowNoticeOptions: just before showing notice options like fave, repeat, etc.
283 - $item: the NoticeListItem object being shown
285 EndShowNoticeOptions: just after showing notice options like fave, repeat, etc.
286 - $item: the NoticeListItem object being shown
288 StartShowPageNotice: just before showing the page notice (instructions or error)
289 - $action: action object being shown
291 EndShowPageNotice: just after showing the page notice (instructions or error)
292 - $action: action object being shown
294 StartShowPageTitle: just before showing the main h1 title of a page (only for registration)
295 - $action: action object being shown
297 StartProfileFormData: just before showing text entry fields on profile settings page
298 - $action: action object being shown
300 EndProfileFormData: just after showing text entry fields on profile settings page
301 - $action: action object being shown
303 StartProfileSaveForm: before starting to save a profile settings form
304 - $action: action object being shown
306 EndProfileSaveForm: after saving a profile settings form (after commit, no profile or user object!)
307 - $action: action object being shown
309 StartEmailFormData: just before showing form input fields on email settings page
310 - $action: Action object being shown
311 - $scoped: Profile for whom settings are being configured
313 EndEmailFormData: just after showing form input fields on email settings page
314 - $action: action object being shown
315 - $scoped: Profile for whom settings are being configured
317 StartEmailSaveForm: before starting to save a email settings form
318 - $action: action object being shown
319 - $scoped: Profile user having their email settings saved
321 EndEmailSaveForm: after saving a email settings form (after commit)
322 - $action: action object being shown
323 - $scoped: Profile user having their email settings saved
325 StartRegistrationFormData: just before showing text entry fields on registration page
326 - $action: action object being shown
328 EndRegistrationFormData: just after showing text entry fields on registration page
329 - $action: action object being shown
331 StartRegistrationTry: before validating and saving a new user
332 - $action: action object being shown
334 EndRegistrationTry: after saving a new user (note: no profile or user object!)
335 - $action: action object being shown
337 StartAvatarFormData: before displaying avatar form
338 - $action: action object being shown
340 EndAvatarFormData: after displaying avatar form
341 - $action: action object being shown
343 StartAvatarSaveForm: before saving the avatar
344 - $action: action object being shown
346 EndAvatarSaveForm: after saving the avatar
347 - $action: action object being shown
349 StartNewQueueManager: before trying to start a new queue manager; good for plugins implementing new queue manager classes
350 - $qm: empty queue manager to set
352 RedirectToLogin: event when we force a redirect to login (like when going to a settings page on a remembered login)
353 - $action: action object being shown
354 - $user: current user
356 StartLoadDoc: before loading a help doc (hook this to show your own documentation)
357 - $title: title of the document
358 - $output: HTML output to show
360 EndLoadDoc: after loading a help doc (hook this to modify other documentation)
361 - $title: title of the document
362 - $output: HTML output to show
364 StartApiRss: after the rss <channel> element is started
365 - $action: action object being shown
367 StartApiAtom: after the <feed> element is started
368 - $action: action object being shown
370 StartEnqueueNotice: about to add a notice to the queues (good place to add a new transport)
371 - $notice: the notice being added
372 - &$transports: modifiable list of transports (as strings) to queue for
374 EndEnqueueNotice: after adding a notice to the queues
375 - $notice: the notice being added
376 - $transports: modifiable list of transports to use
378 UnqueueHandleNotice: Handle a notice when no queue manager is available
379 - $notice: the notice to handle
380 - $queue: the "queue" that is being executed
382 GetValidDaemons: Just before determining which daemons to run
383 - &$daemons: modifiable list of daemon scripts to run, filenames relative to scripts/
385 HandleQueuedNotice: Handle a queued notice at queue time (or immediately if no queue)
386 - &$notice: notice to handle
388 StartHtmlElement: Reight before outputting the HTML element - allows plugins to add namespaces
389 - $action: the current action
390 - &$attrs: attributes for the HTML element
392 EndHtmlElement: Right after outputting the HTML element
393 - $action: the current action
394 - &$attrs: attributes for the HTML element
396 StartShowHeadElements: Right after the <head> tag
397 - $action: the current action
399 EndShowHeadElements: Right before the </head> tag; put <script>s here if you need them in <head>
400 - $action: the current action
402 CheckSchema: chance to check the schema
404 StartProfileRemoteSubscribe: Before showing the link to remote subscription
405 - $userprofile: UserProfile widget
406 - &$profile: the profile being shown
408 EndProfileRemoteSubscribe: After showing the link to remote subscription
409 - $userprofile: UserProfile widget
410 - &$profile: the profile being shown
412 StartGroupSubscribe: Before showing the link to remote subscription
413 - $action: the current action
414 - $group: the group being shown
416 EndGroupSubscribe: After showing the link to remote subscription
417 - $action: the current action
418 - $group: the group being shown
420 StartProfilePageProfileSection: Starting to show the section of the
421 profile page with the actual profile data;
422 hook to prevent showing the profile (e.g.)
423 - $userprofile: UserProfile widget
424 - &$profile: the profile being shown
426 StartProfilePageProfileElements: inside the section, before the first
427 element; prepend elements here
428 - $userprofile: UserProfile widget
429 - &$profile: the profile being shown
431 EndProfilePageProfileElements: inside the section, after the last element;
433 - $userprofile: UserProfile widget
434 - &$profile: the profile being shown
436 EndProfilePageProfileSection: After showing the section of the profile
437 page with the profile elements
438 - $userprofile: UserProfile widget
439 - &$profile: the profile being shown
441 StartProfilePageActionsSection: Starting to show the section of the
442 profile page with action links; hook
443 to hide them (for example)
444 - $userprofile: UserProfile widget
445 - &$profile: the profile being shown
447 StartProfilePageActionsElements: inside the list, before the first
448 element; prepend elements here
449 - $userprofile: UserProfile widget
450 - &$profile: the profile being shown
452 EndProfilePageActionsElements: inside the list, after the last element;
454 - $userprofile: UserProfile widget
455 - &$profile: the profile being shown
457 EndProfilePageActionsSection: After showing the section of the profile
458 page with the entity actions
459 - $userprofile: UserProfile widget
460 - &$profile: the profile being shown
462 StartProfilePageAvatar: before showing the avatar on the profile page
463 - $userprofile: UserProfile widget
464 - &$profile: the profile being shown
466 EndProfilePageAvatar: after showing the avatar on the profile page
467 - $userprofile: UserProfile widget
468 - &$profile: the profile being shown
470 StartProfilePageNickname: before showing the nickname on the profile page
471 - $userprofile: UserProfile widget
472 - &$profile: the profile being shown
474 EndProfilePageNickname: after showing the nickname on the profile page
475 - $userprofile: UserProfile widget
476 - &$profile: the profile being shown
478 StartProfilePageFullName: before showing the fullname on the profile page
479 - $userprofile: UserProfile widget
480 - &$profile: the profile being shown
482 EndProfilePageFullName: after showing the fullname on the profile page
483 - $userprofile: UserProfile widget
484 - &$profile: the profile being shown
486 StartProfilePageLocation: before showing the location on the profile page
487 - $userprofile: UserProfile widget
488 - &$profile: the profile being shown
490 EndProfilePageLocation: after showing the location on the profile page
491 - $userprofile: UserProfile widget
492 - &$profile: the profile being shown
494 StartProfilePageHomepage: before showing the homepage link on the profile page
495 - $userprofile: UserProfile widget
496 - &$profile: the profile being shown
498 EndProfilePageHomepage: after showing the homepage on the profile page
499 - $userprofile: UserProfile widget
500 - &$profile: the profile being shown
502 StartProfilePageBio: before showing the bio on the profile page
503 - $userprofile: UserProfile widget
504 - &$profile: the profile being shown
506 EndProfilePageBio: after showing the bio on the profile page
507 - $userprofile: UserProfile widget
508 - &$profile: the profile being shown
510 StartProfilePageProfileTags: before showing the tags on the profile page
511 - $userprofile: UserProfile widget
512 - &$profile: the profile being shown
514 EndProfilePageProfileTags: after showing the tags on the profile page
515 - $userprofile: UserProfile widget
516 - &$profile: the profile being shown
518 StartProfileList: when starting a list of profiles (before <ul>)
519 - $profilelist: ProfileList widget, with $profile, $action, and $out
521 EndProfileList: when ending a list of profiles (after </ul>)
522 - $profilelist: ProfileList widget
524 StartProfileListItem: when starting to show a profile list item
525 - $item: ProfileListItem widget
527 EndProfileListItem: after showing a profile list item
528 - $item: ProfileListItem widget
530 StartProfileListItemProfile: the profile data part of the item
531 - $item: ProfileListItem widget
533 EndProfileListItemProfile: the profile data part of the item
534 - $item: ProfileListItem widget
536 StartProfileListItemActions: the actions (buttons) for an item
537 - $item: ProfileListItem widget
539 EndProfileListItemActions: the actions (buttons) for an item
540 - $item: ProfileListItem widget
542 StartProfileListItemProfileElements: inside the <div>
543 - $item: ProfileListItem widget
545 EndProfileListItemProfileElements: inside the <div>
546 - $item: ProfileListItem widget
548 StartProfileListItemAvatar: Showing a profile list avatar
549 - $item: ProfileListItem widget
551 EndProfileListItemAvatar: Showing a profile list avatar
552 - $item: ProfileListItem widget
554 StartProfileListItemFullName: Showing the profile list full name
555 - $item: ProfileListItem widget
557 EndProfileListItemFullName: Showing the profile list full name
558 - $item: ProfileListItem widget
560 StartProfileListItemLocation: Showing the profile list location
561 - $item: ProfileListItem widget
563 EndProfileListItemLocation: Showing the profile list location
564 - $item: ProfileListItem widget
566 StartProfileListItemHomepage: Showing the profile list homepage
567 - $item: ProfileListItem widget
569 EndProfileListItemHomepage: Showing the profile list homepage
570 - $item: ProfileListItem widget
572 StartProfileListItemBio: Showing the profile list bio
573 - $item: ProfileListItem widget
575 EndProfileListItemBio: Showing the profile list bio
576 - $item: ProfileListItem widget
578 StartProfileListItemActionElements: Showing the profile list actions (prepend a button here, or replace all buttons)
579 - $item: ProfileListItem widget
581 EndProfileListItemActionElements: Showing profile list actions (append a button here)
582 - $item: ProfileListItem widget
584 StartUserXRDS: Start XRDS output (right after the opening XRDS tag)
585 - $action: the current action
586 - &$xrdsoutputter - XRDSOutputter object to write to
588 EndUserXRDS: End XRDS output (right before the closing XRDS tag)
589 - $action: the current action
590 - &$xrdsoutputter - XRDSOutputter object to write to
592 StartPublicXRDS: Start XRDS output (right after the opening XRDS tag)
593 - $action: the current action
594 - &$xrdsoutputter - XRDSOutputter object to write to
596 EndPublicXRDS: End XRDS output (right before the closing XRDS tag)
597 - $action: the current action
598 - &$xrdsoutputter - XRDSOutputter object to write to
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 StartHashPassword: Generate a hashed version of the password (like a salted crypt)
619 - &$hashed: Hashed version of the password, later put in the database
620 - $password: The password that should be hashed
621 - $profile: Profile that this password and hash belongs to. Can be null.
623 StartSetUser: Before setting the currently logged in user
626 EndSetUser: After setting the currently logged in user
629 StartSetApiUser: Before setting the current API user
630 - &$user: user, can be set during event handling (return false to stop processing)
632 EndSetApiUser: After setting the current API user
633 - $user: user, only called if this is an actual user
635 StartHasRole: 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 EndHasRole: Before determing if the a profile has a given role
641 - $profile: profile in question
642 - $name: name of the role in question
643 - $has_role: does this profile have the named role?
645 UserDeleteRelated: Specify additional tables to delete entries from when deleting users
647 - &$related: array of DB_DataObject class names to delete entries on matching user_id.
649 GetUrlShorteners: Specify URL shorteners that are available for use
650 - &$shorteners: append your shortener to this array like so: $shorteners[shortenerName]=array('display'=>display, 'freeService'=>boolean)
652 StartShortenUrl: About to shorten a URL
653 - $url: url to be shortened
654 - $shortenerName: name of the requested shortener
655 - &$shortenedUrl: short version of the url
657 EndShortenUrl: After a URL has been shortened
658 - $url: url to be shortened
659 - $shortenerName: name of the requested shortener
660 - $shortenedUrl: short version of the url
662 StartCssLinkElement: Before a <link rel="stylesheet"..> element is written
668 EndCssLinkElement: After a <link rel="stylesheet"..> element is written
674 StartStyleElement: Before a <style...> element is written
680 EndStyleElement: After a <style...> element is written
686 StartScriptElement: Before a <script...> element is written
691 EndScriptElement: After a <script...> element is written
696 StartInlineScriptElement: Before a <script...> element is written
701 EndInlineScriptElement: After a <script...> element is written
706 StartLog: Before writing to the logs
711 EndLog: After writing to the logs
716 StartBlockProfile: when we're about to block
717 - $user: the person doing the block
718 - $profile: the person getting blocked, can be remote
720 EndBlockProfile: when a block has succeeded
721 - $user: the person doing the block
722 - $profile: the person blocked, can be remote
724 StartUnblockProfile: when we're about to unblock
725 - $user: the person doing the unblock
726 - $profile: the person getting unblocked, can be remote
728 EndUnblockProfile: when an unblock has succeeded
729 - $user: the person doing the unblock
730 - $profile: the person unblocked, can be remote
732 StartSubscribe: when a subscription is starting
733 - $profile: Profile that is subscribing
734 - $other: Profile that is being subscribed to
736 EndSubscribe: when a subscription is finished
737 - $profile: Profile that is subscribing
738 - $other: Profile that is being subscribed to
740 StartUnsubscribe: when an unsubscribe is starting
741 - $profile: Profile that is unsubscribing
742 - $other: Profile that is being unsubscribed from
744 EndUnsubscribe: when an unsubscribe is done
745 - $profile: Profile that is unsubscribing
746 - $other: Profile that is being unsubscribed from
748 StartJoinGroup: when a user is joining a group
749 - $group: the group being joined
750 - $profile: the local or remote user joining
752 EndJoinGroup: when a user finishes joining a group
753 - $group: the group being joined
754 - $profile: the local or remote user joining
756 StartLeaveGroup: when a user is leaving a group
757 - $group: the group being left
758 - $profile: the local or remote user leaving
760 EndLeaveGroup: when a user has left a group
761 - $group: the group being left
762 - $profile: the local or remote user leaving
764 StartShowContentLicense: Showing the default license for content
765 - $action: the current action
767 EndShowContentLicense: Showing the default license for content
768 - $action: the current action
770 GetImTransports: Get IM transports that are available
771 - &$transports: append your transport to this array like so: $transports[transportName]=array('display'=>display)
773 NormalizeImScreenname: Normalize an IM screenname
774 - $transport: transport the screenname is on
775 - &$screenname: screenname to be normalized
777 ValidateImScreenname: Validate an IM screenname
778 - $transport: transport the screenname is on
779 - $screenname: screenname to be validated
780 - $valid: is the screenname valid?
782 SendImConfirmationCode: Send a confirmation code to confirm a user owns an IM screenname
783 - $transport: transport the screenname exists on
784 - $screenname: screenname being confirmed
785 - $code: confirmation code for confirmation URL
786 - $user: user requesting the confirmation
788 StartUserRegister: When a new user is being registered
789 - $profile: Profile object with new profile data (no ID yet)
791 EndUserRegister: When a new user has been registered
792 - $profile: Profile object with new profile data
794 StartRobotsTxt: Before outputting the robots.txt page
795 - &$action: RobotstxtAction being shown
797 EndRobotsTxt: After the default robots.txt page (good place for customization)
798 - &$action: RobotstxtAction being shown
800 StartGetProfileUri: When determining the canonical URI for a given profile
801 - $profile: the current profile
804 EndGetProfileUri: After determining the canonical URI for a given profile
805 - $profile: the current profile
808 StartGetProfileAcctUri: Get the acct: URI for a Profile (or throw ProfileNoAcctUriException)
809 - $profile: Profile of user we want to get acct: URI for
810 - &$acct: string with the resulting acct: uri
812 EndGetProfileAcctUri: Last attempts to get the acct: URI for a Profile (or throw ProfileNoAcctUriException)
813 - $profile: Profile of user we want to get acct: URI for
814 - &$acct: string with the resulting acct: uri
816 StartFindMentions: start finding mentions in a block of text
817 - $sender: sender profile
818 - $text: plain text version of the notice
819 - &$mentions: mentions found so far. Array of arrays; each array
820 has 'mentioned' (array of mentioned profiles), 'url' (url to link as),
821 'title' (title of the link), 'position' (position of the text to
822 replace), 'text' (text to replace)
824 EndFindMentions: end finding mentions in a block of text
825 - $sender: sender profile
826 - $text: plain text version of the notice
827 - &$mentions: mentions found so far. Array of arrays; each array
828 has 'mentioned' (array of mentioned profiles), 'url' (url to link as),
829 'title' (title of the link), 'position' (position of the text to
830 replace), 'text' (text to replace)
832 StartShowSubscriptionsContent: before showing the subscriptions content
833 - $action: the current action
835 EndShowSubscriptionsContent: after showing the subscriptions content
836 - $action: the current action
838 StartShowUserGroupsContent: before showing the user groups content
839 - $action: the current action
841 EndShowUserGroupsContent: after showing the user groups content
842 - $action: the current action
844 StartShowAllContent: before showing the all (you and friends) content
845 - $action: the current action
847 EndShowAllContent: after showing the all (you and friends) content
848 - $action: the current action
850 StartShowSubscriptionsMiniList: at the start of subscriptions mini list
851 - $action: the current action
853 EndShowSubscriptionsMiniList: at the end of subscriptions mini list
854 - $action: the current action
856 StartShowGroupsMiniList: at the start of groups mini list
857 - $action: the current action
859 EndShowGroupsMiniList: at the end of groups mini list
860 - $action: the current action
862 StartDeleteUserForm: starting the data in the form for deleting a user
863 - $action: action being shown
864 - $user: user being deleted
866 EndDeleteUserForm: Ending the data in the form for deleting a user
867 - $action: action being shown
868 - $user: user being deleted
870 StartDeleteUser: handling the post for deleting a user
871 - $action: action being shown
872 - $user: user being deleted
874 EndDeleteUser: handling the post for deleting a user
875 - $action: action being shown
876 - $user: user being deleted
878 StartNoticeAsActivity: before converting a notice to an activity
879 - $notice: notice being converted
880 - &$activity: initially empty activity
882 EndNoticeAsActivity: after converting a notice to an activity (good time to customize!)
883 - $notice: notice being converted
884 - &$activity: activity, now more-or-less full
886 StartNoticeSaveWeb: before saving a notice through the Web interface
887 - $action: action being executed (instance of NewNoticeAction)
888 - &$authorId: integer ID of the author
889 - &$text: text of the notice
890 - &$options: additional options (location, replies, etc.)
892 EndNoticeSaveWeb: after saving a notice through the Web interface
893 - $action: action being executed (instance of NewNoticeAction)
894 - $notice: notice that was saved
896 StartRssEntryArray: at the start of copying a notice to an array
897 - $notice: the notice being copied
898 - &$entry: the entry (empty at beginning)
900 EndRssEntryArray: at the end of copying a notice to an array
901 - $notice: the notice being copied
902 - &$entry: the entry, with all the fields filled up
904 NoticeDeleteRelated: at the beginning of deleting related fields to a notice
905 - $notice: notice being deleted
907 FileDeleteRelated: at the beginning of deleting related fields to a File
908 - $notice: File being deleted
910 StartShowHeadTitle: when beginning to show the <title> element
911 - $action: action being shown
913 EndShowHeadTitle: when done showing the <title>
914 - $action: action being shown
916 StartShowPageTitle: when beginning to show the page title <h1>
917 - $action: action being shown
919 EndShowPageTitle: when done showing the page title <h1>
920 - $action: action being shown
922 StartDeleteOwnNotice: when a user starts to delete their own notice
923 - $user: the user doing the delete
924 - $notice: the notice being deleted
926 EndDeleteOwnNotice: when a user has deleted their own notice
927 - $user: the user doing the delete
928 - $notice: the notice being deleted
930 StartShowFeedLinkList: before showing the feed list in the sidebar
931 - $action: action being executed
932 - $feeds: list of feeds to show
934 EndShowFeedLinkList: after showing the feed list in the sidebar
935 - $action: action being executed
936 - $feeds: list of feeds shown
938 StartShowFeedLink: before showing an individual feed item
939 - $action: action being executed
940 - $feed: feed to show
942 EndShowFeedLink: after showing an individual feed
943 - $action: action being executed
944 - $feed: feed to show
946 StartShowNoticeForm: before showing the notice form (before <form>)
947 - $action: action being executed
949 EndShowNoticeForm: after showing the notice form (after <form>)
950 - $action: action being executed
952 StartShowEntryForms: microapp entry form tab data
953 - &$tabs: tab assoc array with 'tag' => (title, href to create new entry)
955 StartGrantRole: when a role is being assigned
956 - $profile: profile that will have the role
957 - $role: string name of the role
959 EndGrantRole: when a role has been successfully assigned
960 - $profile: profile that will have the role
961 - $role: string name of the role
963 StartRevokeRole: when a role is being revoked
964 - $profile: profile that will lose the role
965 - $role: string name of the role
967 EndRevokeRole: when a role has been revoked
968 - $profile: profile that lost the role
969 - $role: string name of the role
971 StartAtomPubNewActivity: When a new activity comes in through Atom Pub API
972 - &$activity: received activity
973 - $profile: profile of the user publishing the entry
974 - &$notice: notice created; initially null, can be set
976 EndAtomPubNewActivity: When a new activity comes in through Atom Pub API
977 - $activity: received activity
978 - $profile: profile of the user publishing the entry
979 - $notice: notice that was created
981 AdminPanelCheck: When checking whether the current user can access a given admin panel
982 - $name: Name of the admin panel
983 - &$isOK: Boolean whether the user is allowed to use the panel
985 StartAdminPanelNav: Before displaying the first item in the list of admin panels
986 - $nav The AdminPanelNav widget
988 EndAdminPanelNav: After displaying the last item in the list of admin panels
989 - $nav The AdminPanelNav widget
991 StartActivityObjectFromNotice: When converting a notice to an activity:object
992 - $notice: The notice being converted
993 - &$object: The resulting object. Fill this and return false to override defaults.
995 EndActivityObjectFromNotice: After converting a notice to an activity:object
996 - $notice: The notice being converted
997 - &$object: The resulting object. Can be edited
999 StartActivityObjectFromProfile: When converting a profile to an activity:object
1000 - $profile: The profile being converted
1001 - &$object: The (empty) object. Fill it up and return false to override defaults.
1003 EndActivityObjectFromProfile: After converting a profile to an activity:object
1004 - $profile: The profile being converted
1005 - &$object: The finished object. Can be tweaked
1007 StartActivityObjectFromGroup: When converting a group to an activity:object
1008 - $group: The group being converted
1009 - &$object: The (empty) object. Fill and return false to override.
1011 EndActivityObjectFromGroup: After converting a group to an activity:object
1012 - $group: The group being converted
1013 - &$object: The finished object. Tweak as needed.
1015 StartImportActivity: when we start to import an activity
1016 - $user: User to make the author import
1017 - $author: Author of the feed; good for comparisons
1018 - $activity: The current activity
1019 - $trusted: How "trusted" the process is
1020 - &$done: Return value; whether to continue
1022 EndImportActivity: when we finish importing an activity
1023 - $user: User to make the author import
1024 - $author: Author of the feed; good for comparisons
1025 - $activity: The current activity
1026 - $trusted: How "trusted" the process is
1028 StartProfileSettingsActions: when we're showing account-management action list
1029 - $action: Action being shown (use for output)
1031 EndProfileSettingsActions: when we're showing account-management action list
1032 - $action: Action being shown (use for output)
1034 StartOpenNoticeListItemElement: Before the opening <li> of a notice list element
1035 - $nli: The notice list item being shown
1037 EndOpenNoticeListItemElement: After the opening <li> of a notice list element
1038 - $nli: The notice list item being shown
1040 StartCloseNoticeListItemElement: Before the closing </li> of a notice list element
1041 - $nli: The notice list item being shown
1043 EndCloseNoticeListItemElement: After the closing </li> of a notice list element
1044 - $nli: The notice list item being shown
1046 StartGroupEditFormData: Beginning the group edit form entries
1047 - $form: The form widget being shown
1049 EndGroupEditFormData: Ending the group edit form entries
1050 - $form: The form widget being shown
1052 StartGroupSave: After initializing but before saving a group
1053 - &$group: group about to be saved
1055 EndGroupSave: After saving a group, aliases, and first member
1056 - $group: group that was saved
1058 StartInterpretCommand: Before running a command
1059 - $cmd: First word in the string, 'foo' in 'foo argument'
1060 - $arg: Argument, if any, like 'argument' in 'foo argument'
1061 - $user: User who issued the command
1062 - &$result: Resulting command; you can set this!
1064 EndInterpretCommand: Before running a command
1065 - $cmd: First word in the string, 'foo' in 'foo argument'
1066 - $arg: Argument, if any, like 'argument' in 'foo argument'
1067 - $user: User who issued the command
1068 - $result: Resulting command
1070 StartGroupActionsList: Start the list of actions on a group profile page (after <ul>, before first <li>)
1071 - $action: action being executed (for output and params)
1072 - $group: group for the page
1074 EndGroupActionsList: End the list of actions on a group profile page (before </ul>, after last </li>)
1075 - $action: action being executed (for output and params)
1076 - $group: group for the page
1078 StartGroupProfileElements: Start showing stuff about the group on its profile page
1079 - $action: action being executed (for output and params)
1080 - $group: group for the page
1082 EndGroupProfileElements: Start showing stuff about the group on its profile page
1083 - $action: action being executed (for output and params)
1084 - $group: group for the page
1086 StartShowProfileTagContent: When showing a people tag page
1087 - $action: action being executed (for output and params)
1089 EndShowProfileTagContent: After showing the contents of a people tag page
1090 - $action: action being executed (for output and params)
1092 StartShowTaggedProfilesMiniList: at the start of mini list of tagged profiles
1093 - $action: action being executed (for output and params)
1095 EndShowTaggedProfilesMiniList: at the end of mini list of tagged profiles
1096 - $action: action being executed (for output and params)
1098 StartShowProfileTagSubscribersMiniList: at the start of mini list of people tag subscribers
1099 - $action: action being executed (for output and params)
1101 EndShowProfileTagSubscribersMiniList: at the end of mini list of people tag subscribers
1102 - $action: action being executed (for output and params)
1104 StartTagProfileAction: When starting to show profile tagging page
1105 - $action: action being executed (for output and params)
1106 - $profile: profile being tagged
1108 EndTagProfileAction: After showing profile tagging page
1109 - $action: action being executed (for output and params)
1110 - $profile: profile being tagged
1112 StartProfileCompletionSearch: When starting a profile search for autocompletion
1113 - $action: action being executed (for output and params)
1114 - &$profile: result Profile objects
1115 - $search_engine: the search engine
1117 EndProfileCompletionSearch: After search results for profile autocompletion have been found
1118 - $action: profilec completion action
1119 - &$profile: current result Profile objects
1120 - $search_engine: The search engine object
1122 StartShowTagProfileForm: When showing people tagging form
1123 - $action: action being executed (for output and params)
1124 - $profile: profile being tagged
1126 EndShowTagProfileForm: After showing people tagging form
1127 - $action: action being executed (for output and params)
1128 - $profile: profile being tagged
1130 StartSavePeopletags: When starting to save people tags
1131 - $action: action being executed (for output and params)
1132 - $tagstring: string input, a list of tags
1134 EndSavePeopletags: After saving people tags
1135 - $action: action being executed (for output and params)
1136 - $tagstring: string input, a list of tags
1138 StartProfiletagGetUri: when generating the Uri for a people tag
1139 - $profile_list: the people tag, a Profile_list object
1142 EndProfiletagGetUri: after generating the uri for a people tag
1143 - $profile_list: the people tag, a Profile_list object
1146 StartUserPeopletagHomeUrl: when generating the homepage url for a people tag
1147 - $profile_list: the people tag, a Profile_list object
1150 EndUserPeopletagHomeUrl: after generating the homepage url for a people tag
1151 - $profile_list: the people tag, a Profile_list object
1154 StartProfiletagPermalink: when generating the permalink url for a people tag
1155 - $profile_list: the people tag, a Profile_list object
1158 EndProfiletagPermalink: after generating the permalink url for a people tag
1159 - $profile_list: the people tag, a Profile_list object
1162 StartTagProfile: when tagging a profile
1163 - $tagger: profile tagging
1164 - $tagged: profile being tagged
1167 EndTagProfile: after tagging a profile
1168 - $newtag: the newly created Profile_tag object
1170 StartUntagProfile: when deleting a people tag
1171 - $ptag: the Profile_tag object being deleted
1173 EndUntagProfile: after deleting a people tag
1174 - $orig: a copy of the deleted Profile_tag object
1176 StartSubscribePeopletag: when subscribing to a people tag
1177 - $peopletag: Profile_list object being subscribed to
1178 - $profile: subscriber's profile
1180 EndSubscribePeopletag: after subscribing to a people tag
1181 - $profile_list: the people tag, a Profile_list object: Profile_list object being subscribed to
1182 - $profile: subscriber's profile
1184 StartUnsubscribePeopletag: when unsubscribing to a people tag
1185 - $profile_list: the people tag, a Profile_list object: Profile_list object being subscribed to
1186 - $profile: subscriber's profile
1188 EndUnsubscribePeopletag: after unsubscribing to a people tag
1189 - $peopletag: Profile_list object being subscribed to
1190 - $profile: subscriber's profile
1192 StartActivityObjectFromPeopletag: while starting to create an ActivityObject from a people tag
1193 - $profile_list: the people tag, a Profile_list object
1194 - &$object: activity object
1196 EndActivityObjectFromPeopletag: after making an ActivityObject from a people tag
1197 - $profile_list: the people tag, a Profile_list object
1198 - &$object: activity object
1200 StartPeopletagGroupNav: Showing the people tag nav menu
1201 - $menu: the menu widget; use $menu->action for output
1203 EndPeopletagGroupNav: after showing the people tag nav menu
1204 - $menu: the menu widget; use $menu->action for output
1206 StartShowPeopletagItem: when showing a people tag
1207 - $widget: PeopletagListItem widget
1209 EndShowPeopletagItem: after showing a people tag
1210 - $widget: PeopletagListItem widget
1212 StartSubscribePeopletagForm: when showing people tag subscription form
1213 - $action: action being executed (for output and params)
1214 - $peopletag: people tag being subscribed to
1216 EndSubscribePeopletagForm: after showing the people tag subscription form
1217 - $action: action being executed (for output and params)
1218 - $peopletag: people tag being subscribed to
1220 StartShowPeopletags: when showing a textual list of people tags
1221 - $widget: PeopletagsWidget; use $widget->out for output
1222 - $tagger: profile of the tagger
1223 - $tagged: profile tagged
1225 EndShowPeopletags: after showing a textual list of people tags
1226 - $widget: PeopletagsWidget; use $widget->out for output
1227 - $tagger: profile of the tagger
1228 - $tagged: profile tagged
1230 StartProfileListItemTags: when showing people tags in a profile list item widget
1231 - $widget: ProfileListItem widget
1233 EndProfileListItemTags: after showing people tags in a profile list item widget
1234 - $widget: ProfileListItem widget
1236 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)
1237 - $obj: ActivityObject
1238 - $out: XMLOutputter to append custom output
1240 EndActivityObjectOutputAtom: Called at end of Atom XML output generation for ActivityObject chunks, just inside the </activity:object>
1241 - $obj: ActivityObject
1242 - $out: XMLOutputter to append custom output
1244 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)
1245 - $obj ActivityObject
1246 - &$out: array to be serialized; you're free to modify it
1248 EndActivityObjectOutputJson: Called at end of JSON output generation for ActivityObject chunks: the array has not yet been filled out.
1249 - $obj ActivityObject
1250 - &$out: array to be serialized; you're free to modify it
1252 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.
1254 - &$ni: in/out array mapping profile IDs to constants: NOTICE_INBOX_SOURCE_SUB etc
1256 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.
1258 - &$ni: in/out array mapping profile IDs to constants: NOTICE_INBOX_SOURCE_SUB etc
1260 StartDefaultLocalNav: When showing the default local nav
1262 - $user: current user
1264 EndDefaultLocalNav: When showing the default local nav
1266 - $user: current user
1268 StartShowAccountProfileBlock: When showing the profile block for an account
1269 - $out: XMLOutputter to append custom output
1270 - $profile: the profile being shown
1272 EndShowAccountProfileBlock: After showing the profile block for an account
1273 - $out: XMLOutputter to append custom output
1274 - $profile: the profile being shown
1276 StartShowGroupProfileBlock: When showing the profile block for a group
1277 - $out: XMLOutputter to append custom output
1278 - $profile: the profile being shown
1280 EndShowGroupProfileBlock: After showing the profile block for a group
1281 - $out: XMLOutputter to append custom output
1282 - $group: the group being shown
1284 StartShowConversation: start the listing of a conversation
1285 - $action: Action object (used mainly as HTMLOutputter)
1286 - $conv: Conversation object, has functions to retrieve relevant notices
1287 - $scoped: Profile for scoping (null if not logged in)
1289 EndShowConversation: after the listing of a conversation
1290 - $action: Action object (used mainly as HTMLOutputter)
1291 - $conv: Conversation object, has functions to retrieve relevant notices
1292 - $scoped: Profile for scoping (null if not logged in)
1294 StartShowThreadedNoticeTail: when showing the replies etc. to a notice
1295 - $nli: parent noticelistitem
1296 - $notice: parent notice
1297 - &$children: list of children
1299 EndShowThreadedNoticeTail: when showing the replies etc. to a notice
1300 - $nli: parent noticelistitem
1301 - $notice: parent notice
1302 - $children: list of children
1304 StartShowThreadedNoticeSub: when showing a reply to a notice
1305 - $nli: parent noticelistitem
1306 - $parent: parent notice
1307 - $child: child notice
1309 EndShowThreadedNoticeSub: when showing a reply to a notice
1310 - $nli: parent noticelistitem
1311 - $parent: parent notice
1312 - $child: child notice
1314 StartAddEmailAddress: when adding an email address through the Web UI
1315 - $user: user getting the new address
1316 - $email: email being added
1318 EndAddEmailAddress: done adding an email address through the Web UI
1319 - $user: user getting the new address
1320 - $email: email being added
1322 StartValidateEmailInvite: when validating an email address for invitations
1323 - $user: user doing the invite
1324 - $email: email address
1325 - &$valid: flag for if it's valid; can be modified
1327 EndValidateEmailInvite: after validating an email address for invitations
1328 - $user: user doing the invite
1329 - $email: email address
1330 - &$valid: flag for if it's valid; can be modified
1332 StartLocalURL: before resolving a local url for an action
1333 - &$action: action to find a path for
1334 - &$paramsi: parameters to pass to the action
1335 - &$fragment: any url fragement
1336 - &$addSession: whether to add session variable
1337 - &$url: resulting URL to local resource
1339 EndLocalURL: before resolving a local url for an action
1340 - &$action: action to find a path for
1341 - &$paramsi: parameters to pass to the action
1342 - &$fragment: any url fragement
1343 - &$addSession: whether to add session variable
1344 - &$url: resulting URL to local resource
1346 StartProfileGetAvatar: When getting an avatar for a profile
1348 - $size: size of the avatar
1351 EndProfileGetAvatar: After getting an avatar for a profile
1353 - $size: size of the avatar
1356 StartRegisterSuccess: Before showing the registration success message
1357 - $action: the registration action
1359 StartRegisterSuccess: After showing the registration success message
1360 - $action: the registration action
1362 StartDocFileForTitle: Before searching for a doc or mail template
1363 - $title: Title we're looking for
1364 - &$paths: Paths we're searching
1365 - &$filename: Filename so far (set this if you want)
1367 EndDocFileForTitle: After searching for a doc or mail template
1368 - $title: Title we looked for
1369 - $paths: Paths we searched
1370 - &$filename: Filename so far (set this if you want)
1372 StartReadWriteTables: when noting which tables must be read-write, even on read-only actions
1373 - &$tables: list of table names
1374 - &$rwdb: read-write database URI
1376 EndReadWriteTables: after noting which tables must be read-write, even on read-only actions
1377 - $tables: list of table names
1378 - $rwdb: read-write database URI
1380 StartShowInviteForm: Right before displaying the invitations form
1381 - $action: invitation action
1383 EndShowInviteForm: After displaying the invitations form
1384 - $action: invitation action
1386 StartSendInvitations: Right before sending invitations
1387 - $action: invitation action
1389 EndSendInvitations: Right after sending invitations
1390 - $action: invitation action
1392 StartShowInvitationSuccess: Right before showing invitations success msg
1393 - $action: invitation action
1395 EndShowInvitationSuccess: After showing invitations success msg
1396 - $action: invitation action
1398 StartUpgrade: when starting a site upgrade
1400 EndUpgrade: when ending a site upgrade; good place to do your own upgrades
1402 HaveIMPlugin: is there an IM plugin loaded?
1403 - &$haveIMPlugin: set me to true if you're loaded!
1405 StartShowNoticeOptionItems: Before showing first controls in a notice list item; inside the div
1406 - $nli: NoticeListItem being shown
1408 EndShowNoticeOptionItems: After showing last controls in a notice list item; inside the div
1409 - $nli: NoticeListItem being shown
1411 StartNoticeInScope: Before checking if a notice should be visible to a user
1412 - $notice: The notice to check
1413 - $profile: The profile to check for scope
1414 - &$bResult: The boolean result; fill this in if you want to skip
1416 EndNoticeInScope: After checking if a notice should be visible to a user
1417 - $notice: The notice to check
1418 - $profile: The profile to check for scope
1419 - &$bResult: The boolean result; overwrite this if you so desire
1421 StartNoticeListPrefill: Before pre-filling a list of notices with extra data
1422 - &$notices: Notices to be pre-filled
1423 - $avatarSize: The avatar size for the list
1425 EndNoticeListPrefill: After pre-filling a list of notices with extra data
1426 - &$notices: Notices that were pre-filled
1427 - &$profiles: Profiles that were pre-filled
1428 - $avatarSize: The avatar size for the list
1430 OtherAccountProfiles: Hook to add account profiles to a user account profile block
1431 - $profile: the Profile being shown
1432 - &$others: Modifiable array of profile info arrays. Each one has the following fields:
1433 href: link to the profile
1434 text: text for the profile
1435 image: mini image for the profile
1437 CreateFileImageThumbnailSource: Hook to create image thumbnail source from a File
1438 - $file: 'File' object to source the image from
1439 - &$imgPath: Path to image file which can be used as source for our thumbnail algorithm.
1440 - $media: MIME media type ('image', 'video', 'audio' etc.)
1442 StartResizeImageFile: Hook to resize an image and output it to a file. No matching End event yet.
1443 - $imagefile: ImageFile object we're resizing.
1444 - $outpath: string with output filepath
1445 - $box: array with size ('width', 'height') and boundary box('x', 'y', 'w', 'h').
1447 StartShowAttachmentRepresentation: Attachment representation, full file (or in rare cases thumbnails/previews).
1448 - $out: HTMLOutputter class to use for outputting HTML.
1449 - $file: 'File' object which we're going to show representation for.
1451 EndShowAttachmentRepresentation: Executed after Attachment representation, despite perhaps being unsupported media.
1452 - $out: HTMLOutputter class to use for outputting HTML.
1453 - $file: 'File' object which we're going to show representation for.
1455 ShowUnsupportedAttachmentRepresentation: Attachment representation, full file (or in rare cases thumbnails/previews).
1456 - $out: HTMLOutputter class to use for outputting HTML.
1457 - $file: 'File' object which we're going to show representation for.
1459 StartNotifyMentioned: During notice distribution, we send notifications (email, im...) to the profiles who were somehow mentioned.
1460 - $stored: Notice object that is being distributed.
1461 - &$mentioned_ids: Array of profile IDs (not just for local users) who got mentioned by the notice.
1463 EndNotifyMentioned: During notice distribution, we send notifications (email, im...) to the profiles who were somehow mentioned.
1464 - $stored: Notice object that is being distributed.
1465 - $mentioned_ids: Array of profile IDs (not just for local users) who got mentioned by the notice.
1467 StartHomeStubNavItems: Go back Home nav items. Default includes just one item 'home'
1468 - $out: HTMLOutputter used to output (usually an Action, but not always!)
1469 - &$items: Referenced array of items in the nav (add if desired)
1471 EndHomeStubNavItems:
1472 - $out: HTMLOutputter used to output (usually an Action, but not always!)
1473 - $items: array of menu items
1475 StartSubMenu: Before outputting a submenu (including enclosing tags) to HTML
1476 - $out: HTMLOutputter used to output (usually an Action, but not always!)
1477 - $menu: The Menu object outputted as a submenu.
1478 - $label: Localized text which represents the menu item.
1480 EndSubMenu: After outputting a submenu (including enclosing tags) to HTML
1481 - $out: HTMLOutputter used to output (usually an Action, but not always!)
1482 - $menu: The Menu object outputted as a submenu.
1483 - $label: Localized text which represents the menu item.
1485 StartDocNav: Before outputting the docs Nav
1486 - $nav: The DoclNav widget
1488 EndDocNav: After outputting the docs Nav
1489 - $nav: The DoclNav widget