Changeset 10455
- Timestamp:
- 01/18/2016 07:34:34 AM (9 years ago)
- Location:
- trunk/src/bp-activity
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-activity/bp-activity-akismet.php
r10375 r10455 23 23 * 24 24 * @since 1.6.0 25 *26 25 * @var BP_Activity_Activity 27 26 */ -
trunk/src/bp-activity/bp-activity-cache.php
r10417 r10455 17 17 * in $activity_ids and adds it to the WP cache. This improves efficiency when 18 18 * using querying activitymeta inline. 19 * 20 * @since 1.6.0 19 21 * 20 22 * @param int|string|array|bool $activity_ids Accepts a single activity ID, or a comma- -
trunk/src/bp-activity/bp-activity-functions.php
r10428 r10455 1255 1255 /** 1256 1256 * Generate an activity action string for an activity item. 1257 * 1258 * @since 2.0.0 1257 1259 * 1258 1260 * @param object $activity Activity data object. -
trunk/src/bp-activity/bp-activity-loader.php
r10417 r10455 390 390 /** 391 391 * Bootstrap the Activity component. 392 * 393 * @since 1.6.0 392 394 */ 393 395 function bp_setup_activity() { -
trunk/src/bp-activity/bp-activity-template.php
r10417 r10455 119 119 * The loop iterator. 120 120 * 121 * @since 1. 5.0121 * @since 1.0.0 122 122 * @var int 123 123 */ … … 127 127 * The activity count. 128 128 * 129 * @since 1. 5.0129 * @since 1.0.0 130 130 * @var int 131 131 */ … … 135 135 * The total activity count. 136 136 * 137 * @since 1. 5.0137 * @since 1.0.0 138 138 * @var int 139 139 */ … … 143 143 * Array of activities located by the query. 144 144 * 145 * @since 1. 5.0145 * @since 1.0.0 146 146 * @var array 147 147 */ … … 151 151 * The activity object currently being iterated on. 152 152 * 153 * @since 1. 5.0153 * @since 1.0.0 154 154 * @var object 155 155 */ … … 159 159 * A flag for whether the loop is currently being iterated. 160 160 * 161 * @since 1. 5.0161 * @since 1.0.0 162 162 * @var bool 163 163 */ … … 175 175 * The page number being requested. 176 176 * 177 * @since 1. 5.0177 * @since 1.0.0 178 178 * @var int 179 179 */ … … 183 183 * The number of items being requested per page. 184 184 * 185 * @since 1. 5.0185 * @since 1.0.0 186 186 * @var int 187 187 */ … … 191 191 * An HTML string containing pagination links. 192 192 * 193 * @since 1. 5.0193 * @since 1.0.0 194 194 * @var string 195 195 */ … … 199 199 * The displayed user's full name. 200 200 * 201 * @since 1. 5.0201 * @since 1.0.0 202 202 * @var string 203 203 */ … … 209 209 * The arguments passed to this class constructor are of the same 210 210 * format as {@link BP_Activity_Activity::get()}. 211 * 212 * @since 1.5.0 211 213 * 212 214 * @see BP_Activity_Activity::get() for a description of the argument … … 395 397 * Whether there are activity items available in the loop. 396 398 * 399 * @since 1.0.0 400 * 397 401 * @see bp_has_activities() 398 402 * … … 410 414 * Set up the next activity item and iterate index. 411 415 * 416 * @since 1.0.0 417 * 412 418 * @return object The next activity item to iterate over. 413 419 */ … … 421 427 /** 422 428 * Rewind the posts and reset post index. 429 * 430 * @since 1.0.0 423 431 */ 424 432 public function rewind_activities() { … … 435 443 * that controls iteration inside the activities loop, eg: 436 444 * while ( bp_activities() ) { ... 445 * 446 * @since 1.0.0 437 447 * 438 448 * @see bp_activities() … … 468 478 * data while looping, so that template tags used during that iteration 469 479 * make reference to the current activity item. 480 * 481 * @since 1.0.0 470 482 * 471 483 * @see bp_the_activity() -
trunk/src/bp-activity/classes/class-bp-activity-feed.php
r10417 r10455 44 44 * 45 45 * @see BP_Feed::__construct() This is where $data is added. 46 * 47 * @since 1.8.0 46 48 * @var array 47 49 */ … … 51 53 * Magic method for checking the existence of a certain data variable. 52 54 * 55 * @since 1.8.0 56 * 53 57 * @param string $key Property to check. 54 *55 58 * @return bool Whether or not data variable exists. 56 59 */ … … 60 63 * Magic method for getting a certain data variable. 61 64 * 65 * @since 1.8.0 66 * 62 67 * @param string $key Property to get. 63 *64 68 * @return mixed Data in variable if available or null. 65 69 */ … … 78 82 /** 79 83 * Constructor. 84 * 85 * @since 1.8.0 80 86 * 81 87 * @param array $args Optional. … … 176 182 /** 177 183 * Setup and validate the class properties. 184 * 185 * @since 1.8.0 178 186 */ 179 187 protected function setup_properties() { … … 199 207 * Currently, these hooks are used to maintain backwards compatibility with 200 208 * the RSS feeds previous to BP 1.8. 209 * 210 * @since 1.8.0 201 211 */ 202 212 protected function setup_hooks() { … … 210 220 /** 211 221 * Fire a hook to ensure backward compatibility for RSS attributes. 222 * 223 * @since 1.8.0 212 224 */ 213 225 public function backpat_rss_attributes() { … … 225 237 /** 226 238 * Fire a hook to ensure backward compatibility for channel elements. 239 * 240 * @since 1.8.0 227 241 */ 228 242 public function backpat_channel_elements() { … … 240 254 /** 241 255 * Fire a hook to ensure backward compatibility for item elements. 256 * 257 * @since 1.8.0 242 258 */ 243 259 public function backpat_item_elements() { … … 271 287 /** 272 288 * Output the feed's item content. 289 * 290 * @since 1.8.0 273 291 */ 274 292 protected function feed_content() { … … 374 392 /** 375 393 * Output the RSS feed. 394 * 395 * @since 1.8.0 376 396 */ 377 397 protected function output() {
Note: See TracChangeset
for help on using the changeset viewer.