[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

/src/bp-templates/bp-nouveau/includes/groups/ -> classes.php (summary)

Groups classes

Version: 7.0.0
File Size: 429 lines (12 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 3 classes

BP_Nouveau_Group_Invite_Query:: (5 methods):
  setup_hooks()
  build_exclude_args()
  get_group_member_ids()
  build_meta_query()
  get_inviter_ids()

BP_Nouveau_Customizer_Group_Nav:: (8 methods):
  __construct()
  __isset()
  __get()
  __set()
  setup_nav()
  all_groups_fronts()
  get_default_value()
  get_group_nav()

BP_Nouveau_Group_Meta:: (2 methods):
  __get()
  __construct()


Class: BP_Nouveau_Group_Invite_Query  - X-Ref

Query to get members that are not already members of the group

setup_hooks()   X-Ref
Set up action hooks

since: 3.0.0

build_exclude_args()   X-Ref
Exclude group members from the user query as it's not needed to invite members to join the group.

since: 3.0.0

get_group_member_ids()   X-Ref
Get the members of the queried group

since: 3.0.0
return: array $ids User IDs of relevant group member ids

build_meta_query( BP_User_Query $bp_user_query )   X-Ref

since: 3.0.0

get_inviter_ids( $user_id = 0, $group_id = 0 )   X-Ref

since: 3.0.0

Class: BP_Nouveau_Customizer_Group_Nav  - X-Ref

A specific Group Nav class to make it possible to set new positions for
buddypress()->groups->nav.

__construct( $object_id = 0 )   X-Ref
Constructor

param: int $object_id Optional. The random group ID used to generate the nav.

__isset( $key )   X-Ref
Checks whether a property is set.

Overrides BP_Core_Nav::__isset() to avoid looking into its nav property.

param: string $key The property.
since: 3.0.0
return: bool True if the property is set, false otherwise.

__get( $key )   X-Ref
Gets a property.

Overrides BP_Core_Nav::__isset() to avoid looking into its nav property.

param: string $key The property.
since: 3.0.0
return: mixed The value corresponding to the property.

__set( $key, $value )   X-Ref
Sets a property.

Overrides BP_Core_Nav::__isset() to avoid adding a value to its nav property.

param: string $key The property.
param: mixed $value The value of the property.
since: 3.0.0

setup_nav()   X-Ref
Setup a temporary nav with only the needed parameters.

since: 3.0.0

all_groups_fronts( $templates = array()   X-Ref
Front template: do not look into group's template hierarchy.

param: array $templates The list of possible group front templates.
since: 3.0.0
return: array The list of "global" group front templates.

get_default_value()   X-Ref
Get the original order for the group navigation.

since: 3.0.0
return: array a list of nav items slugs ordered.

get_group_nav()   X-Ref
Get the list of nav items ordered according to the Site owner preferences.

since: 3.0.0
return: array the nav items ordered.

Class: BP_Nouveau_Group_Meta  - X-Ref

Group template meta backwards compatibility class.

__get( $key = '' )   X-Ref
Magic getter.

This exists specifically for supporting deprecated object vars.

param: string $key
since: 7.0.0
return: string

__construct()   X-Ref
Constructor

since: 7.0.0



Generated: Sun Dec 22 01:00:54 2024 Cross-referenced by PHPXref 0.7.1