Class WP_Data_Access_Admin
Defines admin specific functionality for plugin WP Data Access.
author | Peter Schulz |
---|---|
since | 1.0.0 |
package | plugin\admin |
__construct()
since | 1.0.0 |
---|
backup_page()
Calls a page to create automatic backups (in fact data exports) and offers possibilities to restore (in fact data imports).
since | 2.0.6 |
---|---|
see | \WPDataAccess\Backup\WPDA_Data_Export::show_wp_cron() |
data_designer_page()
Initialization of $this->wpda_data_designer_view is done earlier in \WP_Data_Access_Admin::add_menu_items() to support screen options. This method just shows the page containing the list table.
since | 1.0.0 |
---|---|
see | \WP_Data_Access_Admin::add_menu_items() |
data_designer_page_not_found()
data_explorer_page()
Initialization of $this->wpda_data_explorer_view is done earlier in \WP_Data_Access_Admin::add_menu_items() to support screen options. This method just shows the page containing the list table.
since | 1.0.0 |
---|---|
see | \WP_Data_Access_Admin::add_menu_items() |
data_publisher_page()
data_publisher_page_not_found()
enqueue_styles()
The following stylesheets are added:
The plugin stylesheet is used to style the setting forms \WPDataAccess\Settings\WPDA_Settings, simple forms \WPDataAccess\Simple_Form\WPDA_Simple_Form.
since | 1.0.0 |
---|---|
see | \WPDataAccess\Settings\WPDA_Settings |
see | \WPDataAccess\Simple_Form\WPDA_Simple_Form |
see | \WP_Data_Access_Public |
import_csv()
my_tables_page()
A user defined menu that are added to the plugin menu in \WP_Data_Access_Admin::add_menu_my_tables() is shown here. This method is called when the user clicks on the menu item generated in \WP_Data_Access_Admin::add_menu_my_tables().
since | 1.0.0 |
---|---|
see | \WP_Data_Access_Admin::add_menu_my_tables() |
add_data_projects()
grant_access_to_data_publications()
$page : null
null
$wpda_data_designer_view : \WPDataAccess\List_Table\WPDA_List_View
$wpda_data_explorer_view : \WPDataAccess\List_Table\WPDA_List_View
$wpda_data_publisher_view : \WPDataAccess\List_Table\WPDA_List_View
$wpda_help : string | false
$wpda_my_table_list_view : array
array()
PAGE_ADDONS = 'wpda_addons'
PAGE_DESIGNER = 'wpda_designer'
PAGE_EXPLORER = 'wpda_explorer'
PAGE_MAIN = 'wpda'
PAGE_MY_TABLES = 'wpda_my_tables'
PAGE_PUBLISHER = 'wpda_publisher'
PAGE_SETTINGS = 'wpda_settings'