devel:event:action_handle_subscribe
This is an old revision of the document!
Table of Contents
ACTION_HANDLE_SUBSCRIBE
- Description:
- handle, process & generate data for a subscribe request
- DefaultAction:
- subscription style, target and action are validated and data (time) is generated
- Preventable:
- yes
- Added:
- 2010-01-20
This event is signaled by act_subscription() in inc/actions.php when receiving a subscribe request, handlers can use it to allow different subscription styles, targets and actions.
Passed Data
- $data['target']: Target page or namespace ID; Namespaces are denoted by a trailing ':'.
- $data['style']: Subscription style; core allows 'every' and 'digest' for pages and namespaces, and 'list' for namespaces.
- $data['action']: Subscription action; core knows 'subscribe' and 'unsubscribe'.
Plugins handling this event
The following plugins are known to handle this event and their source code may be a good start for understanding and implementing a handler yourself.
- none
See also
devel/event/action_handle_subscribe.1268219557.txt.gz · Last modified: 2010-03-10 12:12 by adrianlang