1 InitializePlugin: a chance to initialize a plugin in a complete environment
3 CleanupPlugin: a chance to cleanup a plugin at the end of a program
5 StartPrimaryNav: Showing the primary nav menu
6 - $action: the current action
8 EndPrimaryNav: At the end of the primary nav menu
9 - $action: the current action
11 StartSecondaryNav: Showing the secondary nav menu
12 - $action: the current action
14 EndSecondaryNav: At the end of the secondary nav menu
15 - $action: the current action
17 StartShowStyles: Showing Style links; good place to add UA style resets
18 - $action: the current action
20 EndShowStyles: End showing Style links; good place to add custom styles
21 - $action: the current action
23 StartShowStatusNetStyles: Showing StatusNet Style links
24 - $action: the current action
26 EndShowStatusNetStyles: End showing StatusNet Style links; good place to add handheld or JavaScript dependant styles
27 - $action: the current action
29 StartShowLaconicaStyles: backwards compatibility; deprecated
30 - $action: the current action
32 EndShowLaconicaStyles: backwards compatibility; deprecated
33 - $action: the current action
35 StartShowUAStyles: Showing custom User-Agent style links
36 - $action: the current action
38 EndShowUAStyles: End showing custom User-Agent links; good place to add user-agent (e.g., filter, -webkit, -moz) specific styles
39 - $action: the current action
41 StartShowScripts: Showing JavaScript links
42 - $action: the current action
44 EndShowScripts: End showing JavaScript links; good place to add custom
45 links like Google Analytics
46 - $action: the current action
48 StartShowJQueryScripts: Showing JQuery script links (use this to link to e.g. Google mirrors)
49 - $action: the current action
51 EndShowJQueryScripts: End showing JQuery script links
52 - $action: the current action
54 StartShowStatusNetScripts: Showing StatusNet script links (use this to link to a CDN or something)
55 - $action: the current action
57 EndShowStatusNetScripts: End showing StatusNet script links
58 - $action: the current action
60 StartShowLaconicaScripts: backwards compatibility; deprecated
61 - $action: the current action
63 EndShowLaconicaScripts: backwards compatibility; deprecated
64 - $action: the current action
66 StartShowSections: Start the list of sections in the sidebar
67 - $action: the current action
69 EndShowSections: End the list of sections in the sidebar
70 - $action: the current action
72 StartShowHeader: Showing before the header container
73 - $action: the current action
75 EndShowHeader: Showing after the header container
76 - $action: the current action
78 StartShowFooter: Showing before the footer container
79 - $action: the current action
81 EndShowFooter: Showing after the footer container
82 - $action: the current action
84 StartShowContentBlock: Showing before the content container
85 - $action: the current action
87 EndShowContentBlock: Showing after the content container
88 - $action: the current action
90 StartShowAside: Showing before the Aside container
91 - $action: the current action
93 EndShowAside: Showing after the Aside container
94 - $action: the current action
96 StartNoticeSave: before inserting a notice (good place for content filters)
97 - $notice: notice being saved (no ID or URI)
99 EndNoticeSave: after inserting a notice and related code
100 - $notice: notice that was saved (with ID and URI)
102 StartShowLocalNavBlock: Showing the local nav menu
103 - $action: the current action
105 EndShowLocalNavBlock: At the end of the local nav menu
106 - $action: the current action
108 StartShowHTML: Chance to set document headers (e.g., content type, charset, language), DOCTYPE and html element properties
109 - $action: the current action
111 EndShowHTML: Showing after the html element
112 - $action: the current action
114 StartPublicGroupNav: Showing the public group nav menu
115 - $action: the current action
117 EndPublicGroupNav: At the end of the public group nav menu
118 - $action: the current action
120 StartSubGroupNav: Showing the subscriptions group nav menu
121 - $action: the current action
123 EndSubGroupNav: At the end of the subscriptions group nav menu
124 - $action: the current action
126 RouterInitialized: After the router instance has been initialized
127 - $m: the Net_URL_Mapper that has just been set up
129 StartLogout: Before logging out
130 - $action: the logout action
132 EndLogout: After logging out
133 - $action: the logout action
135 ArgsInitialized: After the argument array has been initialized
136 - $args: associative array of arguments, can be modified
138 StartAddressData: Allows the site owner to provide additional information about themselves for contact (e.g., tagline, email, location)
139 - $action: the current action
141 EndAddressData: At the end of <address>
142 - $action: the current action
144 StartLoginGroupNav: Before showing the login and register navigation menu
145 - $action: the current action
147 EndLoginGroupNav: After showing the login and register navigation menu
148 - $action: the current action
150 StartAccountSettingsNav: Before showing the account settings menu
151 - $action: the current action
153 EndAccountSettingsNav: After showing the account settings menu
154 - $action: the current action
156 Autoload: When trying to autoload a class
157 - $cls: the class being sought. A plugin might require_once the file for the class.
159 SensitiveAction: determines if an action is 'sensitive' and should use SSL
160 - $action: name of the action, like 'login'
161 - $sensitive: flag for whether this is a sensitive action
163 LoginAction: determines if an action is a 'login' action (OK for public view in private mode)
164 - $action: name of the action, like 'register'
165 - $login: flag for whether this is a login action
167 StartShowHead: called before showing the <head> element and children
168 - $action: action object being show
170 EndShowHead: called after showing the <head> element (and </head>)
171 - $action: action object being shown
173 StartShowBody: called before showing the <body> element and children
174 - $action: action object being shown
176 EndShowBody: called after showing the <body> element (and </body>)
177 - $action: action object being shown
179 StartPersonalGroupNav: beginning of personal group nav menu
180 - $action: action object being shown
182 EndPersonalGroupNav: end of personal group nav menu (good place to add a menu item)
183 - $action: action object being shown
185 StartEndHTML: just before the </html> tag
186 - $action: action object being shown
188 EndEndHTML: just after the </html> tag
189 - $action: action object being shown
191 StartShowDesign: just before showing a site, user, or group design
192 - $action: action object being shown
194 EndShowDesign: just after showing a site, user, or group design
195 - $action: action object being shown
197 StartShowExportData: just before showing the <div> with export data (feeds)
198 - $action: action object being shown
200 EndShowExportData: just after showing the <div> with export data (feeds)
201 - $action: action object being shown
203 StartShowNoticeItem: just before showing the notice item
204 - $action: action object being shown
206 EndShowNoticeItem: just after showing the notice item
207 - $action: action object being shown
209 StartShowPageNotice: just before showing the page notice (instructions or error)
210 - $action: action object being shown
212 EndShowPageNotice: just after showing the page notice (instructions or error)
213 - $action: action object being shown
215 StartShowPageTitle: just before showing the main h1 title of a page (only for registration)
216 - $action: action object being shown
218 StartProfileFormData: just before showing text entry fields on profile settings page
219 - $action: action object being shown
221 EndProfileFormData: just after showing text entry fields on profile settings page
222 - $action: action object being shown
224 StartProfileSaveForm: before starting to save a profile settings form
225 - $action: action object being shown
227 EndProfileSaveForm: after saving a profile settings form (after commit, no profile or user object!)
228 - $action: action object being shown
230 StartRegistrationFormData: just before showing text entry fields on registration page
231 - $action: action object being shown
233 EndRegistrationFormData: just after showing text entry fields on registration page
234 - $action: action object being shown
236 StartRegistrationTry: before validating and saving a new user
237 - $action: action object being shown
239 EndRegistrationTry: after saving a new user (note: no profile or user object!)
240 - $action: action object being shown
242 StartNewQueueManager: before trying to start a new queue manager; good for plugins implementing new queue manager classes
243 - $qm: empty queue manager to set
245 RedirectToLogin: event when we force a redirect to login (like when going to a settings page on a remembered login)
246 - $action: action object being shown
247 - $user: current user
249 StartLoadDoc: before loading a help doc (hook this to show your own documentation)
250 - $title: title of the document
251 - $output: HTML output to show
253 EndLoadDoc: after loading a help doc (hook this to modify other documentation)
254 - $title: title of the document
255 - $output: HTML output to show
257 StartApiRss: after the rss <channel> element is started
258 - $action: action object being shown
260 StartApiAtom: after the <feed> element is started
261 - $action: action object being shown
263 StartEnqueueNotice: about to add a notice to the queues (good place to add a new transport)
264 - $notice: the notice being added
265 - &$transports: modifiable list of transports (as strings) to queue for
267 EndEnqueueNotice: after adding a notice to the queues
268 - $notice: the notice being added
269 - $transports: modifiable list of transports to use
271 UnqueueHandleNotice: Handle a notice when no queue manager is available
272 - $notice: the notice to handle
273 - $queue: the "queue" that is being executed
275 GetValidDaemons: Just before determining which daemons to run
276 - &$daemons: modifiable list of daemon scripts to run, filenames relative to scripts/
278 HandleQueuedNotice: Handle a queued notice at queue time (or immediately if no queue)
279 - &$notice: notice to handle
281 StartShowHeadElements: Right after the <head> tag
282 - $action: the current action
284 EndShowHeadElements: Right before the </head> tag; put <script>s here if you need them in <head>
285 - $action: the current action
287 CheckSchema: chance to check the schema