Changeset 1368
- Timestamp:
- 08/06/09 10:55:13 (14 years ago)
- Location:
- plugins/notifications
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/notifications/_define.php
r1143 r1368 17 17 /* Description */ 'Displays few notifications on administration pages', 18 18 /* Author */ 'Tomtom (http://blog.zenstyle.fr/)', 19 /* Version */ '0. 6',19 /* Version */ '0.7', 20 20 /* Permissions */ 'usage', 21 21 null, -
plugins/notifications/_prepend.php
r1057 r1368 38 38 $core->rest->addFunction('getNotifications',array('notificationsRestMethods','getNotifications')); 39 39 40 41 40 ?> -
plugins/notifications/inc/class.notifications.behaviors.php
r1144 r1368 13 13 class notificationsBehaviors 14 14 { 15 public static function postCreate( &$cur,&$post_id)15 public static function postCreate($cur,$post_id) 16 16 { 17 17 global $core; … … 25 25 } 26 26 27 public static function postUpdate( &$cur,&$post_id)27 public static function postUpdate($cur,$post_id) 28 28 { 29 29 global $core; … … 37 37 } 38 38 39 public static function postDelete( &$post_id)39 public static function postDelete($post_id) 40 40 { 41 41 global $core; … … 48 48 } 49 49 50 public static function categoryCreate( &$cur,&$cat_id)50 public static function categoryCreate($cur,$cat_id) 51 51 { 52 52 global $core; … … 60 60 } 61 61 62 public static function categoryUpdate( &$cur,&$cat_id)62 public static function categoryUpdate($cur,$cat_id) 63 63 { 64 64 global $core; … … 72 72 } 73 73 74 public static function commentCreate( &$blog,&$cur)74 public static function commentCreate($blog,$cur) 75 75 { 76 76 global $core; … … 89 89 } 90 90 91 public static function commentUpdate( &$blog,&$cur,&$rs)91 public static function commentUpdate($blog,$cur,$rs) 92 92 { 93 93 global $core; … … 101 101 } 102 102 103 public static function trackbacks( &$cur,&$comment_id)103 public static function trackbacks($cur,$comment_id) 104 104 { 105 105 global $core; … … 140 140 } 141 141 142 public static function update( &$core,$ref = '')142 public static function update($core,$ref = '') 143 143 { 144 144 $strReq = 'SELECT MAX(log_id) as max, log_table FROM '.$core->prefix.'log '. … … 175 175 } 176 176 177 public static function clean( &$core)177 public static function clean($core) 178 178 { 179 179 $strReq = … … 189 189 } 190 190 191 public static function exportFull( &$core,&$exp)191 public static function exportFull($core,$exp) 192 192 { 193 193 $exp->exportTable('notification'); 194 194 } 195 195 196 public static function exportSingle( &$core,&$exp,$blog_id)196 public static function exportSingle($core,$exp,$blog_id) 197 197 { 198 198 $exp->export('notification',
Note: See TracChangeset
for help on using the changeset viewer.