[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

/src/bp-templates/bp-nouveau/includes/activity/ -> ajax.php (summary)

Activity Ajax functions

Version: 10.0.0
File Size: 670 lines (18 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 9 functions

  bp_nouveau_ajax_mark_activity_favorite()
  bp_nouveau_ajax_unmark_activity_favorite()
  bp_nouveau_ajax_clear_new_mentions()
  bp_nouveau_ajax_delete_activity()
  bp_nouveau_ajax_get_single_activity_content()
  bp_nouveau_ajax_new_activity_comment()
  bp_nouveau_ajax_get_activity_objects()
  bp_nouveau_ajax_post_update()
  bp_nouveau_ajax_spam_activity()

Functions
Functions that are not part of a class:

bp_nouveau_ajax_mark_activity_favorite()   X-Ref
Mark an activity as a favourite via a POST request.

return: string JSON reply
since: 3.0.0

bp_nouveau_ajax_unmark_activity_favorite()   X-Ref
Un-favourite an activity via a POST request.

return: string JSON reply
since: 3.0.0

bp_nouveau_ajax_clear_new_mentions()   X-Ref
Clear mentions if the directory tab is clicked

return: string JSON reply
since: 3.0.0

bp_nouveau_ajax_delete_activity()   X-Ref
Deletes an Activity item/Activity comment item received via a POST request.

return: string JSON reply.
since: 3.0.0

bp_nouveau_ajax_get_single_activity_content()   X-Ref
Fetches an activity's full, non-excerpted content via a POST request.
Used for the 'Read More' link on long activity items.

return: string JSON reply
since: 3.0.0

bp_nouveau_ajax_new_activity_comment()   X-Ref
Posts new Activity comments received via a POST request.

return: string JSON reply
since: 3.0.0

bp_nouveau_ajax_get_activity_objects()   X-Ref
Get items to attach the activity to.

This is used within the activity post form autocomplete field.

return: string JSON reply
since: 3.0.0

bp_nouveau_ajax_post_update()   X-Ref
Processes Activity updates received via a POST request.

return: string JSON reply
since: 3.0.0

bp_nouveau_ajax_spam_activity()   X-Ref
AJAX spam an activity item or comment.

return: string JSON reply.
since: 3.0.0



Generated: Thu Dec 26 01:01:04 2024 Cross-referenced by PHPXref 0.7.1