[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

/src/bp-activity/classes/ -> class-bp-activity-feed.php (summary)

BuddyPress Activity Classes.

File Size: 476 lines (14 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

BP_Activity_Feed:: (12 methods):
  __isset()
  __get()
  __set()
  __construct()
  setup_properties()
  setup_hooks()
  backpat_rss_attributes()
  backpat_channel_elements()
  backpat_item_elements()
  feed_content()
  http_headers()
  output()


Class: BP_Activity_Feed  - X-Ref

Create a RSS feed using the activity component.

You should only construct a new feed when you've validated that you're on
the appropriate screen.

__isset( $key )   X-Ref
Magic method for checking the existence of a certain data variable.

param: string $key Property to check.
return: bool Whether or not data variable exists.
since: 1.8.0

__get( $key )   X-Ref
Magic method for getting a certain data variable.

param: string $key Property to get.
return: mixed Data in variable if available or null.
since: 1.8.0

__set( $key, $value )   X-Ref
Magic method for setting a certain data variable.

param: string $key   The property to set.
param: mixed  $value The value to set.
since: 2.4.0

__construct( $args = array()   X-Ref
Constructor.

param: array $args Optional.
since: 1.8.0

setup_properties()   X-Ref
Setup and validate the class properties.

since: 1.8.0

setup_hooks()   X-Ref
Setup some hooks that are used in the feed.

Currently, these hooks are used to maintain backwards compatibility with
the RSS feeds previous to BP 1.8.

since: 1.8.0

backpat_rss_attributes()   X-Ref
Fire a hook to ensure backward compatibility for RSS attributes.

since: 1.8.0

backpat_channel_elements()   X-Ref
Fire a hook to ensure backward compatibility for channel elements.

since: 1.8.0

backpat_item_elements()   X-Ref
Fire a hook to ensure backward compatibility for item elements.

since: 1.8.0

feed_content()   X-Ref
Output the feed's item content.

since: 1.8.0

http_headers()   X-Ref
Sets various HTTP headers related to Content-Type and browser caching.

Most of this class method is derived from {@link WP::send_headers()}.

since: 1.9.0

output()   X-Ref
Output the RSS feed.

since: 1.8.0



Generated: Tue Mar 19 01:01:09 2024 Cross-referenced by PHPXref 0.7.1