Changeset 62491 for trunk/src/wp-admin/includes/class-wp-list-table.php
- Timestamp:
- 06/11/2026 08:14:31 PM (5 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-list-table.php
r62400 r62491 20 20 * 21 21 * @since 3.1.0 22 * @var array 22 * 23 * @var array<int|string, mixed> 23 24 */ 24 25 public $items; … … 28 29 * 29 30 * @since 3.1.0 30 * @var array 31 * 32 * @var array<string, mixed> 31 33 */ 32 34 protected $_args; … … 36 38 * 37 39 * @since 3.1.0 38 * @var array 40 * 41 * @var array<string, mixed> 39 42 */ 40 43 protected $_pagination_args = array(); … … 44 47 * 45 48 * @since 3.1.0 49 * 46 50 * @var WP_Screen 47 51 */ … … 52 56 * 53 57 * @since 3.1.0 54 * @var array 58 * 59 * @var array<string, string|array<string, string>>|null 55 60 */ 56 61 private $_actions; … … 60 65 * 61 66 * @since 3.1.0 67 * 62 68 * @var string 63 69 */ … … 68 74 * 69 75 * @since 4.1.0 70 * @var array 76 * 77 * @var array<string, string> 71 78 */ 72 79 protected $modes = array(); 73 80 74 81 /** 75 * Stores the value returned by ::get_column_info(). 76 * 77 * @since 4.1.0 78 * @var array|null 82 * Stores the value returned by {@see self::get_column_info()}. 83 * 84 * @since 4.2.0 85 * 86 * @var array<int, array|string>|null 79 87 */ 80 88 protected $_column_headers; … … 83 91 * List of private properties made readable for backward compatibility. 84 92 * 85 * @var array 93 * @since 4.2.0 94 * 95 * @var string[] 86 96 */ 87 97 protected $compat_fields = array( '_args', '_pagination_args', 'screen', '_actions', '_pagination' ); … … 90 100 * List of private/protected methods made readable for backward compatibility. 91 101 * 92 * @var array 102 * @since 4.2.0 103 * 104 * @var string[] 93 105 */ 94 106 protected $compat_methods = array( … … 117 129 * the default $args. 118 130 * 119 * @since 3. 1.0131 * @since 3.2.0 120 132 * 121 133 * @param array|string $args { … … 349 361 350 362 /** 351 * Determines whether the table has items to display or not 363 * Determines whether the table has items to display or not. 352 364 * 353 365 * @since 3.1.0 … … 360 372 361 373 /** 362 * Message to be displayed when there are no items 374 * Message to be displayed when there are no items. 363 375 * 364 376 * @since 3.1.0 … … 791 803 * @since 3.1.0 792 804 * 793 * @param string $current_mode 805 * @param string $current_mode The current view mode slug, e.g. 'list' or 'excerpt'. 794 806 */ 795 807 protected function view_switcher( $current_mode ) { … … 1390 1402 * @since 3.1.0 1391 1403 * 1392 * @param bool $with_id Whether to set the ID attribute or not 1404 * @param bool $with_id Whether to set the ID attribute or not. Default true. 1393 1405 */ 1394 1406 public function print_column_headers( $with_id = true ) { … … 1658 1670 1659 1671 /** 1660 * Generates the table navigation above or below the table 1661 * 1662 * @since 3.1.0 1672 * Generates the table navigation above or below the table. 1673 * 1674 * @since 3.1.0 1675 * 1663 1676 * @param string $which The location of the navigation: Either 'top' or 'bottom'. 1664 1677 */ … … 1737 1750 1738 1751 /** 1739 * @param object|array $item 1740 * @param string $column_name 1752 * Handles an unknown column. 1753 * 1754 * @since 4.2.0 1755 * 1756 * @param object|array $item The current item. 1757 * @param string $column_name Name of the column. 1741 1758 */ 1742 1759 protected function column_default( $item, $column_name ) {} 1743 1760 1744 1761 /** 1745 * @param object|array $item 1762 * Handles the checkbox column output. 1763 * 1764 * @since 4.2.0 1765 * 1766 * @param object|array $item The current item. 1746 1767 */ 1747 1768 protected function column_cb( $item ) {}
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)