Translations of this page?:

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.txt · Last modified: 2010/03/10 12:12 by adrianlang
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 3.0 Unported
Imprint Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki
WikiForumIRCBugsGitXRefTranslate