[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

/src/bp-members/classes/ -> class-bp-members-invitations-list-table.php (summary)

BuddyPress Membership Invitation List Table class.

File Size: 510 lines (14 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

BP_Members_Invitations_List_Table:: (20 methods):
  __construct()
  prepare_items()
  get_default_primary_column_name()
  views()
  extra_tablenav()
  get_columns()
  get_bulk_actions()
  no_items()
  get_sortable_columns()
  display_rows()
  single_row()
  column_cb()
  column_invitee_email()
  column_email()
  column_username()
  column_inviter_registered_date()
  column_invitation_date_modified()
  column_invitation_sent()
  column_invitation_accepted()
  column_default()


Class: BP_Members_Invitations_List_Table  - X-Ref

List table class for Invitations admin page.

__construct()   X-Ref
Constructor.

since: 8.0.0

prepare_items()   X-Ref
Set up items for display in the list table.

Handles filtering of data, sorting, pagination, and any other data
manipulation required prior to rendering.

since: 8.0.0

get_default_primary_column_name()   X-Ref
Gets the name of the default primary column.

return: string Name of the default primary column, in this case, 'invitee_email'.
since: 10.1.0

views()   X-Ref
Get the list of views available on this table (e.g. "all", "public").

since: 8.0.0

extra_tablenav( $which )   X-Ref
Get rid of the extra nav.

WP_Users_List_Table will add an extra nav to change user's role.
As we're dealing with invitations, we don't need this.

param: array $which Current table nav item.
since: 8.0.0

get_columns()   X-Ref
Specific signups columns.

return: array
since: 8.0.0

get_bulk_actions()   X-Ref
Specific bulk actions for signups.

since: 8.0.0

no_items()   X-Ref
The text shown when no items are found.

Nice job, clean sheet!

since: 8.0.0

get_sortable_columns()   X-Ref
The columns invitations can be reordered by.

since: 8.0.0

display_rows()   X-Ref
Display invitation rows.

since: 8.0.0

single_row( $invite = null, $style = '', $role = '', $numposts = 0 )   X-Ref
Display an invitation row.

param: BP_Invitation $invite   BP_Invitation object.
param: string        $style    Styles for the row.
param: string        $role     Role to be assigned to user.
param: int           $numposts Number of posts.
return: void
since: 8.0.0

column_cb( $invite = null )   X-Ref
Markup for the checkbox used to select items for bulk actions.

param: BP_Invitation $invite BP_Invitation object.
since: 8.0.0

column_invitee_email( $invite = null )   X-Ref
Markup for the checkbox used to select items for bulk actions.

param: BP_Invitation $invite BP_Invitation object.
since: 8.0.0

column_email( $invite = null )   X-Ref
Display invited user's email address.

param: BP_Invitation $invite BP_Invitation object.
since: 8.0.0

column_username( $invite = null )   X-Ref
The inviter.

param: BP_Invitation $invite BP_Invitation object.
since: 8.0.0

column_inviter_registered_date( $invite = null )   X-Ref
Display invitation date.

param: BP_Invitation $invite BP_Invitation object.
since: 8.0.0

column_invitation_date_modified( $invite = null )   X-Ref
Display invitation date.

param: BP_Invitation $invite BP_Invitation object.
since: 8.0.0

column_invitation_sent( $invite = null )   X-Ref
Display invitation date.

param: BP_Invitation $invite BP_Invitation object.
since: 8.0.0

column_invitation_accepted( $invite = null )   X-Ref
Display invitation acceptance status.

param: BP_Invitation $invite BP_Invitation object.
since: 8.0.0

column_default( $invite = null, $column_name = '' )   X-Ref
Allow plugins to add their custom column.

param: BP_Invitation $invite      BP_Invitation object.
param: string        $column_name The column name.
return: string
since: 8.0.0



Generated: Thu Dec 26 01:01:04 2024 Cross-referenced by PHPXref 0.7.1