Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
06/08/2014 09:12:34 PM (12 years ago)
Author:
boonebgorges
Message:

Improved inline documentation in the Messages component.

See #5022

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-messages/bp-messages-screens.php

    r6806 r8482  
    44 * BuddyPress Messages Screens
    55 *
    6  * Screen functions are the controllers of BuddyPress. They will execute when their
    7  * specific URL is caught. They will first save or manipulate data using business
    8  * functions, then pass on the user to a template file.
     6 * Screen functions are the controllers of BuddyPress. They will execute when
     7 * their specific URL is caught. They will first save or manipulate data using
     8 * business functions, then pass on the user to a template file.
    99 *
    1010 * @package BuddyPress
     
    1515if ( !defined( 'ABSPATH' ) ) exit;
    1616
     17/**
     18 * Load the Messages > Inbox screen.
     19 */
    1720function messages_screen_inbox() {
    1821        if ( bp_action_variables() ) {
     
    2528}
    2629
     30/**
     31 * Load the Messages > Sent screen.
     32 */
    2733function messages_screen_sentbox() {
    2834        if ( bp_action_variables() ) {
     
    3541}
    3642
     43/**
     44 * Load the Messages > Compose screen.
     45 */
    3746function messages_screen_compose() {
    3847        global $bp;
     
    8796}
    8897
     98/**
     99 * Load an individual conversation screen.
     100 *
     101 * @return bool|null False on failure.
     102 */
    89103function messages_screen_conversation() {
    90104
     
    110124add_action( 'bp_screens', 'messages_screen_conversation' );
    111125
     126/**
     127 * Load the Messages > Notices screen.
     128 *
     129 * @return false|null False on failure.
     130 */
    112131function messages_screen_notices() {
    113132        global $notice_id;
     
    153172}
    154173
     174/**
     175 * Render the markup for the Messages section of Settings > Notifications.
     176 */
    155177function messages_screen_notification_settings() {
    156178        if ( bp_action_variables() ) {
Note: See TracChangeset for help on using the changeset viewer.