/[drupal]/contributions/modules/subscription/CONTRIBUTE.txt
ViewVC logotype

Diff of /contributions/modules/subscription/CONTRIBUTE.txt

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.1, Tue Aug 30 07:15:38 2005 UTC revision 1.2, Mon Dec 5 13:55:44 2005 UTC
# Line 19  Display link to new function via hook_su Line 19  Display link to new function via hook_su
19  <code>  <code>
20  function watchdognotify_subscription($op, $arg1 = null, $arg2 = null) {  function watchdognotify_subscription($op, $arg1 = null, $arg2 = null) {
21    if ($op == 'special') {    if ($op == 'special') {
22        return '<p>'.l("Subscribe to errors", 'subscription/add/watchdog').'</p>';        return l("Subscribe to site errors", 'subscription/add/watchdog');
23    }    }
24  }  }
25  </code>  </code>
# Line 76  function watchdognotify_formatter($objec Line 76  function watchdognotify_formatter($objec
76    
77    
78  4. How to create own channels?  4. How to create own channels?
79  Register the channel vis hook_subscriptions:  Register the channel via hook_subscriptions:
80  <code>  <code>
81  function ftpchannel_subscription($op, $arg1 = null, $arg2 = null) {  function ftpchannel_subscription($op, $arg1 = null, $arg2 = null) {
82    if ($op == 'channel') {    if ($op == 'channel') {

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.2