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 StartShowLaconicaStyles: Showing Laconica Style links
24 - $action: the current action
26 EndShowLaconicaStyles: End showing Laconica tyle links; good place to add handheld or JavaScript dependent 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 StartShowLaconicaScripts: Showing Laconica script links (use this to link to a CDN or something)
49 - $action: the current action
51 EndShowLaconicaScripts: End showing Laconica 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 StartNoticeSave: before inserting a notice (good place for content filters)
79 - $notice: notice being saved (no ID or URI)
81 EndNoticeSave: after inserting a notice and related code
82 - $notice: notice that was saved (with ID and URI)
84 StartShowLocalNavBlock: Showing the local nav menu
85 - $action: the current action
87 EndShowLocalNavBlock: At the end of the local nav menu
88 - $action: the current action
90 StartShowHTML: Chance to set document headers (e.g., content type, charset, language), DOCTYPE and html element properties
91 - $action: the current action
93 EndShowHTML: Showing after the html element
94 - $action: the current action
96 StartPublicGroupNav: Showing the public group nav menu
97 - $action: the current action
99 EndPublicGroupNav: At the end of the public group nav menu
100 - $action: the current action
102 StartSubGroupNav: Showing the subscriptions group nav menu
103 - $action: the current action
105 EndSubGroupNav: At the end of the subscriptions group nav menu
106 - $action: the current action
108 RouterInitialized: After the router instance has been initialized
109 - $m: the Net_URL_Mapper that has just been set up
111 StartLogout: Before logging out
112 - $action: the logout action
114 EndLogout: After logging out
115 - $action: the logout action
117 ArgsInitialized: After the argument array has been initialized
118 - $args: associative array of arguments, can be modified
120 StartAddressData: Allows the site owner to provide additional information about themselves for contact (e.g., tagline, email, location)
121 - $action: the current action
123 EndAddressData: At the end of <address>
124 - $action: the current action
126 StartLoginGroupNav: Before showing the login and register navigation menu
127 - $action: the current action
129 EndLoginGroupNav: After showing the login and register navigation menu
130 - $action: the current action
132 StartAccountSettingsNav: Before showing the account settings menu
133 - $action: the current action
135 EndAccountSettingsNav: After showing the account settings menu
136 - $action: the current action
138 Autoload: When trying to autoload a class
139 - $cls: the class being sought. A plugin might require_once the file for the class.
141 SensitiveAction: determines if an action is 'sensitive' and should use SSL
142 - $action: name of the action, like 'login'
143 - $sensitive: flag for whether this is a sensitive action
145 LoginAction: determines if an action is a 'login' action (OK for public view in private mode)
146 - $action: name of the action, like 'register'
147 - $login: flag for whether this is a login action
149 StartShowHead: called before showing the <head> element and children
150 - $action: action object being show
152 EndShowHead: called after showing the <head> element (and </head>)
153 - $action: action object being shown
155 StartShowBody: called before showing the <body> element and children
156 - $action: action object being shown
158 EndShowBody: called after showing the <body> element (and </body>)
159 - $action: action object being shown
161 StartHeadChildren: called before showing the children of <head> element (after <head> tag)
162 - $action: action object being shown
164 EndHeadChildren: called after showing the children of <head> element (before </head>)
165 - $action: action object being shown
167 StartPersonalGroupNav: beginning of personal group nav menu
168 - $action: action object being shown
170 EndPersonalGroupNav: end of personal group nav menu (good place to add a menu item)
171 - $action: action object being shown
173 StartEndHTML: just before the </html> tag
174 - $action: action object being shown
176 EndEndHTML: just after the </html> tag
177 - $action: action object being shown
179 StartShowDesign: just before showing a site, user, or group design
180 - $action: action object being shown
182 EndShowDesign: just after showing a site, user, or group design
183 - $action: action object being shown
185 StartShowExportData: just before showing the <div> with export data (feeds)
186 - $action: action object being shown
188 EndShowExportData: just after showing the <div> with export data (feeds)
189 - $action: action object being shown
191 StartShowPageNotice: just before showing the page notice (instructions or error)
192 - $action: action object being shown
194 EndShowPageNotice: just after showing the page notice (instructions or error)
195 - $action: action object being shown
197 StartShowPageTitle: just before showing the main h1 title of a page (only for registration)
198 - $action: action object being shown
200 StartProfileFormData: just before showing text entry fields on profile settings page
201 - $action: action object being shown
203 EndProfileFormData: just after showing text entry fields on profile settings page
204 - $action: action object being shown
206 StartProfileSaveForm: before starting to save a profile settings form
207 - $action: action object being shown
209 EndProfileSaveForm: after saving a profile settings form (after commit, no profile or user object!)
210 - $action: action object being shown
212 StartRegistrationFormData: just before showing text entry fields on registration page
213 - $action: action object being shown
215 EndRegistrationFormData: just after showing text entry fields on registration page
216 - $action: action object being shown
218 StartRegistrationTry: before validating and saving a new user
219 - $action: action object being shown
221 EndRegistrationTry: after saving a new user (note: no profile or user object!)
222 - $action: action object being shown
224 StartNewQueueManager: before trying to start a new queue manager; good for plugins implementing new queue manager classes
225 - $qm: empty queue manager to set
227 RedirectToLogin: event when we force a redirect to login (like when going to a settings page on a remembered login)
228 - $action: action object being shown
229 - $user: current user