Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
06/19/2013 09:41:08 PM (12 years ago)
Author:
djpaul
Message:

Quick audit of existing phpDoc @param, @return, and @since parameters. Fixes #5031

File:
1 edited

Legend:

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

    r7224 r7228  
    623623 *
    624624 * @param int $position The key of the action_variables array that you want
    625  * @return str $action_variable The value of that position in the array
     625 * @return string $action_variable The value of that position in the array
    626626 */
    627627function bp_action_variable( $position = 0 ) {
     
    712712 * @since BuddyPress (1.5)
    713713 * @global BuddyPress $bp The one true BuddyPress instance
    714  * @param str $root_slug Needle to our active component haystack
     714 * @param string $root_slug Needle to our active component haystack
    715715 * @return mixed False if none found, component name if found
    716716 */
     
    884884 * @since BuddyPress (1.5)
    885885 *
    886  * @param str $action The action being tested against
     886 * @param string $action The action being tested against
    887887 * @return bool True if the current action matches $action
    888888 */
     
    908908 * @since BuddyPress (1.5)
    909909 *
    910  * @param str $action_variable The action_variable being tested against
     910 * @param string $action_variable The action_variable being tested against
    911911 * @param int $position The array key you're testing against. If you don't provide a $position,
    912912 *   the function will return true if the $action_variable is found *anywhere* in the action
     
    985985 *
    986986 * @package BuddyPress Core
    987  * @return true if root component, else false.
     987 * @return bool True if root component, else false.
    988988 */
    989989function bp_is_root_component( $component_name ) {
Note: See TracChangeset for help on using the changeset viewer.