Changeset 29459 for trunk/src/wp-admin/includes/class-wp-list-table.php
- Timestamp:
- 08/10/2014 02:17:14 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-list-table.php
r29454 r29459 3 3 * Base class for displaying a list of items in an ajaxified HTML table. 4 4 * 5 * @since 3.1.0 6 * @access private 7 * 5 8 * @package WordPress 6 9 * @subpackage List_Table 7 * @since 3.1.08 * @access private9 10 */ 10 11 class WP_List_Table { … … 65 66 66 67 /** 67 * Constructor. The child class should call this constructor from its own constructor 68 * 69 * @param array $args An associative array with information about the current table 70 * @access protected 71 */ 68 * Constructor. 69 * 70 * The child class should call this constructor from its own constructor to override 71 * the default $args. 72 * 73 * @since 3.1.0 74 * 75 * @param array|string $args { 76 * Array or string of arguments. 77 * 78 * @type string $plural Plural value used for labels and the objects being listed. 79 * This affects things such as CSS class-names and nonces used 80 * in the list table, e.g. 'posts'. Default empty. 81 * @type string $singular Singular label for an object being listed, e.g. 'post'. 82 * Default empty 83 * @type bool $ajax Whether the list table supports AJAX. This includes loading 84 * and sorting data, for example. If true, the class will call 85 * the {@see _js_vars()} method in the footer to provide variables 86 * to any scripts handling AJAX events. Default false. 87 * @type string $screen String containing the hook name used to determine the current 88 * screen. If left null, the current screen will be automatically set. 89 * Default null. 90 * } 91 */ 72 92 public function __construct( $args = array() ) { 73 93 $args = wp_parse_args( $args, array(
Note: See TracChangeset
for help on using the changeset viewer.