Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
09/06/2011 12:30:01 PM (15 years ago)
Author:
boonebgorges
Message:

Adds PHPDoc throughout the activity component. References #2345. Turbo props cnorris23

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-activity/bp-activity-loader.php

    r4961 r5109  
    11<?php
     2
    23/**
    34 * BuddyPress Activity Streams Loader
     
    67 *
    78 * @package BuddyPress
    8  * @subpackage Activity Core
     9 * @subpackage ActivityCore
    910 */
    1011
     
    1213if ( !defined( 'ABSPATH' ) ) exit;
    1314
     15/**
     16 * Main Activity Class
     17 *
     18 * @since 1.5.0
     19 */
    1420class BP_Activity_Component extends BP_Component {
    1521
     
    1723     * Start the activity component creation process
    1824     *
    19      * @since 1.5
     25     * @since 1.5.0
    2026     */
    2127    function BP_Activity_Component() {
     
    3339    /**
    3440     * Include files
     41     *
     42     * @since 1.5.0
    3543     */
    3644    function includes() {
     
    5563     * backwards compatibility.
    5664     *
    57      * @since 1.5
    58      * @global obj $bp
     65     * @since 1.5.0
     66     *
     67     * @global object $bp BuddyPress global settings
    5968     */
    6069    function setup_globals() {
     
    8998     * Setup BuddyBar navigation
    9099     *
    91      * @global obj $bp
     100     * @since 1.5.0
     101     *
     102     * @global object $bp BuddyPress global settings
     103     * @uses bp_is_active()
     104     * @uses is_user_logged_in()
     105     * @uses bp_get_friends_slug()
     106     * @uses bp_get_groups_slug()
    92107     */
    93108    function setup_nav() {
     
    183198     * Set up the admin bar
    184199     *
    185      * @global obj $bp
     200     * @since 1.5.0
     201     *
     202     * @global object $bp BuddyPress global settings
     203     * @uses is_user_logged_in()
     204     * @uses trailingslashit()
     205     * @uses bp_get_total_mention_count_for_user()
     206     * @uses bp_loggedin_user_id()
     207     * @uses bp_is_active()
     208     * @uses bp_get_friends_slug()
     209     * @uses bp_get_groups_slug()
    186210     */
    187211    function setup_admin_bar() {
     
    259283     * Sets up the title for pages and <title>
    260284     *
    261      * @global obj $bp
     285     * @since 1.5.0
     286     *
     287     * @global object $bp BuddyPress global settings
     288     * @uses bp_is_activity_component()
     289     * @uses bp_is_my_profile()
     290     * @uses bp_core_fetch_avatar()
    262291     */
    263292    function setup_title() {
     
    280309    }
    281310}
     311
    282312// Create the activity component
    283313$bp->activity = new BP_Activity_Component();
Note: See TracChangeset for help on using the changeset viewer.