Changeset 10011 for trunk/src/bp-blogs/bp-blogs-activity.php
- Timestamp:
- 07/11/2015 11:12:52 PM (11 years ago)
- File:
-
- 1 edited
-
trunk/src/bp-blogs/bp-blogs-activity.php (modified) (20 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-blogs/bp-blogs-activity.php
r9958 r10011 65 65 * @since BuddyPress (2.0.0) 66 66 * 67 * @param string $action Static activity action. 68 * @param obj $activity Activity data object. 67 * @param string $action Static activity action. 68 * @param object $activity Activity data object. 69 * 70 * @return string 69 71 */ 70 72 function bp_blogs_format_activity_action_new_blog( $action, $activity ) { … … 92 94 * 93 95 * @param string $action Constructed activity action. 94 * @param obj $activity Activity data object.96 * @param object $activity Activity data object. 95 97 */ 96 98 return apply_filters( 'bp_blogs_format_activity_action_new_blog', $action, $activity ); … … 102 104 * @since BuddyPress (2.0.0) 103 105 * 104 * @param string $action Static activity action. 105 * @param obj $activity Activity data object. 106 * @param string $action Static activity action. 107 * @param object $activity Activity data object. 108 * 109 * @return string Constructed activity action. 106 110 */ 107 111 function bp_blogs_format_activity_action_new_blog_post( $action, $activity ) { … … 202 206 * 203 207 * @param string $action Constructed activity action. 204 * @param obj $activity Activity data object.208 * @param object $activity Activity data object. 205 209 */ 206 210 return apply_filters( 'bp_blogs_format_activity_action_new_blog_post', $action, $activity ); … … 212 216 * @since BuddyPress (2.0.0) 213 217 * 214 * @param string $action Static activity action. 215 * @param obj $activity Activity data object. 218 * @param string $action Static activity action. 219 * @param object $activity Activity data object. 220 * 221 * @return string Constructed activity action. 216 222 */ 217 223 function bp_blogs_format_activity_action_new_blog_comment( $action, $activity ) { … … 277 283 * 278 284 * @param string $action Constructed activity action. 279 * @param obj $activity Activity data object.285 * @param object $activity Activity data object. 280 286 */ 281 287 return apply_filters( 'bp_blogs_format_activity_action_new_blog_comment', $action, $activity ); … … 290 296 * 291 297 * @param array $activities Array of activity items. 298 * 292 299 * @return array 293 300 */ … … 322 329 * @see bp_activity_add() for description of parameters. 323 330 * 324 * @param array $args {331 * @param array|string $args { 325 332 * See {@link bp_activity_add()} for complete description of arguments. 326 333 * The arguments listed here have different default values from … … 399 406 * @see bp_activity_delete() for description of parameters. 400 407 * 401 * @param array $args {408 * @param array|string $args { 402 409 * See {@link bp_activity_delete()} for complete description of arguments. 403 410 * The arguments listed here have different default values from … … 439 446 * 440 447 * @param object $activity The BP_Activity_Activity object 448 * 441 449 * @return bool 442 450 */ … … 523 531 * @since BuddyPress (2.0.0) 524 532 * 525 * @param int $comment_idThe activity ID for the posted activity comment.526 * @param array $paramsParameters for the activity comment.527 * @param object Parameters of the parent activity item (in this case, the blog post).533 * @param int $comment_id The activity ID for the posted activity comment. 534 * @param array $params Parameters for the activity comment. 535 * @param object $parent_activity Parameters of the parent activity item (in this case, the blog post). 528 536 */ 529 537 function bp_blogs_sync_add_from_activity_comment( $comment_id, $params, $parent_activity ) { … … 630 638 * 631 639 * @param bool $retval 632 * @param int $parent_activity_id The parent activity ID for the activity comment. 633 * @param int $activity_id The activity ID for the pending deleted activity comment. 640 * @param int $parent_activity_id The parent activity ID for the activity comment. 641 * @param int $activity_id The activity ID for the pending deleted activity comment. 642 * 643 * @return bool 634 644 */ 635 645 function bp_blogs_sync_delete_from_activity_comment( $retval, $parent_activity_id, $activity_id ) { … … 732 742 * @since BuddyPress (2.0.0) 733 743 * 734 * @param int $post_id The post ID744 * @param int $post_id The post ID. 735 745 * @param array $comments Array of comment statuses. The key is comment ID, the 736 * value is the $comment->comment_approved value.746 * value is the $comment->comment_approved value. 737 747 */ 738 748 function bp_blogs_remove_activity_meta_for_trashed_comments( $post_id = 0, $comments = array() ) { … … 764 774 * 765 775 * @param array $args Arguments passed from bp_parse_args() in bp_has_activities(). 776 * 766 777 * @return array $args 767 778 */ … … 837 848 * @see bp_blogs_setup_comment_loop_globals_on_ajax() 838 849 * 839 * @param object $activity The BP_Activity_Activity object 850 * @param object $activity The BP_Activity_Activity object. 840 851 */ 841 852 function bp_blogs_setup_activity_loop_globals( $activity ) { … … 919 930 * 920 931 * @param bool $retval Is activity commenting enabled for this activity entry? 932 * 921 933 * @return bool 922 934 */ … … 969 981 * @since BuddyPress (2.0.0) 970 982 * 971 * @param bool $retval Are replies allowed for this activity reply? 972 * @param object $comment The activity comment object 983 * @param bool $retval Are replies allowed for this activity reply? 984 * @param object $comment The activity comment object. 985 * 973 986 * @return bool 974 987 */ … … 1007 1020 * @since BuddyPress (2.0.0) 1008 1021 * 1009 * @param string $retval The activity comment permalink 1022 * @param string $retval The activity comment permalink. 1023 * 1010 1024 * @return string 1011 1025 */ … … 1034 1048 * @since BuddyPress (2.0.1) 1035 1049 * 1036 * @param string $retval The activity permalink1050 * @param string $retval The activity permalink. 1037 1051 * @param BP_Activity_Activity $activity 1052 * 1038 1053 * @return string 1039 1054 */ … … 1060 1075 * @since BuddyPress (2.0.1) 1061 1076 * 1062 * @param string $retval The activity action1077 * @param string $retval The activity action. 1063 1078 * @param BP_Activity_Activity $activity 1079 * 1064 1080 * @return string 1065 1081 */
Note: See TracChangeset
for help on using the changeset viewer.