| 1 |
<?php |
| 2 |
|
| 3 |
/** |
| 4 |
* Suppress "error - 0 - No summary was found for this file" on phpdoc generation |
| 5 |
* |
| 6 |
* @package WPDataProjects\Parent_Child |
| 7 |
*/ |
| 8 |
|
| 9 |
namespace WPDataProjects\Parent_Child { |
| 10 |
|
| 11 |
/** |
| 12 |
* Class WPDP_Child_List_Table_View extends WPDP_Child_List_Table |
| 13 |
* |
| 14 |
* @author Peter Schulz |
| 15 |
* @since 2.0.0 |
| 16 |
*/ |
| 17 |
class WPDP_Child_List_Table_View extends WPDP_Child_List_Table { |
| 18 |
|
| 19 |
/** |
| 20 |
* WPDP_Child_List_Table_View constructor |
| 21 |
* |
| 22 |
* @param array $args |
| 23 |
* |
| 24 |
* @see WPDP_Child_List_Table |
| 25 |
*/ |
| 26 |
public function __construct( $args = array() ) { |
| 27 |
$args['allow_update'] = 'off'; |
| 28 |
|
| 29 |
parent::__construct( $args ); |
| 30 |
|
| 31 |
$this->mode = 'view'; |
| 32 |
} |
| 33 |
|
| 34 |
/** |
| 35 |
* Overwrites method column_default_add_action |
| 36 |
* |
| 37 |
* @param array $item |
| 38 |
* @param string $column_name |
| 39 |
* @param array $actions |
| 40 |
* |
| 41 |
* @see WPDP_Child_List_Table::column_default_add_action() |
| 42 |
*/ |
| 43 |
protected function column_default_add_action( $item, $column_name, &$actions ) { } |
| 44 |
|
| 45 |
} |
| 46 |
|
| 47 |
} |
| 48 |
|