| 1 |
<?php |
| 2 |
|
| 3 |
/** |
| 4 |
* Suppress "error - 0 - No summary was found for this file" on phpdoc generation |
| 5 |
* |
| 6 |
* @package WPDataProjects\Project |
| 7 |
*/ |
| 8 |
|
| 9 |
namespace WPDataProjects\Project { |
| 10 |
|
| 11 |
use WPDataProjects\Parent_Child\WPDP_Child_List_Table_View; |
| 12 |
|
| 13 |
/** |
| 14 |
* Class WPDP_Project_Page_List_View extends WPDP_Child_List_Table_View |
| 15 |
* |
| 16 |
* @see WPDP_Child_List_Table_View |
| 17 |
* |
| 18 |
* @author Peter Schulz |
| 19 |
* @since 2.0.0 |
| 20 |
*/ |
| 21 |
class WPDP_Project_Page_List_View extends WPDP_Child_List_Table_View { |
| 22 |
|
| 23 |
/** |
| 24 |
* WPDP_Project_Page_List_View constructor |
| 25 |
* |
| 26 |
* @param array $args |
| 27 |
*/ |
| 28 |
public function __construct( array $args = array() ) { |
| 29 |
// Add column labels. |
| 30 |
$args['column_headers'] = array( |
| 31 |
'project_id' => __( 'Project ID', 'wp-data-access' ), |
| 32 |
'page_id' => __( 'Page ID', 'wp-data-access' ), |
| 33 |
'page_name' => __( 'Menu Name', 'wp-data-access' ), |
| 34 |
'page_type' => __( 'Type', 'wp-data-access' ), |
| 35 |
'page_table_name' => __( 'Table Name', 'wp-data-access' ), |
| 36 |
'page_mode' => __( 'Mode', 'wp-data-access' ), |
| 37 |
'page_allow_insert' => __( 'Allow insert?', 'wp-data-access' ), |
| 38 |
'page_allow_delete' => __( 'Allow delete?', 'wp-data-access' ), |
| 39 |
'page_content' => __( 'Content', 'wp-data-access' ), |
| 40 |
'page_title' => __( 'Title', 'wp-data-access' ), |
| 41 |
'page_subtitle' => __( 'Subtitle', 'wp-data-access' ), |
| 42 |
'page_sequence' => __( 'Seq#', 'wp-data-access' ), |
| 43 |
); |
| 44 |
|
| 45 |
parent::__construct( $args ); |
| 46 |
} |
| 47 |
|
| 48 |
} |
| 49 |
|
| 50 |
} |
| 51 |
|