Changeset 3142 for branches/1.2/bp-activity.php
- Timestamp:
- 07/21/2010 07:33:39 PM (16 years ago)
- File:
-
- 1 edited
-
branches/1.2/bp-activity.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/1.2/bp-activity.php
r3111 r3142 627 627 628 628 $defaults = array( 629 'id' => false, // Pass an existing activity ID to update an existing entry.630 631 'action' => '', // The activity action - e.g. "Jon Doe posted an update"632 'content' => '', // Optional: The content of the activity item e.g. "BuddyPress is awesome guys!"633 634 'component' => false, // The name/ID of the component e.g. groups, profile, mycomponent635 'type' => false, // The activity type e.g. activity_update, profile_updated636 'primary_link' => '', // Optional: The primary URL for this item in RSS feeds (defaults to activity permalink)637 638 'user_id' => $bp->loggedin_user->id, // Optional: The user to record the activity for, can be false if this activity is not for a user.639 'item_id' => false, // Optional: The ID of the specific item being recorded, e.g. a blog_id629 'id' => false, // Pass an existing activity ID to update an existing entry. 630 631 'action' => '', // The activity action - e.g. "Jon Doe posted an update" 632 'content' => '', // Optional: The content of the activity item e.g. "BuddyPress is awesome guys!" 633 634 'component' => false, // The name/ID of the component e.g. groups, profile, mycomponent 635 'type' => false, // The activity type e.g. activity_update, profile_updated 636 'primary_link' => '', // Optional: The primary URL for this item in RSS feeds (defaults to activity permalink) 637 638 'user_id' => $bp->loggedin_user->id, // Optional: The user to record the activity for, can be false if this activity is not for a user. 639 'item_id' => false, // Optional: The ID of the specific item being recorded, e.g. a blog_id 640 640 'secondary_item_id' => false, // Optional: A second ID used to further filter e.g. a comment_id 641 'recorded_time' => gmdate( "Y-m-d H:i:s"), // The GMT time that this activity was recorded642 'hide_sitewide' => false // Should this be hidden on the sitewide activity stream?641 'recorded_time' => bp_core_current_time(), // The GMT time that this activity was recorded 642 'hide_sitewide' => false // Should this be hidden on the sitewide activity stream? 643 643 ); 644 644
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)