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 StartActionExecute: Right before the "prepare" call of the current Action
6 - $action: the current Action object
7 - &$args: array of arguments, referenced so you can modify the array
9 EndActionExecute: Right after the "handle" call of the current Action
10 - $action: the current Action object
12 StartPrimaryNav: Showing the primary nav menu
13 - $action: the current action
15 EndPrimaryNav: At the end of the primary nav menu
16 - $action: the current action
18 StartSecondaryNav: Showing the secondary nav menu
19 - $action: the current action
21 EndSecondaryNav: At the end of the secondary nav menu
22 - $action: the current action
24 StartShowStyles: Showing Style links; good place to add UA style resets
25 - $action: the current action
27 EndShowStyles: End showing Style links; good place to add custom styles
28 - $action: the current action
30 StartShowStylesheets: Showing stylesheet links
31 - $action: the current action
33 EndShowStylesheets: End showing stylesheet links; good place to add handheld or JavaScript dependant styles
34 - $action: the current action
36 StartShowUAStyles: Showing custom User-Agent style links
37 - $action: the current action
39 EndShowUAStyles: End showing custom User-Agent links; good place to add user-agent (e.g., filter, -webkit, -moz) specific styles
40 - $action: the current action
42 StartShowScripts: Showing JavaScript links
43 - $action: the current action
45 EndShowScripts: End showing JavaScript links; good place to add custom
46 links like Google Analytics
47 - $action: the current action
49 StartShowJQueryScripts: Showing JQuery script links (use this to link to e.g. Google mirrors)
50 - $action: the current action
52 EndShowJQueryScripts: End showing JQuery script links
53 - $action: the current action
55 StartShowStatusNetScripts: Showing StatusNet script links (use this to link to a CDN or something)
56 - $action: the current action
58 EndShowStatusNetScripts: End showing StatusNet script links
59 - $action: the current action
61 StartShowSections: Start the list of sections in the sidebar
62 - $action: the current action
64 EndShowSections: End the list of sections in the sidebar
65 - $action: the current action
67 StartShowHeader: Showing before the header container
68 - $action: the current action
70 EndShowHeader: Showing after the header container
71 - $action: the current action
73 StartShowFooter: Showing before the footer container
74 - $action: the current action
76 EndShowFooter: Showing after the footer container
77 - $action: the current action
79 StartShowContentBlock: Showing before the content container
80 - $action: the current action
82 EndShowContentBlock: Showing after the content container
83 - $action: the current action
85 StartShowAside: Showing before the Aside container
86 - $action: the current action
88 EndShowAside: Showing after the Aside container
89 - $action: the current action
91 StartShowNoticeFormData: Showing before the notice form data
92 - $action: the current action
94 EndShowNoticeFormData: Showing after the notice form data
95 - $action: the current action
97 StartNoticeSave: before inserting a notice (good place for content filters)
98 - $notice: notice being saved (no ID or URI)
100 EndNoticeSave: after inserting a notice and related code
101 - $notice: notice that was saved (with ID and URI)
103 StartShowLocalNavBlock: Showing the local nav menu
104 - $action: the current action
106 EndShowLocalNavBlock: At the end of the local nav menu
107 - $action: the current action
109 StartShowHTML: Chance to set document headers (e.g., content type, charset, language), DOCTYPE and html element properties
110 - $action: the current action
112 EndShowHTML: Showing after the html element
113 - $action: the current action
115 StartPublicGroupNav: Showing the public group nav menu
116 - $menu: the menu widget; use $menu->action for output
118 EndPublicGroupNav: At the end of the public group nav menu
119 - $menu: the menu widget; use $menu->action for output
121 StartSubGroupNav: Showing the subscriptions group nav menu
122 - $menu: the menu widget; use $menu->action for output
124 EndSubGroupNav: At the end of the subscriptions group nav menu
125 - $menu: the menu widget; use $menu->action for output
127 StartInitializeRouter: Before the router instance has been initialized; good place to add routes
128 - $m: the Net_URL_Mapper that has just been set up
130 RouterInitialized: After the router instance has been initialized
131 - $m: the Net_URL_Mapper that has just been set up
133 StartLogout: Before logging out
134 - $action: the logout action
136 EndLogout: After logging out
137 - $action: the logout action
139 ArgsInitialize: After the argument array has been initialized
140 - $args: associative array of arguments, can be modified
142 StartAddressData: Allows the site owner to provide additional information about themselves for contact (e.g., tagline, email, location)
143 - $action: the current action
145 EndAddressData: At the end of <address>
146 - $action: the current action
148 StartShowSiteNotice: Before showing site notice
149 - $action: the current action
151 EndShowSiteNotice: After showing site notice
152 - $action: the current action
154 StartLoginGroupNav: Before showing the login and register navigation menu
155 - $action: the current action
157 EndLoginGroupNav: After showing the login and register navigation menu
158 - $action: the current action
160 StartAccountSettingsNav: Before showing the account settings menu
161 - $action: the current action
163 EndAccountSettingsNav: After showing the account settings menu
164 - $action: the current action
166 StartAccountSettingsProfileMenuItem: Before showing the Profile menu item
167 - $widget: AccountSettingsNav instance being shown
169 EndAccountSettingsProfileMenuItem: After showing the Profile menu item
170 - $widget: AccountSettingsNav instance being shown
172 StartAccountSettingsAvatarMenuItem: Before showing the Avatar menu item
173 - $widget: AccountSettingsNav instance being shown
175 EndAccountSettingsAvatarMenuItem: After showing the Avatar menu item
176 - $widget: AccountSettingsNav instance being shown
178 StartAccountSettingsPasswordMenuItem: Before showing the Password menu item
179 - $widget: AccountSettingsNav instance being shown
181 EndAccountSettingsPasswordMenuItem: After showing the Password menu item
182 - $widget: AccountSettingsNav instance being shown
184 StartAccountSettingsEmailMenuItem: Before showing the Email menu item
185 - $widget: AccountSettingsNav instance being shown
187 EndAccountSettingsEmailMenuItem: After showing the Email menu item
188 - $widget: AccountSettingsNav instance being shown
190 StartAccountSettingsDesignMenuItem: Before showing the Design menu item
191 - $widget: AccountSettingsNav instance being shown
193 EndAccountSettingsDesignMenuItem: After showing the Design menu item
194 - $widget: AccountSettingsNav instance being shown
196 StartAccountSettingsOtherMenuItem: Before showing the Other menu item
197 - $widget: AccountSettingsNav instance being shown
199 EndAccountSettingsOtherMenuItem: After showing the Other menu item
200 - $widget: AccountSettingsNav instance being shown
202 Autoload: When trying to autoload a class
203 - $cls: the class being sought. A plugin might require_once the file for the class.
205 SensitiveAction: determines if an action is 'sensitive' and should use SSL
206 - $action: name of the action, like 'login'
207 - $sensitive: flag for whether this is a sensitive action
209 LoginAction: determines if an action is a 'login' action (OK for public view in private mode)
210 - $action: name of the action, like 'register'
211 - $login: flag for whether this is a login action
213 StartShowHead: called before showing the <head> element and children
214 - $action: action object being show
216 EndShowHead: called after showing the <head> element (and </head>)
217 - $action: action object being shown
219 StartShowBody: called before showing the <body> element and children
220 - $action: action object being shown
222 EndShowBody: called after showing the <body> element (and </body>)
223 - $action: action object being shown
225 StartPersonalGroupNav: beginning of personal group nav menu
226 - $menu: Menu list object being shown
227 - $target: Profile for whom it is shown
228 - $scoped: Profile of currently logged in user (or null)
230 EndPersonalGroupNav: end of personal group nav menu (good place to add a menu item)
231 - $action: action object being shown
233 StartGroupGroupNav: Showing the group nav menu
234 - $action: the current action
236 EndGroupGroupNav: At the end of the group nav menu
237 - $action: the current action
239 StartEndHTML: just before the </html> tag
240 - $action: action object being shown
242 EndEndHTML: just after the </html> tag
243 - $action: action object being shown
245 FinalAction: After prepare() (and possible handle) in Action class.
246 - $status: result of "prepare" call on action
247 - $action: Action that is currently running
249 StartShowDesign: just before showing a site, user, or group design
250 - $action: action object being shown
252 EndShowDesign: just after showing a site, user, or group design
253 - $action: action object being shown
255 StartShowExportData: just before showing the <div> with export data (feeds)
256 - $action: action object being shown
258 EndShowExportData: just after showing the <div> with export data (feeds)
259 - $action: action object being shown
261 StartShowNoticeItem: just before showing the notice item
262 - $item: The NoticeListItem object being shown
264 EndShowNoticeItem: just after showing the notice item
265 - $item: the NoticeListItem object being shown
267 StartShowNoticeItemNotice: just before outputting the "top" notice part of a NoticeListItem to HTML
268 - $item: The NoticeListItem object being shown
270 EndShowNoticeItemNotice: just after outputting the "top" notice part of a NoticeListItem to HTML
271 - $item: The NoticeListItem object being shown
273 StartShowNoticeContent: just before outputting the content part of a Notice
274 - $stored: The Notice object
275 - $out: HTMLOutputter for writing to
276 - $scoped: optional Profile object for permission scoping
278 EndShowNoticeContent: just after outputting the content part of a Notice, plugins must call this manually
279 - $stored: The Notice object
280 - $out: HTMLOutputter for writing to
281 - $scoped: optional Profile object for permission scoping
283 StartShowNoticeInfo: just before showing notice info
284 - $item: The NoticeListItem object being shown
286 EndShowNoticeInfo: just after showing notice info
287 - $item: The NoticeListItem object being shown
289 StartShowNoticeOptions: just before showing notice options like fave, repeat, etc.
290 - $item: the NoticeListItem object being shown
292 EndShowNoticeOptions: just after showing notice options like fave, repeat, etc.
293 - $item: the NoticeListItem object being shown
295 StartShowPageNotice: just before showing the page notice (instructions or error)
296 - $action: action object being shown
298 EndShowPageNotice: just after showing the page notice (instructions or error)
299 - $action: action object being shown
301 StartShowPageTitle: just before showing the main h1 title of a page (only for registration)
302 - $action: action object being shown
304 StartProfileFormData: just before showing text entry fields on profile settings page
305 - $action: action object being shown
307 EndProfileFormData: just after showing text entry fields on profile settings page
308 - $action: action object being shown
310 StartProfileSaveForm: before starting to save a profile settings form
311 - $action: action object being shown
313 EndProfileSaveForm: after saving a profile settings form (after commit, no profile or user object!)
314 - $action: action object being shown
316 StartEmailFormData: just before showing form input fields on email settings page
317 - $action: Action object being shown
318 - $scoped: Profile for whom settings are being configured
320 EndEmailFormData: just after showing form input fields on email settings page
321 - $action: action object being shown
322 - $scoped: Profile for whom settings are being configured
324 StartEmailSaveForm: before starting to save a email settings form
325 - $action: action object being shown
326 - $scoped: Profile user having their email settings saved
328 EndEmailSaveForm: after saving a email settings form (after commit)
329 - $action: action object being shown
330 - $scoped: Profile user having their email settings saved
332 StartRegistrationFormData: just before showing text entry fields on registration page
333 - $action: action object being shown
335 EndRegistrationFormData: just after showing text entry fields on registration page
336 - $action: action object being shown
338 StartRegistrationTry: before validating and saving a new user
339 - $action: action object being shown
341 EndRegistrationTry: after saving a new user (note: no profile or user object!)
342 - $action: action object being shown
344 StartAvatarFormData: before displaying avatar form
345 - $action: action object being shown
347 EndAvatarFormData: after displaying avatar form
348 - $action: action object being shown
350 StartAvatarSaveForm: before saving the avatar
351 - $action: action object being shown
353 EndAvatarSaveForm: after saving the avatar
354 - $action: action object being shown
356 StartNewQueueManager: before trying to start a new queue manager; good for plugins implementing new queue manager classes
357 - $qm: empty queue manager to set
359 RedirectToLogin: event when we force a redirect to login (like when going to a settings page on a remembered login)
360 - $action: action object being shown
361 - $user: current user
363 StartLoadDoc: before loading a help doc (hook this to show your own documentation)
364 - $title: title of the document
365 - $output: HTML output to show
367 EndLoadDoc: after loading a help doc (hook this to modify other documentation)
368 - $title: title of the document
369 - $output: HTML output to show
371 StartApiRss: after the rss <channel> element is started
372 - $action: action object being shown
374 StartApiAtom: after the <feed> element is started
375 - $action: action object being shown
377 StartEnqueueNotice: about to add a notice to the queues (good place to add a new transport)
378 - $notice: the notice being added
379 - &$transports: modifiable list of transports (as strings) to queue for
381 EndEnqueueNotice: after adding a notice to the queues
382 - $notice: the notice being added
383 - $transports: modifiable list of transports to use
385 UnqueueHandleNotice: Handle a notice when no queue manager is available
386 - $notice: the notice to handle
387 - $queue: the "queue" that is being executed
389 GetValidDaemons: Just before determining which daemons to run
390 - &$daemons: modifiable list of daemon scripts to run, filenames relative to scripts/
392 HandleQueuedNotice: Handle a queued notice at queue time (or immediately if no queue)
393 - &$notice: notice to handle
395 StartHtmlElement: Reight before outputting the HTML element - allows plugins to add namespaces
396 - $action: the current action
397 - &$attrs: attributes for the HTML element
399 EndHtmlElement: Right after outputting the HTML element
400 - $action: the current action
401 - &$attrs: attributes for the HTML element
403 StartShowHeadElements: Right after the <head> tag
404 - $action: the current action
406 EndShowHeadElements: Right before the </head> tag; put <script>s here if you need them in <head>
407 - $action: the current action
409 CheckSchema: chance to check the schema
411 StartProfileRemoteSubscribe: Before showing the link to remote subscription
412 - $userprofile: UserProfile widget
413 - &$profile: the profile being shown
415 EndProfileRemoteSubscribe: After showing the link to remote subscription
416 - $userprofile: UserProfile widget
417 - &$profile: the profile being shown
419 StartGroupSubscribe: Before showing the link to remote subscription
420 - $action: the current action
421 - $group: the group being shown
423 EndGroupSubscribe: After showing the link to remote subscription
424 - $action: the current action
425 - $group: the group being shown
427 StartProfilePageProfileSection: Starting to show the section of the
428 profile page with the actual profile data;
429 hook to prevent showing the profile (e.g.)
430 - $userprofile: UserProfile widget
431 - &$profile: the profile being shown
433 StartProfilePageProfileElements: inside the section, before the first
434 element; prepend elements here
435 - $userprofile: UserProfile widget
436 - &$profile: the profile being shown
438 EndProfilePageProfileElements: inside the section, after the last element;
440 - $userprofile: UserProfile widget
441 - &$profile: the profile being shown
443 EndProfilePageProfileSection: After showing the section of the profile
444 page with the profile elements
445 - $userprofile: UserProfile widget
446 - &$profile: the profile being shown
448 StartProfilePageActionsSection: Starting to show the section of the
449 profile page with action links; hook
450 to hide them (for example)
451 - $userprofile: UserProfile widget
452 - &$profile: the profile being shown
454 StartProfilePageActionsElements: inside the list, before the first
455 element; prepend elements here
456 - $userprofile: UserProfile widget
457 - &$profile: the profile being shown
459 EndProfilePageActionsElements: inside the list, after the last element;
461 - $userprofile: UserProfile widget
462 - &$profile: the profile being shown
464 EndProfilePageActionsSection: After showing the section of the profile
465 page with the entity actions
466 - $userprofile: UserProfile widget
467 - &$profile: the profile being shown
469 StartProfilePageAvatar: before showing the avatar on the profile page
470 - $userprofile: UserProfile widget
471 - &$profile: the profile being shown
473 EndProfilePageAvatar: after showing the avatar on the profile page
474 - $userprofile: UserProfile widget
475 - &$profile: the profile being shown
477 StartProfilePageNickname: before showing the nickname on the profile page
478 - $userprofile: UserProfile widget
479 - &$profile: the profile being shown
481 EndProfilePageNickname: after showing the nickname on the profile page
482 - $userprofile: UserProfile widget
483 - &$profile: the profile being shown
485 StartProfilePageFullName: before showing the fullname on the profile page
486 - $userprofile: UserProfile widget
487 - &$profile: the profile being shown
489 EndProfilePageFullName: after showing the fullname on the profile page
490 - $userprofile: UserProfile widget
491 - &$profile: the profile being shown
493 StartProfilePageLocation: before showing the location on the profile page
494 - $userprofile: UserProfile widget
495 - &$profile: the profile being shown
497 EndProfilePageLocation: after showing the location on the profile page
498 - $userprofile: UserProfile widget
499 - &$profile: the profile being shown
501 StartProfilePageHomepage: before showing the homepage link on the profile page
502 - $userprofile: UserProfile widget
503 - &$profile: the profile being shown
505 EndProfilePageHomepage: after showing the homepage on the profile page
506 - $userprofile: UserProfile widget
507 - &$profile: the profile being shown
509 StartProfilePageBio: before showing the bio on the profile page
510 - $userprofile: UserProfile widget
511 - &$profile: the profile being shown
513 EndProfilePageBio: after showing the bio on the profile page
514 - $userprofile: UserProfile widget
515 - &$profile: the profile being shown
517 StartProfilePageProfileTags: before showing the tags on the profile page
518 - $userprofile: UserProfile widget
519 - &$profile: the profile being shown
521 EndProfilePageProfileTags: after showing the tags on the profile page
522 - $userprofile: UserProfile widget
523 - &$profile: the profile being shown
525 StartProfileList: when starting a list of profiles (before <ul>)
526 - $profilelist: ProfileList widget, with $profile, $action, and $out
528 EndProfileList: when ending a list of profiles (after </ul>)
529 - $profilelist: ProfileList widget
531 StartProfileListItem: when starting to show a profile list item
532 - $item: ProfileListItem widget
534 EndProfileListItem: after showing a profile list item
535 - $item: ProfileListItem widget
537 StartProfileListItemProfile: the profile data part of the item
538 - $item: ProfileListItem widget
540 EndProfileListItemProfile: the profile data part of the item
541 - $item: ProfileListItem widget
543 StartProfileListItemActions: the actions (buttons) for an item
544 - $item: ProfileListItem widget
546 EndProfileListItemActions: the actions (buttons) for an item
547 - $item: ProfileListItem widget
549 StartProfileListItemProfileElements: inside the <div>
550 - $item: ProfileListItem widget
552 EndProfileListItemProfileElements: inside the <div>
553 - $item: ProfileListItem widget
555 StartProfileListItemAvatar: Showing a profile list avatar
556 - $item: ProfileListItem widget
558 EndProfileListItemAvatar: Showing a profile list avatar
559 - $item: ProfileListItem widget
561 StartProfileListItemFullName: Showing the profile list full name
562 - $item: ProfileListItem widget
564 EndProfileListItemFullName: Showing the profile list full name
565 - $item: ProfileListItem widget
567 StartProfileListItemLocation: Showing the profile list location
568 - $item: ProfileListItem widget
570 EndProfileListItemLocation: Showing the profile list location
571 - $item: ProfileListItem widget
573 StartProfileListItemHomepage: Showing the profile list homepage
574 - $item: ProfileListItem widget
576 EndProfileListItemHomepage: Showing the profile list homepage
577 - $item: ProfileListItem widget
579 StartProfileListItemBio: Showing the profile list bio
580 - $item: ProfileListItem widget
582 EndProfileListItemBio: Showing the profile list bio
583 - $item: ProfileListItem widget
585 StartProfileListItemActionElements: Showing the profile list actions (prepend a button here, or replace all buttons)
586 - $item: ProfileListItem widget
588 EndProfileListItemActionElements: Showing profile list actions (append a button here)
589 - $item: ProfileListItem widget
591 StartUserXRDS: Start XRDS output (right after the opening XRDS tag)
592 - $action: the current action
593 - &$xrdsoutputter - XRDSOutputter object to write to
595 EndUserXRDS: End XRDS output (right before the closing XRDS tag)
596 - $action: the current action
597 - &$xrdsoutputter - XRDSOutputter object to write to
599 StartPublicXRDS: Start XRDS output (right after the opening XRDS tag)
600 - $action: the current action
601 - &$xrdsoutputter - XRDSOutputter object to write to
603 EndPublicXRDS: End XRDS output (right before the closing XRDS tag)
604 - $action: the current action
605 - &$xrdsoutputter - XRDSOutputter object to write to
607 StartCheckPassword: Check a username/password
608 - $nickname: The nickname to check
609 - $password: The password to check
610 - &$authenticatedUser: set to User object if credentials match a user.
612 EndCheckPassword: After checking a username/password pair
613 - $nickname: The nickname that was checked
614 - $password: The password that was checked
615 - $authenticatedUser: User object if credentials match a user, else null.
617 StartChangePassword: Before changing a password
618 - Profile $target: The profile of the User that is changing password
619 - $oldpassword: the user's old password
620 - $newpassword: the desired new password
622 EndChangePassword: After changing a password
623 - Profile $target: The profile of the User that just changed its password
625 StartHashPassword: Generate a hashed version of the password (like a salted crypt)
626 - &$hashed: Hashed version of the password, later put in the database
627 - $password: The password that should be hashed
628 - $profile: Profile that this password and hash belongs to. Can be null.
630 StartSetUser: Before setting the currently logged in user
633 EndSetUser: After setting the currently logged in user
636 StartSetApiUser: Before setting the current API user
637 - &$user: user, can be set during event handling (return false to stop processing)
639 EndSetApiUser: After setting the current API user
640 - $user: user, only called if this is an actual user
642 StartHasRole: Before determing if the a profile has a given role
643 - $profile: profile in question
644 - $name: name of the role in question
645 - &$has_role: does this profile have the named role?
647 EndHasRole: Before determing if the a profile has a given role
648 - $profile: profile in question
649 - $name: name of the role in question
650 - $has_role: does this profile have the named role?
652 UserDeleteRelated: Specify additional tables to delete entries from when deleting users
654 - &$related: array of DB_DataObject class names to delete entries on matching user_id.
656 GetUrlShorteners: Specify URL shorteners that are available for use
657 - &$shorteners: append your shortener to this array like so: $shorteners[shortenerName]=array('display'=>display, 'freeService'=>boolean)
659 StartShortenUrl: About to shorten a URL
660 - $url: url to be shortened
661 - $shortenerName: name of the requested shortener
662 - &$shortenedUrl: short version of the url
664 EndShortenUrl: After a URL has been shortened
665 - $url: url to be shortened
666 - $shortenerName: name of the requested shortener
667 - $shortenedUrl: short version of the url
669 StartCssLinkElement: Before a <link rel="stylesheet"..> element is written
675 EndCssLinkElement: After a <link rel="stylesheet"..> element is written
681 StartStyleElement: Before a <style...> element is written
687 EndStyleElement: After a <style...> element is written
693 StartScriptElement: Before a <script...> element is written
698 EndScriptElement: After a <script...> element is written
703 StartInlineScriptElement: Before a <script...> element is written
708 EndInlineScriptElement: After a <script...> element is written
713 StartLog: Before writing to the logs
718 EndLog: After writing to the logs
723 StartBlockProfile: when we're about to block
724 - $user: the person doing the block
725 - $profile: the person getting blocked, can be remote
727 EndBlockProfile: when a block has succeeded
728 - $user: the person doing the block
729 - $profile: the person blocked, can be remote
731 StartUnblockProfile: when we're about to unblock
732 - $user: the person doing the unblock
733 - $profile: the person getting unblocked, can be remote
735 EndUnblockProfile: when an unblock has succeeded
736 - $user: the person doing the unblock
737 - $profile: the person unblocked, can be remote
739 StartSubscribe: when a subscription is starting
740 - $profile: Profile that is subscribing
741 - $other: Profile that is being subscribed to
743 EndSubscribe: when a subscription is finished
744 - $profile: Profile that is subscribing
745 - $other: Profile that is being subscribed to
747 StartUnsubscribe: when an unsubscribe is starting
748 - $profile: Profile that is unsubscribing
749 - $other: Profile that is being unsubscribed from
751 EndUnsubscribe: when an unsubscribe is done
752 - $profile: Profile that is unsubscribing
753 - $other: Profile that is being unsubscribed from
755 StartJoinGroup: when a user is joining a group
756 - $group: the group being joined
757 - $profile: the local or remote user joining
759 EndJoinGroup: when a user finishes joining a group
760 - $group: the group being joined
761 - $profile: the local or remote user joining
763 StartLeaveGroup: when a user is leaving a group
764 - $group: the group being left
765 - $profile: the local or remote user leaving
767 EndLeaveGroup: when a user has left a group
768 - $group: the group being left
769 - $profile: the local or remote user leaving
771 StartShowContentLicense: Showing the default license for content
772 - $action: the current action
774 EndShowContentLicense: Showing the default license for content
775 - $action: the current action
777 GetImTransports: Get IM transports that are available
778 - &$transports: append your transport to this array like so: $transports[transportName]=array('display'=>display)
780 NormalizeImScreenname: Normalize an IM screenname
781 - $transport: transport the screenname is on
782 - &$screenname: screenname to be normalized
784 ValidateImScreenname: Validate an IM screenname
785 - $transport: transport the screenname is on
786 - $screenname: screenname to be validated
787 - $valid: is the screenname valid?
789 SendImConfirmationCode: Send a confirmation code to confirm a user owns an IM screenname
790 - $transport: transport the screenname exists on
791 - $screenname: screenname being confirmed
792 - $code: confirmation code for confirmation URL
793 - $user: user requesting the confirmation
795 StartUserRegister: When a new user is being registered
796 - $profile: Profile object with new profile data (no ID yet)
798 EndUserRegister: When a new user has been registered
799 - $profile: Profile object with new profile data
801 StartRobotsTxt: Before outputting the robots.txt page
802 - &$action: RobotstxtAction being shown
804 EndRobotsTxt: After the default robots.txt page (good place for customization)
805 - &$action: RobotstxtAction being shown
807 StartGetProfileUri: When determining the canonical URI for a given profile
808 - $profile: the current profile
811 EndGetProfileUri: After determining the canonical URI for a given profile
812 - $profile: the current profile
815 StartGetProfileAcctUri: Get the acct: URI for a Profile (or throw ProfileNoAcctUriException)
816 - $profile: Profile of user we want to get acct: URI for
817 - &$acct: string with the resulting acct: uri
819 EndGetProfileAcctUri: Last attempts to get the acct: URI for a Profile (or throw ProfileNoAcctUriException)
820 - $profile: Profile of user we want to get acct: URI for
821 - &$acct: string with the resulting acct: uri
823 StartFindMentions: start finding mentions in a block of text
824 - $sender: sender profile
825 - $text: plain text version of the notice
826 - &$mentions: mentions found so far. Array of arrays; each array
827 has 'mentioned' (array of mentioned profiles), 'url' (url to link as),
828 'title' (title of the link), 'position' (position of the text to
829 replace), 'text' (text to replace)
831 EndFindMentions: end finding mentions in a block of text
832 - $sender: sender profile
833 - $text: plain text version of the notice
834 - &$mentions: mentions found so far. Array of arrays; each array
835 has 'mentioned' (array of mentioned profiles), 'url' (url to link as),
836 'title' (title of the link), 'position' (position of the text to
837 replace), 'text' (text to replace)
839 StartShowSubscriptionsContent: before showing the subscriptions content
840 - $action: the current action
842 EndShowSubscriptionsContent: after showing the subscriptions content
843 - $action: the current action
845 StartShowUserGroupsContent: before showing the user groups content
846 - $action: the current action
848 EndShowUserGroupsContent: after showing the user groups content
849 - $action: the current action
851 StartShowAllContent: before showing the all (you and friends) content
852 - $action: the current action
854 EndShowAllContent: after showing the all (you and friends) content
855 - $action: the current action
857 StartShowSubscriptionsMiniList: at the start of subscriptions mini list
858 - $action: the current action
860 EndShowSubscriptionsMiniList: at the end of subscriptions mini list
861 - $action: the current action
863 StartShowGroupsMiniList: at the start of groups mini list
864 - $action: the current action
866 EndShowGroupsMiniList: at the end of groups mini list
867 - $action: the current action
869 StartDeleteUserForm: starting the data in the form for deleting a user
870 - $action: action being shown
871 - $user: user being deleted
873 EndDeleteUserForm: Ending the data in the form for deleting a user
874 - $action: action being shown
875 - $user: user being deleted
877 StartDeleteUser: handling the post for deleting a user
878 - $action: action being shown
879 - $user: user being deleted
881 EndDeleteUser: handling the post for deleting a user
882 - $action: action being shown
883 - $user: user being deleted
885 StartNoticeAsActivity: before converting a notice to an activity
886 - $notice: notice being converted
887 - &$activity: initially empty activity
889 EndNoticeAsActivity: after converting a notice to an activity (good time to customize!)
890 - $notice: notice being converted
891 - &$activity: activity, now more-or-less full
893 StartNoticeSaveWeb: before saving a notice through the Web interface
894 - $action: action being executed (instance of NewNoticeAction)
895 - &$authorId: integer ID of the author
896 - &$text: text of the notice
897 - &$options: additional options (location, replies, etc.)
899 EndNoticeSaveWeb: after saving a notice through the Web interface
900 - $action: action being executed (instance of NewNoticeAction)
901 - $notice: notice that was saved
903 StartRssEntryArray: at the start of copying a notice to an array
904 - $notice: the notice being copied
905 - &$entry: the entry (empty at beginning)
907 EndRssEntryArray: at the end of copying a notice to an array
908 - $notice: the notice being copied
909 - &$entry: the entry, with all the fields filled up
911 NoticeDeleteRelated: at the beginning of deleting related fields to a notice
912 - $notice: notice being deleted
914 FileDeleteRelated: at the beginning of deleting related fields to a File
915 - $notice: File being deleted
917 StartShowHeadTitle: when beginning to show the <title> element
918 - $action: action being shown
920 EndShowHeadTitle: when done showing the <title>
921 - $action: action being shown
923 StartShowPageTitle: when beginning to show the page title <h1>
924 - $action: action being shown
926 EndShowPageTitle: when done showing the page title <h1>
927 - $action: action being shown
929 StartDeleteOwnNotice: when a user starts to delete their own notice
930 - $user: the user doing the delete
931 - $notice: the notice being deleted
933 EndDeleteOwnNotice: when a user has deleted their own notice
934 - $user: the user doing the delete
935 - $notice: the notice being deleted
937 StartShowFeedLinkList: before showing the feed list in the sidebar
938 - $action: action being executed
939 - $feeds: list of feeds to show
941 EndShowFeedLinkList: after showing the feed list in the sidebar
942 - $action: action being executed
943 - $feeds: list of feeds shown
945 StartShowFeedLink: before showing an individual feed item
946 - $action: action being executed
947 - $feed: feed to show
949 EndShowFeedLink: after showing an individual feed
950 - $action: action being executed
951 - $feed: feed to show
953 StartShowNoticeForm: before showing the notice form (before <form>)
954 - $action: action being executed
956 EndShowNoticeForm: after showing the notice form (after <form>)
957 - $action: action being executed
959 StartShowEntryForms: microapp entry form tab data
960 - &$tabs: tab assoc array with 'tag' => (title, href to create new entry)
962 StartGrantRole: when a role is being assigned
963 - $profile: profile that will have the role
964 - $role: string name of the role
966 EndGrantRole: when a role has been successfully assigned
967 - $profile: profile that will have the role
968 - $role: string name of the role
970 StartRevokeRole: when a role is being revoked
971 - $profile: profile that will lose the role
972 - $role: string name of the role
974 EndRevokeRole: when a role has been revoked
975 - $profile: profile that lost the role
976 - $role: string name of the role
978 StartAtomPubNewActivity: When a new activity comes in through Atom Pub API
979 - &$activity: received activity
980 - $profile: profile of the user publishing the entry
981 - &$notice: notice created; initially null, can be set
983 EndAtomPubNewActivity: When a new activity comes in through Atom Pub API
984 - $activity: received activity
985 - $profile: profile of the user publishing the entry
986 - $notice: notice that was created
988 AdminPanelCheck: When checking whether the current user can access a given admin panel
989 - $name: Name of the admin panel
990 - &$isOK: Boolean whether the user is allowed to use the panel
992 StartAdminPanelNav: Before displaying the first item in the list of admin panels
993 - $nav The AdminPanelNav widget
995 EndAdminPanelNav: After displaying the last item in the list of admin panels
996 - $nav The AdminPanelNav widget
998 StartActivityObjectFromNotice: When converting a notice to an activity:object
999 - $notice: The notice being converted
1000 - &$object: The resulting object. Fill this and return false to override defaults.
1002 EndActivityObjectFromNotice: After converting a notice to an activity:object
1003 - $notice: The notice being converted
1004 - &$object: The resulting object. Can be edited
1006 StartActivityObjectFromProfile: When converting a profile to an activity:object
1007 - $profile: The profile being converted
1008 - &$object: The (empty) object. Fill it up and return false to override defaults.
1010 EndActivityObjectFromProfile: After converting a profile to an activity:object
1011 - $profile: The profile being converted
1012 - &$object: The finished object. Can be tweaked
1014 StartActivityObjectFromGroup: When converting a group to an activity:object
1015 - $group: The group being converted
1016 - &$object: The (empty) object. Fill and return false to override.
1018 EndActivityObjectFromGroup: After converting a group to an activity:object
1019 - $group: The group being converted
1020 - &$object: The finished object. Tweak as needed.
1022 StartImportActivity: when we start to import 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
1027 - &$done: Return value; whether to continue
1029 EndImportActivity: when we finish importing an activity
1030 - $user: User to make the author import
1031 - $author: Author of the feed; good for comparisons
1032 - $activity: The current activity
1033 - $trusted: How "trusted" the process is
1035 StartProfileSettingsActions: when we're showing account-management action list
1036 - $action: Action being shown (use for output)
1038 EndProfileSettingsActions: when we're showing account-management action list
1039 - $action: Action being shown (use for output)
1041 StartOpenNoticeListItemElement: Before the opening <li> of a notice list element
1042 - $nli: The notice list item being shown
1044 EndOpenNoticeListItemElement: After the opening <li> of a notice list element
1045 - $nli: The notice list item being shown
1047 StartCloseNoticeListItemElement: Before the closing </li> of a notice list element
1048 - $nli: The notice list item being shown
1050 EndCloseNoticeListItemElement: After the closing </li> of a notice list element
1051 - $nli: The notice list item being shown
1053 StartGroupEditFormData: Beginning the group edit form entries
1054 - $form: The form widget being shown
1056 EndGroupEditFormData: Ending the group edit form entries
1057 - $form: The form widget being shown
1059 StartGroupSave: After initializing but before saving a group
1060 - &$group: group about to be saved
1062 EndGroupSave: After saving a group, aliases, and first member
1063 - $group: group that was saved
1065 StartInterpretCommand: Before running a command
1066 - $cmd: First word in the string, 'foo' in 'foo argument'
1067 - $arg: Argument, if any, like 'argument' in 'foo argument'
1068 - $user: User who issued the command
1069 - &$result: Resulting command; you can set this!
1071 EndInterpretCommand: Before running a command
1072 - $cmd: First word in the string, 'foo' in 'foo argument'
1073 - $arg: Argument, if any, like 'argument' in 'foo argument'
1074 - $user: User who issued the command
1075 - $result: Resulting command
1077 StartGroupActionsList: Start the list of actions on a group profile page (after <ul>, before first <li>)
1078 - $action: action being executed (for output and params)
1079 - $group: group for the page
1081 EndGroupActionsList: End the list of actions on a group profile page (before </ul>, after last </li>)
1082 - $action: action being executed (for output and params)
1083 - $group: group for the page
1085 StartGroupProfileElements: Start showing stuff about the group on its profile page
1086 - $action: action being executed (for output and params)
1087 - $group: group for the page
1089 EndGroupProfileElements: Start showing stuff about the group on its profile page
1090 - $action: action being executed (for output and params)
1091 - $group: group for the page
1093 StartShowProfileTagContent: When showing a people tag page
1094 - $action: action being executed (for output and params)
1096 EndShowProfileTagContent: After showing the contents of a people tag page
1097 - $action: action being executed (for output and params)
1099 StartShowTaggedProfilesMiniList: at the start of mini list of tagged profiles
1100 - $action: action being executed (for output and params)
1102 EndShowTaggedProfilesMiniList: at the end of mini list of tagged profiles
1103 - $action: action being executed (for output and params)
1105 StartShowProfileTagSubscribersMiniList: at the start of mini list of people tag subscribers
1106 - $action: action being executed (for output and params)
1108 EndShowProfileTagSubscribersMiniList: at the end of mini list of people tag subscribers
1109 - $action: action being executed (for output and params)
1111 StartTagProfileAction: When starting to show profile tagging page
1112 - $action: action being executed (for output and params)
1113 - $profile: profile being tagged
1115 EndTagProfileAction: After showing profile tagging page
1116 - $action: action being executed (for output and params)
1117 - $profile: profile being tagged
1119 StartProfileCompletionSearch: When starting a profile search for autocompletion
1120 - $action: action being executed (for output and params)
1121 - &$profile: result Profile objects
1122 - $search_engine: the search engine
1124 EndProfileCompletionSearch: After search results for profile autocompletion have been found
1125 - $action: profilec completion action
1126 - &$profile: current result Profile objects
1127 - $search_engine: The search engine object
1129 StartShowTagProfileForm: When showing people tagging form
1130 - $action: action being executed (for output and params)
1131 - $profile: profile being tagged
1133 EndShowTagProfileForm: After showing people tagging form
1134 - $action: action being executed (for output and params)
1135 - $profile: profile being tagged
1137 StartSavePeopletags: When starting to save people tags
1138 - $action: action being executed (for output and params)
1139 - $tagstring: string input, a list of tags
1141 EndSavePeopletags: After saving people tags
1142 - $action: action being executed (for output and params)
1143 - $tagstring: string input, a list of tags
1145 StartProfiletagGetUri: when generating the Uri for a people tag
1146 - $profile_list: the people tag, a Profile_list object
1149 EndProfiletagGetUri: after generating the uri for a people tag
1150 - $profile_list: the people tag, a Profile_list object
1153 StartUserPeopletagHomeUrl: when generating the homepage url for a people tag
1154 - $profile_list: the people tag, a Profile_list object
1157 EndUserPeopletagHomeUrl: after generating the homepage url for a people tag
1158 - $profile_list: the people tag, a Profile_list object
1161 StartProfiletagPermalink: when generating the permalink url for a people tag
1162 - $profile_list: the people tag, a Profile_list object
1165 EndProfiletagPermalink: after generating the permalink url for a people tag
1166 - $profile_list: the people tag, a Profile_list object
1169 StartTagProfile: when tagging a profile
1170 - $tagger: profile tagging
1171 - $tagged: profile being tagged
1174 EndTagProfile: after tagging a profile
1175 - $newtag: the newly created Profile_tag object
1177 StartUntagProfile: when deleting a people tag
1178 - $ptag: the Profile_tag object being deleted
1180 EndUntagProfile: after deleting a people tag
1181 - $orig: a copy of the deleted Profile_tag object
1183 StartSubscribePeopletag: when subscribing to a people tag
1184 - $peopletag: Profile_list object being subscribed to
1185 - $profile: subscriber's profile
1187 EndSubscribePeopletag: after subscribing to a people tag
1188 - $profile_list: the people tag, a Profile_list object: Profile_list object being subscribed to
1189 - $profile: subscriber's profile
1191 StartUnsubscribePeopletag: when unsubscribing to a people tag
1192 - $profile_list: the people tag, a Profile_list object: Profile_list object being subscribed to
1193 - $profile: subscriber's profile
1195 EndUnsubscribePeopletag: after unsubscribing to a people tag
1196 - $peopletag: Profile_list object being subscribed to
1197 - $profile: subscriber's profile
1199 StartActivityObjectFromPeopletag: while starting to create an ActivityObject from a people tag
1200 - $profile_list: the people tag, a Profile_list object
1201 - &$object: activity object
1203 EndActivityObjectFromPeopletag: after making an ActivityObject from a people tag
1204 - $profile_list: the people tag, a Profile_list object
1205 - &$object: activity object
1207 StartPeopletagGroupNav: Showing the people tag nav menu
1208 - $menu: the menu widget; use $menu->action for output
1210 EndPeopletagGroupNav: after showing the people tag nav menu
1211 - $menu: the menu widget; use $menu->action for output
1213 StartShowPeopletagItem: when showing a people tag
1214 - $widget: PeopletagListItem widget
1216 EndShowPeopletagItem: after showing a people tag
1217 - $widget: PeopletagListItem widget
1219 StartSubscribePeopletagForm: when showing people tag subscription form
1220 - $action: action being executed (for output and params)
1221 - $peopletag: people tag being subscribed to
1223 EndSubscribePeopletagForm: after showing the people tag subscription form
1224 - $action: action being executed (for output and params)
1225 - $peopletag: people tag being subscribed to
1227 StartShowPeopletags: when showing a textual list of people tags
1228 - $widget: PeopletagsWidget; use $widget->out for output
1229 - $tagger: profile of the tagger
1230 - $tagged: profile tagged
1232 EndShowPeopletags: after showing a textual list of people tags
1233 - $widget: PeopletagsWidget; use $widget->out for output
1234 - $tagger: profile of the tagger
1235 - $tagged: profile tagged
1237 StartProfileListItemTags: when showing people tags in a profile list item widget
1238 - $widget: ProfileListItem widget
1240 EndProfileListItemTags: after showing people tags in a profile list item widget
1241 - $widget: ProfileListItem widget
1243 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)
1244 - $obj: ActivityObject
1245 - $out: XMLOutputter to append custom output
1247 EndActivityObjectOutputAtom: Called at end of Atom XML output generation for ActivityObject chunks, just inside the </activity:object>
1248 - $obj: ActivityObject
1249 - $out: XMLOutputter to append custom output
1251 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)
1252 - $obj ActivityObject
1253 - &$out: array to be serialized; you're free to modify it
1255 EndActivityObjectOutputJson: Called at end of JSON output generation for ActivityObject chunks: the array has not yet been filled out.
1256 - $obj ActivityObject
1257 - &$out: array to be serialized; you're free to modify it
1259 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.
1261 - &$ni: in/out array mapping profile IDs to constants: NOTICE_INBOX_SOURCE_SUB etc
1263 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.
1265 - &$ni: in/out array mapping profile IDs to constants: NOTICE_INBOX_SOURCE_SUB etc
1267 StartDefaultLocalNav: When showing the default local nav
1269 - $user: current user
1271 EndDefaultLocalNav: When showing the default local nav
1273 - $user: current user
1275 StartShowAccountProfileBlock: When showing the profile block for an account
1276 - $out: XMLOutputter to append custom output
1277 - $profile: the profile being shown
1279 EndShowAccountProfileBlock: After showing the profile block for an account
1280 - $out: XMLOutputter to append custom output
1281 - $profile: the profile being shown
1283 StartShowGroupProfileBlock: When showing the profile block for a group
1284 - $out: XMLOutputter to append custom output
1285 - $profile: the profile being shown
1287 EndShowGroupProfileBlock: After showing the profile block for a group
1288 - $out: XMLOutputter to append custom output
1289 - $group: the group being shown
1291 StartShowConversation: start the listing of a conversation
1292 - $action: Action object (used mainly as HTMLOutputter)
1293 - $conv: Conversation object, has functions to retrieve relevant notices
1294 - $scoped: Profile for scoping (null if not logged in)
1296 EndShowConversation: after the listing of a conversation
1297 - $action: Action object (used mainly as HTMLOutputter)
1298 - $conv: Conversation object, has functions to retrieve relevant notices
1299 - $scoped: Profile for scoping (null if not logged in)
1301 StartShowThreadedNoticeTail: when showing the replies etc. to a notice
1302 - $nli: parent noticelistitem
1303 - $notice: parent notice
1304 - &$children: list of children
1306 EndShowThreadedNoticeTail: when showing the replies etc. to a notice
1307 - $nli: parent noticelistitem
1308 - $notice: parent notice
1309 - $children: list of children
1311 StartShowThreadedNoticeSub: when showing a reply to a notice
1312 - $nli: parent noticelistitem
1313 - $parent: parent notice
1314 - $child: child notice
1316 EndShowThreadedNoticeSub: when showing a reply to a notice
1317 - $nli: parent noticelistitem
1318 - $parent: parent notice
1319 - $child: child notice
1321 StartAddEmailAddress: when adding an email address through the Web UI
1322 - $user: user getting the new address
1323 - $email: email being added
1325 EndAddEmailAddress: done adding an email address through the Web UI
1326 - $user: user getting the new address
1327 - $email: email being added
1329 StartValidateEmailInvite: when validating an email address for invitations
1330 - $user: user doing the invite
1331 - $email: email address
1332 - &$valid: flag for if it's valid; can be modified
1334 EndValidateEmailInvite: after validating an email address for invitations
1335 - $user: user doing the invite
1336 - $email: email address
1337 - &$valid: flag for if it's valid; can be modified
1339 StartLocalURL: 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 EndLocalURL: before resolving a local url for an action
1347 - &$action: action to find a path for
1348 - &$paramsi: parameters to pass to the action
1349 - &$fragment: any url fragement
1350 - &$addSession: whether to add session variable
1351 - &$url: resulting URL to local resource
1353 StartProfileGetAvatar: When getting an avatar for a profile
1355 - $size: size of the avatar
1358 EndProfileGetAvatar: After getting an avatar for a profile
1360 - $size: size of the avatar
1363 StartRegisterSuccess: Before showing the registration success message
1364 - $action: the registration action
1366 StartRegisterSuccess: After showing the registration success message
1367 - $action: the registration action
1369 StartDocFileForTitle: Before searching for a doc or mail template
1370 - $title: Title we're looking for
1371 - &$paths: Paths we're searching
1372 - &$filename: Filename so far (set this if you want)
1374 EndDocFileForTitle: After searching for a doc or mail template
1375 - $title: Title we looked for
1376 - $paths: Paths we searched
1377 - &$filename: Filename so far (set this if you want)
1379 StartReadWriteTables: when noting which tables must be read-write, even on read-only actions
1380 - &$tables: list of table names
1381 - &$rwdb: read-write database URI
1383 EndReadWriteTables: after noting which tables must be read-write, even on read-only actions
1384 - $tables: list of table names
1385 - $rwdb: read-write database URI
1387 StartShowInviteForm: Right before displaying the invitations form
1388 - $action: invitation action
1390 EndShowInviteForm: After displaying the invitations form
1391 - $action: invitation action
1393 StartSendInvitations: Right before sending invitations
1394 - $action: invitation action
1396 EndSendInvitations: Right after sending invitations
1397 - $action: invitation action
1399 StartShowInvitationSuccess: Right before showing invitations success msg
1400 - $action: invitation action
1402 EndShowInvitationSuccess: After showing invitations success msg
1403 - $action: invitation action
1405 StartUpgrade: when starting a site upgrade
1407 EndUpgrade: when ending a site upgrade; good place to do your own upgrades
1409 HaveIMPlugin: is there an IM plugin loaded?
1410 - &$haveIMPlugin: set me to true if you're loaded!
1412 StartShowNoticeOptionItems: Before showing first controls in a notice list item; inside the div
1413 - $nli: NoticeListItem being shown
1415 EndShowNoticeOptionItems: After showing last controls in a notice list item; inside the div
1416 - $nli: NoticeListItem being shown
1418 StartNoticeInScope: Before checking if a notice should be visible to a user
1419 - $notice: The notice to check
1420 - $profile: The profile to check for scope
1421 - &$bResult: The boolean result; fill this in if you want to skip
1423 EndNoticeInScope: After checking if a notice should be visible to a user
1424 - $notice: The notice to check
1425 - $profile: The profile to check for scope
1426 - &$bResult: The boolean result; overwrite this if you so desire
1428 StartNoticeListPrefill: Before pre-filling a list of notices with extra data
1429 - &$notices: Notices to be pre-filled
1430 - $avatarSize: The avatar size for the list
1432 EndNoticeListPrefill: After pre-filling a list of notices with extra data
1433 - &$notices: Notices that were pre-filled
1434 - &$profiles: Profiles that were pre-filled
1435 - $avatarSize: The avatar size for the list
1437 OtherAccountProfiles: Hook to add account profiles to a user account profile block
1438 - $profile: the Profile being shown
1439 - &$others: Modifiable array of profile info arrays. Each one has the following fields:
1440 href: link to the profile
1441 text: text for the profile
1442 image: mini image for the profile
1444 CreateFileImageThumbnailSource: Hook to create image thumbnail source from a File
1445 - $file: 'File' object to source the image from
1446 - &$imgPath: Path to image file which can be used as source for our thumbnail algorithm.
1447 - $media: MIME media type ('image', 'video', 'audio' etc.)
1449 StartResizeImageFile: Hook to resize an image and output it to a file. No matching End event yet.
1450 - $imagefile: ImageFile object we're resizing.
1451 - $outpath: string with output filepath
1452 - $box: array with size ('width', 'height') and boundary box('x', 'y', 'w', 'h').
1454 FillImageFileMetadata: Get more metadata about the ImageFile if it is perhaps not a real local file
1455 - $imagefile ImageFile object which we're getting metadata for (such as animated status, width/height etc.)
1457 StartShowAttachmentRepresentation: Attachment representation, full file (or in rare cases thumbnails/previews).
1458 - $out: HTMLOutputter class to use for outputting HTML.
1459 - $file: 'File' object which we're going to show representation for.
1461 EndShowAttachmentRepresentation: Executed after Attachment representation, despite perhaps being unsupported media.
1462 - $out: HTMLOutputter class to use for outputting HTML.
1463 - $file: 'File' object which we're going to show representation for.
1465 ShowUnsupportedAttachmentRepresentation: Attachment representation, full file (or in rare cases thumbnails/previews).
1466 - $out: HTMLOutputter class to use for outputting HTML.
1467 - $file: 'File' object which we're going to show representation for.
1469 StartNotifyMentioned: During notice distribution, we send notifications (email, im...) to the profiles who were somehow mentioned.
1470 - $stored: Notice object that is being distributed.
1471 - &$mentioned_ids: Array of profile IDs (not just for local users) who got mentioned by the notice.
1473 EndNotifyMentioned: During notice distribution, we send notifications (email, im...) to the profiles who were somehow mentioned.
1474 - $stored: Notice object that is being distributed.
1475 - $mentioned_ids: Array of profile IDs (not just for local users) who got mentioned by the notice.
1477 StartHomeStubNavItems: Go back Home nav items. Default includes just one item 'home'
1478 - $out: HTMLOutputter used to output (usually an Action, but not always!)
1479 - &$items: Referenced array of items in the nav (add if desired)
1481 EndHomeStubNavItems:
1482 - $out: HTMLOutputter used to output (usually an Action, but not always!)
1483 - $items: array of menu items
1485 StartSubMenu: Before outputting a submenu (including enclosing tags) to HTML
1486 - $out: HTMLOutputter used to output (usually an Action, but not always!)
1487 - $menu: The Menu object outputted as a submenu.
1488 - $label: Localized text which represents the menu item.
1490 EndSubMenu: After outputting a submenu (including enclosing tags) to HTML
1491 - $out: HTMLOutputter used to output (usually an Action, but not always!)
1492 - $menu: The Menu object outputted as a submenu.
1493 - $label: Localized text which represents the menu item.
1495 StartDocNav: Before outputting the docs Nav
1496 - $nav: The DoclNav widget
1498 EndDocNav: After outputting the docs Nav
1499 - $nav: The DoclNav widget