Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
05/03/2015 06:51:25 PM (10 years ago)
Author:
tw2113
Message:

First pass at cleanup of Activity component documetnation.

See #6396.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-activity/bp-activity-actions.php

    r9819 r9833  
    167167     *
    168168     * @param int $activity_id The activity ID.
    169      * @param int $user_id The user associated with the activity.
     169     * @param int $user_id     The user associated with the activity.
    170170     */
    171171    do_action( 'bp_activity_before_action_delete_activity', $activity_id, $activity->user_id );
     
    183183     *
    184184     * @param int $activity_id The activity ID.
    185      * @param int $user_id The user associated with the activity.
     185     * @param int $user_id     The user associated with the activity.
    186186     */
    187187    do_action( 'bp_activity_action_delete_activity', $activity_id, $activity->user_id );
     
    201201 *
    202202 * @param int $activity_id Activity id to be deleted. Defaults to 0.
     203 *
    203204 * @return bool False on failure.
    204205 */
     
    235236     *
    236237     * @param int    $activity_id Activity ID to be marked as spam.
    237      * @param object $activity Activity object for the ID to be marked as spam.
     238     * @param object $activity    Activity object for the ID to be marked as spam.
    238239     */
    239240    do_action( 'bp_activity_before_action_spam_activity', $activity->id, $activity );
     
    252253     *
    253254     * @param int $activity_id Activity ID that was marked as spam.
    254      * @param int $user_id User ID associated with activity.
     255     * @param int $user_id     User ID associated with activity.
    255256     */
    256257    do_action( 'bp_activity_action_spam_activity', $activity_id, $activity->user_id );
     
    299300     * @since BuddyPress (1.2.0)
    300301     *
    301      * @param string $whats-new Activity message being posted.
     302     * @param string $value Activity message being posted.
    302303     */
    303304    $content = apply_filters( 'bp_activity_post_update_content', $_POST['whats-new'] );
     
    310311         * @since BuddyPress (1.2.0)
    311312         *
    312          * @param string $whats-new-post-object Item type to associate with.
     313         * @param string $value Item type to associate with.
    313314         */
    314315        $object = apply_filters( 'bp_activity_post_update_object', $_POST['whats-new-post-object'] );
     
    322323         * @since BuddyPress (1.2.0)
    323324         *
    324          * @param string $whats-new-post-in Chosen component to post activity to.
     325         * @param string $value Chosen component to post activity to.
    325326         */
    326327        $item_id = apply_filters( 'bp_activity_post_update_item_id', $_POST['whats-new-post-in'] );
     
    350351         * @since BuddyPress (1.2.0)
    351352         *
    352          * @param string $object Activity item being associated to.
     353         * @param string $object  Activity item being associated to.
    353354         * @param string $item_id Component ID being posted to.
    354355         * @param string $content Activity content being posted.
     
    399400     * @since BuddyPress (1.2.0)
    400401     *
    401      * @param string $comment_form_id ID of the activity being replied to.
     402     * @param string $value ID of the activity being replied to.
    402403     */
    403404    $activity_id = apply_filters( 'bp_activity_post_comment_activity_id', $_POST['comment_form_id'] );
     
    408409     * @since BuddyPress (1.2.0)
    409410     *
    410      * @param string $ac_input_activity_id Comment content being posted.
     411     * @param string $value Comment content being posted.
    411412     */
    412413    $content = apply_filters( 'bp_activity_post_comment_content', $_POST['ac_input_' . $activity_id] );
     
    729730     * @since BuddyPress (1.6.0)
    730731     *
    731      * @param bool bp_is_akismet_active Return value of bp_is_akismet_active boolean function.
     732     * @param bool $value Return value of bp_is_akismet_active boolean function.
    732733     */
    733734    if ( ! apply_filters( 'bp_activity_use_akismet', bp_is_akismet_active() ) )
Note: See TracChangeset for help on using the changeset viewer.