Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
06/19/2013 09:41:08 PM (11 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-groups/bp-groups-template.php

    r7141 r7228  
    812812 * @since BuddyPress (1.5)
    813813 *
    814  * @param obj $group (optional) The group being queried. Defaults to the current group in the loop
    815  * @param str $format 'string' to get a comma-separated string, 'array' to get an array
     814 * @param BP_Groups_Group $group (optional) The group being queried. Defaults to the current group in the loop
     815 * @param string $format 'string' to get a comma-separated string, 'array' to get an array
    816816 * @return mixed $admin_ids A string or array of user_ids
    817817 */
     
    842842 * @since BuddyPress (1.5)
    843843 *
    844  * @param obj $group (optional) The group being queried. Defaults to the current group in the loop
    845  * @param str $format 'string' to get a comma-separated string, 'array' to get an array
     844 * @param BP_Groups_Group $group (optional) The group being queried. Defaults to the current group in the loop
     845 * @param string $format 'string' to get a comma-separated string, 'array' to get an array
    846846 * @return mixed $mod_ids A string or array of user_ids
    847847 */
     
    10821082 * @since BuddyPress (1.5)
    10831083 *
    1084  * @param str $setting The setting you want to check against ('members', 'mods', or 'admins')
    1085  * @param obj $group (optional) The group whose status you want to check
     1084 * @param string $setting The setting you want to check against ('members', 'mods', or 'admins')
     1085 * @param BP_Groups_Group $group (optional) The group whose status you want to check
    10861086 */
    10871087function bp_group_show_invite_status_setting( $setting, $group = false ) {
     
    16731673 * @since BuddyPress (1.2.7)
    16741674 *
    1675  * @param obj|bool $group The BP Groups_Group object if passed, boolean false if not passed.
     1675 * @param BP_Groups_Group|bool $group The BP Groups_Group object if passed, boolean false if not passed.
    16761676 * @uses bp_get_group_new_topic_button() Returns the 'New Topic' button
    16771677 */
     
    16841684     * @since BuddyPress (1.2.7)
    16851685     *
    1686      * @param obj|bool $group The BP Groups_Group object if passed, boolean false if not passed.
     1686     * @param BP_Groups_Group|bool $group The BP Groups_Group object if passed, boolean false if not passed.
    16871687     * @uses is_user_logged_in() Is there a user logged in?
    16881688     * @uses bp_group_is_user_banned() Is the current user banned from the current group?
     
    16901690     * @uses bp_is_group_forum_topic() Are we on a group topic page?
    16911691     * @uses bp_get_button() Renders a button
    1692      * @return HTML code for the button
     1692     * @return string HTML code for the button
    16931693     */
    16941694    function bp_get_group_new_topic_button( $group = false ) {
     
    24172417     *
    24182418     * @uses apply_filters() Filter bp_get_groups_current_create_step to modify
    2419      * @return str $current_create_step
     2419     * @return string $current_create_step
    24202420     */
    24212421    function bp_get_groups_current_create_step() {
     
    25832583     *
    25842584     * @uses apply_filters() Filter bp_get_current_group_admin_tab to modify return value
    2585      * @return str $tab The current tab's slug
     2585     * @return string $tab The current tab's slug
    25862586     */
    25872587    function bp_get_group_current_admin_tab() {
     
    30413041     * @uses apply_filters() Filter bp_get_current_group_slug to modify this output
    30423042     *
    3043      * @return str $current_group_slug The slug of the current group, if there is one
     3043     * @return string $current_group_slug The slug of the current group, if there is one
    30443044     */
    30453045    function bp_get_current_group_slug() {
     
    30663066     * @uses apply_filters() Filter bp_get_current_group_name to modify this output
    30673067     *
    3068      * @return str The name of the current group, if there is one
     3068     * @return string The name of the current group, if there is one
    30693069     */
    30703070    function bp_get_current_group_name() {
Note: See TracChangeset for help on using the changeset viewer.