Changeset 10149 for trunk/src/bp-members/admin/bp-members-admin-classes.php
- Timestamp:
- 09/27/2015 05:43:55 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-members/admin/bp-members-admin-classes.php
r10026 r10149 1 1 <?php 2 3 2 /** 4 3 * BuddyPress Members List Classes … … 8 7 */ 9 8 10 // Exit if accessed directly 9 // Exit if accessed directly. 11 10 defined( 'ABSPATH' ) || exit; 12 11 … … 16 15 * List table class for signups admin page. 17 16 * 18 * @since BuddyPress (2.0.0)17 * @since 2.0.0 19 18 */ 20 19 class BP_Members_List_Table extends WP_Users_List_Table { … … 23 22 * Signup counts. 24 23 * 25 * @since BuddyPress (2.0.0)24 * @since 2.0.0 26 25 * 27 26 * @access public … … 33 32 * Constructor. 34 33 * 35 * @since BuddyPress (2.0.0)34 * @since 2.0.0 36 35 */ 37 36 public function __construct() { … … 50 49 * manipulation required prior to rendering. 51 50 * 52 * @since BuddyPress (2.0.0)51 * @since 2.0.0 53 52 */ 54 53 public function prepare_items() { … … 89 88 * Get the views (the links above the WP List Table). 90 89 * 91 * @since BuddyPress (2.0.0)90 * @since 2.0.0 92 91 * 93 92 * @uses WP_Users_List_Table::get_views() to get the users views … … 109 108 * As we're dealing with signups, we don't need this. 110 109 * 111 * @since BuddyPress (2.0.0)110 * @since 2.0.0 112 111 * 113 112 * @param array $which … … 120 119 * Specific signups columns. 121 120 * 122 * @since BuddyPress (2.0.0)121 * @since 2.0.0 123 122 */ 124 123 public function get_columns() { … … 127 126 * Filters the single site Members signup columns. 128 127 * 129 * @since BuddyPress (2.0.0)128 * @since 2.0.0 130 129 * 131 130 * @param array $value Array of columns to display. … … 145 144 * Specific bulk actions for signups. 146 145 * 147 * @since BuddyPress (2.0.0)146 * @since 2.0.0 148 147 */ 149 148 public function get_bulk_actions() { … … 165 164 * Nice job, clean sheet! 166 165 * 167 * @since BuddyPress (2.0.0)166 * @since 2.0.0 168 167 */ 169 168 public function no_items() { … … 189 188 * The columns signups can be reordered with. 190 189 * 191 * @since BuddyPress (2.0.0)190 * @since 2.0.0 192 191 */ 193 192 public function get_sortable_columns() { … … 202 201 * Display signups rows. 203 202 * 204 * @since BuddyPress (2.0.0)203 * @since 2.0.0 205 204 */ 206 205 public function display_rows() { … … 221 220 * Display a signup row. 222 221 * 223 * @since BuddyPress (2.0.0)222 * @since 2.0.0 224 223 * 225 224 * @see WP_List_Table::single_row() for explanation of params. … … 241 240 * Markup for the checkbox used to select items for bulk actions. 242 241 * 243 * @since BuddyPress (2.0.0)242 * @since 2.0.0 244 243 * 245 244 * @param object $signup_object The signup data object. … … 255 254 * The row actions (delete/activate/email). 256 255 * 257 * @since BuddyPress (2.0.0)256 * @since 2.0.0 258 257 * 259 258 * @param object $signup_object The signup data object. … … 306 305 * Filters the multisite row actions for each user in list. 307 306 * 308 * @since BuddyPress (2.0.0)307 * @since 2.0.0 309 308 * 310 309 * @param array $actions Array of actions and corresponding links. … … 319 318 * Display user name, if any. 320 319 * 321 * @since BuddyPress (2.0.0)320 * @since 2.0.0 322 321 * 323 322 * @param object $signup_object The signup data object. … … 330 329 * Display user email. 331 330 * 332 * @since BuddyPress (2.0.0)331 * @since 2.0.0 333 332 * 334 333 * @param object $signup_object The signup data object. … … 341 340 * Display registration date. 342 341 * 343 * @since BuddyPress (2.0.0)342 * @since 2.0.0 344 343 * 345 344 * @param object $signup_object The signup data object. … … 352 351 * Display the last time an activation email has been sent. 353 352 * 354 * @since BuddyPress (2.0.0)353 * @since 2.0.0 355 354 * 356 355 * @param object $signup_object The signup data object. … … 363 362 * Display number of time an activation email has been sent. 364 363 * 365 * @since BuddyPress (2.0.0)364 * @since 2.0.0 366 365 * 367 366 * @param object $signup_object Signup object instance. … … 376 375 * Allow plugins to add their custom column. 377 376 * 378 * @since BuddyPress (2.1.0)377 * @since 2.1.0 379 378 * 380 379 * @param object|null $signup_object The signup data object. … … 388 387 * Filters the single site custom columns for plugins. 389 388 * 390 * @since BuddyPress (2.1.0)389 * @since 2.1.0 391 390 * 392 391 * @param string $column_name The column name. … … 403 402 * List table class for signups network admin page. 404 403 * 405 * @since BuddyPress (2.0.0)404 * @since 2.0.0 406 405 */ 407 406 class BP_Members_MS_List_Table extends WP_MS_Users_List_Table { … … 410 409 * Signup counts. 411 410 * 412 * @since BuddyPress (2.0.0)411 * @since 2.0.0 413 412 * 414 413 * @access public … … 420 419 * Constructor 421 420 * 422 * @since BuddyPress (2.0.0)421 * @since 2.0.0 423 422 */ 424 423 public function __construct() { … … 437 436 * manipulation required prior to rendering. 438 437 * 439 * @since BuddyPress (2.0.0)438 * @since 2.0.0 440 439 */ 441 440 public function prepare_items() { … … 477 476 * Get the views : the links above the WP List Table. 478 477 * 479 * @since BuddyPress (2.0.0)478 * @since 2.0.0 480 479 * 481 480 * @uses WP_MS_Users_List_Table::get_views() to get the users views. … … 494 493 * Specific signups columns. 495 494 * 496 * @since BuddyPress (2.0.0)495 * @since 2.0.0 497 496 */ 498 497 public function get_columns() { … … 501 500 * Filters the multisite Members signup columns. 502 501 * 503 * @since BuddyPress (2.0.0)502 * @since 2.0.0 504 503 * 505 504 * @param array $value Array of columns to display. … … 519 518 * Specific bulk actions for signups. 520 519 * 521 * @since BuddyPress (2.0.0)520 * @since 2.0.0 522 521 */ 523 522 public function get_bulk_actions() { … … 539 538 * Nice job, clean sheet! 540 539 * 541 * @since BuddyPress (2.0.0)540 * @since 2.0.0 542 541 */ 543 542 public function no_items() { … … 558 557 * The columns signups can be reordered with. 559 558 * 560 * @since BuddyPress (2.0.0)559 * @since 2.0.0 561 560 */ 562 561 public function get_sortable_columns() { … … 571 570 * Display signups rows. 572 571 * 573 * @since BuddyPress (2.0.0)572 * @since 2.0.0 574 573 */ 575 574 public function display_rows() { … … 590 589 * Display a signup row. 591 590 * 592 * @since BuddyPress (2.0.0)591 * @since 2.0.0 593 592 * 594 593 * @see WP_List_Table::single_row() for explanation of params. … … 604 603 605 604 /** 606 * Prevents regular users row actions to be output 607 * 608 * @since BuddyPress (2.4.0)605 * Prevents regular users row actions to be output. 606 * 607 * @since 2.4.0 609 608 * @access protected 610 609 * … … 612 611 * @param string $column_name Current column name. 613 612 * @param string $primary Primary column name. 613 * 614 * @return string 614 615 */ 615 616 protected function handle_row_actions( $signup_object = null, $column_name = '', $primary = '' ) { … … 620 621 * Markup for the checkbox used to select items for bulk actions. 621 622 * 622 * @since BuddyPress (2.0.0)623 * @since 2.0.0 623 624 * 624 625 * @param object|null $signup_object The signup data object. … … 634 635 * The row actions (delete/activate/email). 635 636 * 636 * @since BuddyPress (2.0.0)637 * @since 2.0.0 637 638 * 638 639 * @param object $signup_object The signup data object. … … 691 692 * Display user name, if any. 692 693 * 693 * @since BuddyPress (2.0.0)694 * @since 2.0.0 694 695 * 695 696 * @param object $signup_object The signup data object. … … 702 703 * Display user email. 703 704 * 704 * @since BuddyPress (2.0.0)705 * @since 2.0.0 705 706 * 706 707 * @param object $signup_object The signup data object. … … 713 714 * Display registration date. 714 715 * 715 * @since BuddyPress (2.0.0)716 * @since 2.0.0 716 717 * 717 718 * @param object $signup_object The signup data object. … … 732 733 * Display the last time an activation email has been sent. 733 734 * 734 * @since BuddyPress (2.0.0)735 * @since 2.0.0 735 736 * 736 737 * @param object|null $signup_object Signup object instance. … … 751 752 * Display number of time an activation email has been sent. 752 753 * 753 * @since BuddyPress (2.0.0)754 * @since 2.0.0 754 755 * 755 756 * @param object|null $signup_object Signup object instance. … … 774 775 * Filters the multisite custom columns for plugins. 775 776 * 776 * @since BuddyPress (2.1.0)777 * @since 2.1.0 777 778 * 778 779 * @param string $column_name The column name.
Note: See TracChangeset
for help on using the changeset viewer.