Skip to:
Content

BuddyPress.org

Changeset 5148


Ignore:
Timestamp:
09/14/2011 01:34:34 PM (13 years ago)
Author:
boonebgorges
Message:

Corrects some PHPDoc for BP_Component

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core/bp-core-component.php

    r5147 r5148  
    4141
    4242    /**
    43      * @var string The path to the plugins files
     43     * @var string The path to the component's files
    4444     */
    4545    var $path;
     
    7171     *
    7272     * @param mixed $args Required. Supports these args:
    73      *  - name: Unique name (for internal identification)
    74      *  - id: Unique ID (normally for custom post type)
    75      *  - slug: Unique slug (used in query string and permalinks)
    76      *  - query: The loop for this component (WP_Query)
    77      *  - current_id: The current ID of the queried object
    78      * @uses bp_Component::setup_globals() Setup the globals needed
    79      * @uses bp_Component::includes() Include the required files
     73     *  - id: Unique ID (for internal identification). Letters, numbers, and underscores only
     74     *  - name: Unique name. This should be a translatable name, eg __( 'Groups', 'buddypress' )
     75     *  - path: The file path for the component's files. Used by BP_Component::includes()
    8076     * @uses bp_Component::setup_actions() Setup the hooks and actions
    8177     */
Note: See TracChangeset for help on using the changeset viewer.