\MLASettings_View

Class MLA (Media Library Assistant) Settings View implements the Settings/Media Library Assistant Views tab

Summary

Methods
Properties
Constants
mla_admin_enqueue_scripts()
mla_compose_view_tab()
mla_inline_edit_view_action()
No public properties found
JAVASCRIPT_INLINE_EDIT_VIEW_OBJECT
No protected methods found
No protected properties found
N/A
_save_view_settings()
_compose_edit_view_tab()
No private properties found
N/A

Constants

JAVASCRIPT_INLINE_EDIT_VIEW_OBJECT

JAVASCRIPT_INLINE_EDIT_VIEW_OBJECT

Object name for localizing JavaScript - MLA View List Table

Methods

mla_admin_enqueue_scripts()

mla_admin_enqueue_scripts(string  $page_hook) 

Load the tab's Javascript files

Parameters

string $page_hook

Name of the page being loaded

mla_compose_view_tab()

mla_compose_view_tab() : array

Compose the Post MIME Type Views tab content for the Settings subpage

Returns

array —

'message' => status/error messages, 'body' => tab content

mla_inline_edit_view_action()

mla_inline_edit_view_action() : void

Ajax handler for Post MIME Types inline editing (quick and bulk edit)

Adapted from wp_ajax_inline_save in /wp-admin/includes/ajax-actions.php

_save_view_settings()

_save_view_settings() : array

Save View settings to the options table

Returns

array —

Message(s) reflecting the results of the operation

_compose_edit_view_tab()

_compose_edit_view_tab(  $view,   $template) : array

Compose the Edit View tab content for the Settings subpage

Parameters

$view
$template

Returns

array —

'message' => status/error messages, 'body' => tab content