- Timestamp:
- 08/31/2015 06:51:35 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-activity/classes/class-bp-activity-activity.php
r9961 r10077 16 16 * static methods for querying activities. 17 17 * 18 * @since BuddyPress (1.0.0)18 * @since 1.0.0 19 19 */ 20 20 class BP_Activity_Activity { … … 210 210 * Please use this hook to filter the properties above. Each part will be passed in. 211 211 * 212 * @since BuddyPress (1.0.0)212 * @since 1.0.0 213 213 * 214 214 * @param BP_Activity_Activity $this Current instance of the activity item being saved. Passed by reference. … … 247 247 * Fires after an activity item has been saved to the database. 248 248 * 249 * @since BuddyPress (1.0.0)249 * @since 1.0.0 250 250 * 251 251 * @param BP_Activity_Activity $this Current instance of activity item being saved. Passed by reference. … … 457 457 * Filters the MySQL WHERE conditions for the Activity items get method. 458 458 * 459 * @since BuddyPress (1.9.0)459 * @since 1.9.0 460 460 * 461 461 * @param array $where_conditions Current conditions for MySQL WHERE statement. … … 473 473 * Filters the preferred order of indexes for activity item. 474 474 * 475 * @since BuddyPress (1.6.0)475 * @since 1.6.0 476 476 * 477 477 * @param array Array of indexes in preferred order. … … 507 507 * It is not recommended to use the legacy structure, but allowed to if needed. 508 508 * 509 * @since BuddyPress (2.0.0)509 * @since 2.0.0 510 510 * 511 511 * @param bool $value Whether to use legacy structure or not. … … 530 530 * Filters the legacy MySQL query statement so plugins can alter before results are fetched. 531 531 * 532 * @since BuddyPress (1.5.0)532 * @since 1.5.0 533 533 * 534 534 * @param string $value Concatenated MySQL statement pieces to be query results with for legacy query. … … 554 554 * Filters the paged activities MySQL statement. 555 555 * 556 * @since BuddyPress (2.0.0)556 * @since 2.0.0 557 557 * 558 558 * @param string $activity_ids_sql MySQL statement used to query for Activity IDs. … … 605 605 * Filters the total activities MySQL statement. 606 606 * 607 * @since BuddyPress (1.5.0)607 * @since 1.5.0 608 608 * 609 609 * @param string $value MySQL statement used to query for total activities. … … 629 629 * Convert activity IDs to activity objects, as expected in template loop. 630 630 * 631 * @since BuddyPress (2.0.0)631 * @since 2.0.0 632 632 * 633 633 * @param array $activity_ids Array of activity IDs. … … 694 694 * Append xProfile fullnames to an activity array. 695 695 * 696 * @since BuddyPress (2.0.0)696 * @since 2.0.0 697 697 * 698 698 * @param array $activities Activities array. … … 735 735 * their own caches at the beginning of an activity loop. 736 736 * 737 * @since BuddyPress (2.0.0)737 * @since 2.0.0 738 738 * 739 739 * @param array $activities Array of activities. … … 746 746 * Filters inside prefetch_object_data method to aid in pre-fetching object data associated with activity item. 747 747 * 748 * @since BuddyPress (2.0.0)748 * @since 2.0.0 749 749 * 750 750 * @param array $activities Array of activities. … … 761 761 * be left in place. 762 762 * 763 * @since BuddyPress (2.0.0)763 * @since 2.0.0 764 764 * 765 765 * @param array $activities Array of activities. … … 789 789 * AND keyword from the 'where' clause). 790 790 * 791 * @since BuddyPress (1.8.0)791 * @since 1.8.0 792 792 * 793 793 * @param array $meta_query An array of meta_query filters. See the … … 830 830 * keyword from the query). 831 831 * 832 * @since BuddyPress (2.1.0)832 * @since 2.1.0 833 833 * 834 834 * @param array $date_query An array of date_query parameters. See the … … 857 857 * Can handle multiple scopes. 858 858 * 859 * @since BuddyPress (2.2.0)859 * @since 2.2.0 860 860 * 861 861 * @param mixed $scope The activity scope. Accepts string or array of scopes. … … 906 906 * - bp_friends_filter_activity_scope() - used for 'friends' scope 907 907 * 908 * @since BuddyPress (2.2.0)908 * @since 2.2.0 909 909 * 910 910 * @param array { … … 959 959 * As of 1.5.x, use BP_Activity_Activity::get() with an 'in' parameter instead. 960 960 * 961 * @since BuddyPress (1.2.0)961 * @since 1.2.0 962 962 * 963 963 * @deprecated 1.5 … … 1047 1047 * Otherwise use the filters. 1048 1048 * 1049 * @since BuddyPress (1.2.0)1049 * @since 1.2.0 1050 1050 * 1051 1051 * @param array $args { … … 1155 1155 * Action to allow intercepting activity items to be deleted. 1156 1156 * 1157 * @since BuddyPress (2.3.0)1157 * @since 2.3.0 1158 1158 * 1159 1159 * @param array $activities Array of activities. … … 1173 1173 * Action to allow intercepting activity items just deleted. 1174 1174 * 1175 * @since BuddyPress (2.3.0)1175 * @since 2.3.0 1176 1176 * 1177 1177 * @param array $activities Array of activities. … … 1222 1222 * use it going forward, and use BP_Activity_Activity::delete() instead. 1223 1223 * 1224 * @since BuddyPress (1.2.0)1225 * @deprecated BuddyPress (2.3.0)1224 * @since 1.2.0 1225 * @deprecated 2.3.0 1226 1226 * 1227 1227 * @param array $activity_ids Activity IDs whose comments should be deleted. … … 1253 1253 * Delete the meta entries associated with a set of activity items. 1254 1254 * 1255 * @since BuddyPress (1.2.0)1255 * @since 1.2.0 1256 1256 * 1257 1257 * @param array $activity_ids Activity IDs whose meta should be deleted. … … 1272 1272 * Append activity comments to their associated activity items. 1273 1273 * 1274 * @since BuddyPress (1.2.0)1274 * @since 1.2.0 1275 1275 * 1276 1276 * @global wpdb $wpdb WordPress database object. … … 1303 1303 * Get activity comments that are associated with a specific activity ID. 1304 1304 * 1305 * @since BuddyPress (1.2.0)1305 * @since 1.2.0 1306 1306 * 1307 1307 * @global wpdb $wpdb WordPress database object. … … 1360 1360 * Filters if BuddyPress should use the legacy activity query. 1361 1361 * 1362 * @since BuddyPress (2.0.0)1362 * @since 2.0.0 1363 1363 * 1364 1364 * @param bool $value Whether or not to use the legacy query. … … 1371 1371 * Filters the MySQL prepared statement for the legacy activity query. 1372 1372 * 1373 * @since BuddyPress (1.5.0)1373 * @since 1.5.0 1374 1374 * 1375 1375 * @param string $value Prepared statement for the activity query. … … 1463 1463 * Rebuild nested comment tree under an activity or activity comment. 1464 1464 * 1465 * @since BuddyPress (1.2.0)1465 * @since 1.2.0 1466 1466 * 1467 1467 * @global wpdb $wpdb WordPress database object. … … 1503 1503 * Get child comments of an activity or activity comment. 1504 1504 * 1505 * @since BuddyPress (1.2.0)1505 * @since 1.2.0 1506 1506 * 1507 1507 * @global wpdb $wpdb WordPress database object. … … 1569 1569 * Create SQL IN clause for filter queries. 1570 1570 * 1571 * @since BuddyPress (1.5.0)1571 * @since 1.5.0 1572 1572 * 1573 1573 * @see BP_Activity_Activity::get_filter_sql() … … 1607 1607 * Create filter SQL clauses. 1608 1608 * 1609 * @since BuddyPress (1.5.0)1609 * @since 1.5.0 1610 1610 * 1611 1611 * @param array $filter_array { … … 1687 1687 * Get the date/time of last recorded activity. 1688 1688 * 1689 * @since BuddyPress (1.2.0)1689 * @since 1.2.0 1690 1690 * 1691 1691 * @return string ISO timestamp. … … 1702 1702 * Get favorite count for a given user. 1703 1703 * 1704 * @since BuddyPress (1.2.0)1704 * @since 1.2.0 1705 1705 * 1706 1706 * @param int $user_id The ID of the user whose favorites you're counting. … … 1762 1762 * Subject to removal once WordPress makes PHP 5.3.0 the minimum requirement. 1763 1763 * 1764 * @since BuddyPress (2.2.0)1764 * @since 2.2.0 1765 1765 * 1766 1766 * @see http://php.net/manual/en/function.array-replace-recursive.php#109390
Note: See TracChangeset
for help on using the changeset viewer.