Media Library Assistant - Version 2.22

Version Description

  • New: Support for the Admin Columns plugin has been added. You can use Admin Columns to re-order, re-size and/or remove columns from the Media/Assistant submenu table. You can also add any of the Admin Columns "custom" columns to the table. See the Other Notes section section or the Settings/Media Library Assistant Documentation tab for more information.
  • New: For [mla_gallery] and [mla_tag_cloud], support for the "enclosing shortcode" syntax lets you spread shortcodes over multiple lines and avoids many of the problems caused by WordPress shortcode-parsing issues.
  • New: A new filter, mla_gallery_featured_image, allows modification of the Featured Image assigned to an item. A new example plugin, mla-default-featured-image-example.php.txt, has been added that uses the filter to supply a default Featured Image based on the item's file extension.
  • New: Two new filters,mla_list_table_extranav_actions and mla_list_table_extranav_custom_action, allow modifications of the "extra tablenav" controls on the Media/Assistant submenu. A new example plugin, /media-library-assistant/examples/mla-list-table-extranav.example.php.txt, has been added to illustrate their use.
  • New: Added shortcode support in "DOING_AJAX" mode for other plugins such as No Cache AJAX Widgets.
  • New: A new example plugin, mla-featured-field-shortcode.php.txt, has been added. It contains a shortcode that displays custom field content from the Featured Image on the post/page it is part of.
  • New: The mla-jhdean-mapping-hooks-example.php.txt example plugin has been extended to illustrate updating a custom field during the mapping process.
  • New: For the Media/Assistant submenu table, SQL views have been replaced by SQL subqueries for increased performance and reliability.
  • Fix: When new Media LIbrary items are uploaded via the Media Manager Modal (popup) Window, mapping rule execution has been restored.
  • Fix: When Polylang is active and the "Activate languages and translations for media" option is disabled, the MMMW taxonomy dropdown is populated with all terms regardless of language. The default settings of the Term Assignment, Synchronization and Mapping Replication options is changed to unchecked/disabled.
  • Fix: The Quick Edit Area in the Settings/Media Library Assistant Views and Uploads tabs has been restored.
  • Fix: Errors encountered while loading damaged mla-default-mime-types.tpl files no longer cause PHP messages. A message is written to the error log file and the damaged entry is ignored.
  • Fix: MIME type filters are now loaded unconditionally, preventing PHP errors in actions such as updating posts, pages and attachments from their Edit screens.
  • Fix: For [mla_gallery], MLA File Type Icons Support has been restored.
  • Fix: PHP7 changes no longer cause fatal errors rendering the Settings/Media Library Assistant General tab.
  • Fix: Support for WPML and Polylang DOING_AJAX handlers has been restored, e.g. Polylang Quick Edit and WPML flat term autocomplete.
Download this release

Release Info

Developer dglingren
Plugin Icon 128x128 Media Library Assistant
Version 2.22
Comparing to
See all releases

Code changes from version 2.21 to 2.22

Files changed (68) hide show
  1. examples/mla-default-featured-image-example.php.txt +96 -0
  2. examples/mla-featured-field-shortcode.php.txt +113 -0
  3. examples/mla-jhdean-mapping-hooks-example.php.txt +13 -4
  4. examples/mla-list-table-extranav-example.php.txt +155 -0
  5. examples/mla-list-table-hooks-example.php.txt +36 -2
  6. includes/class-mla-admin-columns-support.php +180 -0
  7. includes/class-mla-core.php +183 -0
  8. includes/class-mla-data-query.php +41 -124
  9. includes/class-mla-data.php +0 -129
  10. includes/class-mla-edit-media.php +3 -3
  11. includes/class-mla-list-table.php +50 -26
  12. includes/class-mla-main.php +4 -4
  13. includes/class-mla-media-modal.php +3 -3
  14. includes/class-mla-mime-types.php +15 -10
  15. includes/class-mla-options.php +1 -1
  16. includes/class-mla-polylang-support.php +51 -4
  17. includes/class-mla-settings.php +9 -9
  18. includes/class-mla-shortcode-support.php +73 -34
  19. includes/class-mla-shortcodes.php +6 -5
  20. includes/class-mla-thumbnail-generation.php +3 -3
  21. includes/class-mla-wpml-support.php +1 -1
  22. includes/mla-plugin-loader.php +17 -8
  23. index.php +2 -2
  24. phpDocs/classes.svg +158 -141
  25. phpDocs/classes/CPAC_Storage_Model_MLA.html +241 -0
  26. phpDocs/classes/MLA.html +1 -1
  27. phpDocs/classes/MLACore.html +62 -1
  28. phpDocs/classes/MLAData.html +1 -28
  29. phpDocs/classes/MLAData_source.html +6 -6
  30. phpDocs/classes/MLAEdit.html +1 -1
  31. phpDocs/classes/MLAImageProcessor.html +1 -1
  32. phpDocs/classes/MLAMime.html +1 -1
  33. phpDocs/classes/MLAModal.html +22 -22
  34. phpDocs/classes/MLAModal_Ajax.html +1 -1
  35. phpDocs/classes/MLAMutex.html +1 -1
  36. phpDocs/classes/MLAObjects.html +1 -1
  37. phpDocs/classes/MLAOptions.html +1 -1
  38. phpDocs/classes/MLAPDF.html +1 -1
  39. phpDocs/classes/MLAQuery.html +14 -53
  40. phpDocs/classes/MLAReferences.html +1 -1
  41. phpDocs/classes/MLASettings.html +1 -1
  42. phpDocs/classes/MLAShortcode_Support.html +12 -6
  43. phpDocs/classes/MLAShortcodes.html +6 -3
  44. phpDocs/classes/MLATest.html +1 -1
  45. phpDocs/classes/MLATextWidget.html +1 -1
  46. phpDocs/classes/MLA_Ajax.html +1 -1
  47. phpDocs/classes/MLA_Checklist_Walker.html +1 -1
  48. phpDocs/classes/MLA_List_Table.html +6 -6
  49. phpDocs/classes/MLA_Polylang.html +22 -1
  50. phpDocs/classes/MLA_Thumbnail.html +1 -1
  51. phpDocs/classes/MLA_Upload_List_Table.html +1 -1
  52. phpDocs/classes/MLA_Upload_Optional_List_Table.html +1 -1
  53. phpDocs/classes/MLA_View_List_Table.html +1 -1
  54. phpDocs/classes/MLA_WPML.html +1 -1
  55. phpDocs/classes/MLA_WPML_List_Table.html +6 -6
  56. phpDocs/classes/MLA_WPML_Table.html +1 -1
  57. phpDocs/classes/MNA_Pad_Counts_Walker.html +1 -1
  58. phpDocs/deprecated.html +1 -1
  59. phpDocs/errors.html +2 -1
  60. phpDocs/graph_class.html +1 -1
  61. phpDocs/index.html +1 -1
  62. phpDocs/markers.html +1 -1
  63. phpDocs/namespaces/global.html +12 -5
  64. phpDocs/packages/Media Library Assistant.MLA.Child.Theme.html +1 -1
  65. phpDocs/packages/Media Library Assistant.MLA.Child.html +1 -1
  66. phpDocs/packages/Media Library Assistant.MLA.html +1 -1
  67. phpDocs/packages/Media Library Assistant.html +15 -7
  68. phpDocs/structure.xml +0 -14993
examples/mla-default-featured-image-example.php.txt ADDED
@@ -0,0 +1,96 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ Plugin Name: MLA Default Featured Image Example
4
+ Plugin URI: http://fairtradejudaica.org/media-library-assistant-a-wordpress-plugin/
5
+ Description: Supplies a default "Featured Image" thumbnail based on item's file extension
6
+ Author: David Lingren
7
+ Version: 1.00
8
+ Author URI: http://fairtradejudaica.org/our-story/staff/
9
+
10
+ Copyright 2015 David Lingren
11
+
12
+ This program is free software; you can redistribute it and/or modify
13
+ it under the terms of the GNU General Public License as published by
14
+ the Free Software Foundation; either version 2 of the License, or
15
+ (at your option) any later version.
16
+
17
+ This program is distributed in the hope that it will be useful,
18
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
19
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20
+ GNU General Public License for more details.
21
+
22
+ You can get a copy of the GNU General Public License by writing to the
23
+ Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110, USA
24
+ */
25
+
26
+ /**
27
+ * Class MLA Default Featured Image Example supplies a default "Featured Image" thumbnail
28
+ * based on item's file extension
29
+ *
30
+ * @package MLA Default Featured Image Example
31
+ * @since 1.00
32
+ */
33
+ class MLADefaultFeaturedImage {
34
+ /**
35
+ * Initialization function, similar to __construct()
36
+ *
37
+ * @since 1.00
38
+ */
39
+ public static function initialize() {
40
+ global $wpdb;
41
+
42
+ // The filters are only useful for front-end posts/pages; exit if in the admin section
43
+ if ( is_admin() )
44
+ return;
45
+
46
+ // Build an array of extension to default image ID assignments
47
+ $query = "SELECT * FROM {$wpdb->postmeta} WHERE meta_key = 'default_thumbnail_for'";
48
+ $results = $wpdb->get_results( $query );
49
+
50
+ if ( is_array( $results ) ) {
51
+ foreach( $results as $result ) {
52
+ $extensions = array_map( 'strtolower', array_map( 'trim', explode( ',', $result->meta_value ) ) );
53
+ foreach ( $extensions as $extension ) {
54
+ self::$default_thumbnails[ $extension ] = absint( $result->post_id );
55
+ }
56
+ }
57
+
58
+ add_filter( 'mla_gallery_featured_image', 'MLADefaultFeaturedImage::mla_gallery_featured_image', 10, 4 );
59
+ }
60
+ }
61
+
62
+ /**
63
+ * Map file extensions to thumbnail items
64
+ *
65
+ * @since 1.00
66
+ *
67
+ * @var array ( extension => item_ID
68
+ */
69
+ private static $default_thumbnails = array();
70
+
71
+ /**
72
+ * Replace empty Featured Image tags with a default based on the item's file extension
73
+ *
74
+ * @since 1.00
75
+ *
76
+ * @param array parameter_name => parameter_value pairs
77
+ */
78
+ public static function mla_gallery_featured_image( $feature, $attachment, $size, $item_values ) {
79
+ if ( ! empty( $feature ) ) {
80
+ return $feature;
81
+ }
82
+
83
+ $extension = strtolower( pathinfo( $item_values['file'], PATHINFO_EXTENSION ) );
84
+ if ( isset( self::$default_thumbnails[ $extension ] ) ) {
85
+ $feature = wp_get_attachment_image( self::$default_thumbnails[ $extension ], $size, false, array( 'class' => 'attachment-thumbnail' ) );
86
+ }
87
+
88
+ return $feature;
89
+ } // mla_gallery_featured_image
90
+ } // Class MLADefaultFeaturedImage
91
+
92
+ /*
93
+ * Install the filters at an early opportunity
94
+ */
95
+ add_action('init', 'MLADefaultFeaturedImage::initialize');
96
+ ?>
examples/mla-featured-field-shortcode.php.txt ADDED
@@ -0,0 +1,113 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Inserts custom field content from a post/page Featured Image:
4
+ *
5
+ * 1. Finds the Featured Image for the post/page in which the shortcode is embedded
6
+ * 2. Finds the value of a custom field (default: img_html) assigned to the Featured Image item
7
+ * 3. Echoes the content of the custom field to the post/page
8
+ *
9
+ * Code [mla_featured_field] to return the content of the 'img_html' default custom field.
10
+ * Code [mla_featured_field field_name="Archive Date"] to return, for example, the "Archive Date" custom field.
11
+ *
12
+ * @package MLA Featured Field Shortcode
13
+ * @version 1.00
14
+ */
15
+
16
+ /*
17
+ Plugin Name: MLA Featured Field Shortcode Example
18
+ Plugin URI: http://fairtradejudaica.org/media-library-assistant-a-wordpress-plugin/
19
+ Description: Inserts custom field content from a post/page Featured Image
20
+ Author: David Lingren
21
+ Version: 1.00
22
+ Author URI: http://fairtradejudaica.org/our-story/staff/
23
+
24
+ Copyright 2015 David Lingren
25
+
26
+ This program is free software; you can redistribute it and/or modify
27
+ it under the terms of the GNU General Public License as published by
28
+ the Free Software Foundation; either version 2 of the License, or
29
+ (at your option) any later version.
30
+
31
+ This program is distributed in the hope that it will be useful,
32
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
33
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
34
+ GNU General Public License for more details.
35
+
36
+ You can get a copy of the GNU General Public License by writing to the
37
+ Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110, USA
38
+ */
39
+
40
+ /**
41
+ * Class MLA Featured Field Shortcode inserts custom field content from a post/page Featured Image
42
+ *
43
+ * @package MLA Featured Field Shortcode
44
+ * @since 1.00
45
+ */
46
+ class MLAFeaturedFieldShortcode {
47
+ /**
48
+ * Name a default custom field
49
+ */
50
+ const DEFAULT_FIELD = 'img_html';
51
+
52
+ /**
53
+ * Initialization function, similar to __construct()
54
+ *
55
+ * Adds the 'mla_featured_field' shortcode to WordPress
56
+ *
57
+ * @since 1.00
58
+ *
59
+ * @return void
60
+ */
61
+ public static function initialize() {
62
+ add_shortcode( 'mla_featured_field', 'MLAFeaturedFieldShortcode::mla_featured_field' );
63
+ }
64
+
65
+ /**
66
+ * WordPress Shortcode; inserts custom field content
67
+ *
68
+ * @since 1.00
69
+ *
70
+ * @param array shortcode parameters; defaults ( 'field_name' => DEFAULT_FIELD, 'ids' => '' )
71
+ *
72
+ * @return string post/page content to replace the shortcode
73
+ */
74
+ public static function mla_featured_field( $attr ) {
75
+ $default_arguments = array(
76
+ 'field_name' => MLAFeaturedFieldShortcode::DEFAULT_FIELD,
77
+ );
78
+
79
+ // Make sure $attr is an array, even if it's empty
80
+ if ( empty( $attr ) ) {
81
+ $attr = array();
82
+ } elseif ( is_string( $attr ) ) {
83
+ $attr = shortcode_parse_atts( $attr );
84
+ }
85
+
86
+ // Accept only the attributes we need and supply defaults
87
+ $arguments = shortcode_atts( $default_arguments, $attr );
88
+
89
+ // Make sure we have a post ID
90
+ $post_id = get_the_ID();
91
+ if ( empty( $post_id ) ) {
92
+ return '';
93
+ }
94
+
95
+ // Make sure we have a Featured Image
96
+ $feature_id = get_post_thumbnail_id( $post_id );
97
+ if ( empty( $feature_id ) ) {
98
+ return '';
99
+ }
100
+
101
+ // Get the custom field content
102
+ $content = get_post_custom_values( $arguments['field_name'], $feature_id );
103
+ if ( is_array( $content ) ) {
104
+ return current( $content );
105
+ }
106
+
107
+ return '';
108
+ } //mla_featured_field
109
+ } //MLAFeaturedFieldShortcode
110
+
111
+ // Install the shortcode at an early opportunity
112
+ add_action('init', 'MLAFeaturedFieldShortcode::initialize');
113
+ ?>
examples/mla-jhdean-mapping-hooks-example.php.txt CHANGED
@@ -5,7 +5,7 @@
5
  * In this example the Title is replaced by a hyperlink using the IPTC 2#005 Object Name value.
6
  *
7
  * @package MLA jhdean Mapping Hooks Example
8
- * @version 1.00
9
  */
10
 
11
  /*
@@ -13,7 +13,7 @@ Plugin Name: MLA jhdean Mapping Hooks Example
13
  Plugin URI: http://fairtradejudaica.org/media-library-assistant-a-wordpress-plugin/
14
  Description: Replace Title with hyperlink, for Jeff Dean.
15
  Author: David Lingren
16
- Version: 1.00
17
  Author URI: http://fairtradejudaica.org/our-story/staff/
18
 
19
  Copyright 2014 - 2015 David Lingren
@@ -116,17 +116,26 @@ class MLAjhdeanMappingHooksExample {
116
  'option' => 'raw'
117
  );
118
  $object_name = trim( MLAOptions::mla_get_data_source( $post_id, 'single_attachment_mapping', $my_setting, NULL ) );
119
-
120
  if ( ! empty( $object_name ) ) {
121
  $object_link = strtolower( str_replace( array( ' ', '-', '_', '.' ), '-', $object_name ) );
122
 
123
  $new_title = sprintf( '<a id="detail-title" target="blank" href="http://www.jhdstaging.jeffreyhdean.com/portfolio/%1$s/"> %2$s </a>', $object_link, $object_name );
124
 
 
 
125
  if ( $old_value != $new_title ) {
126
  $updates[ 'post_title' ] = $new_title;
 
 
 
 
 
 
 
127
  }
128
  }
129
-
130
  return $updates;
131
  } // mla_mapping_updates_filter
132
  } //MLAjhdeanMappingHooksExample
5
  * In this example the Title is replaced by a hyperlink using the IPTC 2#005 Object Name value.
6
  *
7
  * @package MLA jhdean Mapping Hooks Example
8
+ * @version 1.01
9
  */
10
 
11
  /*
13
  Plugin URI: http://fairtradejudaica.org/media-library-assistant-a-wordpress-plugin/
14
  Description: Replace Title with hyperlink, for Jeff Dean.
15
  Author: David Lingren
16
+ Version: 1.01
17
  Author URI: http://fairtradejudaica.org/our-story/staff/
18
 
19
  Copyright 2014 - 2015 David Lingren
116
  'option' => 'raw'
117
  );
118
  $object_name = trim( MLAOptions::mla_get_data_source( $post_id, 'single_attachment_mapping', $my_setting, NULL ) );
119
+
120
  if ( ! empty( $object_name ) ) {
121
  $object_link = strtolower( str_replace( array( ' ', '-', '_', '.' ), '-', $object_name ) );
122
 
123
  $new_title = sprintf( '<a id="detail-title" target="blank" href="http://www.jhdstaging.jeffreyhdean.com/portfolio/%1$s/"> %2$s </a>', $object_link, $object_name );
124
 
125
+ $new_jig_link = sprintf( 'http://www.jeffreyhdean.jhddevelopment.dev/portfolio/%1$s/', $object_link );
126
+
127
  if ( $old_value != $new_title ) {
128
  $updates[ 'post_title' ] = $new_title;
129
+
130
+ // Create or add to the custom field updates
131
+ if ( empty( $updates[ 'custom_updates' ] ) ) {
132
+ $updates[ 'custom_updates' ] = array();
133
+ }
134
+
135
+ $updates[ 'custom_updates' ][ 'jig_image_link' ] = $new_jig_link;
136
  }
137
  }
138
+
139
  return $updates;
140
  } // mla_mapping_updates_filter
141
  } //MLAjhdeanMappingHooksExample
examples/mla-list-table-extranav-example.php.txt ADDED
@@ -0,0 +1,155 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Adds an "author" dropdown control to the "extra tablenav" area of the Media/Assistant submenu
4
+ *
5
+ * @package MLA Extra Nav Hooks Example
6
+ * @version 1.01
7
+ */
8
+
9
+ /*
10
+ Plugin Name: MLA Extra Nav Hooks Example
11
+ Plugin URI: http://fairtradejudaica.org/media-library-assistant-a-wordpress-plugin/
12
+ Description: Adds an "author" dropdown control to the "extra tablenav" area of the Media/Assistant submenu
13
+ Author: David Lingren
14
+ Version: 1.01
15
+ Author URI: http://fairtradejudaica.org/our-story/staff/
16
+
17
+ Copyright 2014 - 2015 David Lingren
18
+
19
+ This program is free software; you can redistribute it and/or modify
20
+ it under the terms of the GNU General Public License as published by
21
+ the Free Software Foundation; either version 2 of the License, or
22
+ (at your option) any later version.
23
+
24
+ This program is distributed in the hope that it will be useful,
25
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
26
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
27
+ GNU General Public License for more details.
28
+
29
+ You can get a copy of the GNU General Public License by writing to the
30
+ Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110, USA
31
+ */
32
+
33
+ /**
34
+ * Class MLA List Table Extra Nav Example adds an "author" dropdown control
35
+ * to the "extra tablenav" area of the Media/Assistant submenu.
36
+ *
37
+ * @package MLA Extra Nav Example
38
+ * @since 1.00
39
+ */
40
+ class MLAListTableExtraNavExample {
41
+ /**
42
+ * Initialization function, similar to __construct()
43
+ *
44
+ * @since 1.00
45
+ *
46
+ * @return void
47
+ */
48
+ public static function initialize() {
49
+ /*
50
+ * The filters are only useful for the admin section; exit in the front-end posts/pages
51
+ */
52
+ if ( ! is_admin() )
53
+ return;
54
+
55
+ /*
56
+ * Defined in /media-library-assistant/includes/class-mla-list-table.php
57
+ */
58
+ add_filter( 'mla_list_table_extranav_actions', 'MLAListTableExtraNavExample::mla_list_table_extranav_actions', 10, 2 );
59
+ add_action( 'mla_list_table_extranav_custom_action', 'MLAListTableExtraNavExample::mla_list_table_extranav_custom_action', 10, 2 );
60
+ add_filter( 'mla_list_table_submenu_arguments', 'MLAListTableExtraNavExample::mla_list_table_submenu_arguments', 10, 2 );
61
+ add_filter( 'mla_list_table_query_final_terms', 'MLAListTableExtraNavExample::mla_list_table_query_final_terms', 10, 1 );
62
+ }
63
+
64
+ /**
65
+ * Add 'author' to the MLA_List_Table "extra tablenav" actions list
66
+ *
67
+ * @since 1.00
68
+ *
69
+ * @param array $actions An array of extranav action labels.
70
+ * @param string $which 'top' or 'bottom'.
71
+ */
72
+ public static function mla_list_table_extranav_actions( $actions, $which ) {
73
+ if ( 'bottom' === $which ) {
74
+ return $actions;
75
+ }
76
+
77
+ $new_actions = array();
78
+ foreach ( $actions as $action ) {
79
+ if ( 'mla_filter' === $action ) {
80
+ $new_actions[] = 'author';
81
+ }
82
+
83
+ $new_actions[] = $action;
84
+ }
85
+
86
+ if ( count( $new_actions ) === count( $actions ) ) {
87
+ $new_actions[] = 'author';
88
+ }
89
+
90
+ return $new_actions;
91
+ } // mla_list_table_extranav_actions
92
+
93
+ /**
94
+ * Echo the 'author' dropdown control
95
+ *
96
+ * @since 1.08
97
+ *
98
+ * @param array $action extranav action label.
99
+ * @param string $which 'top' or 'bottom'.
100
+ */
101
+ public static function mla_list_table_extranav_custom_action( $action, $which ) {
102
+ if ( 'author' === $action ) {
103
+ $users_opt = array(
104
+ 'show_option_none' => 'All Authors',
105
+ 'hide_if_only_one_author' => false,
106
+ 'who' => 'authors',
107
+ 'name' => 'author',
108
+ 'class'=> 'authors',
109
+ 'multi' => 1,
110
+ 'echo' => 0
111
+ );
112
+
113
+ if ( isset( $_REQUEST['author'] ) && $_REQUEST['author'] > 0 ) {
114
+ $users_opt['selected'] = $_REQUEST['author'];
115
+ $users_opt['include_selected'] = true;
116
+ }
117
+
118
+ echo wp_dropdown_users( $users_opt );
119
+ }
120
+ } // mla_list_table_extranav_custom_action
121
+
122
+ /**
123
+ * Remove 'author' from the "sticky" submenu URL parameters
124
+ *
125
+ * @since 1.00
126
+ *
127
+ * @param array $submenu_arguments Current view, pagination and sort parameters.
128
+ * @param object $include_filters True to include "filter-by" parameters, e.g., year/month dropdown.
129
+ */
130
+ public static function mla_list_table_submenu_arguments( $submenu_arguments, $include_filters ) {
131
+ unset( $submenu_arguments['author'] );
132
+ return $submenu_arguments;
133
+ } // mla_list_table_submenu_arguments
134
+
135
+ /**
136
+ * Remove 'author' from the query parameters when it is '-1'
137
+ *
138
+ * @since 1.01
139
+ *
140
+ * @param array $query_terms Current query parameters.
141
+ */
142
+ public static function mla_list_table_query_final_terms( $query_terms ) {
143
+ if ( isset( $_REQUEST['author'] ) && $_REQUEST['author'] < 0 ) {
144
+ unset( $query_terms['author'] );
145
+ }
146
+
147
+ return $query_terms;
148
+ } // mla_list_table_query_final_terms
149
+ }// Class MLAListTableExtraNavExample
150
+
151
+ /*
152
+ * Install the filters at an early opportunity
153
+ */
154
+ add_action('init', 'MLAListTableExtraNavExample::initialize');
155
+ ?>
examples/mla-list-table-hooks-example.php.txt CHANGED
@@ -3,7 +3,7 @@
3
  * Provides an example of hooking the filters provided by the MLA_List_Table class
4
  *
5
  * @package MLA List Table Hooks Example
6
- * @version 1.07
7
  */
8
 
9
  /*
@@ -11,7 +11,7 @@ Plugin Name: MLA List Table Hooks Example
11
  Plugin URI: http://fairtradejudaica.org/media-library-assistant-a-wordpress-plugin/
12
  Description: Provides an example of hooking the filters provided by the MLA_List_Table class
13
  Author: David Lingren
14
- Version: 1.07
15
  Author URI: http://fairtradejudaica.org/our-story/staff/
16
 
17
  Copyright 2014 - 2015 David Lingren
@@ -120,6 +120,8 @@ class MLAListTableHooksExample {
120
  add_filter( 'mla_list_table_get_hidden_columns', 'MLAListTableHooksExample::mla_list_table_get_hidden_columns', 10, 1 );
121
  add_filter( 'mla_list_table_get_sortable_columns', 'MLAListTableHooksExample::mla_list_table_get_sortable_columns', 10, 1 );
122
  add_filter( 'mla_list_table_get_bulk_actions', 'MLAListTableHooksExample::mla_list_table_get_bulk_actions', 10, 1 );
 
 
123
  add_filter( 'mla_list_table_column_default', 'MLAListTableHooksExample::mla_list_table_column_default', 10, 3 );
124
 
125
  add_filter( 'mla_list_table_submenu_arguments', 'MLAListTableHooksExample::mla_list_table_submenu_arguments', 10, 2 );
@@ -815,6 +817,38 @@ class MLAListTableHooksExample {
815
  return $actions;
816
  } // mla_list_table_get_bulk_actions
817
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
818
  /**
819
  * Supply a column value if no column-specific function has been defined
820
  *
3
  * Provides an example of hooking the filters provided by the MLA_List_Table class
4
  *
5
  * @package MLA List Table Hooks Example
6
+ * @version 1.08
7
  */
8
 
9
  /*
11
  Plugin URI: http://fairtradejudaica.org/media-library-assistant-a-wordpress-plugin/
12
  Description: Provides an example of hooking the filters provided by the MLA_List_Table class
13
  Author: David Lingren
14
+ Version: 1.08
15
  Author URI: http://fairtradejudaica.org/our-story/staff/
16
 
17
  Copyright 2014 - 2015 David Lingren
120
  add_filter( 'mla_list_table_get_hidden_columns', 'MLAListTableHooksExample::mla_list_table_get_hidden_columns', 10, 1 );
121
  add_filter( 'mla_list_table_get_sortable_columns', 'MLAListTableHooksExample::mla_list_table_get_sortable_columns', 10, 1 );
122
  add_filter( 'mla_list_table_get_bulk_actions', 'MLAListTableHooksExample::mla_list_table_get_bulk_actions', 10, 1 );
123
+ add_filter( 'mla_list_table_extranav_actions', 'MLAListTableHooksExample::mla_list_table_extranav_actions', 10, 2 );
124
+ add_action( 'mla_list_table_extranav_custom_action', 'MLAListTableHooksExample::mla_list_table_extranav_custom_action', 10, 2 );
125
  add_filter( 'mla_list_table_column_default', 'MLAListTableHooksExample::mla_list_table_column_default', 10, 3 );
126
 
127
  add_filter( 'mla_list_table_submenu_arguments', 'MLAListTableHooksExample::mla_list_table_submenu_arguments', 10, 2 );
817
  return $actions;
818
  } // mla_list_table_get_bulk_actions
819
 
820
+ /**
821
+ * Filter the MLA_List_Table "extra tablenav" actions list
822
+ *
823
+ * This MLA-specific filter gives you an opportunity to add, remove and/or re-order the
824
+ * controls added to the top & bottom table navigation areas.
825
+ *
826
+ * @since 1.08
827
+ *
828
+ * @param array $actions An array of extranav action labels.
829
+ * @param string $which 'top' or 'bottom'.
830
+ */
831
+ public static function mla_list_table_extranav_actions( $actions, $which ) {
832
+ error_log( "MLAListTableHooksExample::mla_list_table_extranav_actions( {$which} ) $actions = " . var_export( $actions, true ), 0 );
833
+ return $actions;
834
+ } // mla_list_table_get_bulk_actions
835
+
836
+ /**
837
+ * Supply a custom MLA_List_Table "extra tablenav" action
838
+ *
839
+ * Called when the MLA_List_Table can't find a value for an extranav action.
840
+ * Echo the HTML content of the custom action, return nothing.
841
+ *
842
+ * @since 1.08
843
+ *
844
+ * @param array $action extranav action label.
845
+ * @param string $which 'top' or 'bottom'.
846
+ */
847
+ public static function mla_list_table_extranav_actions( $actions, $which ) {
848
+ error_log( "MLAListTableHooksExample::mla_list_table_extranav_actions( {$which} ) $actions = " . var_export( $actions, true ), 0 );
849
+ return $actions;
850
+ } // mla_list_table_get_bulk_actions
851
+
852
  /**
853
  * Supply a column value if no column-specific function has been defined
854
  *
includes/class-mla-admin-columns-support.php ADDED
@@ -0,0 +1,180 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Media Library Assistant Admin Columns (plugin) Support
4
+ *
5
+ * @package Media Library Assistant
6
+ * @since 2.22
7
+ */
8
+ defined( 'ABSPATH' ) or die();
9
+
10
+ /**
11
+ * Class CPAC Storage Model MLA (Media Library Assistant) supports the Admin Columns plugin
12
+ *
13
+ * @package Media Library Assistant
14
+ * @since 2.22
15
+ */
16
+ class CPAC_Storage_Model_MLA extends CPAC_Storage_Model {
17
+ /**
18
+ * Initializes some properties, installs filters and then
19
+ * calls the parent constructor to set some default configs.
20
+ *
21
+ * @since 2.22
22
+ */
23
+ public function __construct() {
24
+ $this->key = 'mla-media-assistant';
25
+ $this->label = __( 'Media Library Assistant' );
26
+ $this->singular_label = __( 'Assistant' );
27
+ $this->type = 'media';
28
+ $this->meta_type = 'post';
29
+ $this->page = 'upload';
30
+ $this->post_type = 'attachment';
31
+ $this->menu_type = 'other';
32
+
33
+ // Increased the priority to overrule 3th party plugins such as Media Tags
34
+ add_filter( 'manage_media_page_' . MLACore::ADMIN_PAGE_SLUG . '_columns', array( $this, 'add_headings' ), 100 );
35
+ add_filter( 'mla_list_table_column_default', array( $this, 'manage_value' ), 100, 3 );
36
+
37
+ parent::__construct();
38
+ }
39
+
40
+ /**
41
+ * Returns the Media/Assistant submenu table column definitions
42
+ *
43
+ * @since 2.22
44
+ *
45
+ * @return array ( 'column_slug' => 'column_heading' )
46
+ */
47
+ public function get_default_columns() {
48
+ if ( ! class_exists( 'MLAQuery' ) ) {
49
+ require_once( MLA_PLUGIN_PATH . 'includes/class-mla-data-query.php' );
50
+ MLAQuery::initialize();
51
+ }
52
+
53
+ return apply_filters( 'mla_list_table_get_columns', MLAQuery::$default_columns );
54
+ }
55
+
56
+ /**
57
+ * Returns the Media/Assistant submenu table column slugs/keys
58
+ *
59
+ * @since 2.22
60
+ *
61
+ * @return array ( index => 'column_slug' )
62
+ */
63
+ public function get_default_column_names() {
64
+ if ( ! class_exists( 'MLAQuery' ) ) {
65
+ require_once( MLA_PLUGIN_PATH . 'includes/class-mla-data-query.php' );
66
+ MLAQuery::initialize();
67
+ }
68
+
69
+ return array_keys( apply_filters( 'mla_list_table_get_columns', MLAQuery::$default_columns ) );
70
+ }
71
+
72
+ /**
73
+ * Returns the custom fields assignedto Media Library items, removing those already present
74
+ * in the Media/Assistant submenu table
75
+ *
76
+ * @since 2.22
77
+ *
78
+ * @return array ( index => array( 0 => 'custom field name' ) )
79
+ */
80
+ public function get_meta() {
81
+ global $wpdb;
82
+
83
+ /*
84
+ * Find all of the custom field names assigned to Media Library items
85
+ */
86
+ $meta = $wpdb->get_results( "SELECT DISTINCT meta_key FROM {$wpdb->postmeta} pm JOIN {$wpdb->posts} p ON pm.post_id = p.ID WHERE p.post_type = 'attachment' ORDER BY 1", ARRAY_N );
87
+
88
+ /*
89
+ * Find the fields already present in the submenu table
90
+ */
91
+ $mla_columns = apply_filters( 'mla_list_table_get_columns', MLAQuery::$default_columns );
92
+ $mla_custom = array();
93
+ foreach ( $mla_columns as $slug => $heading ) {
94
+ if ( 'c_' === substr( $slug, 0, 2 ) ) {
95
+ $mla_custom[] = $heading;
96
+ }
97
+ }
98
+
99
+ /*
100
+ * Remove the fields already present in the submenu table
101
+ */
102
+ foreach ( $meta as $index => $value ) {
103
+ if ( in_array( esc_html( current( $value ) ), $mla_custom ) ) {
104
+ unset( $meta[ $index ] );
105
+ }
106
+ }
107
+
108
+ return $meta;
109
+ }
110
+
111
+ /**
112
+ * Return the content of an Admin Columns custom column
113
+ *
114
+ * @since 2.22
115
+ *
116
+ * @param string $content Current column content (empty string)
117
+ * @param object $item Current Media Library item
118
+ * @param string $column_name Current column slug
119
+ *
120
+ * @return string Column value or NULL if not an Admin Columns custom column
121
+ */
122
+ public function manage_value( $content, $item, $column_name ) {
123
+ $media_id = $item->ID;
124
+
125
+ if ( ! ( $column = $this->get_column_by_name( $column_name ) ) ) {
126
+ return NULL;
127
+ }
128
+
129
+ $value = $column->get_value( $media_id );
130
+
131
+ // hooks
132
+ $value = apply_filters( "cac/column/value", $value, $media_id, $column, $this->key );
133
+ $value = apply_filters( "cac/column/value/{$this->type}", $value, $media_id, $column, $this->key );
134
+
135
+ return $value;
136
+ }
137
+
138
+ /**
139
+ * Test for current screen = the Media/Assistant submenu screen
140
+ *
141
+ * @since 2.22
142
+ *
143
+ * @return boolean true if the Media/Assistant submenu is the current screen
144
+ */
145
+ public function is_columns_screen() {
146
+ $is_columns_screen = parent::is_columns_screen();
147
+
148
+ if ( ! $is_columns_screen ) {
149
+ if ( ! empty( $_REQUEST['page'] ) && 'mla-menu' == $_REQUEST['page'] ) {
150
+ $is_columns_screen = true;
151
+ }
152
+ }
153
+
154
+ return $is_columns_screen;
155
+ }
156
+
157
+ /**
158
+ * Return a link to the Media/Assistant submenu screen
159
+ *
160
+ * @since 2.22
161
+ *
162
+ * @return string Link to the Media/Assistant submenu screen
163
+ */
164
+ protected function get_screen_link() {
165
+ return is_network_admin() ? network_admin_url( $this->page . '.php?page=mla-menu' ) : admin_url( $this->page . '.php?page=mla-menu' );
166
+ }
167
+
168
+ /**
169
+ * Return a link to the Media/Assistant submenu Edit columns screen
170
+ *
171
+ * @since 2.22
172
+ *
173
+ * @return string Link to the Media/Assistant submenu Edit columns screen
174
+ */
175
+ public function get_edit_link() {
176
+ return add_query_arg( array( 'page' => 'codepress-admin-columns',
177
+ 'cpac_key' => $this->key
178
+ ), admin_url( 'options-general.php' ) );
179
+ }
180
+ } // class CPAC_Storage_Model_MLA
includes/class-mla-core.php CHANGED
@@ -1542,6 +1542,135 @@ class MLACore {
1542
  return false;
1543
  }
1544
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1545
  /**
1546
  * Determine MLA support for a taxonomy, handling the special case where the
1547
  * settings are being updated or reset.
@@ -2243,6 +2372,49 @@ class MLACore {
2243
  break;
2244
  }
2245
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2246
  } // Class MLACore
2247
 
2248
  /**
@@ -2312,4 +2484,15 @@ class MLA_Checklist_Walker extends Walker_Category {
2312
  */
2313
  require_once( MLA_PLUGIN_PATH . 'includes/class-mla-objects.php' );
2314
  add_action( 'init', 'MLAObjects::initialize', 0x7FFFFFFF );
 
 
 
 
 
 
 
 
 
 
 
2315
  ?>
1542
  return false;
1543
  }
1544
 
1545
+ /**
1546
+ * Load an HTML template from a file
1547
+ *
1548
+ * Loads a template to a string or a multi-part template to an array.
1549
+ * Multi-part templates are divided by comments of the form <!-- template="key" -->,
1550
+ * where "key" becomes the key part of the array.
1551
+ *
1552
+ * @since 0.1
1553
+ *
1554
+ * @param string Complete path and/or name of the template file, option name or the raw template
1555
+ * @param string Optional type of template source; 'path', 'file' (default), 'option', 'string'
1556
+ *
1557
+ * @return string|array|false|NULL
1558
+ * string for files that do not contain template divider comments,
1559
+ * array for files containing template divider comments,
1560
+ * false if file or option does not exist,
1561
+ * NULL if file could not be loaded.
1562
+ */
1563
+ public static function mla_load_template( $source, $type = 'file' ) {
1564
+ switch ( $type ) {
1565
+ case 'file':
1566
+ /*
1567
+ * Look in three places, in this order:
1568
+ * 1) Custom templates
1569
+ * 2) Language-specific templates
1570
+ * 3) Standard templates
1571
+ */
1572
+ $text_domain = 'media-library-assistant';
1573
+ $locale = apply_filters( 'mla_plugin_locale', get_locale(), $text_domain );
1574
+ $path = trailingslashit( WP_LANG_DIR ) . $text_domain . '/tpls/' . $locale . '/' . $source;
1575
+ if ( file_exists( $path ) ) {
1576
+ $source = $path;
1577
+ } else {
1578
+ $path = MLA_PLUGIN_PATH . 'languages/tpls/' . $locale . '/' . $source;
1579
+ if ( file_exists( $path ) ) {
1580
+ $source = $path;
1581
+ } else {
1582
+ $source = MLA_PLUGIN_PATH . 'tpls/' . $source;
1583
+ }
1584
+ }
1585
+ // fallthru
1586
+ case 'path':
1587
+ if ( !file_exists( $source ) ) {
1588
+ return false;
1589
+ }
1590
+
1591
+ $template = file_get_contents( $source, true );
1592
+ if ( $template == false ) {
1593
+ /* translators: 1: ERROR tag 2: path and file name */
1594
+ error_log( sprintf( _x( '%1$s: mla_load_template file "%2$s" not found.', 'error_log', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), var_export( $source, true ) ), 0 );
1595
+ return NULL;
1596
+ }
1597
+ break;
1598
+ case 'option':
1599
+ $template = MLACore::mla_get_option( $source );
1600
+ if ( $template == false ) {
1601
+ return false;
1602
+ }
1603
+ break;
1604
+ case 'string':
1605
+ $template = $source;
1606
+ if ( empty( $template ) ) {
1607
+ return false;
1608
+ }
1609
+ break;
1610
+ default:
1611
+ /* translators: 1: ERROR tag 2: path and file name 3: source type, e.g., file, option, string */
1612
+ error_log( sprintf( _x( '%1$s: mla_load_template file "%2$s" bad source type "%3$s".', 'error_log', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), $source, $type ), 0 );
1613
+ return NULL;
1614
+ }
1615
+
1616
+ $match_count = preg_match_all( '#\<!-- template=".+" --\>#', $template, $matches, PREG_OFFSET_CAPTURE );
1617
+
1618
+ if ( ( $match_count == false ) || ( $match_count == 0 ) ) {
1619
+ return $template;
1620
+ }
1621
+
1622
+ $matches = array_reverse( $matches[0] );
1623
+
1624
+ $template_array = array();
1625
+ $current_offset = strlen( $template );
1626
+ foreach ( $matches as $key => $value ) {
1627
+ $template_key = preg_split( '#"#', $value[0] );
1628
+ $template_key = $template_key[1];
1629
+ $template_value = substr( $template, $value[1] + strlen( $value[0] ), $current_offset - ( $value[1] + strlen( $value[0] ) ) );
1630
+ /*
1631
+ * Trim exactly one newline sequence from the start of the value
1632
+ */
1633
+ if ( 0 === strpos( $template_value, "\r\n" ) ) {
1634
+ $offset = 2;
1635
+ } elseif ( 0 === strpos( $template_value, "\n\r" ) ) {
1636
+ $offset = 2;
1637
+ } elseif ( 0 === strpos( $template_value, "\n" ) ) {
1638
+ $offset = 1;
1639
+ } elseif ( 0 === strpos( $template_value, "\r" ) ) {
1640
+ $offset = 1;
1641
+ } else {
1642
+ $offset = 0;
1643
+ }
1644
+
1645
+ $template_value = substr( $template_value, $offset );
1646
+
1647
+ /*
1648
+ * Trim exactly one newline sequence from the end of the value
1649
+ */
1650
+ $length = strlen( $template_value );
1651
+ if ( $length > 2) {
1652
+ $postfix = substr( $template_value, ($length - 2), 2 );
1653
+ } else {
1654
+ $postfix = $template_value;
1655
+ }
1656
+
1657
+ if ( 0 === strpos( $postfix, "\r\n" ) ) {
1658
+ $length -= 2;
1659
+ } elseif ( 0 === strpos( $postfix, "\n\r" ) ) {
1660
+ $length -= 2;
1661
+ } elseif ( 0 === strpos( $postfix, "\n" ) ) {
1662
+ $length -= 1;
1663
+ } elseif ( 0 === strpos( $postfix, "\r" ) ) {
1664
+ $length -= 1;
1665
+ }
1666
+
1667
+ $template_array[ $template_key ] = substr( $template_value, 0, $length );
1668
+ $current_offset = $value[1];
1669
+ } // foreach $matches
1670
+
1671
+ return $template_array;
1672
+ }
1673
+
1674
  /**
1675
  * Determine MLA support for a taxonomy, handling the special case where the
1676
  * settings are being updated or reset.
2372
  break;
2373
  }
2374
  }
2375
+
2376
+ /**
2377
+ * Admin Columns support storage model object for the Media/Assistant submenu
2378
+ *
2379
+ * @since 2.22
2380
+ *
2381
+ * @var object
2382
+ */
2383
+ public static $admin_columns_storage_model = NULL;
2384
+
2385
+ /**
2386
+ * Define the Media/Assistant submenu screen to the Admin Columns plugin
2387
+ *
2388
+ * @since 2.22
2389
+ *
2390
+ * @param array $storage_models List of storage model class instances ( [key] => [CPAC_Storage_Model object] )
2391
+ * @param object $cpac CPAC, the root CodePress Admin Columns object
2392
+ */
2393
+ public static function admin_columns_support( $storage_models, $cpac ) {
2394
+ require_once( MLA_PLUGIN_PATH . 'includes/class-mla-admin-columns-support.php' );
2395
+ MLACore::$admin_columns_storage_model = new CPAC_Storage_Model_MLA();
2396
+
2397
+ /*
2398
+ * Put MLA before WP Media Library so is_columns_screen() will work
2399
+ */
2400
+ $new_models = array();
2401
+ foreach ( $storage_models as $key => $model ) {
2402
+ if ( 'wp-media' == $key ) {
2403
+ $new_models[ MLACore::$admin_columns_storage_model->key ] = MLACore::$admin_columns_storage_model;
2404
+ }
2405
+
2406
+ $new_models[ $key ] = $model;
2407
+ }
2408
+
2409
+ /*
2410
+ * If we didn't find wp-media, add our entry to the end
2411
+ */
2412
+ if ( count( $storage_models ) == count( $new_models ) ) {
2413
+ $new_models[ $storage_model->key ] = MLACore::$admin_columns_storage_model;
2414
+ }
2415
+
2416
+ return $new_models;
2417
+ }
2418
  } // Class MLACore
2419
 
2420
  /**
2484
  */
2485
  require_once( MLA_PLUGIN_PATH . 'includes/class-mla-objects.php' );
2486
  add_action( 'init', 'MLAObjects::initialize', 0x7FFFFFFF );
2487
+
2488
+ /*
2489
+ * MIME Type functions; some filters required in all modes.
2490
+ */
2491
+ require_once( MLA_PLUGIN_PATH . 'includes/class-mla-mime-types.php' );
2492
+ add_action( 'init', 'MLAMime::initialize', 0x7FFFFFFF );
2493
+
2494
+ /*
2495
+ * Admin Columns plugin support
2496
+ */
2497
+ add_filter( 'cac/storage_models', 'MLACore::admin_columns_support', 10, 2 );
2498
  ?>
includes/class-mla-data-query.php CHANGED
@@ -15,42 +15,24 @@
15
  */
16
  class MLAQuery {
17
  /**
18
- * Provides a unique suffix for the ALT Text "Search Media" SQL View
19
  *
20
- * The SQL View is used to filter the Media/Assistant submenu table by
21
  * ALT Text with the Search Media text box.
22
  *
23
  * @since 0.40
24
  */
25
- const MLA_ALT_TEXT_VIEW_SUFFIX = 'alt_text_view';
26
 
27
  /**
28
- * Provides a unique name for the ALT Text "Search Media" SQL View
29
  *
30
- * @since 0.40
31
- *
32
- * @var array
33
- */
34
- private static $mla_alt_text_view = NULL;
35
-
36
- /**
37
- * Provides a unique suffix for the custom field "orderby" SQL View
38
- *
39
- * The SQL View is used to sort the Media/Assistant submenu table on
40
  * ALT Text and custom field columns.
41
  *
42
  * @since 2.15
43
  */
44
- const MLA_ORDERBY_VIEW_SUFFIX = 'orderby_view';
45
-
46
- /**
47
- * Provides a unique name for the custom field "orderby" SQL View
48
- *
49
- * @since 2.15
50
- *
51
- * @var array
52
- */
53
- private static $mla_orderby_view = NULL;
54
 
55
  /**
56
  * Provides a unique suffix for the "Table View custom:" SQL View
@@ -60,16 +42,7 @@ class MLAQuery {
60
  *
61
  * @since 2.15
62
  */
63
- const MLA_TABLE_VIEW_CUSTOM_SUFFIX = 'table_view_custom';
64
-
65
- /**
66
- * Provides a unique name for the "Table View custom:" SQL View
67
- *
68
- * @since 2.15
69
- *
70
- * @var array
71
- */
72
- private static $mla_table_view_custom = NULL;
73
 
74
  /**
75
  * WordPress version test for $wpdb->esc_like() Vs esc_sql()
@@ -86,11 +59,6 @@ class MLAQuery {
86
  * @since 0.1
87
  */
88
  public static function initialize() {
89
- global $table_prefix;
90
-
91
- self::$mla_alt_text_view = $table_prefix . MLA_OPTION_PREFIX . self::MLA_ALT_TEXT_VIEW_SUFFIX;
92
- self::$mla_orderby_view = $table_prefix . MLA_OPTION_PREFIX . self::MLA_ORDERBY_VIEW_SUFFIX;
93
- self::$mla_table_view_custom = $table_prefix . MLA_OPTION_PREFIX . self::MLA_TABLE_VIEW_CUSTOM_SUFFIX;
94
  self::$wp_4dot0_plus = version_compare( get_bloginfo('version'), '4.0', '>=' );
95
 
96
  /*
@@ -107,6 +75,13 @@ class MLAQuery {
107
  } // supported taxonomy
108
  } // foreach $tax_name
109
 
 
 
 
 
 
 
 
110
  self::$default_columns = array_merge( self::$default_columns, MLACore::mla_custom_field_support( 'default_columns' ) );
111
  self::$default_hidden_columns = array_merge( self::$default_hidden_columns, MLACore::mla_custom_field_support( 'default_hidden_columns' ) );
112
  self::$default_sortable_columns = array_merge( self::$default_sortable_columns, MLACore::mla_custom_field_support( 'default_sortable_columns' ) );
@@ -894,7 +869,7 @@ class MLAQuery {
894
  /*
895
  * Pass query and search parameters to the filters for _execute_list_table_query
896
  */
897
- self::$query_parameters = array( 'use_alt_text_view' => false, 'use_postmeta_view' => false, 'use_orderby_view' => false, 'orderby' => $clean_request['orderby'], 'order' => $clean_request['order'] );
898
  self::$query_parameters['detached'] = isset( $clean_request['detached'] ) ? $clean_request['detached'] : NULL;
899
  self::$search_parameters = array( 'debug' => 'none' );
900
 
@@ -903,7 +878,7 @@ class MLAQuery {
903
  * Matching a wildcard pattern requires mainpulating the WHERE clause, too
904
  */
905
  if ( isset( $clean_request['meta_query']['key'] ) ) {
906
- self::$query_parameters['use_postmeta_view'] = true;
907
  self::$query_parameters['postmeta_key'] = $clean_request['meta_query']['key'];
908
  self::$query_parameters['postmeta_value'] = NULL;
909
  unset( $clean_request['meta_query'] );
@@ -955,7 +930,7 @@ class MLAQuery {
955
  self::$search_parameters['exact'] = isset( $clean_request['exact'] );
956
 
957
  if ( in_array( 'alt-text', self::$search_parameters['mla_search_fields'] ) ) {
958
- self::$query_parameters['use_alt_text_view'] = true;
959
  }
960
 
961
  if ( in_array( 'terms', self::$search_parameters['mla_search_fields'] ) ) {
@@ -976,8 +951,8 @@ class MLAQuery {
976
  if ( 'c_' == substr( $clean_request['orderby'], 0, 2 ) ) {
977
  $option_value = MLAQuery::mla_custom_field_option_value( $clean_request['orderby'] );
978
  if ( isset( $option_value['name'] ) ) {
979
- self::$query_parameters['use_orderby_view'] = true;
980
- self::$query_parameters['postmeta_key'] = $option_value['name'];
981
 
982
  if ( isset($clean_request['orderby']) ) {
983
  unset($clean_request['orderby']);
@@ -994,8 +969,8 @@ class MLAQuery {
994
  * so we'll handle it in the JOIN and ORDERBY filters
995
  */
996
  case '_wp_attachment_image_alt':
997
- self::$query_parameters['use_orderby_view'] = true;
998
- self::$query_parameters['postmeta_key'] = '_wp_attachment_image_alt';
999
 
1000
  if ( isset($clean_request['orderby']) ) {
1001
  unset($clean_request['orderby']);
@@ -1100,56 +1075,6 @@ class MLAQuery {
1100
  private static function _execute_list_table_query( $request ) {
1101
  global $wpdb;
1102
 
1103
- /*
1104
- * ALT Text searches, custom field Table Views and custom field sorts are
1105
- * special; we have to use an SQL VIEW to build an intermediate table and
1106
- * modify the JOIN to include posts with no value for the metadata field.
1107
- */
1108
- if ( self::$query_parameters['use_alt_text_view'] ) {
1109
- $alt_text_view_name = self::$mla_alt_text_view;
1110
- $key_name = '_wp_attachment_image_alt';
1111
- $table_name = $wpdb->postmeta;
1112
-
1113
- $result = $wpdb->query(
1114
- "
1115
- CREATE OR REPLACE VIEW {$alt_text_view_name} AS
1116
- SELECT post_id, meta_value
1117
- FROM {$table_name}
1118
- WHERE {$table_name}.meta_key = '{$key_name}'
1119
- "
1120
- );
1121
- }
1122
-
1123
- if ( self::$query_parameters['use_postmeta_view'] ) {
1124
- $postmeta_view_name = self::$mla_table_view_custom;
1125
- $key_name = self::$query_parameters['postmeta_key'];
1126
- $table_name = $wpdb->postmeta;
1127
-
1128
- $result = $wpdb->query(
1129
- "
1130
- CREATE OR REPLACE VIEW {$postmeta_view_name} AS
1131
- SELECT post_id, meta_value
1132
- FROM {$table_name}
1133
- WHERE {$table_name}.meta_key = '{$key_name}'
1134
- "
1135
- );
1136
- }
1137
-
1138
- if ( self::$query_parameters['use_orderby_view'] ) {
1139
- $orderby_view_name = self::$mla_orderby_view;
1140
- $key_name = self::$query_parameters['postmeta_key'];
1141
- $table_name = $wpdb->postmeta;
1142
-
1143
- $result = $wpdb->query(
1144
- "
1145
- CREATE OR REPLACE VIEW {$orderby_view_name} AS
1146
- SELECT post_id, meta_value
1147
- FROM {$table_name}
1148
- WHERE {$table_name}.meta_key = '{$key_name}'
1149
- "
1150
- );
1151
- }
1152
-
1153
  add_filter( 'posts_search', 'MLAQuery::mla_query_posts_search_filter', 10, 2 ); // $search, &$this
1154
  add_filter( 'posts_where', 'MLAQuery::mla_query_posts_where_filter' );
1155
  add_filter( 'posts_join', 'MLAQuery::mla_query_posts_join_filter' );
@@ -1200,18 +1125,6 @@ class MLAQuery {
1200
  remove_filter( 'posts_where', 'MLAQuery::mla_query_posts_where_filter' );
1201
  remove_filter( 'posts_search', 'MLAQuery::mla_query_posts_search_filter' );
1202
 
1203
- if ( self::$query_parameters['use_alt_text_view'] ) {
1204
- $result = $wpdb->query( "DROP VIEW {$alt_text_view_name}" );
1205
- }
1206
-
1207
- if ( self::$query_parameters['use_postmeta_view'] ) {
1208
- $result = $wpdb->query( "DROP VIEW {$postmeta_view_name}" );
1209
- }
1210
-
1211
- if ( self::$query_parameters['use_orderby_view'] ) {
1212
- $result = $wpdb->query( "DROP VIEW {$orderby_view_name}" );
1213
- }
1214
-
1215
  return $results;
1216
  }
1217
 
@@ -1518,7 +1431,7 @@ class MLAQuery {
1518
  }
1519
 
1520
  if ( in_array( 'alt-text', $fields ) ) {
1521
- $view_name = self::$mla_alt_text_view;
1522
  $inner_clause .= "{$inner_connector}({$view_name}.meta_value LIKE {$sql_term})";
1523
  $inner_connector = ' OR ';
1524
  }
@@ -1668,7 +1581,7 @@ class MLAQuery {
1668
  * Matching a NULL meta value
1669
  */
1670
  if ( array_key_exists( 'postmeta_value', self::$query_parameters ) && NULL == self::$query_parameters['postmeta_value'] ) {
1671
- $where_clause .= ' AND ' . self::$mla_table_view_custom . '.meta_value IS NULL';
1672
  }
1673
 
1674
  /*
@@ -1723,29 +1636,33 @@ class MLAQuery {
1723
 
1724
  /*
1725
  * ALT Text searches, custom field Table Views and custom field sorts are
1726
- * special; we have to use an SQL VIEW to build an intermediate table and
1727
- * modify the JOIN to include posts with no value for this metadata field.
 
1728
  */
1729
- if ( self::$query_parameters['use_alt_text_view'] ) {
1730
- $join_clause .= sprintf( ' LEFT JOIN %1$s ON (%2$s.ID = %1$s.post_id)', self::$mla_alt_text_view, $wpdb->posts );
 
1731
  }
1732
 
1733
- if ( self::$query_parameters['use_postmeta_view'] ) {
1734
- $join_clause .= sprintf( ' LEFT JOIN %1$s ON (%2$s.ID = %1$s.post_id)', self::$mla_table_view_custom, $wpdb->posts );
 
1735
  }
1736
 
1737
- if ( self::$query_parameters['use_orderby_view'] ) {
1738
- $join_clause .= sprintf( ' LEFT JOIN %1$s ON (%2$s.ID = %1$s.post_id)', self::$mla_orderby_view, $wpdb->posts );
 
1739
  }
1740
 
1741
  /*
1742
- * custom field sorts are special; we have to use an SQL VIEW to
1743
- * build an intermediate table and modify the JOIN to include posts with
1744
  * no value for this metadata field.
1745
  */
1746
  if ( isset( self::$query_parameters['orderby'] ) ) {
1747
  if ( ( 'c_' == substr( self::$query_parameters['orderby'], 0, 2 ) ) || ( '_wp_attachment_image_alt' == self::$query_parameters['orderby'] ) ) {
1748
- $orderby = self::$mla_orderby_view . '.meta_value';
1749
  }
1750
  }
1751
 
@@ -1786,7 +1703,7 @@ class MLAQuery {
1786
  public static function mla_query_posts_groupby_filter( $groupby_clause ) {
1787
  global $wpdb;
1788
 
1789
- if ( ( ! empty( self::$query_parameters['use_postmeta_view'] ) ) || ( ! empty( self::$query_parameters['use_alt_text_view'] ) ) || ( ! empty( self::$query_parameters['use_orderby_view'] ) ) || isset( self::$search_parameters['tax_terms_count'] ) ) {
1790
  $groupby_clause = "{$wpdb->posts}.ID";
1791
  }
1792
 
@@ -1814,7 +1731,7 @@ class MLAQuery {
1814
 
1815
  if ( isset( self::$query_parameters['orderby'] ) ) {
1816
  if ( 'c_' == substr( self::$query_parameters['orderby'], 0, 2 ) ) {
1817
- $orderby = self::$mla_orderby_view . '.meta_value';
1818
  } /* custom field sort */ else {
1819
  switch ( self::$query_parameters['orderby'] ) {
1820
  case 'none':
@@ -1846,7 +1763,7 @@ class MLAQuery {
1846
  * use the view we prepared to get attachments with no meta data value
1847
  */
1848
  case '_wp_attachment_image_alt':
1849
- $orderby = self::$mla_orderby_view . '.meta_value';
1850
  break;
1851
  default:
1852
  $orderby = $wpdb->posts . '.' . self::$query_parameters['orderby'];
15
  */
16
  class MLAQuery {
17
  /**
18
+ * Provides a unique value for the ALT Text "Search Media" subquery
19
  *
20
+ * The subquery is used to filter the Media/Assistant submenu table by
21
  * ALT Text with the Search Media text box.
22
  *
23
  * @since 0.40
24
  */
25
+ const MLA_ALT_TEXT_SUBQUERY = 'alt_text_subquery';
26
 
27
  /**
28
+ * Provides a unique suffix for the custom field "orderby" subquery
29
  *
30
+ * The subquery is used to sort the Media/Assistant submenu table on
 
 
 
 
 
 
 
 
 
31
  * ALT Text and custom field columns.
32
  *
33
  * @since 2.15
34
  */
35
+ const MLA_ORDERBY_SUBQUERY = 'orderby_subquery';
 
 
 
 
 
 
 
 
 
36
 
37
  /**
38
  * Provides a unique suffix for the "Table View custom:" SQL View
42
  *
43
  * @since 2.15
44
  */
45
+ const MLA_TABLE_VIEW_SUBQUERY = 'table_view_subquery';
 
 
 
 
 
 
 
 
 
46
 
47
  /**
48
  * WordPress version test for $wpdb->esc_like() Vs esc_sql()
59
  * @since 0.1
60
  */
61
  public static function initialize() {
 
 
 
 
 
62
  self::$wp_4dot0_plus = version_compare( get_bloginfo('version'), '4.0', '>=' );
63
 
64
  /*
75
  } // supported taxonomy
76
  } // foreach $tax_name
77
 
78
+ /*
79
+ * For WP 4.3+ icon will be merged with the first visible preferred column
80
+ */
81
+ if ( MLATest::$wp_4dot3_plus ) {
82
+ unset( self::$default_columns['icon'] );
83
+ }
84
+
85
  self::$default_columns = array_merge( self::$default_columns, MLACore::mla_custom_field_support( 'default_columns' ) );
86
  self::$default_hidden_columns = array_merge( self::$default_hidden_columns, MLACore::mla_custom_field_support( 'default_hidden_columns' ) );
87
  self::$default_sortable_columns = array_merge( self::$default_sortable_columns, MLACore::mla_custom_field_support( 'default_sortable_columns' ) );
869
  /*
870
  * Pass query and search parameters to the filters for _execute_list_table_query
871
  */
872
+ self::$query_parameters = array( 'use_alt_text_subquery' => false, 'use_postmeta_subquery' => false, 'use_orderby_subquery' => false, 'orderby' => $clean_request['orderby'], 'order' => $clean_request['order'] );
873
  self::$query_parameters['detached'] = isset( $clean_request['detached'] ) ? $clean_request['detached'] : NULL;
874
  self::$search_parameters = array( 'debug' => 'none' );
875
 
878
  * Matching a wildcard pattern requires mainpulating the WHERE clause, too
879
  */
880
  if ( isset( $clean_request['meta_query']['key'] ) ) {
881
+ self::$query_parameters['use_postmeta_subquery'] = true;
882
  self::$query_parameters['postmeta_key'] = $clean_request['meta_query']['key'];
883
  self::$query_parameters['postmeta_value'] = NULL;
884
  unset( $clean_request['meta_query'] );
930
  self::$search_parameters['exact'] = isset( $clean_request['exact'] );
931
 
932
  if ( in_array( 'alt-text', self::$search_parameters['mla_search_fields'] ) ) {
933
+ self::$query_parameters['use_alt_text_subquery'] = true;
934
  }
935
 
936
  if ( in_array( 'terms', self::$search_parameters['mla_search_fields'] ) ) {
951
  if ( 'c_' == substr( $clean_request['orderby'], 0, 2 ) ) {
952
  $option_value = MLAQuery::mla_custom_field_option_value( $clean_request['orderby'] );
953
  if ( isset( $option_value['name'] ) ) {
954
+ self::$query_parameters['use_orderby_subquery'] = true;
955
+ self::$query_parameters['orderby_key'] = $option_value['name'];
956
 
957
  if ( isset($clean_request['orderby']) ) {
958
  unset($clean_request['orderby']);
969
  * so we'll handle it in the JOIN and ORDERBY filters
970
  */
971
  case '_wp_attachment_image_alt':
972
+ self::$query_parameters['use_orderby_subquery'] = true;
973
+ self::$query_parameters['orderby_key'] = '_wp_attachment_image_alt';
974
 
975
  if ( isset($clean_request['orderby']) ) {
976
  unset($clean_request['orderby']);
1075
  private static function _execute_list_table_query( $request ) {
1076
  global $wpdb;
1077
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1078
  add_filter( 'posts_search', 'MLAQuery::mla_query_posts_search_filter', 10, 2 ); // $search, &$this
1079
  add_filter( 'posts_where', 'MLAQuery::mla_query_posts_where_filter' );
1080
  add_filter( 'posts_join', 'MLAQuery::mla_query_posts_join_filter' );
1125
  remove_filter( 'posts_where', 'MLAQuery::mla_query_posts_where_filter' );
1126
  remove_filter( 'posts_search', 'MLAQuery::mla_query_posts_search_filter' );
1127
 
 
 
 
 
 
 
 
 
 
 
 
 
1128
  return $results;
1129
  }
1130
 
1431
  }
1432
 
1433
  if ( in_array( 'alt-text', $fields ) ) {
1434
+ $view_name = self::MLA_ALT_TEXT_SUBQUERY;
1435
  $inner_clause .= "{$inner_connector}({$view_name}.meta_value LIKE {$sql_term})";
1436
  $inner_connector = ' OR ';
1437
  }
1581
  * Matching a NULL meta value
1582
  */
1583
  if ( array_key_exists( 'postmeta_value', self::$query_parameters ) && NULL == self::$query_parameters['postmeta_value'] ) {
1584
+ $where_clause .= ' AND ' . self::MLA_TABLE_VIEW_SUBQUERY . '.meta_value IS NULL';
1585
  }
1586
 
1587
  /*
1636
 
1637
  /*
1638
  * ALT Text searches, custom field Table Views and custom field sorts are
1639
+ * special; we have to use a subquery to build an intermediate table and
1640
+ * modify the JOIN to include posts with no value for the metadata field.
1641
+ * Three clauses are used because all three conditions can be present at once.
1642
  */
1643
+ if ( self::$query_parameters['use_alt_text_subquery'] ) {
1644
+ $sub_query = sprintf( 'SELECT post_id, meta_value FROM %1$s WHERE %1$s.meta_key = \'%2$s\'', $wpdb->postmeta, '_wp_attachment_image_alt' );
1645
+ $join_clause .= sprintf( ' LEFT JOIN ( %1$s ) %2$s ON (%3$s.ID = %2$s.post_id)', $sub_query, self::MLA_ALT_TEXT_SUBQUERY, $wpdb->posts );
1646
  }
1647
 
1648
+ if ( self::$query_parameters['use_postmeta_subquery'] ) {
1649
+ $sub_query = sprintf( 'SELECT post_id, meta_value FROM %1$s WHERE %1$s.meta_key = \'%2$s\'', $wpdb->postmeta, self::$query_parameters['postmeta_key'] );
1650
+ $join_clause .= sprintf( ' LEFT JOIN ( %1$s ) %2$s ON (%3$s.ID = %2$s.post_id)', $sub_query, self::MLA_TABLE_VIEW_SUBQUERY, $wpdb->posts );
1651
  }
1652
 
1653
+ if ( self::$query_parameters['use_orderby_subquery'] ) {
1654
+ $sub_query = sprintf( 'SELECT post_id, meta_value FROM %1$s WHERE %1$s.meta_key = \'%2$s\'', $wpdb->postmeta, self::$query_parameters['orderby_key'] );
1655
+ $join_clause .= sprintf( ' LEFT JOIN ( %1$s ) %2$s ON (%3$s.ID = %2$s.post_id)', $sub_query, self::MLA_ORDERBY_SUBQUERY, $wpdb->posts );
1656
  }
1657
 
1658
  /*
1659
+ * Custom field sorts are special; we have to use a subquery to build
1660
+ * an intermediate table and modify the JOIN to include posts with
1661
  * no value for this metadata field.
1662
  */
1663
  if ( isset( self::$query_parameters['orderby'] ) ) {
1664
  if ( ( 'c_' == substr( self::$query_parameters['orderby'], 0, 2 ) ) || ( '_wp_attachment_image_alt' == self::$query_parameters['orderby'] ) ) {
1665
+ $orderby = self::MLA_ORDERBY_SUBQUERY . '.meta_value';
1666
  }
1667
  }
1668
 
1703
  public static function mla_query_posts_groupby_filter( $groupby_clause ) {
1704
  global $wpdb;
1705
 
1706
+ if ( ( ! empty( self::$query_parameters['use_postmeta_subquery'] ) ) || ( ! empty( self::$query_parameters['use_alt_text_subquery'] ) ) || ( ! empty( self::$query_parameters['use_orderby_subquery'] ) ) || isset( self::$search_parameters['tax_terms_count'] ) ) {
1707
  $groupby_clause = "{$wpdb->posts}.ID";
1708
  }
1709
 
1731
 
1732
  if ( isset( self::$query_parameters['orderby'] ) ) {
1733
  if ( 'c_' == substr( self::$query_parameters['orderby'], 0, 2 ) ) {
1734
+ $orderby = self::MLA_ORDERBY_SUBQUERY . '.meta_value';
1735
  } /* custom field sort */ else {
1736
  switch ( self::$query_parameters['orderby'] ) {
1737
  case 'none':
1763
  * use the view we prepared to get attachments with no meta data value
1764
  */
1765
  case '_wp_attachment_image_alt':
1766
+ $orderby = self::MLA_ORDERBY_SUBQUERY . '.meta_value';
1767
  break;
1768
  default:
1769
  $orderby = $wpdb->posts . '.' . self::$query_parameters['orderby'];
includes/class-mla-data.php CHANGED
@@ -30,135 +30,6 @@ class MLAData {
30
  add_action( 'add_attachment', 'MLAData::mla_save_post_action', 10, 1);
31
  }
32
 
33
- /**
34
- * Load an HTML template from a file
35
- *
36
- * Loads a template to a string or a multi-part template to an array.
37
- * Multi-part templates are divided by comments of the form <!-- template="key" -->,
38
- * where "key" becomes the key part of the array.
39
- *
40
- * @since 0.1
41
- *
42
- * @param string Complete path and/or name of the template file, option name or the raw template
43
- * @param string Optional type of template source; 'path', 'file' (default), 'option', 'string'
44
- *
45
- * @return string|array|false|NULL
46
- * string for files that do not contain template divider comments,
47
- * array for files containing template divider comments,
48
- * false if file or option does not exist,
49
- * NULL if file could not be loaded.
50
- */
51
- public static function mla_load_template( $source, $type = 'file' ) {
52
- switch ( $type ) {
53
- case 'file':
54
- /*
55
- * Look in three places, in this order:
56
- * 1) Custom templates
57
- * 2) Language-specific templates
58
- * 3) Standard templates
59
- */
60
- $text_domain = 'media-library-assistant';
61
- $locale = apply_filters( 'mla_plugin_locale', get_locale(), $text_domain );
62
- $path = trailingslashit( WP_LANG_DIR ) . $text_domain . '/tpls/' . $locale . '/' . $source;
63
- if ( file_exists( $path ) ) {
64
- $source = $path;
65
- } else {
66
- $path = MLA_PLUGIN_PATH . 'languages/tpls/' . $locale . '/' . $source;
67
- if ( file_exists( $path ) ) {
68
- $source = $path;
69
- } else {
70
- $source = MLA_PLUGIN_PATH . 'tpls/' . $source;
71
- }
72
- }
73
- // fallthru
74
- case 'path':
75
- if ( !file_exists( $source ) ) {
76
- return false;
77
- }
78
-
79
- $template = file_get_contents( $source, true );
80
- if ( $template == false ) {
81
- /* translators: 1: ERROR tag 2: path and file name */
82
- error_log( sprintf( _x( '%1$s: mla_load_template file "%2$s" not found.', 'error_log', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), var_export( $source, true ) ), 0 );
83
- return NULL;
84
- }
85
- break;
86
- case 'option':
87
- $template = MLACore::mla_get_option( $source );
88
- if ( $template == false ) {
89
- return false;
90
- }
91
- break;
92
- case 'string':
93
- $template = $source;
94
- if ( empty( $template ) ) {
95
- return false;
96
- }
97
- break;
98
- default:
99
- /* translators: 1: ERROR tag 2: path and file name 3: source type, e.g., file, option, string */
100
- error_log( sprintf( _x( '%1$s: mla_load_template file "%2$s" bad source type "%3$s".', 'error_log', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), $source, $type ), 0 );
101
- return NULL;
102
- }
103
-
104
- $match_count = preg_match_all( '#\<!-- template=".+" --\>#', $template, $matches, PREG_OFFSET_CAPTURE );
105
-
106
- if ( ( $match_count == false ) || ( $match_count == 0 ) ) {
107
- return $template;
108
- }
109
-
110
- $matches = array_reverse( $matches[0] );
111
-
112
- $template_array = array();
113
- $current_offset = strlen( $template );
114
- foreach ( $matches as $key => $value ) {
115
- $template_key = preg_split( '#"#', $value[0] );
116
- $template_key = $template_key[1];
117
- $template_value = substr( $template, $value[1] + strlen( $value[0] ), $current_offset - ( $value[1] + strlen( $value[0] ) ) );
118
- /*
119
- * Trim exactly one newline sequence from the start of the value
120
- */
121
- if ( 0 === strpos( $template_value, "\r\n" ) ) {
122
- $offset = 2;
123
- } elseif ( 0 === strpos( $template_value, "\n\r" ) ) {
124
- $offset = 2;
125
- } elseif ( 0 === strpos( $template_value, "\n" ) ) {
126
- $offset = 1;
127
- } elseif ( 0 === strpos( $template_value, "\r" ) ) {
128
- $offset = 1;
129
- } else {
130
- $offset = 0;
131
- }
132
-
133
- $template_value = substr( $template_value, $offset );
134
-
135
- /*
136
- * Trim exactly one newline sequence from the end of the value
137
- */
138
- $length = strlen( $template_value );
139
- if ( $length > 2) {
140
- $postfix = substr( $template_value, ($length - 2), 2 );
141
- } else {
142
- $postfix = $template_value;
143
- }
144
-
145
- if ( 0 === strpos( $postfix, "\r\n" ) ) {
146
- $length -= 2;
147
- } elseif ( 0 === strpos( $postfix, "\n\r" ) ) {
148
- $length -= 2;
149
- } elseif ( 0 === strpos( $postfix, "\n" ) ) {
150
- $length -= 1;
151
- } elseif ( 0 === strpos( $postfix, "\r" ) ) {
152
- $length -= 1;
153
- }
154
-
155
- $template_array[ $template_key ] = substr( $template_value, 0, $length );
156
- $current_offset = $value[1];
157
- } // foreach $matches
158
-
159
- return $template_array;
160
- }
161
-
162
  /**
163
  * Find a complete template, balancing opening and closing delimiters
164
  *
30
  add_action( 'add_attachment', 'MLAData::mla_save_post_action', 10, 1);
31
  }
32
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
33
  /**
34
  * Find a complete template, balancing opening and closing delimiters
35
  *
includes/class-mla-edit-media.php CHANGED
@@ -310,7 +310,7 @@ class MLAEdit {
310
  }
311
  }
312
 
313
- $page_template_array = MLAData::mla_load_template( 'mla-add-new-bulk-edit.tpl' );
314
  if ( ! is_array( $page_template_array ) ) {
315
  /* translators: 1: ERROR tag 2: function name 3: non-array value */
316
  error_log( sprintf( _x( '%1$s: %2$s non-array "%3$s"', 'error_log', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), 'MLAEdit::mla_post_upload_ui', var_export( $page_template_array, true ) ), 0 );
@@ -667,7 +667,7 @@ class MLAEdit {
667
  * Upload New Media Bulk Edit Area
668
  */
669
  if ( ( 'media' == $screen->id ) && ( 'add' == $screen->action ) ) {
670
- $template_array = MLAData::mla_load_template( 'help-for-upload-new-media.tpl' );
671
  if ( empty( $template_array ) ) {
672
  return $admin_title;
673
  }
@@ -717,7 +717,7 @@ class MLAEdit {
717
  return $admin_title;
718
  }
719
 
720
- $template_array = MLAData::mla_load_template( 'help-for-edit_attachment.tpl' );
721
  if ( empty( $template_array ) ) {
722
  return $admin_title;
723
  }
310
  }
311
  }
312
 
313
+ $page_template_array = MLACore::mla_load_template( 'mla-add-new-bulk-edit.tpl' );
314
  if ( ! is_array( $page_template_array ) ) {
315
  /* translators: 1: ERROR tag 2: function name 3: non-array value */
316
  error_log( sprintf( _x( '%1$s: %2$s non-array "%3$s"', 'error_log', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), 'MLAEdit::mla_post_upload_ui', var_export( $page_template_array, true ) ), 0 );
667
  * Upload New Media Bulk Edit Area
668
  */
669
  if ( ( 'media' == $screen->id ) && ( 'add' == $screen->action ) ) {
670
+ $template_array = MLACore::mla_load_template( 'help-for-upload-new-media.tpl' );
671
  if ( empty( $template_array ) ) {
672
  return $admin_title;
673
  }
717
  return $admin_title;
718
  }
719
 
720
+ $template_array = MLACore::mla_load_template( 'help-for-edit_attachment.tpl' );
721
  if ( empty( $template_array ) ) {
722
  return $admin_title;
723
  }
includes/class-mla-list-table.php CHANGED
@@ -151,16 +151,17 @@ class MLA_List_Table extends WP_List_Table {
151
  * @since 1.20
152
  *
153
  * @param integer currently selected term_id || zero (default)
 
154
  *
155
  * @return string HTML markup for dropdown box
156
  */
157
- public static function mla_get_taxonomy_filter_dropdown( $selected = 0 ) {
158
  $dropdown = '';
159
  $tax_filter = MLACore::mla_taxonomy_support('', 'filter');
160
 
161
  if ( ( '' != $tax_filter ) && ( is_object_in_taxonomy( 'attachment', $tax_filter ) ) ) {
162
  $tax_object = get_taxonomy( $tax_filter );
163
- $dropdown_options = array(
164
  'show_option_all' => __( 'All', 'media-library-assistant' ) . ' ' . $tax_object->labels->name,
165
  'show_option_none' => __( 'No', 'media-library-assistant' ) . ' ' . $tax_object->labels->name,
166
  'orderby' => 'name',
@@ -181,7 +182,7 @@ class MLA_List_Table extends WP_List_Table {
181
  'pad_counts' => false,
182
  'taxonomy' => $tax_filter,
183
  'hide_if_empty' => false
184
- );
185
 
186
  ob_start();
187
  wp_dropdown_categories( $dropdown_options );
@@ -338,13 +339,6 @@ class MLA_List_Table extends WP_List_Table {
338
  * @return array list of table columns
339
  */
340
  public static function mla_manage_columns_filter( ) {
341
- /*
342
- * For WP 4.3+ icon will be merged with the first visible preferred column
343
- */
344
- if ( MLATest::$wp_4dot3_plus ) {
345
- unset( self::$default_columns['icon'] );
346
- }
347
-
348
  return apply_filters( 'mla_list_table_get_columns', self::$default_columns );
349
  }
350
 
@@ -1721,34 +1715,64 @@ class MLA_List_Table extends WP_List_Table {
1721
  *
1722
  * @param string 'top' or 'bottom', i.e., above or below the table rows
1723
  *
1724
- * @return array Contains all the bulk actions: 'slugs'=>'Visible Titles'
1725
  */
1726
  function extra_tablenav( $which ) {
1727
- echo ( '<div class="alignleft actions">' );
1728
-
 
1729
  if ( 'top' == $which ) {
1730
- $this->months_dropdown( 'attachment' );
1731
-
1732
- echo self::mla_get_taxonomy_filter_dropdown( isset( $_REQUEST['mla_filter_term'] ) ? $_REQUEST['mla_filter_term'] : 0 );
1733
-
1734
- submit_button( __( 'Filter', 'media-library-assistant' ), 'secondary', 'mla_filter', false, array(
1735
- 'id' => 'post-query-submit'
1736
- ) );
1737
 
1738
  $term_search_taxonomies = MLACore::mla_supported_taxonomies('term-search');
1739
  if ( ! empty( $term_search_taxonomies ) ) {
1740
- submit_button( __( 'Terms Search', 'media-library-assistant' ), 'secondary', 'mla_filter', false, array(
1741
- 'id' => 'mla-terms-search-open', 'onclick' => 'mlaTaxonomy.termsSearch.open()'
1742
- ) );
1743
  }
 
 
1744
  }
1745
 
1746
  if ( self::mla_submenu_arguments( true ) != self::mla_submenu_arguments( false ) ) {
1747
- submit_button( __( 'Clear Filter-by', 'media-library-assistant' ), 'button apply', 'clear_filter_by', false );
1748
  }
1749
-
1750
  if ( $this->is_trash && current_user_can( 'edit_others_posts' ) ) {
1751
- submit_button( __( 'Empty Trash', 'media-library-assistant' ), 'button apply', 'delete_all', false );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1752
  }
1753
 
1754
  echo ( '</div>' );
151
  * @since 1.20
152
  *
153
  * @param integer currently selected term_id || zero (default)
154
+ * @param array additional wp_dropdown_categories options; default empty
155
  *
156
  * @return string HTML markup for dropdown box
157
  */
158
+ public static function mla_get_taxonomy_filter_dropdown( $selected = 0, $dropdown_options = array() ) {
159
  $dropdown = '';
160
  $tax_filter = MLACore::mla_taxonomy_support('', 'filter');
161
 
162
  if ( ( '' != $tax_filter ) && ( is_object_in_taxonomy( 'attachment', $tax_filter ) ) ) {
163
  $tax_object = get_taxonomy( $tax_filter );
164
+ $dropdown_options = array_merge( array(
165
  'show_option_all' => __( 'All', 'media-library-assistant' ) . ' ' . $tax_object->labels->name,
166
  'show_option_none' => __( 'No', 'media-library-assistant' ) . ' ' . $tax_object->labels->name,
167
  'orderby' => 'name',
182
  'pad_counts' => false,
183
  'taxonomy' => $tax_filter,
184
  'hide_if_empty' => false
185
+ ), $dropdown_options );
186
 
187
  ob_start();
188
  wp_dropdown_categories( $dropdown_options );
339
  * @return array list of table columns
340
  */
341
  public static function mla_manage_columns_filter( ) {
 
 
 
 
 
 
 
342
  return apply_filters( 'mla_list_table_get_columns', self::$default_columns );
343
  }
344
 
1715
  *
1716
  * @param string 'top' or 'bottom', i.e., above or below the table rows
1717
  *
1718
+ * @return void
1719
  */
1720
  function extra_tablenav( $which ) {
1721
+ /*
1722
+ * Decide which actions to show
1723
+ */
1724
  if ( 'top' == $which ) {
1725
+ $actions = array( 'month', 'mla_filter_term', 'mla_filter' );
 
 
 
 
 
 
1726
 
1727
  $term_search_taxonomies = MLACore::mla_supported_taxonomies('term-search');
1728
  if ( ! empty( $term_search_taxonomies ) ) {
1729
+ $actions[] = 'terms_search';
 
 
1730
  }
1731
+ } else {
1732
+ $actions = array();
1733
  }
1734
 
1735
  if ( self::mla_submenu_arguments( true ) != self::mla_submenu_arguments( false ) ) {
1736
+ $actions[] = 'clear_filter_by';
1737
  }
1738
+
1739
  if ( $this->is_trash && current_user_can( 'edit_others_posts' ) ) {
1740
+ $actions[] = 'delete_all';
1741
+ }
1742
+
1743
+ $actions = apply_filters( 'mla_list_table_extranav_actions', $actions, $which );
1744
+
1745
+ if ( empty( $actions ) ) {
1746
+ return;
1747
+ }
1748
+
1749
+ echo ( '<div class="alignleft actions">' );
1750
+
1751
+ foreach ( $actions as $action ) {
1752
+ switch ( $action ) {
1753
+ case 'month':
1754
+ $this->months_dropdown( 'attachment' );
1755
+ break;
1756
+ case 'mla_filter_term':
1757
+ echo self::mla_get_taxonomy_filter_dropdown( isset( $_REQUEST['mla_filter_term'] ) ? $_REQUEST['mla_filter_term'] : 0 );
1758
+ break;
1759
+ case 'mla_filter':
1760
+ submit_button( __( 'Filter', 'media-library-assistant' ), 'secondary', 'mla_filter', false, array( 'id' => 'post-query-submit' ) );
1761
+ break;
1762
+ case 'terms_search':
1763
+ submit_button( __( 'Terms Search', 'media-library-assistant' ), 'secondary', 'mla_terms_search', false, array(
1764
+ 'id' => 'mla-terms-search-open', 'onclick' => 'mlaTaxonomy.termsSearch.open()'
1765
+ ) );
1766
+ break;
1767
+ case 'clear_filter_by':
1768
+ submit_button( __( 'Clear Filter-by', 'media-library-assistant' ), 'button apply', 'clear_filter_by', false );
1769
+ break;
1770
+ case 'delete_all':
1771
+ submit_button( __( 'Empty Trash', 'media-library-assistant' ), 'button apply', 'delete_all', false );
1772
+ break;
1773
+ default:
1774
+ do_action( 'mla_list_table_extranav_custom_action', $action, $which );
1775
+ }
1776
  }
1777
 
1778
  echo ( '</div>' );
includes/class-mla-main.php CHANGED
@@ -29,7 +29,7 @@ class MLA {
29
  *
30
  * @var string
31
  */
32
- const CURRENT_MLA_VERSION = '2.21';
33
 
34
  /**
35
  * Current date for Development Version, empty for production versions
@@ -698,7 +698,7 @@ class MLA {
698
 
699
  $template_array = apply_filters( 'mla_list_table_help_template', NULL, 'help-for-' . $file_suffix . '.tpl', $file_suffix );
700
  if ( is_null( $template_array ) ) {
701
- $template_array = MLAData::mla_load_template( 'help-for-' . $file_suffix . '.tpl' );
702
  }
703
 
704
  if ( empty( $template_array ) ) {
@@ -1873,7 +1873,7 @@ class MLA {
1873
  * @return string HTML <form> markup for hidden form
1874
  */
1875
  public static function mla_set_parent_form( $return_form = true ) {
1876
- $set_parent_template = MLAData::mla_load_template( 'admin-set-parent-form.tpl' );
1877
  if ( ! is_array( $set_parent_template ) ) {
1878
  /* translators: 1: ERROR tag 2: function name 3: non-array value */
1879
  error_log( sprintf( _x( '%1$s: %2$s non-array "%3$s"', 'error_log', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), 'MLA::_build_inline_edit_form', var_export( $set_parent_template, true ) ), 0 );
@@ -1948,7 +1948,7 @@ class MLA {
1948
  }
1949
  }
1950
 
1951
- $page_template_array = MLAData::mla_load_template( 'admin-inline-edit-form.tpl' );
1952
  if ( ! is_array( $page_template_array ) ) {
1953
  /* translators: 1: ERROR tag 2: function name 3: non-array value */
1954
  error_log( sprintf( _x( '%1$s: %2$s non-array "%3$s"', 'error_log', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), 'MLA::_build_inline_edit_form', var_export( $page_template_array, true ) ), 0 );
29
  *
30
  * @var string
31
  */
32
+ const CURRENT_MLA_VERSION = '2.22';
33
 
34
  /**
35
  * Current date for Development Version, empty for production versions
698
 
699
  $template_array = apply_filters( 'mla_list_table_help_template', NULL, 'help-for-' . $file_suffix . '.tpl', $file_suffix );
700
  if ( is_null( $template_array ) ) {
701
+ $template_array = MLACore::mla_load_template( 'help-for-' . $file_suffix . '.tpl' );
702
  }
703
 
704
  if ( empty( $template_array ) ) {
1873
  * @return string HTML <form> markup for hidden form
1874
  */
1875
  public static function mla_set_parent_form( $return_form = true ) {
1876
+ $set_parent_template = MLACore::mla_load_template( 'admin-set-parent-form.tpl' );
1877
  if ( ! is_array( $set_parent_template ) ) {
1878
  /* translators: 1: ERROR tag 2: function name 3: non-array value */
1879
  error_log( sprintf( _x( '%1$s: %2$s non-array "%3$s"', 'error_log', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), 'MLA::_build_inline_edit_form', var_export( $set_parent_template, true ) ), 0 );
1948
  }
1949
  }
1950
 
1951
+ $page_template_array = MLACore::mla_load_template( 'admin-inline-edit-form.tpl' );
1952
  if ( ! is_array( $page_template_array ) ) {
1953
  /* translators: 1: ERROR tag 2: function name 3: non-array value */
1954
  error_log( sprintf( _x( '%1$s: %2$s non-array "%3$s"', 'error_log', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), 'MLA::_build_inline_edit_form', var_export( $page_template_array, true ) ), 0 );
includes/class-mla-media-modal.php CHANGED
@@ -133,7 +133,7 @@ class MLAModal {
133
  *
134
  * @return array ( 'class' => $class_array, 'value' => $value_array, 'text' => $text_array )
135
  */
136
- private static function _terms_options( $markup ) {
137
  $match_count = preg_match_all( "#\<option(( class=\"([^\"]+)\" )|( ))value=((\'([^\']+)\')|(\"([^\"]+)\"))([^\>]*)\>([^\<]*)\<.*#", $markup, $matches );
138
  if ( ( $match_count == false ) || ( $match_count == 0 ) ) {
139
  return array( 'class' => array( '' ), 'value' => array( '0' ), 'text' => array( 'Show all terms' ) );
@@ -246,7 +246,7 @@ class MLAModal {
246
  self::$mla_media_modal_settings['months'] = self::_months_dropdown('attachment');
247
 
248
  self::$mla_media_modal_settings['termsTaxonomy'] = MLACore::mla_taxonomy_support('', 'filter');
249
- $terms_options = self::_terms_options( MLA_List_Table::mla_get_taxonomy_filter_dropdown() );
250
  self::$mla_media_modal_settings['termsClass'] = $terms_options['class'];
251
  self::$mla_media_modal_settings['termsValue'] = $terms_options['value'];
252
  self::$mla_media_modal_settings['termsText'] = $terms_options['text'];
@@ -565,7 +565,7 @@ class MLAModal {
565
  * @return string HTML <form> markup for hidden form
566
  */
567
  public static function mla_terms_search_form() {
568
- $page_template_array = MLAData::mla_load_template( 'admin-terms-search-form.tpl' );
569
  if ( ! is_array( $page_template_array ) ) {
570
  /* translators: 1: ERROR tag 2: function name 3: non-array value */
571
  error_log( sprintf( _x( '%1$s: %2$s non-array "%3$s"', 'error_log', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), 'MLA::_build_terms_search_form', var_export( $page_template_array, true ) ), 0 );
133
  *
134
  * @return array ( 'class' => $class_array, 'value' => $value_array, 'text' => $text_array )
135
  */
136
+ public static function mla_terms_options( $markup ) {
137
  $match_count = preg_match_all( "#\<option(( class=\"([^\"]+)\" )|( ))value=((\'([^\']+)\')|(\"([^\"]+)\"))([^\>]*)\>([^\<]*)\<.*#", $markup, $matches );
138
  if ( ( $match_count == false ) || ( $match_count == 0 ) ) {
139
  return array( 'class' => array( '' ), 'value' => array( '0' ), 'text' => array( 'Show all terms' ) );
246
  self::$mla_media_modal_settings['months'] = self::_months_dropdown('attachment');
247
 
248
  self::$mla_media_modal_settings['termsTaxonomy'] = MLACore::mla_taxonomy_support('', 'filter');
249
+ $terms_options = self::mla_terms_options( MLA_List_Table::mla_get_taxonomy_filter_dropdown() );
250
  self::$mla_media_modal_settings['termsClass'] = $terms_options['class'];
251
  self::$mla_media_modal_settings['termsValue'] = $terms_options['value'];
252
  self::$mla_media_modal_settings['termsText'] = $terms_options['text'];
565
  * @return string HTML <form> markup for hidden form
566
  */
567
  public static function mla_terms_search_form() {
568
+ $page_template_array = MLACore::mla_load_template( 'admin-terms-search-form.tpl' );
569
  if ( ! is_array( $page_template_array ) ) {
570
  /* translators: 1: ERROR tag 2: function name 3: non-array value */
571
  error_log( sprintf( _x( '%1$s: %2$s non-array "%3$s"', 'error_log', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), 'MLA::_build_terms_search_form', var_export( $page_template_array, true ) ), 0 );
includes/class-mla-mime-types.php CHANGED
@@ -1717,16 +1717,17 @@ class MLAMime {
1717
  * Save the descriptions for use in _put_upload_mime_types()
1718
  */
1719
  self::$mla_upload_mime_descriptions = array();
1720
- $template_array = MLAData::mla_load_template( 'mla-default-mime-types.tpl' );
1721
  if ( isset( $template_array['mla-mime-types'] ) ) {
1722
  $mla_mime_types = preg_split('/[\r\n]+/', $template_array['mla-mime-types'] );
1723
  foreach ( $mla_mime_types as $mla_type ) {
1724
  $array = explode(',', $mla_type );
1725
 
1726
- /* Anthony Martin debug * /
1727
- if ( 4 > count( $array ) ) {
1728
- trigger_error( sprintf( 'mla-default-mime-types.tpl $array = "%1$s".', var_export( $array, true ) ), E_USER_WARNING );
1729
- } // */
 
1730
 
1731
  $key = strtolower( $array[0] );
1732
  self::$mla_upload_mime_descriptions[ $key ] = $array[4];
@@ -1769,14 +1770,11 @@ class MLAMime {
1769
  $mla_type = '';
1770
  $description = '';
1771
 
1772
- // if ( NULL == $icon_type = wp_ext2type( $key ) ) {
1773
- // $icon_type = 'default';
1774
- // }
1775
  $icon_type = self::mla_get_core_icon_type( $key );
1776
 
1777
  $wp_icon_type = $icon_type;
1778
  $mla_icon_type = $icon_type;
1779
- $core_icon_type = $icon_type; //self::mla_get_core_icon_type( $key );
1780
  }
1781
 
1782
  self::$mla_upload_mime_templates[ $key ] = array(
@@ -2478,13 +2476,20 @@ class MLAMime {
2478
  }
2479
 
2480
  self::$mla_optional_upload_mime_templates = array ();
2481
- $template_array = MLAData::mla_load_template( 'mla-default-mime-types.tpl' );
2482
  if ( isset( $template_array['mla-optional-mime-types'] ) ) {
2483
  $mla_mime_types = preg_split('/[\r\n]+/', $template_array['mla-optional-mime-types'] );
2484
 
2485
  $ID = 0;
2486
  foreach ( $mla_mime_types as $mla_type ) {
2487
  $array = explode(',', $mla_type );
 
 
 
 
 
 
 
2488
  $slug = $array[0];
2489
  if ( $matched_type = self::mla_get_upload_mime( $slug ) ) {
2490
  $core_type = $matched_type['core_type'];
1717
  * Save the descriptions for use in _put_upload_mime_types()
1718
  */
1719
  self::$mla_upload_mime_descriptions = array();
1720
+ $template_array = MLACore::mla_load_template( 'mla-default-mime-types.tpl' );
1721
  if ( isset( $template_array['mla-mime-types'] ) ) {
1722
  $mla_mime_types = preg_split('/[\r\n]+/', $template_array['mla-mime-types'] );
1723
  foreach ( $mla_mime_types as $mla_type ) {
1724
  $array = explode(',', $mla_type );
1725
 
1726
+ // Bypass damaged entries
1727
+ if ( 5 > count( $array ) ) {
1728
+ error_log( __LINE__ . ' _get_upload_mime_templates mla-default-mime-types.tpl $array = ' . var_export( $array, true ), 0 );
1729
+ continue;
1730
+ }
1731
 
1732
  $key = strtolower( $array[0] );
1733
  self::$mla_upload_mime_descriptions[ $key ] = $array[4];
1770
  $mla_type = '';
1771
  $description = '';
1772
 
 
 
 
1773
  $icon_type = self::mla_get_core_icon_type( $key );
1774
 
1775
  $wp_icon_type = $icon_type;
1776
  $mla_icon_type = $icon_type;
1777
+ $core_icon_type = $icon_type;
1778
  }
1779
 
1780
  self::$mla_upload_mime_templates[ $key ] = array(
2476
  }
2477
 
2478
  self::$mla_optional_upload_mime_templates = array ();
2479
+ $template_array = MLACore::mla_load_template( 'mla-default-mime-types.tpl' );
2480
  if ( isset( $template_array['mla-optional-mime-types'] ) ) {
2481
  $mla_mime_types = preg_split('/[\r\n]+/', $template_array['mla-optional-mime-types'] );
2482
 
2483
  $ID = 0;
2484
  foreach ( $mla_mime_types as $mla_type ) {
2485
  $array = explode(',', $mla_type );
2486
+
2487
+ // Bypass damaged entries
2488
+ if ( 3 > count( $array ) ) {
2489
+ error_log( __LINE__ . ' _get_optional_upload_mime_templates mla-default-mime-types.tpl $array = ' . var_export( $array, true ), 0 );
2490
+ continue;
2491
+ }
2492
+
2493
  $slug = $array[0];
2494
  if ( $matched_type = self::mla_get_upload_mime( $slug ) ) {
2495
  $core_type = $matched_type['core_type'];
includes/class-mla-options.php CHANGED
@@ -320,7 +320,7 @@ class MLAOptions {
320
  * @return void
321
  */
322
  private static function _load_option_templates() {
323
- MLAOptions::$mla_option_templates = MLAData::mla_load_template( 'mla-option-templates.tpl' );
324
 
325
  /*
326
  * Load the default templates
320
  * @return void
321
  */
322
  private static function _load_option_templates() {
323
+ MLAOptions::$mla_option_templates = MLACore::mla_load_template( 'mla-option-templates.tpl' );
324
 
325
  /*
326
  * Load the default templates
includes/class-mla-polylang-support.php CHANGED
@@ -75,6 +75,7 @@ class MLA_Polylang {
75
  /*
76
  * Defined in /media-library-assistant/includes/class-mla-media-modal.php
77
  */
 
78
  add_action( 'mla_media_modal_begin_update_compat_fields', 'MLA_Polylang::mla_media_modal_begin_update_compat_fields', 10, 1 );
79
  add_filter( 'mla_media_modal_update_compat_fields_terms', 'MLA_Polylang::mla_media_modal_update_compat_fields_terms', 10, 4 );
80
  add_filter( 'mla_media_modal_end_update_compat_fields', 'MLA_Polylang::mla_media_modal_end_update_compat_fields', 10, 3 );
@@ -187,7 +188,7 @@ class MLA_Polylang {
187
  }
188
 
189
  if ( defined('DOING_AJAX') && DOING_AJAX ) {
190
- add_action( 'wp_ajax_' . 'mla-polylang-quick-translate', 'MLA_Polylang::quick_translate' );
191
  }
192
 
193
  /*
@@ -1414,6 +1415,41 @@ class MLA_Polylang {
1414
  } // Media/Edit Media screen, NOT Bulk Edit
1415
  } // edit_attachment
1416
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1417
  /**
1418
  * Captures the existing term assignments before the
1419
  * Media Manager Modal Window ATTACHMENT DETAILS taxonomy meta boxes updates
@@ -1822,7 +1858,7 @@ class MLA_Polylang {
1822
  /*
1823
  * Add the Quick and Bulk Translate Markup
1824
  */
1825
- $page_template_array = MLAData::mla_load_template( 'mla-polylang-support.tpl' );
1826
  if ( ! is_array( $page_template_array ) ) {
1827
  error_log( 'ERROR: mla-polylang-support.tpl path = ' . var_export( plugin_dir_path( __FILE__ ) . 'mla-polylang-support.tpl', true ), 0 );
1828
  error_log( 'ERROR: mla-polylang-support.tpl non-array result = ' . var_export( $page_template_array, true ), 0 );
@@ -2234,6 +2270,8 @@ class MLA_Polylang {
2234
  * @return void
2235
  */
2236
  public static function mla_localize_language_option_definitions() {
 
 
2237
  MLA_Polylang::$mla_language_option_definitions = array (
2238
  'media_assistant_table_header' =>
2239
  array('tab' => 'language',
@@ -2258,7 +2296,7 @@ class MLA_Polylang {
2258
  array('tab' => 'language',
2259
  'name' => __( 'Quick Translate', 'media-library-assistant' ),
2260
  'type' => 'checkbox',
2261
- 'std' => 'unchecked',
2262
  'help' => __( 'Check this option to add a Quick Translate rollover action to the Media/Assistant submenu table.', 'media-library-assistant' )),
2263
 
2264
  'bulk_translate' =>
@@ -2294,6 +2332,15 @@ class MLA_Polylang {
2294
  'std' => 'checked',
2295
  'help' => __( 'When mapping IPTC/EXIF metadata to taxonomy terms, make them available in all languages.'), 'media-library-assistant' ),
2296
  );
 
 
 
 
 
 
 
 
 
2297
  }
2298
 
2299
  /**
@@ -2355,7 +2402,7 @@ class MLA_Polylang {
2355
  }
2356
 
2357
  $page_values['options_list'] = $options_list;
2358
- $page_template = MLAData::mla_load_template( 'admin-display-language-tab.tpl' );
2359
  $page_content['body'] = MLAData::mla_parse_template( $page_template, $page_values );
2360
  return $page_content;
2361
  }
75
  /*
76
  * Defined in /media-library-assistant/includes/class-mla-media-modal.php
77
  */
78
+ add_filter( 'mla_media_modal_terms_options', 'MLA_Polylang::mla_media_modal_terms_options', 10, 1 );
79
  add_action( 'mla_media_modal_begin_update_compat_fields', 'MLA_Polylang::mla_media_modal_begin_update_compat_fields', 10, 1 );
80
  add_filter( 'mla_media_modal_update_compat_fields_terms', 'MLA_Polylang::mla_media_modal_update_compat_fields_terms', 10, 4 );
81
  add_filter( 'mla_media_modal_end_update_compat_fields', 'MLA_Polylang::mla_media_modal_end_update_compat_fields', 10, 3 );
188
  }
189
 
190
  if ( defined('DOING_AJAX') && DOING_AJAX ) {
191
+ add_action( 'wp_ajax_' . MLA_Polylang::MLA_PLL_QUICK_TRANSLATE, 'MLA_Polylang::quick_translate' );
192
  }
193
 
194
  /*
1415
  } // Media/Edit Media screen, NOT Bulk Edit
1416
  } // edit_attachment
1417
 
1418
+ /**
1419
+ * Return terms in all languages when "Activate languages and translations for media"
1420
+ * is disabled
1421
+ *
1422
+ * @since 2.22
1423
+ *
1424
+ * @param array ( 'class' => $class_array, 'value' => $value_array, 'text' => $text_array )
1425
+ */
1426
+ public static function mla_media_modal_terms_options( $term_values ) {
1427
+ global $polylang;
1428
+ static $in_process = false;
1429
+
1430
+ // Avoid recursion loop
1431
+ if ( $in_process ) {
1432
+ return $term_values;
1433
+ }
1434
+
1435
+ /*
1436
+ * Check Polylang Languages/Settings "Activate languages and translations for media" option
1437
+ */
1438
+ if ( isset( $polylang->options['media_support'] ) && ! $polylang->options['media_support'] ) {
1439
+ $in_process = true;
1440
+ $dropdown_options = array( 'pll_get_terms_not_translated' => true );
1441
+ $term_values = MLAModal::mla_terms_options( MLA_List_Table::mla_get_taxonomy_filter_dropdown( 0, $dropdown_options ) );
1442
+ $in_process = false;
1443
+ }
1444
+
1445
+ /*
1446
+ * $class_array => HTML class attribute value for each option
1447
+ * $value_array => HTML value attribute value for each option
1448
+ * $text_array => HTML text content for each option
1449
+ */
1450
+ return $term_values;
1451
+ } // mla_media_modal_terms_options
1452
+
1453
  /**
1454
  * Captures the existing term assignments before the
1455
  * Media Manager Modal Window ATTACHMENT DETAILS taxonomy meta boxes updates
1858
  /*
1859
  * Add the Quick and Bulk Translate Markup
1860
  */
1861
+ $page_template_array = MLACore::mla_load_template( 'mla-polylang-support.tpl' );
1862
  if ( ! is_array( $page_template_array ) ) {
1863
  error_log( 'ERROR: mla-polylang-support.tpl path = ' . var_export( plugin_dir_path( __FILE__ ) . 'mla-polylang-support.tpl', true ), 0 );
1864
  error_log( 'ERROR: mla-polylang-support.tpl non-array result = ' . var_export( $page_template_array, true ), 0 );
2270
  * @return void
2271
  */
2272
  public static function mla_localize_language_option_definitions() {
2273
+ global $polylang;
2274
+
2275
  MLA_Polylang::$mla_language_option_definitions = array (
2276
  'media_assistant_table_header' =>
2277
  array('tab' => 'language',
2296
  array('tab' => 'language',
2297
  'name' => __( 'Quick Translate', 'media-library-assistant' ),
2298
  'type' => 'checkbox',
2299
+ 'std' => 'checked',
2300
  'help' => __( 'Check this option to add a Quick Translate rollover action to the Media/Assistant submenu table.', 'media-library-assistant' )),
2301
 
2302
  'bulk_translate' =>
2332
  'std' => 'checked',
2333
  'help' => __( 'When mapping IPTC/EXIF metadata to taxonomy terms, make them available in all languages.'), 'media-library-assistant' ),
2334
  );
2335
+
2336
+ /*
2337
+ * Respect the Polylang Languages/Settings "Activate languages and translations for media" option.
2338
+ */
2339
+ if ( isset( $polylang->options['media_support'] ) && ! $polylang->options['media_support'] ) {
2340
+ MLA_Polylang::$mla_language_option_definitions['term_assignment']['std'] = 'unchecked';
2341
+ MLA_Polylang::$mla_language_option_definitions['term_synchronization']['std'] = 'unchecked';
2342
+ MLA_Polylang::$mla_language_option_definitions['term_mapping_replication']['std'] = 'unchecked';
2343
+ }
2344
  }
2345
 
2346
  /**
2402
  }
2403
 
2404
  $page_values['options_list'] = $options_list;
2405
+ $page_template = MLACore::mla_load_template( 'admin-display-language-tab.tpl' );
2406
  $page_content['body'] = MLAData::mla_parse_template( $page_template, $page_values );
2407
  return $page_content;
2408
  }
includes/class-mla-settings.php CHANGED
@@ -538,7 +538,7 @@ class MLASettings {
538
  } // switch
539
  } // isset( $_REQUEST['mla_admin_action'] )
540
 
541
- $template_array = MLAData::mla_load_template( 'help-for-' . $file_suffix . '.tpl' );
542
  if ( empty( $template_array ) ) {
543
  return;
544
  }
@@ -1011,7 +1011,7 @@ class MLASettings {
1011
  MLACore::mla_update_option( $key, stripslashes( trim( $_REQUEST[ MLA_OPTION_PREFIX . $key ], $option_table ) ) );
1012
  break;
1013
  case 'custom':
1014
- $message = MLAOptions::$value['update']( 'update', $key, $value, $_REQUEST );
1015
  break;
1016
  case 'hidden':
1017
  break;
@@ -1044,7 +1044,7 @@ class MLASettings {
1044
  MLACore::mla_delete_option( $key, $option_table );
1045
  break;
1046
  case 'custom':
1047
- $message = MLAOptions::$value['delete']( 'delete', $key, $value, $_REQUEST );
1048
  break;
1049
  case 'hidden':
1050
  break;
@@ -1181,7 +1181,7 @@ class MLASettings {
1181
  return MLAData::mla_parse_template( self::$page_template_array['textarea'], $option_values );
1182
  case 'custom':
1183
  if ( isset( $value['render'] ) ) {
1184
- return MLAOptions::$value['render']( 'render', $key, $value );
1185
  }
1186
 
1187
  break;
@@ -1548,7 +1548,7 @@ class MLASettings {
1548
  * @return array 'message' => status/error messages, 'body' => tab content
1549
  */
1550
  private static function _compose_view_tab( ) {
1551
- $page_template_array = MLAData::mla_load_template( 'admin-display-settings-view-tab.tpl' );
1552
  if ( ! is_array( $page_template_array ) ) {
1553
  /* translators: 1: ERROR tag 2: function name 3: non-array value */
1554
  error_log( sprintf( _x( '%1$s: %2$s non-array "%3$s"', 'error_log', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), 'MLASettings::_compose_view_tab', var_export( $page_template_array, true ) ), 0 );
@@ -1994,7 +1994,7 @@ class MLASettings {
1994
  * @return array 'message' => status/error messages, 'body' => tab content
1995
  */
1996
  private static function _compose_upload_tab( ) {
1997
- $page_template_array = MLAData::mla_load_template( 'admin-display-settings-upload-tab.tpl' );
1998
  if ( ! is_array( $page_template_array ) ) {
1999
  /* translators: 1: ERROR tag 2: function name 3: non-array value */
2000
  error_log( sprintf( _x( '%1$s: %2$s non-array "%3$s"', 'error_log', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), 'MLASettings::_compose_upload_tab', var_export( $page_template_array, true ) ), 0 );
@@ -2937,7 +2937,7 @@ class MLASettings {
2937
  * @return array 'message' => status/error messages, 'body' => tab content
2938
  */
2939
  private static function _compose_documentation_tab( ) {
2940
- $page_template = MLAData::mla_load_template( 'documentation-settings-tab.tpl' );
2941
  $page_values = array(
2942
  'translate_url' => MLA_PLUGIN_URL . 'languages/MLA Internationalization Guide.pdf',
2943
  'phpDocs_url' => MLA_PLUGIN_URL . 'phpDocs/index.html',
@@ -3211,7 +3211,7 @@ class MLASettings {
3211
  */
3212
  $development_version = MLA::MLA_DEVELOPMENT_VERSION;
3213
  $development_version = ( ! empty( $development_version ) ) ? ' (' . $development_version . ')' : '';
3214
- self::$page_template_array = MLAData::mla_load_template( 'admin-display-settings-page.tpl' );
3215
  $current_tab_slug = isset( $_REQUEST['mla_tab'] ) ? $_REQUEST['mla_tab']: 'general';
3216
  $current_tab = self::mla_get_options_tablist( $current_tab_slug );
3217
  $page_values = array(
@@ -4143,7 +4143,7 @@ class MLASettings {
4143
  foreach ( MLACore::$mla_option_definitions as $key => $value ) {
4144
  if ( 'general' == $value['tab'] ) {
4145
  if ( 'custom' == $value['type'] && isset( $value['reset'] ) ) {
4146
- $message = MLAOptions::$value['reset']( 'reset', $key, $value, $_REQUEST );
4147
  } elseif ( ('header' == $value['type']) || ('hidden' == $value['type']) ) {
4148
  $message = '';
4149
  } else {
538
  } // switch
539
  } // isset( $_REQUEST['mla_admin_action'] )
540
 
541
+ $template_array = MLACore::mla_load_template( 'help-for-' . $file_suffix . '.tpl' );
542
  if ( empty( $template_array ) ) {
543
  return;
544
  }
1011
  MLACore::mla_update_option( $key, stripslashes( trim( $_REQUEST[ MLA_OPTION_PREFIX . $key ], $option_table ) ) );
1012
  break;
1013
  case 'custom':
1014
+ $message = call_user_func( array( 'MLAOptions', $value['update'] ), 'update', $key, $value, $_REQUEST );
1015
  break;
1016
  case 'hidden':
1017
  break;
1044
  MLACore::mla_delete_option( $key, $option_table );
1045
  break;
1046
  case 'custom':
1047
+ $message = call_user_func( array( 'MLAOptions', $value['delete'] ), 'delete', $key, $value, $_REQUEST );
1048
  break;
1049
  case 'hidden':
1050
  break;
1181
  return MLAData::mla_parse_template( self::$page_template_array['textarea'], $option_values );
1182
  case 'custom':
1183
  if ( isset( $value['render'] ) ) {
1184
+ return call_user_func( array( 'MLAOptions', $value['render'] ), 'render', $key, $value );
1185
  }
1186
 
1187
  break;
1548
  * @return array 'message' => status/error messages, 'body' => tab content
1549
  */
1550
  private static function _compose_view_tab( ) {
1551
+ $page_template_array = MLACore::mla_load_template( 'admin-display-settings-view-tab.tpl' );
1552
  if ( ! is_array( $page_template_array ) ) {
1553
  /* translators: 1: ERROR tag 2: function name 3: non-array value */
1554
  error_log( sprintf( _x( '%1$s: %2$s non-array "%3$s"', 'error_log', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), 'MLASettings::_compose_view_tab', var_export( $page_template_array, true ) ), 0 );
1994
  * @return array 'message' => status/error messages, 'body' => tab content
1995
  */
1996
  private static function _compose_upload_tab( ) {
1997
+ $page_template_array = MLACore::mla_load_template( 'admin-display-settings-upload-tab.tpl' );
1998
  if ( ! is_array( $page_template_array ) ) {
1999
  /* translators: 1: ERROR tag 2: function name 3: non-array value */
2000
  error_log( sprintf( _x( '%1$s: %2$s non-array "%3$s"', 'error_log', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), 'MLASettings::_compose_upload_tab', var_export( $page_template_array, true ) ), 0 );
2937
  * @return array 'message' => status/error messages, 'body' => tab content
2938
  */
2939
  private static function _compose_documentation_tab( ) {
2940
+ $page_template = MLACore::mla_load_template( 'documentation-settings-tab.tpl' );
2941
  $page_values = array(
2942
  'translate_url' => MLA_PLUGIN_URL . 'languages/MLA Internationalization Guide.pdf',
2943
  'phpDocs_url' => MLA_PLUGIN_URL . 'phpDocs/index.html',
3211
  */
3212
  $development_version = MLA::MLA_DEVELOPMENT_VERSION;
3213
  $development_version = ( ! empty( $development_version ) ) ? ' (' . $development_version . ')' : '';
3214
+ self::$page_template_array = MLACore::mla_load_template( 'admin-display-settings-page.tpl' );
3215
  $current_tab_slug = isset( $_REQUEST['mla_tab'] ) ? $_REQUEST['mla_tab']: 'general';
3216
  $current_tab = self::mla_get_options_tablist( $current_tab_slug );
3217
  $page_values = array(
4143
  foreach ( MLACore::$mla_option_definitions as $key => $value ) {
4144
  if ( 'general' == $value['tab'] ) {
4145
  if ( 'custom' == $value['type'] && isset( $value['reset'] ) ) {
4146
+ $message = call_user_func( array( 'MLAOptions', $value['reset'] ), 'reset', $key, $value, $_REQUEST );
4147
  } elseif ( ('header' == $value['type']) || ('hidden' == $value['type']) ) {
4148
  $message = '';
4149
  } else {
includes/class-mla-shortcode-support.php CHANGED
@@ -45,7 +45,7 @@ class MLAShortcode_Support {
45
  * @return void
46
  */
47
  public static function mla_load_custom_templates() {
48
- MLAShortcode_Support::$mla_custom_templates = MLAData::mla_load_template( 'mla-custom-templates.tpl' );
49
 
50
  /*
51
  * Load the default templates
@@ -207,15 +207,16 @@ class MLAShortcode_Support {
207
  }
208
 
209
  /**
210
- * Make sure $attr is an array and repair line-break damage
211
  *
212
  * @since 2.20
213
  *
214
- * @param mixed array or string containing shortcode attributes
 
215
  *
216
  * @return array clean attributes array
217
  */
218
- private static function _validate_attributes( $attr ) {
219
  if ( empty( $attr ) ) {
220
  $attr = array();
221
  } elseif ( is_string( $attr ) ) {
@@ -223,40 +224,63 @@ class MLAShortcode_Support {
223
  }
224
 
225
  // Numeric keys indicate parse errors
226
- $is_valid = true;
227
  foreach ( $attr as $key => $value ) {
228
  if ( is_numeric( $key ) ) {
229
- $is_valid = false;
230
  break;
231
  }
232
  }
233
 
234
- if ( $is_valid ) {
235
- return $attr;
236
- }
237
-
238
- /*
239
- * Found an error, e.g., line break(s) among the atttributes.
240
- * Try to reconstruct the input string without them.
241
- */
242
- $new_attr = '';
243
- foreach ( $attr as $key => $value ) {
244
- $break_tag = strpos( $value, '<br' );
245
- if ( ( false !== $break_tag ) && ( ($break_tag + 3) == strlen( $value ) ) ) {
246
- $value = substr( $value, 0, ( strlen( $value ) - 3) );
 
 
 
 
 
 
 
247
  }
248
-
249
- if ( is_numeric( $key ) ) {
250
- if ( '/>' !== $value ) {
251
- $new_attr .= $value . ' ';
 
 
 
 
 
 
252
  }
253
- } else {
254
- $delimiter = ( false === strpos( $value, '"' ) ) ? '"' : "'";
255
- $new_attr .= $key . '=' . $delimiter . $value . $delimiter . ' ';
256
  }
 
 
 
 
 
 
 
 
 
 
 
257
  }
258
-
259
- return shortcode_parse_atts( $new_attr );
260
  }
261
 
262
  /**
@@ -277,8 +301,8 @@ class MLAShortcode_Support {
277
  *
278
  * @since 2.20
279
  *
280
- * @param array Attributes of the shortcode
281
- * @param string Optional content for enclosing shortcodes; used with mla_alt_shortcode
282
  *
283
  * @return string HTML content to display gallery.
284
  */
@@ -289,14 +313,26 @@ class MLAShortcode_Support {
289
  * Some do_shortcode callers may not have a specific post in mind
290
  */
291
  if ( ! is_object( $post ) ) {
292
- $post = (object) array( 'ID' => 0 );
 
 
 
 
 
 
 
 
 
 
 
 
293
  }
294
 
295
  /*
296
  * Make sure $attr is an array, even if it's empty,
297
  * and repair damage caused by link-breaks in the source text
298
  */
299
- $attr = self::_validate_attributes( $attr );
300
 
301
  /*
302
  * Filter the attributes before $mla_page_parameter and "request:" prefix processing.
@@ -1271,6 +1307,8 @@ class MLAShortcode_Support {
1271
  * Look for the "Featured Image" as an alternate thumbnail for PDFs, etc.
1272
  */
1273
  $feature = get_the_post_thumbnail( $attachment->ID, $size, array( 'class' => 'attachment-thumbnail' ) );
 
 
1274
  if ( ! empty( $feature ) ) {
1275
  $match_count = preg_match_all( '# width=\"([^\"]+)\" height=\"([^\"]+)\" src=\"([^\"]+)\" #', $feature, $matches, PREG_OFFSET_CAPTURE );
1276
  if ( ! ( ( $match_count == false ) || ( $match_count == 0 ) ) ) {
@@ -2327,15 +2365,16 @@ class MLAShortcode_Support {
2327
  * @since 2.20
2328
  *
2329
  * @param array $attr Attributes of the shortcode.
 
2330
  *
2331
  * @return string HTML content to display the tag cloud.
2332
  */
2333
- public static function mla_tag_cloud_shortcode( $attr ) {
2334
  /*
2335
  * Make sure $attr is an array, even if it's empty,
2336
  * and repair damage caused by link-breaks in the source text
2337
  */
2338
- $attr = self::_validate_attributes( $attr );
2339
 
2340
  /*
2341
  * The 'array' format makes no sense in a shortcode
45
  * @return void
46
  */
47
  public static function mla_load_custom_templates() {
48
+ MLAShortcode_Support::$mla_custom_templates = MLACore::mla_load_template( 'mla-custom-templates.tpl' );
49
 
50
  /*
51
  * Load the default templates
207
  }
208
 
209
  /**
210
+ * Make sure $attr is an array, repair line-break damage, merge with $content
211
  *
212
  * @since 2.20
213
  *
214
+ * @param mixed $attr Array or string containing shortcode attributes
215
+ * @param string $content Optional content for enclosing shortcodes; might be used with mla_alt_shortcode
216
  *
217
  * @return array clean attributes array
218
  */
219
+ private static function _validate_attributes( $attr, $content = NULL ) {
220
  if ( empty( $attr ) ) {
221
  $attr = array();
222
  } elseif ( is_string( $attr ) ) {
224
  }
225
 
226
  // Numeric keys indicate parse errors
227
+ $not_valid = false;
228
  foreach ( $attr as $key => $value ) {
229
  if ( is_numeric( $key ) ) {
230
+ $not_valid = true;
231
  break;
232
  }
233
  }
234
 
235
+ if ( $not_valid ) {
236
+ /*
237
+ * Found an error, e.g., line break(s) among the atttributes.
238
+ * Try to reconstruct the input string without them.
239
+ */
240
+ $new_attr = '';
241
+ foreach ( $attr as $key => $value ) {
242
+ $break_tag = strpos( $value, '<br' );
243
+ if ( ( false !== $break_tag ) && ( ($break_tag + 3) == strlen( $value ) ) ) {
244
+ $value = substr( $value, 0, ( strlen( $value ) - 3) );
245
+ }
246
+
247
+ if ( is_numeric( $key ) ) {
248
+ if ( '/>' !== $value ) {
249
+ $new_attr .= $value . ' ';
250
+ }
251
+ } else {
252
+ $delimiter = ( false === strpos( $value, '"' ) ) ? '"' : "'";
253
+ $new_attr .= $key . '=' . $delimiter . $value . $delimiter . ' ';
254
+ }
255
  }
256
+
257
+ $attr = shortcode_parse_atts( $new_attr );
258
+
259
+ /*
260
+ * Remove empty values and still-invalid parameters
261
+ */
262
+ $new_attr = '';
263
+ foreach ( $attr as $key => $value ) {
264
+ if ( is_numeric( $key ) || empty( $value ) ) {
265
+ continue;
266
  }
267
+
268
+ $new_attr[ $key ] = $value;
 
269
  }
270
+
271
+ $attr = $new_attr;
272
+ } // not_valid
273
+
274
+ /*
275
+ * Look for parameters in an enclosing shortcode
276
+ */
277
+ if ( ! ( empty( $content ) || isset( $attr['mla_alt_shortcode'] ) ) ) {
278
+ $content = str_replace( array( '&#8216;', '&#8217;', '&#8221;', '&#8243;', '<br />', '<p>', '</p>', "\r", "\n" ), array( '\'', '\'', '"', '"', ' ', ' ', ' ', ' ', ' ' ), $content );
279
+ $new_attr = shortcode_parse_atts( $content );
280
+ $attr = array_merge( $attr, $new_attr );
281
  }
282
+
283
+ return $attr;
284
  }
285
 
286
  /**
301
  *
302
  * @since 2.20
303
  *
304
+ * @param array $attr Attributes of the shortcode
305
+ * @param string $content Optional content for enclosing shortcodes; used with mla_alt_shortcode
306
  *
307
  * @return string HTML content to display gallery.
308
  */
313
  * Some do_shortcode callers may not have a specific post in mind
314
  */
315
  if ( ! is_object( $post ) ) {
316
+ $post = (object) array(
317
+ 'ID' => 0,
318
+ 'post_author' => '0',
319
+ 'post_date' => '',
320
+ 'post_content' => '',
321
+ 'post_title' => '',
322
+ 'post_excerpt' => '',
323
+ 'post_status' => '',
324
+ 'post_name' => '',
325
+ 'post_modified' => '',
326
+ 'guid' => '',
327
+ 'post_type' => '',
328
+ );
329
  }
330
 
331
  /*
332
  * Make sure $attr is an array, even if it's empty,
333
  * and repair damage caused by link-breaks in the source text
334
  */
335
+ $attr = self::_validate_attributes( $attr, $content );
336
 
337
  /*
338
  * Filter the attributes before $mla_page_parameter and "request:" prefix processing.
1307
  * Look for the "Featured Image" as an alternate thumbnail for PDFs, etc.
1308
  */
1309
  $feature = get_the_post_thumbnail( $attachment->ID, $size, array( 'class' => 'attachment-thumbnail' ) );
1310
+ $feature = apply_filters( 'mla_gallery_featured_image', $feature, $attachment, $size, $item_values );
1311
+
1312
  if ( ! empty( $feature ) ) {
1313
  $match_count = preg_match_all( '# width=\"([^\"]+)\" height=\"([^\"]+)\" src=\"([^\"]+)\" #', $feature, $matches, PREG_OFFSET_CAPTURE );
1314
  if ( ! ( ( $match_count == false ) || ( $match_count == 0 ) ) ) {
2365
  * @since 2.20
2366
  *
2367
  * @param array $attr Attributes of the shortcode.
2368
+ * @param string $content Optional content for enclosing shortcodes
2369
  *
2370
  * @return string HTML content to display the tag cloud.
2371
  */
2372
+ public static function mla_tag_cloud_shortcode( $attr, $content = NULL ) {
2373
  /*
2374
  * Make sure $attr is an array, even if it's empty,
2375
  * and repair damage caused by link-breaks in the source text
2376
  */
2377
+ $attr = self::_validate_attributes( $attr, $content );
2378
 
2379
  /*
2380
  * The 'array' format makes no sense in a shortcode
includes/class-mla-shortcodes.php CHANGED
@@ -60,8 +60,8 @@ class MLAShortcodes {
60
  *
61
  * @since .50
62
  *
63
- * @param array Attributes of the shortcode
64
- * @param string Optional content for enclosing shortcodes; used with mla_alt_shortcode
65
  *
66
  * @return string HTML content to display gallery.
67
  */
@@ -76,20 +76,21 @@ class MLAShortcodes {
76
  /**
77
  * The MLA Tag Cloud shortcode.
78
  *
79
- * Compatibility shim for MLAShortcode_Support::mla_gallery_shortcode
80
  *
81
  * @since 1.60
82
  *
83
  * @param array $attr Attributes of the shortcode.
 
84
  *
85
  * @return string HTML content to display the tag cloud.
86
  */
87
- public static function mla_tag_cloud_shortcode( $attr ) {
88
  if ( !class_exists( 'MLAShortcode_Support' ) ) {
89
  require_once( MLA_PLUGIN_PATH . 'includes/class-mla-shortcode-support.php' );
90
  }
91
 
92
- return MLAShortcode_Support::mla_tag_cloud_shortcode( $attr );
93
  }
94
 
95
  /**
60
  *
61
  * @since .50
62
  *
63
+ * @param array $attr Attributes of the shortcode
64
+ * @param string $content Optional content for enclosing shortcodes; used with mla_alt_shortcode
65
  *
66
  * @return string HTML content to display gallery.
67
  */
76
  /**
77
  * The MLA Tag Cloud shortcode.
78
  *
79
+ * Compatibility shim for MLAShortcode_Support::mla_tag_cloud_shortcode
80
  *
81
  * @since 1.60
82
  *
83
  * @param array $attr Attributes of the shortcode.
84
+ * @param string $content Optional content for enclosing shortcodes
85
  *
86
  * @return string HTML content to display the tag cloud.
87
  */
88
+ public static function mla_tag_cloud_shortcode( $attr, $content = NULL ) {
89
  if ( !class_exists( 'MLAShortcode_Support' ) ) {
90
  require_once( MLA_PLUGIN_PATH . 'includes/class-mla-shortcode-support.php' );
91
  }
92
 
93
+ return MLAShortcode_Support::mla_tag_cloud_shortcode( $attr, $content );
94
  }
95
 
96
  /**
includes/class-mla-thumbnail-generation.php CHANGED
@@ -141,8 +141,8 @@ class MLA_Thumbnail {
141
  return $template_array;
142
  }
143
 
144
- $template_array = MLAData::mla_load_template( $file_name );
145
- $help_array = MLAData::mla_load_template( 'help-for-thumbnail_generation.tpl' );
146
 
147
  if ( isset( $template_array['sidebar'] ) ) {
148
  $template_array['sidebar'] .= $help_array['sidebar'];
@@ -416,7 +416,7 @@ class MLA_Thumbnail {
416
  /*
417
  * Add the Thumbnail Generation Markup
418
  */
419
- $page_template_array = MLAData::mla_load_template( 'mla-thumbnail-generation.tpl' );
420
  if ( ! is_array( $page_template_array ) ) {
421
  error_log( 'ERROR: mla-thumbnail-generation.tpl path = ' . var_export( plugin_dir_path( __FILE__ ) . 'mla-thumbnail-generation.tpl', true ), 0 );
422
  error_log( 'ERROR: mla-thumbnail-generation.tpl non-array result = ' . var_export( $page_template_array, true ), 0 );
141
  return $template_array;
142
  }
143
 
144
+ $template_array = MLACore::mla_load_template( $file_name );
145
+ $help_array = MLACore::mla_load_template( 'help-for-thumbnail_generation.tpl' );
146
 
147
  if ( isset( $template_array['sidebar'] ) ) {
148
  $template_array['sidebar'] .= $help_array['sidebar'];
416
  /*
417
  * Add the Thumbnail Generation Markup
418
  */
419
+ $page_template_array = MLACore::mla_load_template( 'mla-thumbnail-generation.tpl' );
420
  if ( ! is_array( $page_template_array ) ) {
421
  error_log( 'ERROR: mla-thumbnail-generation.tpl path = ' . var_export( plugin_dir_path( __FILE__ ) . 'mla-thumbnail-generation.tpl', true ), 0 );
422
  error_log( 'ERROR: mla-thumbnail-generation.tpl non-array result = ' . var_export( $page_template_array, true ), 0 );
includes/class-mla-wpml-support.php CHANGED
@@ -1774,7 +1774,7 @@ class MLA_WPML {
1774
  }
1775
 
1776
  $page_values['options_list'] = $options_list;
1777
- $page_template = MLAData::mla_load_template( 'admin-display-language-tab.tpl' );
1778
  $page_content['body'] = MLAData::mla_parse_template( $page_template, $page_values );
1779
  return $page_content;
1780
  }
1774
  }
1775
 
1776
  $page_values['options_list'] = $options_list;
1777
+ $page_template = MLACore::mla_load_template( 'admin-display-language-tab.tpl' );
1778
  $page_content['body'] = MLAData::mla_parse_template( $page_template, $page_values );
1779
  return $page_content;
1780
  }
includes/mla-plugin-loader.php CHANGED
@@ -83,11 +83,20 @@ if ( ! empty( $mla_plugin_loader_error_messages ) ) {
83
  */
84
  $ajax_only = true;
85
  if ( isset( $_REQUEST['action'] ) ) {
86
- if ( in_array( $_REQUEST['action'], array( MLACore::JAVASCRIPT_INLINE_EDIT_SLUG, 'mla-inline-mapping-iptc-exif-scripts', 'mla-inline-mapping-custom-scripts' ) ) ) {
87
  $ajax_only = false;
88
  }
89
  }
90
 
 
 
 
 
 
 
 
 
 
91
  if ( $ajax_only ) {
92
  require_once( MLA_PLUGIN_PATH . 'includes/class-mla-data-query.php' );
93
  add_action( 'init', 'MLAQuery::initialize', 0x7FFFFFFF );
@@ -97,7 +106,13 @@ if ( ! empty( $mla_plugin_loader_error_messages ) ) {
97
  */
98
  require_once( MLA_PLUGIN_PATH . 'includes/class-mla-ajax.php' );
99
  add_action( 'init', 'MLA_Ajax::initialize', 0x7FFFFFFF );
100
-
 
 
 
 
 
 
101
  return;
102
  }
103
  }
@@ -111,12 +126,6 @@ if ( ! empty( $mla_plugin_loader_error_messages ) ) {
111
  require_once( MLA_PLUGIN_PATH . 'includes/class-mla-data.php' );
112
  add_action( 'init', 'MLAData::initialize', 0x7FFFFFFF );
113
 
114
- /*
115
- * MIME Type functions.
116
- */
117
- require_once( MLA_PLUGIN_PATH . 'includes/class-mla-mime-types.php' );
118
- add_action( 'init', 'MLAMime::initialize', 0x7FFFFFFF );
119
-
120
  /*
121
  * Shortcode shim functions
122
  */
83
  */
84
  $ajax_only = true;
85
  if ( isset( $_REQUEST['action'] ) ) {
86
+ if ( in_array( $_REQUEST['action'], array( MLACore::JAVASCRIPT_INLINE_EDIT_SLUG, 'mla-inline-mapping-iptc-exif-scripts', 'mla-inline-mapping-custom-scripts', 'mla-polylang-quick-translate', 'mla-inline-edit-upload-scripts', 'mla-inline-edit-view-scripts', 'upload-attachment' ) ) ) {
87
  $ajax_only = false;
88
  }
89
  }
90
 
91
+ //Look for WPML flat taxonomy autocomplete
92
+ if ( isset( $_GET['action'] ) && ( 'ajax-tag-search' == $_GET['action'] ) ) {
93
+ global $sitepress;
94
+
95
+ if ( is_object( $sitepress ) ) {
96
+ $ajax_only = false;
97
+ }
98
+ }
99
+
100
  if ( $ajax_only ) {
101
  require_once( MLA_PLUGIN_PATH . 'includes/class-mla-data-query.php' );
102
  add_action( 'init', 'MLAQuery::initialize', 0x7FFFFFFF );
106
  */
107
  require_once( MLA_PLUGIN_PATH . 'includes/class-mla-ajax.php' );
108
  add_action( 'init', 'MLA_Ajax::initialize', 0x7FFFFFFF );
109
+
110
+ /*
111
+ * Other plugins such as "No Cache AJAX Widgets" might need shortcodes
112
+ */
113
+ require_once( MLA_PLUGIN_PATH . 'includes/class-mla-shortcodes.php' );
114
+ add_action( 'init', 'MLAShortcodes::initialize', 0x7FFFFFFF );
115
+
116
  return;
117
  }
118
  }
126
  require_once( MLA_PLUGIN_PATH . 'includes/class-mla-data.php' );
127
  add_action( 'init', 'MLAData::initialize', 0x7FFFFFFF );
128
 
 
 
 
 
 
 
129
  /*
130
  * Shortcode shim functions
131
  */
index.php CHANGED
@@ -6,7 +6,7 @@
6
  * will the rest of the plugin be loaded and run.
7
  *
8
  * @package Media Library Assistant
9
- * @version 2.21
10
  */
11
 
12
  /*
@@ -16,7 +16,7 @@ Description: Enhances the Media Library; powerful [mla_gallery], taxonomy suppor
16
  Author: David Lingren, Fair Trade Judaica
17
  Text Domain: media-library-assistant
18
  Domain Path: /languages
19
- Version: 2.21
20
  Author URI: http://fairtradejudaica.org/our-story/staff/
21
 
22
  Copyright 2011-2015 David Lingren
6
  * will the rest of the plugin be loaded and run.
7
  *
8
  * @package Media Library Assistant
9
+ * @version 2.22
10
  */
11
 
12
  /*
16
  Author: David Lingren, Fair Trade Judaica
17
  Text Domain: media-library-assistant
18
  Domain Path: /languages
19
+ Version: 2.22
20
  Author URI: http://fairtradejudaica.org/our-story/staff/
21
 
22
  Copyright 2011-2015 David Lingren
phpDocs/classes.svg CHANGED
@@ -4,298 +4,315 @@
4
  <!-- Generated by graphviz version 2.28.0 (20110507.0327)
5
  -->
6
  <!-- Title: G Pages: 1 -->
7
- <svg width="688pt" height="1837pt"
8
- viewBox="0.00 0.00 688.00 1836.55" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
9
- <g id="graph1" class="graph" transform="scale(1 1) rotate(0) translate(4 1832.55)">
10
  <title>G</title>
11
- <polygon fill="white" stroke="white" points="-4,5 -4,-1832.55 685,-1832.55 685,5 -4,5"/>
12
  <g id="graph2" class="cluster"><title>cluster_global</title>
13
- <polyline fill="none" stroke="gray" points="242,-128.547 660,-128.547 "/>
14
- <path fill="none" stroke="gray" d="M660,-128.547C666,-128.547 672,-134.547 672,-140.547"/>
15
- <polyline fill="none" stroke="gray" points="672,-140.547 672,-1808.55 "/>
16
- <path fill="none" stroke="gray" d="M672,-1808.55C672,-1814.55 666,-1820.55 660,-1820.55"/>
17
- <polyline fill="none" stroke="gray" points="660,-1820.55 242,-1820.55 "/>
18
- <path fill="none" stroke="gray" d="M242,-1820.55C236,-1820.55 230,-1814.55 230,-1808.55"/>
19
- <polyline fill="none" stroke="gray" points="230,-1808.55 230,-140.547 "/>
20
- <path fill="none" stroke="gray" d="M230,-140.547C230,-134.547 236,-128.547 242,-128.547"/>
21
- <text text-anchor="middle" x="451" y="-1807.75" font-family="Times New Roman,serif" font-size="11.00" fill="gray">global</text>
22
  </g>
23
  <!-- \\MNA_Pad_Counts_Walker -->
24
  <g id="node2" class="node"><title>\\MNA_Pad_Counts_Walker</title>
25
  <a xlink:href="examples.twentytwelve-mla.content-tosca30-dropdown.html" xlink:title="MNA_Pad_Counts_Walker" target="_parent">
26
- <polygon fill="none" stroke="black" points="633,-1630.55 475,-1630.55 475,-1594.55 633,-1594.55 633,-1630.55"/>
27
- <text text-anchor="middle" x="554" y="-1609.75" font-family="Courier,monospace" font-size="11.00">MNA_Pad_Counts_Walker</text>
28
  </a>
29
  </g>
30
  <!-- \\Walker_Category -->
31
- <g id="node35" class="node"><title>\\Walker_Category</title>
32
- <ellipse fill="none" stroke="black" cx="294" cy="-102.547" rx="77.1866" ry="18"/>
33
- <text text-anchor="middle" x="294" y="-98.8471" font-family="Times New Roman,serif" font-size="14.00" fill="gray">\Walker_Category</text>
34
  </g>
35
  <!-- \\MNA_Pad_Counts_Walker&#45;&gt;\\Walker_Category -->
36
  <g id="edge3" class="edge"><title>\\MNA_Pad_Counts_Walker&#45;&gt;\\Walker_Category</title>
37
- <path fill="none" stroke="black" d="M474.96,-1606.22C463.043,-1601.89 452.053,-1595.33 444,-1585.55 237.436,-1334.56 574.079,-379.161 372,-124.547 370.298,-122.403 368.403,-120.459 366.354,-118.696"/>
38
- <polygon fill="none" stroke="black" points="367.987,-115.57 357.772,-112.759 364.005,-121.327 367.987,-115.57"/>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
39
  </g>
40
  <!-- \\MLA_Ajax -->
41
- <g id="node3" class="node"><title>\\MLA_Ajax</title>
42
  <a xlink:href="includes.class-mla-ajax.html" xlink:title="MLA_Ajax" target="_parent">
43
- <polygon fill="none" stroke="black" points="589.5,-1738.55 518.5,-1738.55 518.5,-1702.55 589.5,-1702.55 589.5,-1738.55"/>
44
- <text text-anchor="middle" x="554" y="-1717.75" font-family="Courier,monospace" font-size="11.00">MLA_Ajax</text>
45
  </a>
46
  </g>
47
  <!-- \\MLACore -->
48
- <g id="node4" class="node"><title>\\MLACore</title>
49
  <a xlink:href="includes.class-mla-core.html" xlink:title="MLACore" target="_parent">
50
- <polygon fill="none" stroke="black" points="586,-1684.55 522,-1684.55 522,-1648.55 586,-1648.55 586,-1684.55"/>
51
- <text text-anchor="middle" x="554" y="-1663.75" font-family="Courier,monospace" font-size="11.00">MLACore</text>
52
  </a>
53
  </g>
54
  <!-- \\MLA_Checklist_Walker -->
55
- <g id="node5" class="node"><title>\\MLA_Checklist_Walker</title>
56
  <a xlink:href="includes.class-mla-core.html" xlink:title="MLA_Checklist_Walker" target="_parent">
57
- <polygon fill="none" stroke="black" points="630,-874.547 478,-874.547 478,-838.547 630,-838.547 630,-874.547"/>
58
- <text text-anchor="middle" x="554" y="-853.747" font-family="Courier,monospace" font-size="11.00">MLA_Checklist_Walker</text>
59
  </a>
60
  </g>
61
  <!-- \\MLA_Checklist_Walker&#45;&gt;\\Walker_Category -->
62
- <g id="edge5" class="edge"><title>\\MLA_Checklist_Walker&#45;&gt;\\Walker_Category</title>
63
- <path fill="none" stroke="black" d="M477.881,-850.728C464.975,-846.446 452.882,-839.779 444,-829.547 237.534,-591.695 574.214,-366.024 372,-124.547 370.243,-122.449 368.3,-120.543 366.212,-118.812"/>
64
- <polygon fill="none" stroke="black" points="367.766,-115.64 357.513,-112.971 363.864,-121.451 367.766,-115.64"/>
65
  </g>
66
  <!-- \\MLAPDF -->
67
- <g id="node6" class="node"><title>\\MLAPDF</title>
68
  <a xlink:href="includes.class-mla-data-pdf.html" xlink:title="MLAPDF" target="_parent">
69
- <polygon fill="none" stroke="black" points="582.5,-1576.55 525.5,-1576.55 525.5,-1540.55 582.5,-1540.55 582.5,-1576.55"/>
70
- <text text-anchor="middle" x="554" y="-1555.75" font-family="Courier,monospace" font-size="11.00">MLAPDF</text>
71
  </a>
72
  </g>
73
  <!-- \\MLAQuery -->
74
- <g id="node7" class="node"><title>\\MLAQuery</title>
75
  <a xlink:href="includes.class-mla-data-query.html" xlink:title="MLAQuery" target="_parent">
76
- <polygon fill="none" stroke="black" points="589.5,-1522.55 518.5,-1522.55 518.5,-1486.55 589.5,-1486.55 589.5,-1522.55"/>
77
- <text text-anchor="middle" x="554" y="-1501.75" font-family="Courier,monospace" font-size="11.00">MLAQuery</text>
78
  </a>
79
  </g>
80
  <!-- \\MLAReferences -->
81
- <g id="node8" class="node"><title>\\MLAReferences</title>
82
  <a xlink:href="includes.class-mla-data-references.html" xlink:title="MLAReferences" target="_parent">
83
- <polygon fill="none" stroke="black" points="606,-1468.55 502,-1468.55 502,-1432.55 606,-1432.55 606,-1468.55"/>
84
- <text text-anchor="middle" x="554" y="-1447.75" font-family="Courier,monospace" font-size="11.00">MLAReferences</text>
85
  </a>
86
  </g>
87
- <!-- \\MLAData_source -->
88
- <g id="node9" class="node"><title>\\MLAData_source</title>
89
- <a xlink:href="includes.class-mla-data-source.html" xlink:title="MLAData_source" target="_parent">
90
- <polygon fill="none" stroke="black" points="609.5,-1414.55 498.5,-1414.55 498.5,-1378.55 609.5,-1378.55 609.5,-1414.55"/>
91
- <text text-anchor="middle" x="554" y="-1393.75" font-family="Courier,monospace" font-size="11.00">MLAData_source</text>
92
  </a>
93
  </g>
94
  <!-- \\MLAData -->
95
- <g id="node10" class="node"><title>\\MLAData</title>
96
  <a xlink:href="includes.class-mla-data.html" xlink:title="MLAData" target="_parent">
97
- <polygon fill="none" stroke="black" points="586,-1360.55 522,-1360.55 522,-1324.55 586,-1324.55 586,-1360.55"/>
98
- <text text-anchor="middle" x="554" y="-1339.75" font-family="Courier,monospace" font-size="11.00">MLAData</text>
99
  </a>
100
  </g>
101
  <!-- \\MLAEdit -->
102
- <g id="node11" class="node"><title>\\MLAEdit</title>
103
  <a xlink:href="includes.class-mla-edit-media.html" xlink:title="MLAEdit" target="_parent">
104
- <polygon fill="none" stroke="black" points="586,-1306.55 522,-1306.55 522,-1270.55 586,-1270.55 586,-1306.55"/>
105
- <text text-anchor="middle" x="554" y="-1285.75" font-family="Courier,monospace" font-size="11.00">MLAEdit</text>
106
  </a>
107
  </g>
108
  <!-- \\MLAImageProcessor -->
109
- <g id="node12" class="node"><title>\\MLAImageProcessor</title>
110
  <a xlink:href="includes.class-mla-image-processor.html" xlink:title="MLAImageProcessor" target="_parent">
111
- <polygon fill="none" stroke="black" points="619.5,-1252.55 488.5,-1252.55 488.5,-1216.55 619.5,-1216.55 619.5,-1252.55"/>
112
- <text text-anchor="middle" x="554" y="-1231.75" font-family="Courier,monospace" font-size="11.00">MLAImageProcessor</text>
113
  </a>
114
  </g>
115
  <!-- \\MLAMutex -->
116
- <g id="node13" class="node"><title>\\MLAMutex</title>
117
  <a xlink:href="includes.class-mla-image-processor.html" xlink:title="MLAMutex" target="_parent">
118
- <polygon fill="none" stroke="black" points="589.5,-1198.55 518.5,-1198.55 518.5,-1162.55 589.5,-1162.55 589.5,-1198.55"/>
119
- <text text-anchor="middle" x="554" y="-1177.75" font-family="Courier,monospace" font-size="11.00">MLAMutex</text>
120
  </a>
121
  </g>
122
  <!-- \\MLA_List_Table -->
123
- <g id="node14" class="node"><title>\\MLA_List_Table</title>
124
  <a xlink:href="includes.class-mla-list-table.html" xlink:title="MLA_List_Table" target="_parent">
125
- <polygon fill="none" stroke="black" points="349.5,-983.547 238.5,-983.547 238.5,-947.547 349.5,-947.547 349.5,-983.547"/>
126
- <text text-anchor="middle" x="294" y="-962.747" font-family="Courier,monospace" font-size="11.00">MLA_List_Table</text>
127
  </a>
128
  </g>
129
  <!-- \\WP_List_Table -->
130
- <g id="node38" class="node"><title>\\WP_List_Table</title>
131
- <ellipse fill="none" stroke="black" cx="72" cy="-483.547" rx="71.4873" ry="18"/>
132
- <text text-anchor="middle" x="72" y="-479.847" font-family="Times New Roman,serif" font-size="14.00" fill="gray">\WP_List_Table</text>
133
  </g>
134
  <!-- \\MLA_List_Table&#45;&gt;\\WP_List_Table -->
135
- <g id="edge7" class="edge"><title>\\MLA_List_Table&#45;&gt;\\WP_List_Table</title>
136
- <path fill="none" stroke="black" d="M238.377,-957.326C230.109,-954.11 222.265,-949.669 216,-943.547 90.8895,-821.294 74.7593,-591.737 73.0449,-511.83"/>
137
- <polygon fill="none" stroke="black" points="76.5407,-511.52 72.8888,-501.575 69.5415,-511.627 76.5407,-511.52"/>
138
  </g>
139
  <!-- \\MLA -->
140
- <g id="node15" class="node"><title>\\MLA</title>
141
  <a xlink:href="includes.class-mla-main.html" xlink:title="MLA" target="_parent">
142
- <polygon fill="none" stroke="black" points="581,-1144.55 527,-1144.55 527,-1108.55 581,-1108.55 581,-1144.55"/>
143
- <text text-anchor="middle" x="554" y="-1123.75" font-family="Courier,monospace" font-size="11.00">MLA</text>
144
  </a>
145
  </g>
146
  <!-- \\MLAModal_Ajax -->
147
- <g id="node16" class="node"><title>\\MLAModal_Ajax</title>
148
  <a xlink:href="includes.class-mla-media-modal-ajax.html" xlink:title="MLAModal_Ajax" target="_parent">
149
- <polygon fill="none" stroke="black" points="606,-1090.55 502,-1090.55 502,-1054.55 606,-1054.55 606,-1090.55"/>
150
- <text text-anchor="middle" x="554" y="-1069.75" font-family="Courier,monospace" font-size="11.00">MLAModal_Ajax</text>
151
  </a>
152
  </g>
153
  <!-- \\MLAModal -->
154
- <g id="node17" class="node"><title>\\MLAModal</title>
155
  <a xlink:href="includes.class-mla-media-modal.html" xlink:title="MLAModal" target="_parent">
156
- <polygon fill="none" stroke="black" points="589.5,-1036.55 518.5,-1036.55 518.5,-1000.55 589.5,-1000.55 589.5,-1036.55"/>
157
- <text text-anchor="middle" x="554" y="-1015.75" font-family="Courier,monospace" font-size="11.00">MLAModal</text>
158
  </a>
159
  </g>
160
  <!-- \\MLAMime -->
161
- <g id="node18" class="node"><title>\\MLAMime</title>
162
  <a xlink:href="includes.class-mla-mime-types.html" xlink:title="MLAMime" target="_parent">
163
- <polygon fill="none" stroke="black" points="586,-982.547 522,-982.547 522,-946.547 586,-946.547 586,-982.547"/>
164
- <text text-anchor="middle" x="554" y="-961.747" font-family="Courier,monospace" font-size="11.00">MLAMime</text>
165
  </a>
166
  </g>
167
  <!-- \\MLAObjects -->
168
- <g id="node19" class="node"><title>\\MLAObjects</title>
169
  <a xlink:href="includes.class-mla-objects.html" xlink:title="MLAObjects" target="_parent">
170
- <polygon fill="none" stroke="black" points="596,-928.547 512,-928.547 512,-892.547 596,-892.547 596,-928.547"/>
171
- <text text-anchor="middle" x="554" y="-907.747" font-family="Courier,monospace" font-size="11.00">MLAObjects</text>
172
  </a>
173
  </g>
174
  <!-- \\MLATextWidget -->
175
- <g id="node20" class="node"><title>\\MLATextWidget</title>
176
  <a xlink:href="includes.class-mla-objects.html" xlink:title="MLATextWidget" target="_parent">
177
- <polygon fill="none" stroke="black" points="606,-496.547 502,-496.547 502,-460.547 606,-460.547 606,-496.547"/>
178
- <text text-anchor="middle" x="554" y="-475.747" font-family="Courier,monospace" font-size="11.00">MLATextWidget</text>
179
  </a>
180
  </g>
181
  <!-- \\WP_Widget -->
182
- <g id="node40" class="node"><title>\\WP_Widget</title>
183
- <ellipse fill="none" stroke="black" cx="294" cy="-48.5471" rx="58.4896" ry="18"/>
184
- <text text-anchor="middle" x="294" y="-44.8471" font-family="Times New Roman,serif" font-size="14.00" fill="gray">\WP_Widget</text>
185
  </g>
186
  <!-- \\MLATextWidget&#45;&gt;\\WP_Widget -->
187
- <g id="edge9" class="edge"><title>\\MLATextWidget&#45;&gt;\\WP_Widget</title>
188
- <path fill="none" stroke="black" d="M501.754,-477.448C481.153,-474.351 458.819,-467.183 444,-451.547 326.956,-328.053 483.085,-204.428 372,-75.5471 367.104,-69.8667 360.94,-65.381 354.242,-61.8389"/>
189
- <polygon fill="none" stroke="black" points="355.399,-58.5201 344.847,-57.5699 352.503,-64.8931 355.399,-58.5201"/>
190
  </g>
191
  <!-- \\MLAOptions -->
192
- <g id="node21" class="node"><title>\\MLAOptions</title>
193
  <a xlink:href="includes.class-mla-options.html" xlink:title="MLAOptions" target="_parent">
194
- <polygon fill="none" stroke="black" points="596,-820.547 512,-820.547 512,-784.547 596,-784.547 596,-820.547"/>
195
- <text text-anchor="middle" x="554" y="-799.747" font-family="Courier,monospace" font-size="11.00">MLAOptions</text>
196
  </a>
197
  </g>
198
  <!-- \\MLA_Polylang -->
199
- <g id="node22" class="node"><title>\\MLA_Polylang</title>
200
  <a xlink:href="includes.class-mla-polylang-support.html" xlink:title="MLA_Polylang" target="_parent">
201
- <polygon fill="none" stroke="black" points="603,-766.547 505,-766.547 505,-730.547 603,-730.547 603,-766.547"/>
202
- <text text-anchor="middle" x="554" y="-745.747" font-family="Courier,monospace" font-size="11.00">MLA_Polylang</text>
203
  </a>
204
  </g>
205
  <!-- \\MLASettings -->
206
- <g id="node23" class="node"><title>\\MLASettings</title>
207
  <a xlink:href="includes.class-mla-settings.html" xlink:title="MLASettings" target="_parent">
208
- <polygon fill="none" stroke="black" points="599.5,-712.547 508.5,-712.547 508.5,-676.547 599.5,-676.547 599.5,-712.547"/>
209
- <text text-anchor="middle" x="554" y="-691.747" font-family="Courier,monospace" font-size="11.00">MLASettings</text>
210
  </a>
211
  </g>
212
  <!-- \\MLAShortcode_Support -->
213
- <g id="node24" class="node"><title>\\MLAShortcode_Support</title>
214
  <a xlink:href="includes.class-mla-shortcode-support.html" xlink:title="MLAShortcode_Support" target="_parent">
215
- <polygon fill="none" stroke="black" points="630,-658.547 478,-658.547 478,-622.547 630,-622.547 630,-658.547"/>
216
- <text text-anchor="middle" x="554" y="-637.747" font-family="Courier,monospace" font-size="11.00">MLAShortcode_Support</text>
217
  </a>
218
  </g>
219
  <!-- \\MLAShortcodes -->
220
- <g id="node25" class="node"><title>\\MLAShortcodes</title>
221
  <a xlink:href="includes.class-mla-shortcodes.html" xlink:title="MLAShortcodes" target="_parent">
222
- <polygon fill="none" stroke="black" points="606,-604.547 502,-604.547 502,-568.547 606,-568.547 606,-604.547"/>
223
- <text text-anchor="middle" x="554" y="-583.747" font-family="Courier,monospace" font-size="11.00">MLAShortcodes</text>
224
  </a>
225
  </g>
226
  <!-- \\MLA_Thumbnail -->
227
- <g id="node26" class="node"><title>\\MLA_Thumbnail</title>
228
  <a xlink:href="includes.class-mla-thumbnail-generation.html" xlink:title="MLA_Thumbnail" target="_parent">
229
- <polygon fill="none" stroke="black" points="606,-550.547 502,-550.547 502,-514.547 606,-514.547 606,-550.547"/>
230
- <text text-anchor="middle" x="554" y="-529.747" font-family="Courier,monospace" font-size="11.00">MLA_Thumbnail</text>
231
  </a>
232
  </g>
233
  <!-- \\MLA_Upload_List_Table -->
234
- <g id="node27" class="node"><title>\\MLA_Upload_List_Table</title>
235
  <a xlink:href="includes.class-mla-upload-list-table.html" xlink:title="MLA_Upload_List_Table" target="_parent">
236
- <polygon fill="none" stroke="black" points="633,-442.547 475,-442.547 475,-406.547 633,-406.547 633,-442.547"/>
237
- <text text-anchor="middle" x="554" y="-421.747" font-family="Courier,monospace" font-size="11.00">MLA_Upload_List_Table</text>
238
  </a>
239
  </g>
240
  <!-- \\MLA_Upload_List_Table&#45;&gt;\\WP_List_Table -->
241
- <g id="edge11" class="edge"><title>\\MLA_Upload_List_Table&#45;&gt;\\WP_List_Table</title>
242
- <path fill="none" stroke="black" d="M474.961,-416.848C463.341,-412.624 452.449,-406.462 444,-397.547 326.956,-274.053 489.099,-144.989 372,-21.5471 347.741,4.0258 330.061,1.086 295,-2.54707"/>
243
  </g>
244
  <!-- \\MLA_Upload_Optional_List_Table -->
245
- <g id="node28" class="node"><title>\\MLA_Upload_Optional_List_Table</title>
246
  <a xlink:href="includes.class-mla-upload-optional-list-table.html" xlink:title="MLA_Upload_Optional_List_Table" target="_parent">
247
- <polygon fill="none" stroke="black" points="663.5,-388.547 444.5,-388.547 444.5,-352.547 663.5,-352.547 663.5,-388.547"/>
248
- <text text-anchor="middle" x="554" y="-367.747" font-family="Courier,monospace" font-size="11.00">MLA_Upload_Optional_List_Table</text>
249
  </a>
250
  </g>
251
  <!-- \\MLA_Upload_Optional_List_Table&#45;&gt;\\WP_List_Table -->
252
- <g id="edge13" class="edge"><title>\\MLA_Upload_Optional_List_Table&#45;&gt;\\WP_List_Table</title>
253
- <path fill="none" stroke="black" d="M454.753,-352.459C450.886,-349.849 447.271,-346.893 444,-343.547 341.497,-238.676 474.55,-126.372 372,-21.5471 347.35,3.64939 330.061,1.086 295,-2.54707"/>
254
  </g>
255
  <!-- \\MLA_View_List_Table -->
256
- <g id="node29" class="node"><title>\\MLA_View_List_Table</title>
257
  <a xlink:href="includes.class-mla-view-list-table.html" xlink:title="MLA_View_List_Table" target="_parent">
258
- <polygon fill="none" stroke="black" points="626.5,-280.547 481.5,-280.547 481.5,-244.547 626.5,-244.547 626.5,-280.547"/>
259
- <text text-anchor="middle" x="554" y="-259.747" font-family="Courier,monospace" font-size="11.00">MLA_View_List_Table</text>
260
  </a>
261
  </g>
262
  <!-- \\MLA_View_List_Table&#45;&gt;\\WP_List_Table -->
263
- <g id="edge15" class="edge"><title>\\MLA_View_List_Table&#45;&gt;\\WP_List_Table</title>
264
- <path fill="none" stroke="black" d="M481.297,-255.58C467.644,-251.443 454.394,-245.125 444,-235.547 370.202,-167.547 445.828,-89.5138 372,-21.5471 346.067,2.32676 330.061,1.086 295,-2.54707"/>
265
- <path fill="none" stroke="black" d="M293,-2.54707C257.939,-6.18014 241.64,2.64111 216,-21.5471 88.2557,-142.059 73.7955,-374.055 72.7804,-454.913"/>
266
- <polygon fill="none" stroke="black" points="69.2782,-455.27 72.716,-465.292 76.2781,-455.314 69.2782,-455.27"/>
267
  </g>
268
  <!-- \\MLA_WPML -->
269
- <g id="node30" class="node"><title>\\MLA_WPML</title>
270
  <a xlink:href="includes.class-mla-wpml-support.html" xlink:title="MLA_WPML" target="_parent">
271
- <polygon fill="none" stroke="black" points="589.5,-334.547 518.5,-334.547 518.5,-298.547 589.5,-298.547 589.5,-334.547"/>
272
- <text text-anchor="middle" x="554" y="-313.747" font-family="Courier,monospace" font-size="11.00">MLA_WPML</text>
273
  </a>
274
  </g>
275
  <!-- \\MLA_WPML_List_Table -->
276
- <g id="node31" class="node"><title>\\MLA_WPML_List_Table</title>
277
  <a xlink:href="includes.class-mla-wpml-support.html" xlink:title="MLA_WPML_List_Table" target="_parent">
278
- <polygon fill="none" stroke="black" points="626.5,-1792.55 481.5,-1792.55 481.5,-1756.55 626.5,-1756.55 626.5,-1792.55"/>
279
- <text text-anchor="middle" x="554" y="-1771.75" font-family="Courier,monospace" font-size="11.00">MLA_WPML_List_Table</text>
280
  </a>
281
  </g>
282
  <!-- \\MLA_WPML_List_Table&#45;&gt;\\MLA_List_Table -->
283
- <g id="edge17" class="edge"><title>\\MLA_WPML_List_Table&#45;&gt;\\MLA_List_Table</title>
284
- <path fill="none" stroke="black" d="M481.38,-1768.98C467.391,-1764.79 453.986,-1758.09 444,-1747.55 337.584,-1635.16 303.323,-1120.86 296.416,-993.927"/>
285
- <polygon fill="none" stroke="black" points="299.906,-993.636 295.881,-983.836 292.915,-994.007 299.906,-993.636"/>
286
  </g>
287
  <!-- \\MLA_WPML_Table -->
288
- <g id="node32" class="node"><title>\\MLA_WPML_Table</title>
289
  <a xlink:href="includes.class-mla-wpml-support.html" xlink:title="MLA_WPML_Table" target="_parent">
290
- <polygon fill="none" stroke="black" points="609.5,-226.547 498.5,-226.547 498.5,-190.547 609.5,-190.547 609.5,-226.547"/>
291
- <text text-anchor="middle" x="554" y="-205.747" font-family="Courier,monospace" font-size="11.00">MLA_WPML_Table</text>
292
  </a>
293
  </g>
294
  <!-- \\MLATest -->
295
- <g id="node33" class="node"><title>\\MLATest</title>
296
  <a xlink:href="tests.class-mla-tests.html" xlink:title="MLATest" target="_parent">
297
- <polygon fill="none" stroke="black" points="586,-172.547 522,-172.547 522,-136.547 586,-136.547 586,-172.547"/>
298
- <text text-anchor="middle" x="554" y="-151.747" font-family="Courier,monospace" font-size="11.00">MLATest</text>
299
  </a>
300
  </g>
301
  </g>
4
  <!-- Generated by graphviz version 2.28.0 (20110507.0327)
5
  -->
6
  <!-- Title: G Pages: 1 -->
7
+ <svg width="730pt" height="1946pt"
8
+ viewBox="0.00 0.00 730.00 1946.47" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
9
+ <g id="graph1" class="graph" transform="scale(1 1) rotate(0) translate(4 1942.47)">
10
  <title>G</title>
11
+ <polygon fill="white" stroke="white" points="-4,5 -4,-1942.47 727,-1942.47 727,5 -4,5"/>
12
  <g id="graph2" class="cluster"><title>cluster_global</title>
13
+ <polyline fill="none" stroke="gray" points="263,-184.471 702,-184.471 "/>
14
+ <path fill="none" stroke="gray" d="M702,-184.471C708,-184.471 714,-190.471 714,-196.471"/>
15
+ <polyline fill="none" stroke="gray" points="714,-196.471 714,-1918.47 "/>
16
+ <path fill="none" stroke="gray" d="M714,-1918.47C714,-1924.47 708,-1930.47 702,-1930.47"/>
17
+ <polyline fill="none" stroke="gray" points="702,-1930.47 263,-1930.47 "/>
18
+ <path fill="none" stroke="gray" d="M263,-1930.47C257,-1930.47 251,-1924.47 251,-1918.47"/>
19
+ <polyline fill="none" stroke="gray" points="251,-1918.47 251,-196.471 "/>
20
+ <path fill="none" stroke="gray" d="M251,-196.471C251,-190.471 257,-184.471 263,-184.471"/>
21
+ <text text-anchor="middle" x="482.5" y="-1917.67" font-family="Times New Roman,serif" font-size="11.00" fill="gray">global</text>
22
  </g>
23
  <!-- \\MNA_Pad_Counts_Walker -->
24
  <g id="node2" class="node"><title>\\MNA_Pad_Counts_Walker</title>
25
  <a xlink:href="examples.twentytwelve-mla.content-tosca30-dropdown.html" xlink:title="MNA_Pad_Counts_Walker" target="_parent">
26
+ <polygon fill="none" stroke="black" points="675,-1686.47 517,-1686.47 517,-1650.47 675,-1650.47 675,-1686.47"/>
27
+ <text text-anchor="middle" x="596" y="-1665.67" font-family="Courier,monospace" font-size="11.00">MNA_Pad_Counts_Walker</text>
28
  </a>
29
  </g>
30
  <!-- \\Walker_Category -->
31
+ <g id="node36" class="node"><title>\\Walker_Category</title>
32
+ <ellipse fill="none" stroke="black" cx="315" cy="-158.471" rx="77.1866" ry="18"/>
33
+ <text text-anchor="middle" x="315" y="-154.771" font-family="Times New Roman,serif" font-size="14.00" fill="gray">\Walker_Category</text>
34
  </g>
35
  <!-- \\MNA_Pad_Counts_Walker&#45;&gt;\\Walker_Category -->
36
  <g id="edge3" class="edge"><title>\\MNA_Pad_Counts_Walker&#45;&gt;\\Walker_Category</title>
37
+ <path fill="none" stroke="black" d="M516.96,-1662.15C505.043,-1657.81 494.053,-1651.26 486,-1641.47 279.436,-1390.48 623.311,-429.174 414,-180.471 409.726,-175.393 404.557,-171.339 398.853,-168.116"/>
38
+ <polygon fill="none" stroke="black" points="400.039,-164.806 389.501,-163.708 397.055,-171.138 400.039,-164.806"/>
39
+ </g>
40
+ <!-- \\CPAC_Storage_Model_MLA -->
41
+ <g id="node3" class="node"><title>\\CPAC_Storage_Model_MLA</title>
42
+ <a xlink:href="includes.class-mla-admin-columns-support.html" xlink:title="CPAC_Storage_Model_MLA" target="_parent">
43
+ <polygon fill="none" stroke="black" points="678.5,-930.471 513.5,-930.471 513.5,-894.471 678.5,-894.471 678.5,-930.471"/>
44
+ <text text-anchor="middle" x="596" y="-909.671" font-family="Courier,monospace" font-size="11.00">CPAC_Storage_Model_MLA</text>
45
+ </a>
46
+ </g>
47
+ <!-- \\CPAC_Storage_Model -->
48
+ <g id="node38" class="node"><title>\\CPAC_Storage_Model</title>
49
+ <ellipse fill="none" stroke="black" cx="315" cy="-104.471" rx="98.5829" ry="18"/>
50
+ <text text-anchor="middle" x="315" y="-100.771" font-family="Times New Roman,serif" font-size="14.00" fill="gray">\CPAC_Storage_Model</text>
51
+ </g>
52
+ <!-- \\CPAC_Storage_Model_MLA&#45;&gt;\\CPAC_Storage_Model -->
53
+ <g id="edge5" class="edge"><title>\\CPAC_Storage_Model_MLA&#45;&gt;\\CPAC_Storage_Model</title>
54
+ <path fill="none" stroke="black" d="M513.231,-904.258C502.852,-899.999 493.321,-893.961 486,-885.471 376.082,-758 522.25,-260.362 414,-131.471 410.542,-127.354 406.519,-123.834 402.114,-120.828"/>
55
+ <polygon fill="none" stroke="black" points="403.626,-117.658 393.221,-115.658 400.107,-123.71 403.626,-117.658"/>
56
  </g>
57
  <!-- \\MLA_Ajax -->
58
+ <g id="node4" class="node"><title>\\MLA_Ajax</title>
59
  <a xlink:href="includes.class-mla-ajax.html" xlink:title="MLA_Ajax" target="_parent">
60
+ <polygon fill="none" stroke="black" points="631.5,-1794.47 560.5,-1794.47 560.5,-1758.47 631.5,-1758.47 631.5,-1794.47"/>
61
+ <text text-anchor="middle" x="596" y="-1773.67" font-family="Courier,monospace" font-size="11.00">MLA_Ajax</text>
62
  </a>
63
  </g>
64
  <!-- \\MLACore -->
65
+ <g id="node5" class="node"><title>\\MLACore</title>
66
  <a xlink:href="includes.class-mla-core.html" xlink:title="MLACore" target="_parent">
67
+ <polygon fill="none" stroke="black" points="628,-1740.47 564,-1740.47 564,-1704.47 628,-1704.47 628,-1740.47"/>
68
+ <text text-anchor="middle" x="596" y="-1719.67" font-family="Courier,monospace" font-size="11.00">MLACore</text>
69
  </a>
70
  </g>
71
  <!-- \\MLA_Checklist_Walker -->
72
+ <g id="node6" class="node"><title>\\MLA_Checklist_Walker</title>
73
  <a xlink:href="includes.class-mla-core.html" xlink:title="MLA_Checklist_Walker" target="_parent">
74
+ <polygon fill="none" stroke="black" points="672,-1848.47 520,-1848.47 520,-1812.47 672,-1812.47 672,-1848.47"/>
75
+ <text text-anchor="middle" x="596" y="-1827.67" font-family="Courier,monospace" font-size="11.00">MLA_Checklist_Walker</text>
76
  </a>
77
  </g>
78
  <!-- \\MLA_Checklist_Walker&#45;&gt;\\Walker_Category -->
79
+ <g id="edge7" class="edge"><title>\\MLA_Checklist_Walker&#45;&gt;\\Walker_Category</title>
80
+ <path fill="none" stroke="black" d="M519.963,-1825.24C506.886,-1820.93 494.708,-1814.1 486,-1803.47 371.634,-1663.81 529.894,-318.864 414,-180.471 409.739,-175.383 404.578,-171.321 398.88,-168.093"/>
81
+ <polygon fill="none" stroke="black" points="400.072,-164.786 389.535,-163.68 397.083,-171.115 400.072,-164.786"/>
82
  </g>
83
  <!-- \\MLAPDF -->
84
+ <g id="node7" class="node"><title>\\MLAPDF</title>
85
  <a xlink:href="includes.class-mla-data-pdf.html" xlink:title="MLAPDF" target="_parent">
86
+ <polygon fill="none" stroke="black" points="624.5,-1632.47 567.5,-1632.47 567.5,-1596.47 624.5,-1596.47 624.5,-1632.47"/>
87
+ <text text-anchor="middle" x="596" y="-1611.67" font-family="Courier,monospace" font-size="11.00">MLAPDF</text>
88
  </a>
89
  </g>
90
  <!-- \\MLAQuery -->
91
+ <g id="node8" class="node"><title>\\MLAQuery</title>
92
  <a xlink:href="includes.class-mla-data-query.html" xlink:title="MLAQuery" target="_parent">
93
+ <polygon fill="none" stroke="black" points="631.5,-1578.47 560.5,-1578.47 560.5,-1542.47 631.5,-1542.47 631.5,-1578.47"/>
94
+ <text text-anchor="middle" x="596" y="-1557.67" font-family="Courier,monospace" font-size="11.00">MLAQuery</text>
95
  </a>
96
  </g>
97
  <!-- \\MLAReferences -->
98
+ <g id="node9" class="node"><title>\\MLAReferences</title>
99
  <a xlink:href="includes.class-mla-data-references.html" xlink:title="MLAReferences" target="_parent">
100
+ <polygon fill="none" stroke="black" points="648,-1524.47 544,-1524.47 544,-1488.47 648,-1488.47 648,-1524.47"/>
101
+ <text text-anchor="middle" x="596" y="-1503.67" font-family="Courier,monospace" font-size="11.00">MLAReferences</text>
102
  </a>
103
  </g>
104
+ <!-- \\MLAData_Source -->
105
+ <g id="node10" class="node"><title>\\MLAData_Source</title>
106
+ <a xlink:href="includes.class-mla-data-source.html" xlink:title="MLAData_Source" target="_parent">
107
+ <polygon fill="none" stroke="black" points="651.5,-1470.47 540.5,-1470.47 540.5,-1434.47 651.5,-1434.47 651.5,-1470.47"/>
108
+ <text text-anchor="middle" x="596" y="-1449.67" font-family="Courier,monospace" font-size="11.00">MLAData_Source</text>
109
  </a>
110
  </g>
111
  <!-- \\MLAData -->
112
+ <g id="node11" class="node"><title>\\MLAData</title>
113
  <a xlink:href="includes.class-mla-data.html" xlink:title="MLAData" target="_parent">
114
+ <polygon fill="none" stroke="black" points="628,-1416.47 564,-1416.47 564,-1380.47 628,-1380.47 628,-1416.47"/>
115
+ <text text-anchor="middle" x="596" y="-1395.67" font-family="Courier,monospace" font-size="11.00">MLAData</text>
116
  </a>
117
  </g>
118
  <!-- \\MLAEdit -->
119
+ <g id="node12" class="node"><title>\\MLAEdit</title>
120
  <a xlink:href="includes.class-mla-edit-media.html" xlink:title="MLAEdit" target="_parent">
121
+ <polygon fill="none" stroke="black" points="628,-1362.47 564,-1362.47 564,-1326.47 628,-1326.47 628,-1362.47"/>
122
+ <text text-anchor="middle" x="596" y="-1341.67" font-family="Courier,monospace" font-size="11.00">MLAEdit</text>
123
  </a>
124
  </g>
125
  <!-- \\MLAImageProcessor -->
126
+ <g id="node13" class="node"><title>\\MLAImageProcessor</title>
127
  <a xlink:href="includes.class-mla-image-processor.html" xlink:title="MLAImageProcessor" target="_parent">
128
+ <polygon fill="none" stroke="black" points="661.5,-1308.47 530.5,-1308.47 530.5,-1272.47 661.5,-1272.47 661.5,-1308.47"/>
129
+ <text text-anchor="middle" x="596" y="-1287.67" font-family="Courier,monospace" font-size="11.00">MLAImageProcessor</text>
130
  </a>
131
  </g>
132
  <!-- \\MLAMutex -->
133
+ <g id="node14" class="node"><title>\\MLAMutex</title>
134
  <a xlink:href="includes.class-mla-image-processor.html" xlink:title="MLAMutex" target="_parent">
135
+ <polygon fill="none" stroke="black" points="631.5,-1254.47 560.5,-1254.47 560.5,-1218.47 631.5,-1218.47 631.5,-1254.47"/>
136
+ <text text-anchor="middle" x="596" y="-1233.67" font-family="Courier,monospace" font-size="11.00">MLAMutex</text>
137
  </a>
138
  </g>
139
  <!-- \\MLA_List_Table -->
140
+ <g id="node15" class="node"><title>\\MLA_List_Table</title>
141
  <a xlink:href="includes.class-mla-list-table.html" xlink:title="MLA_List_Table" target="_parent">
142
+ <polygon fill="none" stroke="black" points="370.5,-1066.47 259.5,-1066.47 259.5,-1030.47 370.5,-1030.47 370.5,-1066.47"/>
143
+ <text text-anchor="middle" x="315" y="-1045.67" font-family="Courier,monospace" font-size="11.00">MLA_List_Table</text>
144
  </a>
145
  </g>
146
  <!-- \\WP_List_Table -->
147
+ <g id="node41" class="node"><title>\\WP_List_Table</title>
148
+ <ellipse fill="none" stroke="black" cx="72" cy="-526.471" rx="71.4873" ry="18"/>
149
+ <text text-anchor="middle" x="72" y="-522.771" font-family="Times New Roman,serif" font-size="14.00" fill="gray">\WP_List_Table</text>
150
  </g>
151
  <!-- \\MLA_List_Table&#45;&gt;\\WP_List_Table -->
152
+ <g id="edge9" class="edge"><title>\\MLA_List_Table&#45;&gt;\\WP_List_Table</title>
153
+ <path fill="none" stroke="black" d="M259.492,-1046.56C243.778,-1043.49 227.73,-1037.54 216,-1026.47 145.192,-959.638 92.1903,-650.495 77.2537,-554.79"/>
154
+ <polygon fill="none" stroke="black" points="80.6812,-554.051 75.6975,-544.702 73.763,-555.119 80.6812,-554.051"/>
155
  </g>
156
  <!-- \\MLA -->
157
+ <g id="node16" class="node"><title>\\MLA</title>
158
  <a xlink:href="includes.class-mla-main.html" xlink:title="MLA" target="_parent">
159
+ <polygon fill="none" stroke="black" points="623,-1200.47 569,-1200.47 569,-1164.47 623,-1164.47 623,-1200.47"/>
160
+ <text text-anchor="middle" x="596" y="-1179.67" font-family="Courier,monospace" font-size="11.00">MLA</text>
161
  </a>
162
  </g>
163
  <!-- \\MLAModal_Ajax -->
164
+ <g id="node17" class="node"><title>\\MLAModal_Ajax</title>
165
  <a xlink:href="includes.class-mla-media-modal-ajax.html" xlink:title="MLAModal_Ajax" target="_parent">
166
+ <polygon fill="none" stroke="black" points="648,-1146.47 544,-1146.47 544,-1110.47 648,-1110.47 648,-1146.47"/>
167
+ <text text-anchor="middle" x="596" y="-1125.67" font-family="Courier,monospace" font-size="11.00">MLAModal_Ajax</text>
168
  </a>
169
  </g>
170
  <!-- \\MLAModal -->
171
+ <g id="node18" class="node"><title>\\MLAModal</title>
172
  <a xlink:href="includes.class-mla-media-modal.html" xlink:title="MLAModal" target="_parent">
173
+ <polygon fill="none" stroke="black" points="631.5,-1092.47 560.5,-1092.47 560.5,-1056.47 631.5,-1056.47 631.5,-1092.47"/>
174
+ <text text-anchor="middle" x="596" y="-1071.67" font-family="Courier,monospace" font-size="11.00">MLAModal</text>
175
  </a>
176
  </g>
177
  <!-- \\MLAMime -->
178
+ <g id="node19" class="node"><title>\\MLAMime</title>
179
  <a xlink:href="includes.class-mla-mime-types.html" xlink:title="MLAMime" target="_parent">
180
+ <polygon fill="none" stroke="black" points="628,-1038.47 564,-1038.47 564,-1002.47 628,-1002.47 628,-1038.47"/>
181
+ <text text-anchor="middle" x="596" y="-1017.67" font-family="Courier,monospace" font-size="11.00">MLAMime</text>
182
  </a>
183
  </g>
184
  <!-- \\MLAObjects -->
185
+ <g id="node20" class="node"><title>\\MLAObjects</title>
186
  <a xlink:href="includes.class-mla-objects.html" xlink:title="MLAObjects" target="_parent">
187
+ <polygon fill="none" stroke="black" points="638,-984.471 554,-984.471 554,-948.471 638,-948.471 638,-984.471"/>
188
+ <text text-anchor="middle" x="596" y="-963.671" font-family="Courier,monospace" font-size="11.00">MLAObjects</text>
189
  </a>
190
  </g>
191
  <!-- \\MLATextWidget -->
192
+ <g id="node21" class="node"><title>\\MLATextWidget</title>
193
  <a xlink:href="includes.class-mla-objects.html" xlink:title="MLATextWidget" target="_parent">
194
+ <polygon fill="none" stroke="black" points="648,-552.471 544,-552.471 544,-516.471 648,-516.471 648,-552.471"/>
195
+ <text text-anchor="middle" x="596" y="-531.671" font-family="Courier,monospace" font-size="11.00">MLATextWidget</text>
196
  </a>
197
  </g>
198
  <!-- \\WP_Widget -->
199
+ <g id="node43" class="node"><title>\\WP_Widget</title>
200
+ <ellipse fill="none" stroke="black" cx="315" cy="-50.4711" rx="58.4896" ry="18"/>
201
+ <text text-anchor="middle" x="315" y="-46.7711" font-family="Times New Roman,serif" font-size="14.00" fill="gray">\WP_Widget</text>
202
  </g>
203
  <!-- \\MLATextWidget&#45;&gt;\\WP_Widget -->
204
+ <g id="edge11" class="edge"><title>\\MLATextWidget&#45;&gt;\\WP_Widget</title>
205
+ <path fill="none" stroke="black" d="M543.856,-533.58C523.147,-530.535 500.702,-523.35 486,-507.471 354.352,-365.287 543.787,-221.356 414,-77.4711 405.466,-68.0099 393.95,-61.7377 381.814,-57.6084"/>
206
+ <polygon fill="none" stroke="black" points="382.574,-54.1839 371.993,-54.7361 380.609,-60.9025 382.574,-54.1839"/>
207
  </g>
208
  <!-- \\MLAOptions -->
209
+ <g id="node22" class="node"><title>\\MLAOptions</title>
210
  <a xlink:href="includes.class-mla-options.html" xlink:title="MLAOptions" target="_parent">
211
+ <polygon fill="none" stroke="black" points="638,-876.471 554,-876.471 554,-840.471 638,-840.471 638,-876.471"/>
212
+ <text text-anchor="middle" x="596" y="-855.671" font-family="Courier,monospace" font-size="11.00">MLAOptions</text>
213
  </a>
214
  </g>
215
  <!-- \\MLA_Polylang -->
216
+ <g id="node23" class="node"><title>\\MLA_Polylang</title>
217
  <a xlink:href="includes.class-mla-polylang-support.html" xlink:title="MLA_Polylang" target="_parent">
218
+ <polygon fill="none" stroke="black" points="645,-822.471 547,-822.471 547,-786.471 645,-786.471 645,-822.471"/>
219
+ <text text-anchor="middle" x="596" y="-801.671" font-family="Courier,monospace" font-size="11.00">MLA_Polylang</text>
220
  </a>
221
  </g>
222
  <!-- \\MLASettings -->
223
+ <g id="node24" class="node"><title>\\MLASettings</title>
224
  <a xlink:href="includes.class-mla-settings.html" xlink:title="MLASettings" target="_parent">
225
+ <polygon fill="none" stroke="black" points="641.5,-768.471 550.5,-768.471 550.5,-732.471 641.5,-732.471 641.5,-768.471"/>
226
+ <text text-anchor="middle" x="596" y="-747.671" font-family="Courier,monospace" font-size="11.00">MLASettings</text>
227
  </a>
228
  </g>
229
  <!-- \\MLAShortcode_Support -->
230
+ <g id="node25" class="node"><title>\\MLAShortcode_Support</title>
231
  <a xlink:href="includes.class-mla-shortcode-support.html" xlink:title="MLAShortcode_Support" target="_parent">
232
+ <polygon fill="none" stroke="black" points="672,-714.471 520,-714.471 520,-678.471 672,-678.471 672,-714.471"/>
233
+ <text text-anchor="middle" x="596" y="-693.671" font-family="Courier,monospace" font-size="11.00">MLAShortcode_Support</text>
234
  </a>
235
  </g>
236
  <!-- \\MLAShortcodes -->
237
+ <g id="node26" class="node"><title>\\MLAShortcodes</title>
238
  <a xlink:href="includes.class-mla-shortcodes.html" xlink:title="MLAShortcodes" target="_parent">
239
+ <polygon fill="none" stroke="black" points="648,-660.471 544,-660.471 544,-624.471 648,-624.471 648,-660.471"/>
240
+ <text text-anchor="middle" x="596" y="-639.671" font-family="Courier,monospace" font-size="11.00">MLAShortcodes</text>
241
  </a>
242
  </g>
243
  <!-- \\MLA_Thumbnail -->
244
+ <g id="node27" class="node"><title>\\MLA_Thumbnail</title>
245
  <a xlink:href="includes.class-mla-thumbnail-generation.html" xlink:title="MLA_Thumbnail" target="_parent">
246
+ <polygon fill="none" stroke="black" points="648,-606.471 544,-606.471 544,-570.471 648,-570.471 648,-606.471"/>
247
+ <text text-anchor="middle" x="596" y="-585.671" font-family="Courier,monospace" font-size="11.00">MLA_Thumbnail</text>
248
  </a>
249
  </g>
250
  <!-- \\MLA_Upload_List_Table -->
251
+ <g id="node28" class="node"><title>\\MLA_Upload_List_Table</title>
252
  <a xlink:href="includes.class-mla-upload-list-table.html" xlink:title="MLA_Upload_List_Table" target="_parent">
253
+ <polygon fill="none" stroke="black" points="675,-498.471 517,-498.471 517,-462.471 675,-462.471 675,-498.471"/>
254
+ <text text-anchor="middle" x="596" y="-477.671" font-family="Courier,monospace" font-size="11.00">MLA_Upload_List_Table</text>
255
  </a>
256
  </g>
257
  <!-- \\MLA_Upload_List_Table&#45;&gt;\\WP_List_Table -->
258
+ <g id="edge13" class="edge"><title>\\MLA_Upload_List_Table&#45;&gt;\\WP_List_Table</title>
259
+ <path fill="none" stroke="black" d="M516.783,-472.939C505.183,-468.695 494.344,-462.483 486,-453.471 354.352,-311.287 549.252,-162.231 414,-23.4711 383.032,8.2998 360.203,-0.659233 316,-4.47109"/>
260
  </g>
261
  <!-- \\MLA_Upload_Optional_List_Table -->
262
+ <g id="node29" class="node"><title>\\MLA_Upload_Optional_List_Table</title>
263
  <a xlink:href="includes.class-mla-upload-optional-list-table.html" xlink:title="MLA_Upload_Optional_List_Table" target="_parent">
264
+ <polygon fill="none" stroke="black" points="705.5,-444.471 486.5,-444.471 486.5,-408.471 705.5,-408.471 705.5,-444.471"/>
265
+ <text text-anchor="middle" x="596" y="-423.671" font-family="Courier,monospace" font-size="11.00">MLA_Upload_Optional_List_Table</text>
266
  </a>
267
  </g>
268
  <!-- \\MLA_Upload_Optional_List_Table&#45;&gt;\\WP_List_Table -->
269
+ <g id="edge15" class="edge"><title>\\MLA_Upload_Optional_List_Table&#45;&gt;\\WP_List_Table</title>
270
+ <path fill="none" stroke="black" d="M496.147,-408.174C492.495,-405.613 489.085,-402.726 486,-399.471 368.956,-275.977 534.174,-143.922 414,-23.4711 382.664,7.93693 360.203,-0.659233 316,-4.47109"/>
271
  </g>
272
  <!-- \\MLA_View_List_Table -->
273
+ <g id="node30" class="node"><title>\\MLA_View_List_Table</title>
274
  <a xlink:href="includes.class-mla-view-list-table.html" xlink:title="MLA_View_List_Table" target="_parent">
275
+ <polygon fill="none" stroke="black" points="668.5,-336.471 523.5,-336.471 523.5,-300.471 668.5,-300.471 668.5,-336.471"/>
276
+ <text text-anchor="middle" x="596" y="-315.671" font-family="Courier,monospace" font-size="11.00">MLA_View_List_Table</text>
277
  </a>
278
  </g>
279
  <!-- \\MLA_View_List_Table&#45;&gt;\\WP_List_Table -->
280
+ <g id="edge17" class="edge"><title>\\MLA_View_List_Table&#45;&gt;\\WP_List_Table</title>
281
+ <path fill="none" stroke="black" d="M523.395,-312.166C509.573,-308.001 496.231,-301.503 486,-291.471 397.937,-205.121 504.249,-107.534 414,-23.4711 381.535,6.76829 360.203,-0.659233 316,-4.47109"/>
282
+ <path fill="none" stroke="black" d="M314,-4.47109C269.797,-8.28294 248.684,6.53168 216,-23.4711 143.793,-89.7549 91.6588,-402.077 77.1068,-498.228"/>
283
+ <polygon fill="none" stroke="black" points="73.6099,-497.948 75.5928,-508.356 80.5329,-498.983 73.6099,-497.948"/>
284
  </g>
285
  <!-- \\MLA_WPML -->
286
+ <g id="node31" class="node"><title>\\MLA_WPML</title>
287
  <a xlink:href="includes.class-mla-wpml-support.html" xlink:title="MLA_WPML" target="_parent">
288
+ <polygon fill="none" stroke="black" points="631.5,-390.471 560.5,-390.471 560.5,-354.471 631.5,-354.471 631.5,-390.471"/>
289
+ <text text-anchor="middle" x="596" y="-369.671" font-family="Courier,monospace" font-size="11.00">MLA_WPML</text>
290
  </a>
291
  </g>
292
  <!-- \\MLA_WPML_List_Table -->
293
+ <g id="node32" class="node"><title>\\MLA_WPML_List_Table</title>
294
  <a xlink:href="includes.class-mla-wpml-support.html" xlink:title="MLA_WPML_List_Table" target="_parent">
295
+ <polygon fill="none" stroke="black" points="668.5,-1902.47 523.5,-1902.47 523.5,-1866.47 668.5,-1866.47 668.5,-1902.47"/>
296
+ <text text-anchor="middle" x="596" y="-1881.67" font-family="Courier,monospace" font-size="11.00">MLA_WPML_List_Table</text>
297
  </a>
298
  </g>
299
  <!-- \\MLA_WPML_List_Table&#45;&gt;\\MLA_List_Table -->
300
+ <g id="edge19" class="edge"><title>\\MLA_WPML_List_Table&#45;&gt;\\MLA_List_Table</title>
301
+ <path fill="none" stroke="black" d="M523.247,-1878.68C509.351,-1874.49 496.018,-1867.85 486,-1857.47 374.157,-1741.56 327.75,-1206.98 318.013,-1077.01"/>
302
+ <polygon fill="none" stroke="black" points="321.478,-1076.41 317.254,-1066.7 314.497,-1076.93 321.478,-1076.41"/>
303
  </g>
304
  <!-- \\MLA_WPML_Table -->
305
+ <g id="node33" class="node"><title>\\MLA_WPML_Table</title>
306
  <a xlink:href="includes.class-mla-wpml-support.html" xlink:title="MLA_WPML_Table" target="_parent">
307
+ <polygon fill="none" stroke="black" points="651.5,-282.471 540.5,-282.471 540.5,-246.471 651.5,-246.471 651.5,-282.471"/>
308
+ <text text-anchor="middle" x="596" y="-261.671" font-family="Courier,monospace" font-size="11.00">MLA_WPML_Table</text>
309
  </a>
310
  </g>
311
  <!-- \\MLATest -->
312
+ <g id="node34" class="node"><title>\\MLATest</title>
313
  <a xlink:href="tests.class-mla-tests.html" xlink:title="MLATest" target="_parent">
314
+ <polygon fill="none" stroke="black" points="628,-228.471 564,-228.471 564,-192.471 628,-192.471 628,-228.471"/>
315
+ <text text-anchor="middle" x="596" y="-207.671" font-family="Courier,monospace" font-size="11.00">MLATest</text>
316
  </a>
317
  </g>
318
  </g>
phpDocs/classes/CPAC_Storage_Model_MLA.html ADDED
@@ -0,0 +1,241 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html><html xmlns:date="http://exslt.org/dates-and-times" lang="en">
2
+ <head>
3
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
4
+ <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
5
+ <meta charset="utf-8">
6
+ <title>Media Library Assistant » \CPAC_Storage_Model_MLA</title>
7
+ <meta name="author" content="Mike van Riel">
8
+ <meta name="description" content="">
9
+ <link href="../css/template.css" rel="stylesheet" media="all">
10
+ <script src="../js/jquery-1.7.1.min.js" type="text/javascript"></script><script src="../js/jquery-ui-1.8.2.custom.min.js" type="text/javascript"></script><script src="../js/jquery.mousewheel.min.js" type="text/javascript"></script><script src="../js/bootstrap.js" type="text/javascript"></script><script src="../js/template.js" type="text/javascript"></script><script src="../js/prettify/prettify.min.js" type="text/javascript"></script><link rel="shortcut icon" href="../img/favicon.ico">
11
+ <link rel="apple-touch-icon" href="../img/apple-touch-icon.png">
12
+ <link rel="apple-touch-icon" sizes="72x72" href="../img/apple-touch-icon-72x72.png">
13
+ <link rel="apple-touch-icon" sizes="114x114" href="../img/apple-touch-icon-114x114.png">
14
+ </head>
15
+ <body>
16
+ <div class="navbar navbar-fixed-top">
17
+ <div class="navbar-inner"><div class="container">
18
+ <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse"><span class="icon-bar"></span><span class="icon-bar"></span><span class="icon-bar"></span></a><a class="brand" href="../index.html">Media Library Assistant</a><div class="nav-collapse"><ul class="nav">
19
+ <li class="dropdown">
20
+ <a href="#api" class="dropdown-toggle" data-toggle="dropdown">
21
+ API Documentation <b class="caret"></b></a><ul class="dropdown-menu">
22
+ <li><a>Packages</a></li>
23
+ <li><a href="../packages/Media%20Library%20Assistant.html"><i class="icon-folder-open"></i> Media Library Assistant</a></li>
24
+ </ul>
25
+ </li>
26
+ <li class="dropdown" id="charts-menu">
27
+ <a href="#charts" class="dropdown-toggle" data-toggle="dropdown">
28
+ Charts <b class="caret"></b></a><ul class="dropdown-menu"><li><a href="../graph_class.html"><i class="icon-list-alt"></i> Class hierarchy diagram</a></li></ul>
29
+ </li>
30
+ <li class="dropdown" id="reports-menu">
31
+ <a href="#reports" class="dropdown-toggle" data-toggle="dropdown">
32
+ Reports <b class="caret"></b></a><ul class="dropdown-menu">
33
+ <li><a href="../errors.html"><i class="icon-remove-sign"></i> Errors 
34
+ <span class="label label-info">0</span></a></li>
35
+ <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
36
+ <ul><li>todo 
37
+ <span class="label label-info">1</span>
38
+ </li></ul></a></li>
39
+ <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
40
+ <span class="label label-info">0</span></a></li>
41
+ </ul>
42
+ </li>
43
+ </ul></div>
44
+ </div></div>
45
+ <div class="go_to_top"><a href="#___" style="color: inherit">Back to top  <i class="icon-upload icon-white"></i></a></div>
46
+ </div>
47
+ <div id="___" class="container">
48
+ <noscript><div class="alert alert-warning">
49
+ Javascript is disabled; several features are only available
50
+ if Javascript is enabled.
51
+ </div></noscript>
52
+ <div class="row">
53
+ <div class="span4">
54
+ <span class="btn-group visibility" data-toggle="buttons-checkbox"><button class="btn public active" title="Show public elements">Public</button><button class="btn protected" title="Show protected elements">Protected</button><button class="btn private" title="Show private elements">Private</button><button class="btn inherited active" title="Show inherited elements">Inherited</button></span><div class="btn-group view pull-right" data-toggle="buttons-radio">
55
+ <button class="btn details" title="Show descriptions and method names"><i class="icon-list"></i></button><button class="btn simple" title="Show only method names"><i class="icon-align-justify"></i></button>
56
+ </div>
57
+ <ul class="side-nav nav nav-list">
58
+ <li class="nav-header">
59
+ <i class="icon-custom icon-method"></i> Methods</li>
60
+ <li class="method public "><a href="#__construct" title="__construct :: Initializes some properties, installs filters and then
61
+ calls the parent constructor to set some default configs."><span class="description">Initializes some properties, installs filters and then
62
+ calls the parent constructor to set some default configs.</span><pre>__construct()</pre></a></li>
63
+ <li class="method public "><a href="#get_default_column_names" title="get_default_column_names :: Returns the Media/Assistant submenu table column slugs/keys"><span class="description">Returns the Media/Assistant submenu table column slugs/keys</span><pre>get_default_column_names()</pre></a></li>
64
+ <li class="method public "><a href="#get_default_columns" title="get_default_columns :: Returns the Media/Assistant submenu table column definitions"><span class="description">Returns the Media/Assistant submenu table column definitions</span><pre>get_default_columns()</pre></a></li>
65
+ <li class="method public "><a href="#get_edit_link" title="get_edit_link :: Return a link to the Media/Assistant submenu Edit columns screen"><span class="description">Return a link to the Media/Assistant submenu Edit columns screen</span><pre>get_edit_link()</pre></a></li>
66
+ <li class="method public "><a href="#get_meta" title="get_meta :: Returns the custom fields assignedto Media Library items, removing those already present
67
+ in the Media/Assistant submenu table"><span class="description">Returns the custom fields assignedto Media Library items, removing those already present
68
+ in the Media/Assistant submenu table</span><pre>get_meta()</pre></a></li>
69
+ <li class="method public "><a href="#is_columns_screen" title="is_columns_screen :: Test for current screen = the Media/Assistant submenu screen"><span class="description">Test for current screen = the Media/Assistant submenu screen</span><pre>is_columns_screen()</pre></a></li>
70
+ <li class="method public "><a href="#manage_value" title="manage_value :: Return the content of an Admin Columns custom column"><span class="description">Return the content of an Admin Columns custom column</span><pre>manage_value()</pre></a></li>
71
+ <li class="nav-header protected">» Protected</li>
72
+ <li class="method protected "><a href="#get_screen_link" title="get_screen_link :: Return a link to the Media/Assistant submenu screen"><span class="description">Return a link to the Media/Assistant submenu screen</span><pre>get_screen_link()</pre></a></li>
73
+ </ul>
74
+ </div>
75
+ <div class="span8">
76
+ <a name="%5CCPAC_Storage_Model_MLA" id="\CPAC_Storage_Model_MLA"></a><ul class="breadcrumb">
77
+ <li>
78
+ <a href="../index.html"><i class="icon-custom icon-class"></i></a><span class="divider">\</span>
79
+ </li>
80
+ <li><a href="../namespaces/global.html">global</a></li>
81
+ <li class="active">
82
+ <span class="divider">\</span><a href="../classes/CPAC_Storage_Model_MLA.html">CPAC_Storage_Model_MLA</a>
83
+ </li>
84
+ </ul>
85
+ <div href="../classes/CPAC_Storage_Model_MLA.html" class="element class">
86
+ <p class="short_description">Class CPAC Storage Model MLA (Media Library Assistant) supports the Admin Columns plugin</p>
87
+ <div class="details">
88
+ <p class="long_description"></p>
89
+ <table class="table table-bordered">
90
+ <tr>
91
+ <th>package</th>
92
+ <td><a href="../packages/Media%20Library%20Assistant.html">Media Library Assistant</a></td>
93
+ </tr>
94
+ <tr>
95
+ <th>since</th>
96
+ <td>2.22</td>
97
+ </tr>
98
+ </table>
99
+ <h3>
100
+ <i class="icon-custom icon-method"></i> Methods</h3>
101
+ <a name="__construct" id="__construct"></a><div class="element clickable method public __construct" data-toggle="collapse" data-target=".__construct .collapse">
102
+ <h2>Initializes some properties, installs filters and then
103
+ calls the parent constructor to set some default configs.</h2>
104
+ <pre>__construct() </pre>
105
+ <div class="labels"></div>
106
+ <div class="row collapse"><div class="detail-description">
107
+ <p class="long_description"></p>
108
+ <table class="table table-bordered"><tr>
109
+ <th>since</th>
110
+ <td>2.22</td>
111
+ </tr></table>
112
+ </div></div>
113
+ </div>
114
+ <a name="get_default_column_names" id="get_default_column_names"></a><div class="element clickable method public get_default_column_names" data-toggle="collapse" data-target=".get_default_column_names .collapse">
115
+ <h2>Returns the Media/Assistant submenu table column slugs/keys</h2>
116
+ <pre>get_default_column_names() : array</pre>
117
+ <div class="labels"></div>
118
+ <div class="row collapse"><div class="detail-description">
119
+ <p class="long_description"></p>
120
+ <table class="table table-bordered"><tr>
121
+ <th>since</th>
122
+ <td>2.22</td>
123
+ </tr></table>
124
+ <h3>Returns</h3>
125
+ <div class="subelement response">
126
+ <code>array</code>( index => 'column_slug' )</div>
127
+ </div></div>
128
+ </div>
129
+ <a name="get_default_columns" id="get_default_columns"></a><div class="element clickable method public get_default_columns" data-toggle="collapse" data-target=".get_default_columns .collapse">
130
+ <h2>Returns the Media/Assistant submenu table column definitions</h2>
131
+ <pre>get_default_columns() : array</pre>
132
+ <div class="labels"></div>
133
+ <div class="row collapse"><div class="detail-description">
134
+ <p class="long_description"></p>
135
+ <table class="table table-bordered"><tr>
136
+ <th>since</th>
137
+ <td>2.22</td>
138
+ </tr></table>
139
+ <h3>Returns</h3>
140
+ <div class="subelement response">
141
+ <code>array</code>( 'column_slug' => 'column_heading' )</div>
142
+ </div></div>
143
+ </div>
144
+ <a name="get_edit_link" id="get_edit_link"></a><div class="element clickable method public get_edit_link" data-toggle="collapse" data-target=".get_edit_link .collapse">
145
+ <h2>Return a link to the Media/Assistant submenu Edit columns screen</h2>
146
+ <pre>get_edit_link() : string</pre>
147
+ <div class="labels"></div>
148
+ <div class="row collapse"><div class="detail-description">
149
+ <p class="long_description"></p>
150
+ <table class="table table-bordered"><tr>
151
+ <th>since</th>
152
+ <td>2.22</td>
153
+ </tr></table>
154
+ <h3>Returns</h3>
155
+ <div class="subelement response">
156
+ <code>string</code>Link to the Media/Assistant submenu Edit columns screen</div>
157
+ </div></div>
158
+ </div>
159
+ <a name="get_meta" id="get_meta"></a><div class="element clickable method public get_meta" data-toggle="collapse" data-target=".get_meta .collapse">
160
+ <h2>Returns the custom fields assignedto Media Library items, removing those already present
161
+ in the Media/Assistant submenu table</h2>
162
+ <pre>get_meta() : array</pre>
163
+ <div class="labels"></div>
164
+ <div class="row collapse"><div class="detail-description">
165
+ <p class="long_description"></p>
166
+ <table class="table table-bordered"><tr>
167
+ <th>since</th>
168
+ <td>2.22</td>
169
+ </tr></table>
170
+ <h3>Returns</h3>
171
+ <div class="subelement response">
172
+ <code>array</code>( index => array( 0 => 'custom field name' ) )</div>
173
+ </div></div>
174
+ </div>
175
+ <a name="is_columns_screen" id="is_columns_screen"></a><div class="element clickable method public is_columns_screen" data-toggle="collapse" data-target=".is_columns_screen .collapse">
176
+ <h2>Test for current screen = the Media/Assistant submenu screen</h2>
177
+ <pre>is_columns_screen() : boolean</pre>
178
+ <div class="labels"></div>
179
+ <div class="row collapse"><div class="detail-description">
180
+ <p class="long_description"></p>
181
+ <table class="table table-bordered"><tr>
182
+ <th>since</th>
183
+ <td>2.22</td>
184
+ </tr></table>
185
+ <h3>Returns</h3>
186
+ <div class="subelement response">
187
+ <code>boolean</code>true if the Media/Assistant submenu is the current screen</div>
188
+ </div></div>
189
+ </div>
190
+ <a name="manage_value" id="manage_value"></a><div class="element clickable method public manage_value" data-toggle="collapse" data-target=".manage_value .collapse">
191
+ <h2>Return the content of an Admin Columns custom column</h2>
192
+ <pre>manage_value(string $content, object $item, string $column_name) : string</pre>
193
+ <div class="labels"></div>
194
+ <div class="row collapse"><div class="detail-description">
195
+ <p class="long_description"></p>
196
+ <table class="table table-bordered"><tr>
197
+ <th>since</th>
198
+ <td>2.22</td>
199
+ </tr></table>
200
+ <h3>Parameters</h3>
201
+ <div class="subelement argument">
202
+ <h4>$content</h4>
203
+ <code>string</code><p>Current column content (empty string)</p>
204
+ </div>
205
+ <div class="subelement argument">
206
+ <h4>$item</h4>
207
+ <code>object</code><p>Current Media Library item</p></div>
208
+ <div class="subelement argument">
209
+ <h4>$column_name</h4>
210
+ <code>string</code><p>Current column slug</p></div>
211
+ <h3>Returns</h3>
212
+ <div class="subelement response">
213
+ <code>string</code>Column value or NULL if not an Admin Columns custom column</div>
214
+ </div></div>
215
+ </div>
216
+ <a name="get_screen_link" id="get_screen_link"></a><div class="element clickable method protected get_screen_link" data-toggle="collapse" data-target=".get_screen_link .collapse">
217
+ <h2>Return a link to the Media/Assistant submenu screen</h2>
218
+ <pre>get_screen_link() : string</pre>
219
+ <div class="labels"></div>
220
+ <div class="row collapse"><div class="detail-description">
221
+ <p class="long_description"></p>
222
+ <table class="table table-bordered"><tr>
223
+ <th>since</th>
224
+ <td>2.22</td>
225
+ </tr></table>
226
+ <h3>Returns</h3>
227
+ <div class="subelement response">
228
+ <code>string</code>Link to the Media/Assistant submenu screen</div>
229
+ </div></div>
230
+ </div>
231
+ </div>
232
+ </div>
233
+ </div>
234
+ </div>
235
+ <div class="row"><footer class="span12">
236
+ Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
237
+ Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
238
+ generated on 2016-01-03T09:26:08-08:00.<br></footer></div>
239
+ </div>
240
+ </body>
241
+ </html>
phpDocs/classes/MLA.html CHANGED
@@ -782,7 +782,7 @@ Defined as public because it's an action.</p></p>
782
  <div class="row"><footer class="span12">
783
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
784
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
785
- generated on 2015-12-01T21:12:14-08:00.<br></footer></div>
786
  </div>
787
  </body>
788
  </html>
782
  <div class="row"><footer class="span12">
783
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
784
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
785
+ generated on 2016-01-03T09:26:08-08:00.<br></footer></div>
786
  </div>
787
  </body>
788
  </html>
phpDocs/classes/MLACore.html CHANGED
@@ -57,6 +57,7 @@
57
  <ul class="side-nav nav nav-list">
58
  <li class="nav-header">
59
  <i class="icon-custom icon-method"></i> Methods</li>
 
60
  <li class="method public "><a href="#initialize" title="initialize :: Initialization function, similar to __construct()"><span class="description">Initialization function, similar to __construct()</span><pre>initialize()</pre></a></li>
61
  <li class="method public "><a href="#mla_checklist_meta_box" title='mla_checklist_meta_box :: Display taxonomy "checklist" form fields'><span class="description">Display taxonomy "checklist" form fields</span><pre>mla_checklist_meta_box()</pre></a></li>
62
  <li class="method public "><a href="#mla_custom_field_support" title="mla_custom_field_support :: Evaluate support information for custom field mapping"><span class="description">Evaluate support information for custom field mapping</span><pre>mla_custom_field_support()</pre></a></li>
@@ -68,6 +69,7 @@
68
  <li class="method public "><a href="#mla_delete_option" title="mla_delete_option :: Delete the stored value of a defined MLA option"><span class="description">Delete the stored value of a defined MLA option</span><pre>mla_delete_option()</pre></a></li>
69
  <li class="method public "><a href="#mla_get_option" title="mla_get_option :: Return the stored value or default value of a defined MLA option"><span class="description">Return the stored value or default value of a defined MLA option</span><pre>mla_get_option()</pre></a></li>
70
  <li class="method public "><a href="#mla_initialize_tax_checked_on_top" title='mla_initialize_tax_checked_on_top :: Initialize "tax_checked_on_top" =&gt; "checked" default for all supported taxonomies'><span class="description">Initialize "tax_checked_on_top" =&gt; "checked" default for all supported taxonomies</span><pre>mla_initialize_tax_checked_on_top()</pre></a></li>
 
71
  <li class="method public "><a href="#mla_localize_option_definitions_array" title="mla_localize_option_definitions_array :: Localize $mla_option_definitions array"><span class="description">Localize $mla_option_definitions array</span><pre>mla_localize_option_definitions_array()</pre></a></li>
72
  <li class="method public "><a href="#mla_parse_view_specification" title="mla_parse_view_specification :: Analyze a Library View/Post MIME Type specification, returning an array of the placeholders it contains"><span class="description">Analyze a Library View/Post MIME Type specification, returning an array of the placeholders it contains</span><pre>mla_parse_view_specification()</pre></a></li>
73
  <li class="method public "><a href="#mla_prepare_view_query" title="mla_prepare_view_query :: Convert a Library View/Post MIME Type specification to WP_Query parameters"><span class="description">Convert a Library View/Post MIME Type specification to WP_Query parameters</span><pre>mla_prepare_view_query()</pre></a></li>
@@ -80,6 +82,7 @@ settings are being updated or reset.</span><pre>mla_taxonomy_support()</pre></a>
80
  <li class="method private "><a href="#_debug_log" title="_debug_log :: Write a debug message to the appropriate log file"><span class="description">Write a debug message to the appropriate log file</span><pre>_debug_log()</pre></a></li>
81
  <li class="nav-header">
82
  <i class="icon-custom icon-property"></i> Properties</li>
 
83
  <li class="property public "><a href="#%24mla_debug_level" title="$mla_debug_level :: Effective MLA Debug Level, from MLA_DEBUG_LEVEL or override option"><span class="description">Effective MLA Debug Level, from MLA_DEBUG_LEVEL or override option</span><pre>$mla_debug_level</pre></a></li>
84
  <li class="property public "><a href="#%24mla_option_definitions" title="$mla_option_definitions :: $mla_option_definitions defines the database options and admin page areas for setting/updating them"><span class="description">$mla_option_definitions defines the database options and admin page areas for setting/updating them</span><pre>$mla_option_definitions</pre></a></li>
85
  <li class="property public "><a href="#%24original_php_log" title="$original_php_log :: Original PHP error_log path and file"><span class="description">Original PHP error_log path and file</span><pre>$original_php_log</pre></a></li>
@@ -195,6 +198,26 @@ also controls the ATTACHMENT DETAILS enhancements</span><pre>MLA_MEDIA_MODAL_TOO
195
  </table>
196
  <h3>
197
  <i class="icon-custom icon-method"></i> Methods</h3>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
198
  <a name="initialize" id="initialize"></a><div class="element clickable method public initialize" data-toggle="collapse" data-target=".initialize .collapse">
199
  <h2>Initialization function, similar to __construct()</h2>
200
  <pre>initialize() : void</pre>
@@ -423,6 +446,32 @@ will be added to the front of the value if necessary.</p></p>
423
  </tr></table>
424
  </div></div>
425
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
426
  <a name="mla_localize_option_definitions_array" id="mla_localize_option_definitions_array"></a><div class="element clickable method public mla_localize_option_definitions_array" data-toggle="collapse" data-target=".mla_localize_option_definitions_array .collapse">
427
  <h2>Localize $mla_option_definitions array</h2>
428
  <pre>mla_localize_option_definitions_array() : void</pre>
@@ -566,6 +615,18 @@ settings are being updated or reset.</h2>
566
  </div>
567
  <h3>
568
  <i class="icon-custom icon-property"></i> Properties</h3>
 
 
 
 
 
 
 
 
 
 
 
 
569
  <a name="%24mla_debug_level" id="$mla_debug_level"> </a><div class="element clickable property public $mla_debug_level" data-toggle="collapse" data-target=".$mla_debug_level .collapse">
570
  <h2>Effective MLA Debug Level, from MLA_DEBUG_LEVEL or override option</h2>
571
  <pre>$mla_debug_level : integer</pre>
@@ -1197,7 +1258,7 @@ also controls the ATTACHMENT DETAILS enhancements</h2>
1197
  <div class="row"><footer class="span12">
1198
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
1199
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
1200
- generated on 2015-12-01T21:12:13-08:00.<br></footer></div>
1201
  </div>
1202
  </body>
1203
  </html>
57
  <ul class="side-nav nav nav-list">
58
  <li class="nav-header">
59
  <i class="icon-custom icon-method"></i> Methods</li>
60
+ <li class="method public "><a href="#admin_columns_support" title="admin_columns_support :: Define the Media/Assistant submenu screen to the Admin Columns plugin"><span class="description">Define the Media/Assistant submenu screen to the Admin Columns plugin</span><pre>admin_columns_support()</pre></a></li>
61
  <li class="method public "><a href="#initialize" title="initialize :: Initialization function, similar to __construct()"><span class="description">Initialization function, similar to __construct()</span><pre>initialize()</pre></a></li>
62
  <li class="method public "><a href="#mla_checklist_meta_box" title='mla_checklist_meta_box :: Display taxonomy "checklist" form fields'><span class="description">Display taxonomy "checklist" form fields</span><pre>mla_checklist_meta_box()</pre></a></li>
63
  <li class="method public "><a href="#mla_custom_field_support" title="mla_custom_field_support :: Evaluate support information for custom field mapping"><span class="description">Evaluate support information for custom field mapping</span><pre>mla_custom_field_support()</pre></a></li>
69
  <li class="method public "><a href="#mla_delete_option" title="mla_delete_option :: Delete the stored value of a defined MLA option"><span class="description">Delete the stored value of a defined MLA option</span><pre>mla_delete_option()</pre></a></li>
70
  <li class="method public "><a href="#mla_get_option" title="mla_get_option :: Return the stored value or default value of a defined MLA option"><span class="description">Return the stored value or default value of a defined MLA option</span><pre>mla_get_option()</pre></a></li>
71
  <li class="method public "><a href="#mla_initialize_tax_checked_on_top" title='mla_initialize_tax_checked_on_top :: Initialize "tax_checked_on_top" =&gt; "checked" default for all supported taxonomies'><span class="description">Initialize "tax_checked_on_top" =&gt; "checked" default for all supported taxonomies</span><pre>mla_initialize_tax_checked_on_top()</pre></a></li>
72
+ <li class="method public "><a href="#mla_load_template" title="mla_load_template :: Load an HTML template from a file"><span class="description">Load an HTML template from a file</span><pre>mla_load_template()</pre></a></li>
73
  <li class="method public "><a href="#mla_localize_option_definitions_array" title="mla_localize_option_definitions_array :: Localize $mla_option_definitions array"><span class="description">Localize $mla_option_definitions array</span><pre>mla_localize_option_definitions_array()</pre></a></li>
74
  <li class="method public "><a href="#mla_parse_view_specification" title="mla_parse_view_specification :: Analyze a Library View/Post MIME Type specification, returning an array of the placeholders it contains"><span class="description">Analyze a Library View/Post MIME Type specification, returning an array of the placeholders it contains</span><pre>mla_parse_view_specification()</pre></a></li>
75
  <li class="method public "><a href="#mla_prepare_view_query" title="mla_prepare_view_query :: Convert a Library View/Post MIME Type specification to WP_Query parameters"><span class="description">Convert a Library View/Post MIME Type specification to WP_Query parameters</span><pre>mla_prepare_view_query()</pre></a></li>
82
  <li class="method private "><a href="#_debug_log" title="_debug_log :: Write a debug message to the appropriate log file"><span class="description">Write a debug message to the appropriate log file</span><pre>_debug_log()</pre></a></li>
83
  <li class="nav-header">
84
  <i class="icon-custom icon-property"></i> Properties</li>
85
+ <li class="property public "><a href="#%24admin_columns_storage_model" title="$admin_columns_storage_model :: Admin Columns support storage model object for the Media/Assistant submenu"><span class="description">Admin Columns support storage model object for the Media/Assistant submenu</span><pre>$admin_columns_storage_model</pre></a></li>
86
  <li class="property public "><a href="#%24mla_debug_level" title="$mla_debug_level :: Effective MLA Debug Level, from MLA_DEBUG_LEVEL or override option"><span class="description">Effective MLA Debug Level, from MLA_DEBUG_LEVEL or override option</span><pre>$mla_debug_level</pre></a></li>
87
  <li class="property public "><a href="#%24mla_option_definitions" title="$mla_option_definitions :: $mla_option_definitions defines the database options and admin page areas for setting/updating them"><span class="description">$mla_option_definitions defines the database options and admin page areas for setting/updating them</span><pre>$mla_option_definitions</pre></a></li>
88
  <li class="property public "><a href="#%24original_php_log" title="$original_php_log :: Original PHP error_log path and file"><span class="description">Original PHP error_log path and file</span><pre>$original_php_log</pre></a></li>
198
  </table>
199
  <h3>
200
  <i class="icon-custom icon-method"></i> Methods</h3>
201
+ <a name="admin_columns_support" id="admin_columns_support"></a><div class="element clickable method public admin_columns_support" data-toggle="collapse" data-target=".admin_columns_support .collapse">
202
+ <h2>Define the Media/Assistant submenu screen to the Admin Columns plugin</h2>
203
+ <pre>admin_columns_support(array $storage_models, object $cpac) </pre>
204
+ <div class="labels"></div>
205
+ <div class="row collapse"><div class="detail-description">
206
+ <p class="long_description"></p>
207
+ <table class="table table-bordered"><tr>
208
+ <th>since</th>
209
+ <td>2.22</td>
210
+ </tr></table>
211
+ <h3>Parameters</h3>
212
+ <div class="subelement argument">
213
+ <h4>$storage_models</h4>
214
+ <code>array</code><p>List of storage model class instances ( [key] => [CPAC_Storage_Model object] )</p>
215
+ </div>
216
+ <div class="subelement argument">
217
+ <h4>$cpac</h4>
218
+ <code>object</code><p>CPAC, the root CodePress Admin Columns object</p></div>
219
+ </div></div>
220
+ </div>
221
  <a name="initialize" id="initialize"></a><div class="element clickable method public initialize" data-toggle="collapse" data-target=".initialize .collapse">
222
  <h2>Initialization function, similar to __construct()</h2>
223
  <pre>initialize() : void</pre>
446
  </tr></table>
447
  </div></div>
448
  </div>
449
+ <a name="mla_load_template" id="mla_load_template"></a><div class="element clickable method public mla_load_template" data-toggle="collapse" data-target=".mla_load_template .collapse">
450
+ <h2>Load an HTML template from a file</h2>
451
+ <pre>mla_load_template(string $source, string $type) : string | array | false | NULL</pre>
452
+ <div class="labels"></div>
453
+ <div class="row collapse"><div class="detail-description">
454
+ <p class="long_description"><p>Loads a template to a string or a multi-part template to an array.
455
+ Multi-part templates are divided by comments of the form <!-- template="key" -->,
456
+ where "key" becomes the key part of the array.</p></p>
457
+ <table class="table table-bordered"><tr>
458
+ <th>since</th>
459
+ <td>0.1</td>
460
+ </tr></table>
461
+ <h3>Parameters</h3>
462
+ <div class="subelement argument">
463
+ <h4>$source</h4>
464
+ <code>string</code><p>Complete path and/or name of the template file, option name or the raw template</p>
465
+ </div>
466
+ <div class="subelement argument">
467
+ <h4>$type</h4>
468
+ <code>string</code><p>Optional type of template source; 'path', 'file' (default), 'option', 'string'</p>
469
+ </div>
470
+ <h3>Returns</h3>
471
+ <div class="subelement response">
472
+ <code>string</code><code>array</code><code>false</code><code>NULL</code>string for files that do not contain template divider comments, array for files containing template divider comments, false if file or option does not exist, NULL if file could not be loaded.</div>
473
+ </div></div>
474
+ </div>
475
  <a name="mla_localize_option_definitions_array" id="mla_localize_option_definitions_array"></a><div class="element clickable method public mla_localize_option_definitions_array" data-toggle="collapse" data-target=".mla_localize_option_definitions_array .collapse">
476
  <h2>Localize $mla_option_definitions array</h2>
477
  <pre>mla_localize_option_definitions_array() : void</pre>
615
  </div>
616
  <h3>
617
  <i class="icon-custom icon-property"></i> Properties</h3>
618
+ <a name="%24admin_columns_storage_model" id="$admin_columns_storage_model"> </a><div class="element clickable property public $admin_columns_storage_model" data-toggle="collapse" data-target=".$admin_columns_storage_model .collapse">
619
+ <h2>Admin Columns support storage model object for the Media/Assistant submenu</h2>
620
+ <pre>$admin_columns_storage_model : object</pre>
621
+ <div class="labels"></div>
622
+ <div class="row collapse"><div class="detail-description">
623
+ <p class="long_description"></p>
624
+ <table class="table table-bordered"><tr>
625
+ <th>since</th>
626
+ <td>2.22</td>
627
+ </tr></table>
628
+ </div></div>
629
+ </div>
630
  <a name="%24mla_debug_level" id="$mla_debug_level"> </a><div class="element clickable property public $mla_debug_level" data-toggle="collapse" data-target=".$mla_debug_level .collapse">
631
  <h2>Effective MLA Debug Level, from MLA_DEBUG_LEVEL or override option</h2>
632
  <pre>$mla_debug_level : integer</pre>
1258
  <div class="row"><footer class="span12">
1259
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
1260
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
1261
+ generated on 2016-01-03T09:26:08-08:00.<br></footer></div>
1262
  </div>
1263
  </body>
1264
  </html>
phpDocs/classes/MLAData.html CHANGED
@@ -71,7 +71,6 @@
71
  <li class="method public "><a href="#mla_hex_dump" title="mla_hex_dump :: Format printable version of binary data"><span class="description">Format printable version of binary data</span><pre>mla_hex_dump()</pre></a></li>
72
  <li class="method public "><a href="#mla_id3_metadata_value" title="mla_id3_metadata_value :: Parse one ID3 (audio/visual) metadata field"><span class="description">Parse one ID3 (audio/visual) metadata field</span><pre>mla_id3_metadata_value()</pre></a></li>
73
  <li class="method public "><a href="#mla_iptc_metadata_value" title="mla_iptc_metadata_value :: Parse one IPTC metadata field"><span class="description">Parse one IPTC metadata field</span><pre>mla_iptc_metadata_value()</pre></a></li>
74
- <li class="method public "><a href="#mla_load_template" title="mla_load_template :: Load an HTML template from a file"><span class="description">Load an HTML template from a file</span><pre>mla_load_template()</pre></a></li>
75
  <li class="method public "><a href="#mla_parse_array_template" title="mla_parse_array_template :: Expand a template, replacing placeholders with their values"><span class="description">Expand a template, replacing placeholders with their values</span><pre>mla_parse_array_template()</pre></a></li>
76
  <li class="method public "><a href="#mla_parse_pdf_date" title="mla_parse_pdf_date :: Parse a PDF date string"><span class="description">Parse a PDF date string</span><pre>mla_parse_pdf_date()</pre></a></li>
77
  <li class="method public "><a href="#mla_parse_template" title="mla_parse_template :: Expand a template, replacing placeholders with their values"><span class="description">Expand a template, replacing placeholders with their values</span><pre>mla_parse_template()</pre></a></li>
@@ -527,32 +526,6 @@ the posts and postmeta tables, and all references to the attachment.</p></p>
527
  <code>mixed</code>string/array representation of metadata value or an empty string</div>
528
  </div></div>
529
  </div>
530
- <a name="mla_load_template" id="mla_load_template"></a><div class="element clickable method public mla_load_template" data-toggle="collapse" data-target=".mla_load_template .collapse">
531
- <h2>Load an HTML template from a file</h2>
532
- <pre>mla_load_template(string $source, string $type) : string | array | false | NULL</pre>
533
- <div class="labels"></div>
534
- <div class="row collapse"><div class="detail-description">
535
- <p class="long_description"><p>Loads a template to a string or a multi-part template to an array.
536
- Multi-part templates are divided by comments of the form <!-- template="key" -->,
537
- where "key" becomes the key part of the array.</p></p>
538
- <table class="table table-bordered"><tr>
539
- <th>since</th>
540
- <td>0.1</td>
541
- </tr></table>
542
- <h3>Parameters</h3>
543
- <div class="subelement argument">
544
- <h4>$source</h4>
545
- <code>string</code><p>Complete path and/or name of the template file, option name or the raw template</p>
546
- </div>
547
- <div class="subelement argument">
548
- <h4>$type</h4>
549
- <code>string</code><p>Optional type of template source; 'path', 'file' (default), 'option', 'string'</p>
550
- </div>
551
- <h3>Returns</h3>
552
- <div class="subelement response">
553
- <code>string</code><code>array</code><code>false</code><code>NULL</code>string for files that do not contain template divider comments, array for files containing template divider comments, false if file or option does not exist, NULL if file could not be loaded.</div>
554
- </div></div>
555
- </div>
556
  <a name="mla_parse_array_template" id="mla_parse_array_template"></a><div class="element clickable method public mla_parse_array_template" data-toggle="collapse" data-target=".mla_parse_array_template .collapse">
557
  <h2>Expand a template, replacing placeholders with their values</h2>
558
  <pre>mla_parse_array_template(string $tpl, array $markup_values) : mixed</pre>
@@ -1347,7 +1320,7 @@ the "IPTC-NAA Information Interchange Model Version No. 4.1".</p></p>
1347
  <div class="row"><footer class="span12">
1348
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
1349
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
1350
- generated on 2015-12-01T21:12:14-08:00.<br></footer></div>
1351
  </div>
1352
  </body>
1353
  </html>
71
  <li class="method public "><a href="#mla_hex_dump" title="mla_hex_dump :: Format printable version of binary data"><span class="description">Format printable version of binary data</span><pre>mla_hex_dump()</pre></a></li>
72
  <li class="method public "><a href="#mla_id3_metadata_value" title="mla_id3_metadata_value :: Parse one ID3 (audio/visual) metadata field"><span class="description">Parse one ID3 (audio/visual) metadata field</span><pre>mla_id3_metadata_value()</pre></a></li>
73
  <li class="method public "><a href="#mla_iptc_metadata_value" title="mla_iptc_metadata_value :: Parse one IPTC metadata field"><span class="description">Parse one IPTC metadata field</span><pre>mla_iptc_metadata_value()</pre></a></li>
 
74
  <li class="method public "><a href="#mla_parse_array_template" title="mla_parse_array_template :: Expand a template, replacing placeholders with their values"><span class="description">Expand a template, replacing placeholders with their values</span><pre>mla_parse_array_template()</pre></a></li>
75
  <li class="method public "><a href="#mla_parse_pdf_date" title="mla_parse_pdf_date :: Parse a PDF date string"><span class="description">Parse a PDF date string</span><pre>mla_parse_pdf_date()</pre></a></li>
76
  <li class="method public "><a href="#mla_parse_template" title="mla_parse_template :: Expand a template, replacing placeholders with their values"><span class="description">Expand a template, replacing placeholders with their values</span><pre>mla_parse_template()</pre></a></li>
526
  <code>mixed</code>string/array representation of metadata value or an empty string</div>
527
  </div></div>
528
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
529
  <a name="mla_parse_array_template" id="mla_parse_array_template"></a><div class="element clickable method public mla_parse_array_template" data-toggle="collapse" data-target=".mla_parse_array_template .collapse">
530
  <h2>Expand a template, replacing placeholders with their values</h2>
531
  <pre>mla_parse_array_template(string $tpl, array $markup_values) : mixed</pre>
1320
  <div class="row"><footer class="span12">
1321
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
1322
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
1323
+ generated on 2016-01-03T09:26:08-08:00.<br></footer></div>
1324
  </div>
1325
  </body>
1326
  </html>
phpDocs/classes/MLAData_source.html CHANGED
@@ -3,7 +3,7 @@
3
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
4
  <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
5
  <meta charset="utf-8">
6
- <title>Media Library Assistant » \MLAData_source</title>
7
  <meta name="author" content="Mike van Riel">
8
  <meta name="description" content="">
9
  <link href="../css/template.css" rel="stylesheet" media="all">
@@ -70,17 +70,17 @@
70
  </ul>
71
  </div>
72
  <div class="span8">
73
- <a name="%5CMLAData_source" id="\MLAData_source"></a><ul class="breadcrumb">
74
  <li>
75
  <a href="../index.html"><i class="icon-custom icon-class"></i></a><span class="divider">\</span>
76
  </li>
77
  <li><a href="../namespaces/global.html">global</a></li>
78
  <li class="active">
79
- <span class="divider">\</span><a href="../classes/MLAData_source.html">MLAData_source</a>
80
  </li>
81
  </ul>
82
- <div href="../classes/MLAData_source.html" class="element class">
83
- <p class="short_description">Class MLA (Media Library Assistant) Data SOurce manages data sources for
84
  custom field mapping and shortcode execution</p>
85
  <div class="details">
86
  <p class="long_description"></p>
@@ -286,7 +286,7 @@ excludes "template:" and "meta:" values.</p></p>
286
  <div class="row"><footer class="span12">
287
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
288
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
289
- generated on 2015-12-01T21:12:14-08:00.<br></footer></div>
290
  </div>
291
  </body>
292
  </html>
3
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
4
  <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
5
  <meta charset="utf-8">
6
+ <title>Media Library Assistant » \MLAData_Source</title>
7
  <meta name="author" content="Mike van Riel">
8
  <meta name="description" content="">
9
  <link href="../css/template.css" rel="stylesheet" media="all">
70
  </ul>
71
  </div>
72
  <div class="span8">
73
+ <a name="%5CMLAData_Source" id="\MLAData_Source"></a><ul class="breadcrumb">
74
  <li>
75
  <a href="../index.html"><i class="icon-custom icon-class"></i></a><span class="divider">\</span>
76
  </li>
77
  <li><a href="../namespaces/global.html">global</a></li>
78
  <li class="active">
79
+ <span class="divider">\</span><a href="../classes/MLAData_Source.html">MLAData_Source</a>
80
  </li>
81
  </ul>
82
+ <div href="../classes/MLAData_Source.html" class="element class">
83
+ <p class="short_description">Class MLA (Media Library Assistant) Data Source manages data sources for
84
  custom field mapping and shortcode execution</p>
85
  <div class="details">
86
  <p class="long_description"></p>
286
  <div class="row"><footer class="span12">
287
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
288
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
289
+ generated on 2016-01-03T09:26:08-08:00.<br></footer></div>
290
  </div>
291
  </body>
292
  </html>
phpDocs/classes/MLAEdit.html CHANGED
@@ -471,7 +471,7 @@ The array is built once each page load and cached for subsequent calls.</p></p>
471
  <div class="row"><footer class="span12">
472
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
473
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
474
- generated on 2015-12-01T21:12:14-08:00.<br></footer></div>
475
  </div>
476
  </body>
477
  </html>
471
  <div class="row"><footer class="span12">
472
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
473
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
474
+ generated on 2016-01-03T09:26:08-08:00.<br></footer></div>
475
  </div>
476
  </body>
477
  </html>
phpDocs/classes/MLAImageProcessor.html CHANGED
@@ -326,7 +326,7 @@ optional $_REQUEST parameters are:
326
  <div class="row"><footer class="span12">
327
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
328
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
329
- generated on 2015-12-01T21:12:14-08:00.<br></footer></div>
330
  </div>
331
  </body>
332
  </html>
326
  <div class="row"><footer class="span12">
327
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
328
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
329
+ generated on 2016-01-03T09:26:08-08:00.<br></footer></div>
330
  </div>
331
  </body>
332
  </html>
phpDocs/classes/MLAMime.html CHANGED
@@ -1308,7 +1308,7 @@ Defined as public because it's a filter.</p></p>
1308
  <div class="row"><footer class="span12">
1309
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
1310
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
1311
- generated on 2015-12-01T21:12:14-08:00.<br></footer></div>
1312
  </div>
1313
  </body>
1314
  </html>
1308
  <div class="row"><footer class="span12">
1309
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
1310
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
1311
+ generated on 2016-01-03T09:26:08-08:00.<br></footer></div>
1312
  </div>
1313
  </body>
1314
  </html>
phpDocs/classes/MLAModal.html CHANGED
@@ -69,11 +69,11 @@ but only once per page load</span><pre>mla_add_terms_search_scripts()</pre></a><
69
  <li class="method public "><a href="#mla_media_view_settings_filter" title="mla_media_view_settings_filter :: Adds settings values to be passed to the Media Manager in /wp-includes/js/media-views.js."><span class="description">Adds settings values to be passed to the Media Manager in /wp-includes/js/media-views.js.</span><pre>mla_media_view_settings_filter()</pre></a></li>
70
  <li class="method public "><a href="#mla_media_view_strings_filter" title="mla_media_view_strings_filter :: Adds string values to be passed to the Media Manager in /wp-includes/js/media-views.js."><span class="description">Adds string values to be passed to the Media Manager in /wp-includes/js/media-views.js.</span><pre>mla_media_view_strings_filter()</pre></a></li>
71
  <li class="method public "><a href="#mla_print_media_templates_action" title="mla_print_media_templates_action :: Prints the templates used in the MLA Media Manager enhancements."><span class="description">Prints the templates used in the MLA Media Manager enhancements.</span><pre>mla_print_media_templates_action()</pre></a></li>
 
72
  <li class="method public "><a href="#mla_terms_search_form" title='mla_terms_search_form :: Build the hidden form for the "Search Terms" popup modal window'><span class="description">Build the hidden form for the "Search Terms" popup modal window</span><pre>mla_terms_search_form()</pre></a></li>
73
  <li class="method public "><a href="#mla_wp_enqueue_media_action" title="mla_wp_enqueue_media_action :: Enqueues the mla-media-modal-scripts.js file, adding it to the Media Manager scripts."><span class="description">Enqueues the mla-media-modal-scripts.js file, adding it to the Media Manager scripts.</span><pre>mla_wp_enqueue_media_action()</pre></a></li>
74
  <li class="nav-header private">» Private</li>
75
  <li class="method private "><a href="#_months_dropdown" title="_months_dropdown :: Display a monthly dropdown for filtering items"><span class="description">Display a monthly dropdown for filtering items</span><pre>_months_dropdown()</pre></a></li>
76
- <li class="method private "><a href="#_terms_options" title="_terms_options :: Extract value and text elements from Dropdown HTML option tags"><span class="description">Extract value and text elements from Dropdown HTML option tags</span><pre>_terms_options()</pre></a></li>
77
  <li class="nav-header">
78
  <i class="icon-custom icon-property"></i> Properties</li>
79
  <li class="nav-header private">» Private</li>
@@ -234,6 +234,26 @@ but only once per page load</h2>
234
  </tr></table>
235
  </div></div>
236
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
237
  <a name="mla_terms_search_form" id="mla_terms_search_form"></a><div class="element clickable method public mla_terms_search_form" data-toggle="collapse" data-target=".mla_terms_search_form .collapse">
238
  <h2>Build the hidden form for the "Search Terms" popup modal window</h2>
239
  <pre>mla_terms_search_form() : string</pre>
@@ -281,26 +301,6 @@ but only once per page load</h2>
281
  <code>array</code>( value => label ) pairs</div>
282
  </div></div>
283
  </div>
284
- <a name="_terms_options" id="_terms_options"></a><div class="element clickable method private _terms_options" data-toggle="collapse" data-target="._terms_options .collapse">
285
- <h2>Extract value and text elements from Dropdown HTML option tags</h2>
286
- <pre>_terms_options(string $markup) : array</pre>
287
- <div class="labels"></div>
288
- <div class="row collapse"><div class="detail-description">
289
- <p class="long_description"></p>
290
- <table class="table table-bordered"><tr>
291
- <th>since</th>
292
- <td>1.20</td>
293
- </tr></table>
294
- <h3>Parameters</h3>
295
- <div class="subelement argument">
296
- <h4>$markup</h4>
297
- <code>string</code><p>HTML markup for taxonomy terms dropdown <select> tag</p>
298
- </div>
299
- <h3>Returns</h3>
300
- <div class="subelement response">
301
- <code>array</code>( 'class' => $class_array, 'value' => $value_array, 'text' => $text_array )</div>
302
- </div></div>
303
- </div>
304
  <h3>
305
  <i class="icon-custom icon-property"></i> Properties</h3>
306
  <a name="%24mla_media_modal_settings" id="$mla_media_modal_settings"> </a><div class="element clickable property private $mla_media_modal_settings" data-toggle="collapse" data-target=".$mla_media_modal_settings .collapse">
@@ -373,7 +373,7 @@ and mla_print_media_templates_action</h2>
373
  <div class="row"><footer class="span12">
374
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
375
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
376
- generated on 2015-12-01T21:12:14-08:00.<br></footer></div>
377
  </div>
378
  </body>
379
  </html>
69
  <li class="method public "><a href="#mla_media_view_settings_filter" title="mla_media_view_settings_filter :: Adds settings values to be passed to the Media Manager in /wp-includes/js/media-views.js."><span class="description">Adds settings values to be passed to the Media Manager in /wp-includes/js/media-views.js.</span><pre>mla_media_view_settings_filter()</pre></a></li>
70
  <li class="method public "><a href="#mla_media_view_strings_filter" title="mla_media_view_strings_filter :: Adds string values to be passed to the Media Manager in /wp-includes/js/media-views.js."><span class="description">Adds string values to be passed to the Media Manager in /wp-includes/js/media-views.js.</span><pre>mla_media_view_strings_filter()</pre></a></li>
71
  <li class="method public "><a href="#mla_print_media_templates_action" title="mla_print_media_templates_action :: Prints the templates used in the MLA Media Manager enhancements."><span class="description">Prints the templates used in the MLA Media Manager enhancements.</span><pre>mla_print_media_templates_action()</pre></a></li>
72
+ <li class="method public "><a href="#mla_terms_options" title="mla_terms_options :: Extract value and text elements from Dropdown HTML option tags"><span class="description">Extract value and text elements from Dropdown HTML option tags</span><pre>mla_terms_options()</pre></a></li>
73
  <li class="method public "><a href="#mla_terms_search_form" title='mla_terms_search_form :: Build the hidden form for the "Search Terms" popup modal window'><span class="description">Build the hidden form for the "Search Terms" popup modal window</span><pre>mla_terms_search_form()</pre></a></li>
74
  <li class="method public "><a href="#mla_wp_enqueue_media_action" title="mla_wp_enqueue_media_action :: Enqueues the mla-media-modal-scripts.js file, adding it to the Media Manager scripts."><span class="description">Enqueues the mla-media-modal-scripts.js file, adding it to the Media Manager scripts.</span><pre>mla_wp_enqueue_media_action()</pre></a></li>
75
  <li class="nav-header private">» Private</li>
76
  <li class="method private "><a href="#_months_dropdown" title="_months_dropdown :: Display a monthly dropdown for filtering items"><span class="description">Display a monthly dropdown for filtering items</span><pre>_months_dropdown()</pre></a></li>
 
77
  <li class="nav-header">
78
  <i class="icon-custom icon-property"></i> Properties</li>
79
  <li class="nav-header private">» Private</li>
234
  </tr></table>
235
  </div></div>
236
  </div>
237
+ <a name="mla_terms_options" id="mla_terms_options"></a><div class="element clickable method public mla_terms_options" data-toggle="collapse" data-target=".mla_terms_options .collapse">
238
+ <h2>Extract value and text elements from Dropdown HTML option tags</h2>
239
+ <pre>mla_terms_options(string $markup) : array</pre>
240
+ <div class="labels"></div>
241
+ <div class="row collapse"><div class="detail-description">
242
+ <p class="long_description"></p>
243
+ <table class="table table-bordered"><tr>
244
+ <th>since</th>
245
+ <td>1.20</td>
246
+ </tr></table>
247
+ <h3>Parameters</h3>
248
+ <div class="subelement argument">
249
+ <h4>$markup</h4>
250
+ <code>string</code><p>HTML markup for taxonomy terms dropdown <select> tag</p>
251
+ </div>
252
+ <h3>Returns</h3>
253
+ <div class="subelement response">
254
+ <code>array</code>( 'class' => $class_array, 'value' => $value_array, 'text' => $text_array )</div>
255
+ </div></div>
256
+ </div>
257
  <a name="mla_terms_search_form" id="mla_terms_search_form"></a><div class="element clickable method public mla_terms_search_form" data-toggle="collapse" data-target=".mla_terms_search_form .collapse">
258
  <h2>Build the hidden form for the "Search Terms" popup modal window</h2>
259
  <pre>mla_terms_search_form() : string</pre>
301
  <code>array</code>( value => label ) pairs</div>
302
  </div></div>
303
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
304
  <h3>
305
  <i class="icon-custom icon-property"></i> Properties</h3>
306
  <a name="%24mla_media_modal_settings" id="$mla_media_modal_settings"> </a><div class="element clickable property private $mla_media_modal_settings" data-toggle="collapse" data-target=".$mla_media_modal_settings .collapse">
373
  <div class="row"><footer class="span12">
374
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
375
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
376
+ generated on 2016-01-03T09:26:08-08:00.<br></footer></div>
377
  </div>
378
  </body>
379
  </html>
phpDocs/classes/MLAModal_Ajax.html CHANGED
@@ -226,7 +226,7 @@ Declared public because it is a filter.</p></p>
226
  <div class="row"><footer class="span12">
227
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
228
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
229
- generated on 2015-12-01T21:12:14-08:00.<br></footer></div>
230
  </div>
231
  </body>
232
  </html>
226
  <div class="row"><footer class="span12">
227
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
228
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
229
+ generated on 2016-01-03T09:26:08-08:00.<br></footer></div>
230
  </div>
231
  </body>
232
  </html>
phpDocs/classes/MLAMutex.html CHANGED
@@ -251,7 +251,7 @@ for the [mla_gallery] mla_viewer=single option</p>
251
  <div class="row"><footer class="span12">
252
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
253
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
254
- generated on 2015-12-01T21:12:14-08:00.<br></footer></div>
255
  </div>
256
  </body>
257
  </html>
251
  <div class="row"><footer class="span12">
252
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
253
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
254
+ generated on 2016-01-03T09:26:08-08:00.<br></footer></div>
255
  </div>
256
  </body>
257
  </html>
phpDocs/classes/MLAObjects.html CHANGED
@@ -171,7 +171,7 @@ which replaces the "Posts" column with an equivalent "Attachments" column.</h2>
171
  <div class="row"><footer class="span12">
172
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
173
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
174
- generated on 2015-12-01T21:12:14-08:00.<br></footer></div>
175
  </div>
176
  </body>
177
  </html>
171
  <div class="row"><footer class="span12">
172
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
173
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
174
+ generated on 2016-01-03T09:26:08-08:00.<br></footer></div>
175
  </div>
176
  </body>
177
  </html>
phpDocs/classes/MLAOptions.html CHANGED
@@ -1412,7 +1412,7 @@ also controls the ATTACHMENT DETAILS enhancements</h2>
1412
  <div class="row"><footer class="span12">
1413
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
1414
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
1415
- generated on 2015-12-01T21:12:14-08:00.<br></footer></div>
1416
  </div>
1417
  </body>
1418
  </html>
1412
  <div class="row"><footer class="span12">
1413
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
1414
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
1415
+ generated on 2016-01-03T09:26:08-08:00.<br></footer></div>
1416
  </div>
1417
  </body>
1418
  </html>
phpDocs/classes/MLAPDF.html CHANGED
@@ -382,7 +382,7 @@ The array value is array( number, generation, start, optional /length )</p></p>
382
  <div class="row"><footer class="span12">
383
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
384
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
385
- generated on 2015-12-01T21:12:13-08:00.<br></footer></div>
386
  </div>
387
  </body>
388
  </html>
382
  <div class="row"><footer class="span12">
383
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
384
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
385
+ generated on 2016-01-03T09:26:08-08:00.<br></footer></div>
386
  </div>
387
  </body>
388
  </html>
phpDocs/classes/MLAQuery.html CHANGED
@@ -95,15 +95,12 @@ Defined as public because it's a filter.</span><pre>mla_query_relevanssi_admin_s
95
  <li class="property public "><a href="#%24search_parameters" title="$search_parameters :: WP_Query 'posts_search' filter &quot;parameters&quot;"><span class="description">WP_Query 'posts_search' filter "parameters"</span><pre>$search_parameters</pre></a></li>
96
  <li class="property public "><a href="#%24wp_4dot0_plus" title="$wp_4dot0_plus :: WordPress version test for $wpdb-&gt;esc_like() Vs esc_sql()"><span class="description">WordPress version test for $wpdb-&gt;esc_like() Vs esc_sql()</span><pre>$wp_4dot0_plus</pre></a></li>
97
  <li class="nav-header private">» Private</li>
98
- <li class="property private "><a href="#%24mla_alt_text_view" title='$mla_alt_text_view :: Provides a unique name for the ALT Text "Search Media" SQL View'><span class="description">Provides a unique name for the ALT Text "Search Media" SQL View</span><pre>$mla_alt_text_view</pre></a></li>
99
  <li class="property private "><a href="#%24mla_list_table_items" title="$mla_list_table_items :: Cache the results of mla_count_list_table_items for reuse in mla_query_list_table_items"><span class="description">Cache the results of mla_count_list_table_items for reuse in mla_query_list_table_items</span><pre>$mla_list_table_items</pre></a></li>
100
- <li class="property private "><a href="#%24mla_orderby_view" title='$mla_orderby_view :: Provides a unique name for the custom field "orderby" SQL View'><span class="description">Provides a unique name for the custom field "orderby" SQL View</span><pre>$mla_orderby_view</pre></a></li>
101
- <li class="property private "><a href="#%24mla_table_view_custom" title='$mla_table_view_custom :: Provides a unique name for the "Table View custom:" SQL View'><span class="description">Provides a unique name for the "Table View custom:" SQL View</span><pre>$mla_table_view_custom</pre></a></li>
102
  <li class="nav-header">
103
  <i class="icon-custom icon-constant"></i> Constants</li>
104
- <li class="constant "><a href="#MLA_ALT_TEXT_VIEW_SUFFIX" title='MLA_ALT_TEXT_VIEW_SUFFIX :: Provides a unique suffix for the ALT Text "Search Media" SQL View'><span class="description">Provides a unique suffix for the ALT Text "Search Media" SQL View</span><pre>MLA_ALT_TEXT_VIEW_SUFFIX</pre></a></li>
105
- <li class="constant "><a href="#MLA_ORDERBY_VIEW_SUFFIX" title='MLA_ORDERBY_VIEW_SUFFIX :: Provides a unique suffix for the custom field "orderby" SQL View'><span class="description">Provides a unique suffix for the custom field "orderby" SQL View</span><pre>MLA_ORDERBY_VIEW_SUFFIX</pre></a></li>
106
- <li class="constant "><a href="#MLA_TABLE_VIEW_CUSTOM_SUFFIX" title='MLA_TABLE_VIEW_CUSTOM_SUFFIX :: Provides a unique suffix for the "Table View custom:" SQL View'><span class="description">Provides a unique suffix for the "Table View custom:" SQL View</span><pre>MLA_TABLE_VIEW_CUSTOM_SUFFIX</pre></a></li>
107
  </ul>
108
  </div>
109
  <div class="span8">
@@ -788,18 +785,6 @@ Note: 'alt-text' is not supported in [mla_gallery]
788
  </tr></table>
789
  </div></div>
790
  </div>
791
- <a name="%24mla_alt_text_view" id="$mla_alt_text_view"> </a><div class="element clickable property private $mla_alt_text_view" data-toggle="collapse" data-target=".$mla_alt_text_view .collapse">
792
- <h2>Provides a unique name for the ALT Text "Search Media" SQL View</h2>
793
- <pre>$mla_alt_text_view : array</pre>
794
- <div class="labels"></div>
795
- <div class="row collapse"><div class="detail-description">
796
- <p class="long_description"></p>
797
- <table class="table table-bordered"><tr>
798
- <th>since</th>
799
- <td>0.40</td>
800
- </tr></table>
801
- </div></div>
802
- </div>
803
  <a name="%24mla_list_table_items" id="$mla_list_table_items"> </a><div class="element clickable property private $mla_list_table_items" data-toggle="collapse" data-target=".$mla_list_table_items .collapse">
804
  <h2>Cache the results of mla_count_list_table_items for reuse in mla_query_list_table_items</h2>
805
  <pre>$mla_list_table_items : array</pre>
@@ -812,38 +797,14 @@ Note: 'alt-text' is not supported in [mla_gallery]
812
  </tr></table>
813
  </div></div>
814
  </div>
815
- <a name="%24mla_orderby_view" id="$mla_orderby_view"> </a><div class="element clickable property private $mla_orderby_view" data-toggle="collapse" data-target=".$mla_orderby_view .collapse">
816
- <h2>Provides a unique name for the custom field "orderby" SQL View</h2>
817
- <pre>$mla_orderby_view : array</pre>
818
- <div class="labels"></div>
819
- <div class="row collapse"><div class="detail-description">
820
- <p class="long_description"></p>
821
- <table class="table table-bordered"><tr>
822
- <th>since</th>
823
- <td>2.15</td>
824
- </tr></table>
825
- </div></div>
826
- </div>
827
- <a name="%24mla_table_view_custom" id="$mla_table_view_custom"> </a><div class="element clickable property private $mla_table_view_custom" data-toggle="collapse" data-target=".$mla_table_view_custom .collapse">
828
- <h2>Provides a unique name for the "Table View custom:" SQL View</h2>
829
- <pre>$mla_table_view_custom : array</pre>
830
- <div class="labels"></div>
831
- <div class="row collapse"><div class="detail-description">
832
- <p class="long_description"></p>
833
- <table class="table table-bordered"><tr>
834
- <th>since</th>
835
- <td>2.15</td>
836
- </tr></table>
837
- </div></div>
838
- </div>
839
  <h3>
840
  <i class="icon-custom icon-constant"></i> Constants</h3>
841
- <a name="MLA_ALT_TEXT_VIEW_SUFFIX" id="MLA_ALT_TEXT_VIEW_SUFFIX"> </a><div class="element clickable constant MLA_ALT_TEXT_VIEW_SUFFIX" data-toggle="collapse" data-target=".MLA_ALT_TEXT_VIEW_SUFFIX .collapse">
842
- <h2>Provides a unique suffix for the ALT Text "Search Media" SQL View</h2>
843
- <pre>MLA_ALT_TEXT_VIEW_SUFFIX </pre>
844
  <div class="labels"></div>
845
  <div class="row collapse"><div class="detail-description">
846
- <p class="long_description"><p>The SQL View is used to filter the Media/Assistant submenu table by
847
  ALT Text with the Search Media text box.</p></p>
848
  <table class="table table-bordered"><tr>
849
  <th>since</th>
@@ -851,12 +812,12 @@ ALT Text with the Search Media text box.</p></p>
851
  </tr></table>
852
  </div></div>
853
  </div>
854
- <a name="MLA_ORDERBY_VIEW_SUFFIX" id="MLA_ORDERBY_VIEW_SUFFIX"> </a><div class="element clickable constant MLA_ORDERBY_VIEW_SUFFIX" data-toggle="collapse" data-target=".MLA_ORDERBY_VIEW_SUFFIX .collapse">
855
- <h2>Provides a unique suffix for the custom field "orderby" SQL View</h2>
856
- <pre>MLA_ORDERBY_VIEW_SUFFIX </pre>
857
  <div class="labels"></div>
858
  <div class="row collapse"><div class="detail-description">
859
- <p class="long_description"><p>The SQL View is used to sort the Media/Assistant submenu table on
860
  ALT Text and custom field columns.</p></p>
861
  <table class="table table-bordered"><tr>
862
  <th>since</th>
@@ -864,9 +825,9 @@ ALT Text and custom field columns.</p></p>
864
  </tr></table>
865
  </div></div>
866
  </div>
867
- <a name="MLA_TABLE_VIEW_CUSTOM_SUFFIX" id="MLA_TABLE_VIEW_CUSTOM_SUFFIX"> </a><div class="element clickable constant MLA_TABLE_VIEW_CUSTOM_SUFFIX" data-toggle="collapse" data-target=".MLA_TABLE_VIEW_CUSTOM_SUFFIX .collapse">
868
  <h2>Provides a unique suffix for the "Table View custom:" SQL View</h2>
869
- <pre>MLA_TABLE_VIEW_CUSTOM_SUFFIX </pre>
870
  <div class="labels"></div>
871
  <div class="row collapse"><div class="detail-description">
872
  <p class="long_description"><p>The SQL View is used to filter the Media/Assistant submenu table on
@@ -884,7 +845,7 @@ custom field Table Views.</p></p>
884
  <div class="row"><footer class="span12">
885
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
886
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
887
- generated on 2015-12-01T21:12:14-08:00.<br></footer></div>
888
  </div>
889
  </body>
890
  </html>
95
  <li class="property public "><a href="#%24search_parameters" title="$search_parameters :: WP_Query 'posts_search' filter &quot;parameters&quot;"><span class="description">WP_Query 'posts_search' filter "parameters"</span><pre>$search_parameters</pre></a></li>
96
  <li class="property public "><a href="#%24wp_4dot0_plus" title="$wp_4dot0_plus :: WordPress version test for $wpdb-&gt;esc_like() Vs esc_sql()"><span class="description">WordPress version test for $wpdb-&gt;esc_like() Vs esc_sql()</span><pre>$wp_4dot0_plus</pre></a></li>
97
  <li class="nav-header private">» Private</li>
 
98
  <li class="property private "><a href="#%24mla_list_table_items" title="$mla_list_table_items :: Cache the results of mla_count_list_table_items for reuse in mla_query_list_table_items"><span class="description">Cache the results of mla_count_list_table_items for reuse in mla_query_list_table_items</span><pre>$mla_list_table_items</pre></a></li>
 
 
99
  <li class="nav-header">
100
  <i class="icon-custom icon-constant"></i> Constants</li>
101
+ <li class="constant "><a href="#MLA_ALT_TEXT_SUBQUERY" title='MLA_ALT_TEXT_SUBQUERY :: Provides a unique value for the ALT Text "Search Media" subquery'><span class="description">Provides a unique value for the ALT Text "Search Media" subquery</span><pre>MLA_ALT_TEXT_SUBQUERY</pre></a></li>
102
+ <li class="constant "><a href="#MLA_ORDERBY_SUBQUERY" title='MLA_ORDERBY_SUBQUERY :: Provides a unique suffix for the custom field "orderby" subquery'><span class="description">Provides a unique suffix for the custom field "orderby" subquery</span><pre>MLA_ORDERBY_SUBQUERY</pre></a></li>
103
+ <li class="constant "><a href="#MLA_TABLE_VIEW_SUBQUERY" title='MLA_TABLE_VIEW_SUBQUERY :: Provides a unique suffix for the "Table View custom:" SQL View'><span class="description">Provides a unique suffix for the "Table View custom:" SQL View</span><pre>MLA_TABLE_VIEW_SUBQUERY</pre></a></li>
104
  </ul>
105
  </div>
106
  <div class="span8">
785
  </tr></table>
786
  </div></div>
787
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
788
  <a name="%24mla_list_table_items" id="$mla_list_table_items"> </a><div class="element clickable property private $mla_list_table_items" data-toggle="collapse" data-target=".$mla_list_table_items .collapse">
789
  <h2>Cache the results of mla_count_list_table_items for reuse in mla_query_list_table_items</h2>
790
  <pre>$mla_list_table_items : array</pre>
797
  </tr></table>
798
  </div></div>
799
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
800
  <h3>
801
  <i class="icon-custom icon-constant"></i> Constants</h3>
802
+ <a name="MLA_ALT_TEXT_SUBQUERY" id="MLA_ALT_TEXT_SUBQUERY"> </a><div class="element clickable constant MLA_ALT_TEXT_SUBQUERY" data-toggle="collapse" data-target=".MLA_ALT_TEXT_SUBQUERY .collapse">
803
+ <h2>Provides a unique value for the ALT Text "Search Media" subquery</h2>
804
+ <pre>MLA_ALT_TEXT_SUBQUERY </pre>
805
  <div class="labels"></div>
806
  <div class="row collapse"><div class="detail-description">
807
+ <p class="long_description"><p>The subquery is used to filter the Media/Assistant submenu table by
808
  ALT Text with the Search Media text box.</p></p>
809
  <table class="table table-bordered"><tr>
810
  <th>since</th>
812
  </tr></table>
813
  </div></div>
814
  </div>
815
+ <a name="MLA_ORDERBY_SUBQUERY" id="MLA_ORDERBY_SUBQUERY"> </a><div class="element clickable constant MLA_ORDERBY_SUBQUERY" data-toggle="collapse" data-target=".MLA_ORDERBY_SUBQUERY .collapse">
816
+ <h2>Provides a unique suffix for the custom field "orderby" subquery</h2>
817
+ <pre>MLA_ORDERBY_SUBQUERY </pre>
818
  <div class="labels"></div>
819
  <div class="row collapse"><div class="detail-description">
820
+ <p class="long_description"><p>The subquery is used to sort the Media/Assistant submenu table on
821
  ALT Text and custom field columns.</p></p>
822
  <table class="table table-bordered"><tr>
823
  <th>since</th>
825
  </tr></table>
826
  </div></div>
827
  </div>
828
+ <a name="MLA_TABLE_VIEW_SUBQUERY" id="MLA_TABLE_VIEW_SUBQUERY"> </a><div class="element clickable constant MLA_TABLE_VIEW_SUBQUERY" data-toggle="collapse" data-target=".MLA_TABLE_VIEW_SUBQUERY .collapse">
829
  <h2>Provides a unique suffix for the "Table View custom:" SQL View</h2>
830
+ <pre>MLA_TABLE_VIEW_SUBQUERY </pre>
831
  <div class="labels"></div>
832
  <div class="row collapse"><div class="detail-description">
833
  <p class="long_description"><p>The SQL View is used to filter the Media/Assistant submenu table on
845
  <div class="row"><footer class="span12">
846
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
847
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
848
+ generated on 2016-01-03T09:26:08-08:00.<br></footer></div>
849
  </div>
850
  </body>
851
  </html>
phpDocs/classes/MLAReferences.html CHANGED
@@ -256,7 +256,7 @@ each page load and cached for subsequent calls.</p></p>
256
  <div class="row"><footer class="span12">
257
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
258
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
259
- generated on 2015-12-01T21:12:14-08:00.<br></footer></div>
260
  </div>
261
  </body>
262
  </html>
256
  <div class="row"><footer class="span12">
257
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
258
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
259
+ generated on 2016-01-03T09:26:08-08:00.<br></footer></div>
260
  </div>
261
  </body>
262
  </html>
phpDocs/classes/MLASettings.html CHANGED
@@ -1349,7 +1349,7 @@ localization calls cannot be placed in the "public static" array definition itse
1349
  <div class="row"><footer class="span12">
1350
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
1351
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
1352
- generated on 2015-12-01T21:12:14-08:00.<br></footer></div>
1353
  </div>
1354
  </body>
1355
  </html>
1349
  <div class="row"><footer class="span12">
1350
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
1351
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
1352
+ generated on 2016-01-03T09:26:09-08:00.<br></footer></div>
1353
  </div>
1354
  </body>
1355
  </html>
phpDocs/classes/MLAShortcode_Support.html CHANGED
@@ -77,7 +77,7 @@
77
  <li class="method private "><a href="#_process_shortcode_parameter" title="_process_shortcode_parameter :: Handles brace/bracket escaping and parses template for a shortcode parameter"><span class="description">Handles brace/bracket escaping and parses template for a shortcode parameter</span><pre>_process_shortcode_parameter()</pre></a></li>
78
  <li class="method private "><a href="#_registered_dimensions" title="_registered_dimensions :: Computes image dimensions for scalable graphics, e.g., SVG"><span class="description">Computes image dimensions for scalable graphics, e.g., SVG</span><pre>_registered_dimensions()</pre></a></li>
79
  <li class="method private "><a href="#_sanitize_query_specification" title="_sanitize_query_specification :: Cleans up damage caused by the Visual Editor to the tax_query and meta_query specifications"><span class="description">Cleans up damage caused by the Visual Editor to the tax_query and meta_query specifications</span><pre>_sanitize_query_specification()</pre></a></li>
80
- <li class="method private "><a href="#_validate_attributes" title="_validate_attributes :: Make sure $attr is an array and repair line-break damage"><span class="description">Make sure $attr is an array and repair line-break damage</span><pre>_validate_attributes()</pre></a></li>
81
  <li class="method private "><a href="#_validate_sql_orderby" title="_validate_sql_orderby :: Translates query parameters to a valid SQL order by clause."><span class="description">Translates query parameters to a valid SQL order by clause.</span><pre>_validate_sql_orderby()</pre></a></li>
82
  <li class="nav-header">
83
  <i class="icon-custom icon-property"></i> Properties</li>
@@ -411,7 +411,7 @@ options to customize the hyperlink behind each term.</p></p>
411
  </div>
412
  <a name="mla_tag_cloud_shortcode" id="mla_tag_cloud_shortcode"></a><div class="element clickable method public mla_tag_cloud_shortcode" data-toggle="collapse" data-target=".mla_tag_cloud_shortcode .collapse">
413
  <h2>The MLA Tag Cloud shortcode.</h2>
414
- <pre>mla_tag_cloud_shortcode(array $attr) : string</pre>
415
  <div class="labels"></div>
416
  <div class="row collapse"><div class="detail-description">
417
  <p class="long_description"><p>This is an interface to the mla_tag_cloud function.</p></p>
@@ -423,6 +423,9 @@ options to customize the hyperlink behind each term.</p></p>
423
  <div class="subelement argument">
424
  <h4>$attr</h4>
425
  <code>array</code><p>Attributes of the shortcode.</p></div>
 
 
 
426
  <h3>Returns</h3>
427
  <div class="subelement response">
428
  <code>string</code>HTML content to display the tag cloud.</div>
@@ -586,8 +589,8 @@ relevant children are already in the $terms argument.</p></p>
586
  </div></div>
587
  </div>
588
  <a name="_validate_attributes" id="_validate_attributes"></a><div class="element clickable method private _validate_attributes" data-toggle="collapse" data-target="._validate_attributes .collapse">
589
- <h2>Make sure $attr is an array and repair line-break damage</h2>
590
- <pre>_validate_attributes(mixed $attr) : array</pre>
591
  <div class="labels"></div>
592
  <div class="row collapse"><div class="detail-description">
593
  <p class="long_description"></p>
@@ -598,7 +601,10 @@ relevant children are already in the $terms argument.</p></p>
598
  <h3>Parameters</h3>
599
  <div class="subelement argument">
600
  <h4>$attr</h4>
601
- <code>mixed</code><p>array or string containing shortcode attributes</p></div>
 
 
 
602
  <h3>Returns</h3>
603
  <div class="subelement response">
604
  <code>array</code>clean attributes array</div>
@@ -710,7 +716,7 @@ any further logic required to translate those values is contained in the filter.
710
  <div class="row"><footer class="span12">
711
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
712
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
713
- generated on 2015-12-01T21:12:14-08:00.<br></footer></div>
714
  </div>
715
  </body>
716
  </html>
77
  <li class="method private "><a href="#_process_shortcode_parameter" title="_process_shortcode_parameter :: Handles brace/bracket escaping and parses template for a shortcode parameter"><span class="description">Handles brace/bracket escaping and parses template for a shortcode parameter</span><pre>_process_shortcode_parameter()</pre></a></li>
78
  <li class="method private "><a href="#_registered_dimensions" title="_registered_dimensions :: Computes image dimensions for scalable graphics, e.g., SVG"><span class="description">Computes image dimensions for scalable graphics, e.g., SVG</span><pre>_registered_dimensions()</pre></a></li>
79
  <li class="method private "><a href="#_sanitize_query_specification" title="_sanitize_query_specification :: Cleans up damage caused by the Visual Editor to the tax_query and meta_query specifications"><span class="description">Cleans up damage caused by the Visual Editor to the tax_query and meta_query specifications</span><pre>_sanitize_query_specification()</pre></a></li>
80
+ <li class="method private "><a href="#_validate_attributes" title="_validate_attributes :: Make sure $attr is an array, repair line-break damage, merge with $content"><span class="description">Make sure $attr is an array, repair line-break damage, merge with $content</span><pre>_validate_attributes()</pre></a></li>
81
  <li class="method private "><a href="#_validate_sql_orderby" title="_validate_sql_orderby :: Translates query parameters to a valid SQL order by clause."><span class="description">Translates query parameters to a valid SQL order by clause.</span><pre>_validate_sql_orderby()</pre></a></li>
82
  <li class="nav-header">
83
  <i class="icon-custom icon-property"></i> Properties</li>
411
  </div>
412
  <a name="mla_tag_cloud_shortcode" id="mla_tag_cloud_shortcode"></a><div class="element clickable method public mla_tag_cloud_shortcode" data-toggle="collapse" data-target=".mla_tag_cloud_shortcode .collapse">
413
  <h2>The MLA Tag Cloud shortcode.</h2>
414
+ <pre>mla_tag_cloud_shortcode(array $attr, string $content) : string</pre>
415
  <div class="labels"></div>
416
  <div class="row collapse"><div class="detail-description">
417
  <p class="long_description"><p>This is an interface to the mla_tag_cloud function.</p></p>
423
  <div class="subelement argument">
424
  <h4>$attr</h4>
425
  <code>array</code><p>Attributes of the shortcode.</p></div>
426
+ <div class="subelement argument">
427
+ <h4>$content</h4>
428
+ <code>string</code><p>Optional content for enclosing shortcodes</p></div>
429
  <h3>Returns</h3>
430
  <div class="subelement response">
431
  <code>string</code>HTML content to display the tag cloud.</div>
589
  </div></div>
590
  </div>
591
  <a name="_validate_attributes" id="_validate_attributes"></a><div class="element clickable method private _validate_attributes" data-toggle="collapse" data-target="._validate_attributes .collapse">
592
+ <h2>Make sure $attr is an array, repair line-break damage, merge with $content</h2>
593
+ <pre>_validate_attributes(mixed $attr, string $content) : array</pre>
594
  <div class="labels"></div>
595
  <div class="row collapse"><div class="detail-description">
596
  <p class="long_description"></p>
601
  <h3>Parameters</h3>
602
  <div class="subelement argument">
603
  <h4>$attr</h4>
604
+ <code>mixed</code><p>Array or string containing shortcode attributes</p></div>
605
+ <div class="subelement argument">
606
+ <h4>$content</h4>
607
+ <code>string</code><p>Optional content for enclosing shortcodes; might be used with mla_alt_shortcode</p></div>
608
  <h3>Returns</h3>
609
  <div class="subelement response">
610
  <code>array</code>clean attributes array</div>
716
  <div class="row"><footer class="span12">
717
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
718
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
719
+ generated on 2016-01-03T09:26:09-08:00.<br></footer></div>
720
  </div>
721
  </body>
722
  </html>
phpDocs/classes/MLAShortcodes.html CHANGED
@@ -249,10 +249,10 @@ to MLA users and loads the support class if the shortcodes are executed.</p>
249
  </div>
250
  <a name="mla_tag_cloud_shortcode" id="mla_tag_cloud_shortcode"></a><div class="element clickable method public mla_tag_cloud_shortcode" data-toggle="collapse" data-target=".mla_tag_cloud_shortcode .collapse">
251
  <h2>The MLA Tag Cloud shortcode.</h2>
252
- <pre>mla_tag_cloud_shortcode(array $attr) : string</pre>
253
  <div class="labels"></div>
254
  <div class="row collapse"><div class="detail-description">
255
- <p class="long_description"><p>Compatibility shim for MLAShortcode_Support::mla_gallery_shortcode</p></p>
256
  <table class="table table-bordered"><tr>
257
  <th>since</th>
258
  <td>1.60</td>
@@ -261,6 +261,9 @@ to MLA users and loads the support class if the shortcodes are executed.</p>
261
  <div class="subelement argument">
262
  <h4>$attr</h4>
263
  <code>array</code><p>Attributes of the shortcode.</p></div>
 
 
 
264
  <h3>Returns</h3>
265
  <div class="subelement response">
266
  <code>string</code>HTML content to display the tag cloud.</div>
@@ -288,7 +291,7 @@ to MLA users and loads the support class if the shortcodes are executed.</p>
288
  <div class="row"><footer class="span12">
289
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
290
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
291
- generated on 2015-12-01T21:12:14-08:00.<br></footer></div>
292
  </div>
293
  </body>
294
  </html>
249
  </div>
250
  <a name="mla_tag_cloud_shortcode" id="mla_tag_cloud_shortcode"></a><div class="element clickable method public mla_tag_cloud_shortcode" data-toggle="collapse" data-target=".mla_tag_cloud_shortcode .collapse">
251
  <h2>The MLA Tag Cloud shortcode.</h2>
252
+ <pre>mla_tag_cloud_shortcode(array $attr, string $content) : string</pre>
253
  <div class="labels"></div>
254
  <div class="row collapse"><div class="detail-description">
255
+ <p class="long_description"><p>Compatibility shim for MLAShortcode_Support::mla_tag_cloud_shortcode</p></p>
256
  <table class="table table-bordered"><tr>
257
  <th>since</th>
258
  <td>1.60</td>
261
  <div class="subelement argument">
262
  <h4>$attr</h4>
263
  <code>array</code><p>Attributes of the shortcode.</p></div>
264
+ <div class="subelement argument">
265
+ <h4>$content</h4>
266
+ <code>string</code><p>Optional content for enclosing shortcodes</p></div>
267
  <h3>Returns</h3>
268
  <div class="subelement response">
269
  <code>string</code>HTML content to display the tag cloud.</div>
291
  <div class="row"><footer class="span12">
292
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
293
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
294
+ generated on 2016-01-03T09:26:09-08:00.<br></footer></div>
295
  </div>
296
  </body>
297
  </html>
phpDocs/classes/MLATest.html CHANGED
@@ -178,7 +178,7 @@ to ensure the plugin can run in the current WordPress envrionment.</p>
178
  <div class="row"><footer class="span12">
179
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
180
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
181
- generated on 2015-12-01T21:12:14-08:00.<br></footer></div>
182
  </div>
183
  </body>
184
  </html>
178
  <div class="row"><footer class="span12">
179
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
180
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
181
+ generated on 2016-01-03T09:26:09-08:00.<br></footer></div>
182
  </div>
183
  </body>
184
  </html>
phpDocs/classes/MLATextWidget.html CHANGED
@@ -178,7 +178,7 @@
178
  <div class="row"><footer class="span12">
179
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
180
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
181
- generated on 2015-12-01T21:12:14-08:00.<br></footer></div>
182
  </div>
183
  </body>
184
  </html>
178
  <div class="row"><footer class="span12">
179
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
180
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
181
+ generated on 2016-01-03T09:26:08-08:00.<br></footer></div>
182
  </div>
183
  </body>
184
  </html>
phpDocs/classes/MLA_Ajax.html CHANGED
@@ -164,7 +164,7 @@ Adds filters for post type and pagination.</p></p>
164
  <div class="row"><footer class="span12">
165
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
166
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
167
- generated on 2015-12-01T21:12:13-08:00.<br></footer></div>
168
  </div>
169
  </body>
170
  </html>
164
  <div class="row"><footer class="span12">
165
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
166
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
167
+ generated on 2016-01-03T09:26:08-08:00.<br></footer></div>
168
  </div>
169
  </body>
170
  </html>
phpDocs/classes/MLA_Checklist_Walker.html CHANGED
@@ -163,7 +163,7 @@ Class Walker is defined in /wp-includes/class-wp-walker.php.</p></p>
163
  <div class="row"><footer class="span12">
164
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
165
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
166
- generated on 2015-12-01T21:12:13-08:00.<br></footer></div>
167
  </div>
168
  </body>
169
  </html>
163
  <div class="row"><footer class="span12">
164
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
165
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
166
+ generated on 2016-01-03T09:26:08-08:00.<br></footer></div>
167
  </div>
168
  </body>
169
  </html>
phpDocs/classes/MLA_List_Table.html CHANGED
@@ -656,7 +656,7 @@ a specific method, so this function returns a troubleshooting message.</p></p>
656
  </div>
657
  <a name="extra_tablenav" id="extra_tablenav"></a><div class="element clickable method public extra_tablenav" data-toggle="collapse" data-target=".extra_tablenav .collapse">
658
  <h2>Extra controls to be displayed between bulk actions and pagination</h2>
659
- <pre>extra_tablenav(string $which) : array</pre>
660
  <div class="labels"></div>
661
  <div class="row collapse"><div class="detail-description">
662
  <p class="long_description"><p>Modeled after class-wp-posts-list-table.php in wp-admin/includes.</p></p>
@@ -669,9 +669,6 @@ a specific method, so this function returns a troubleshooting message.</p></p>
669
  <h4>$which</h4>
670
  <code>string</code><p>'top' or 'bottom', i.e., above or below the table rows</p>
671
  </div>
672
- <h3>Returns</h3>
673
- <div class="subelement response">
674
- <code>array</code>Contains all the bulk actions: 'slugs'=>'Visible Titles'</div>
675
  </div></div>
676
  </div>
677
  <a name="get_bulk_actions" id="get_bulk_actions"></a><div class="element clickable method public get_bulk_actions" data-toggle="collapse" data-target=".get_bulk_actions .collapse">
@@ -767,7 +764,7 @@ created in time to affect the "screen options" setup.</p></p>
767
  </div>
768
  <a name="mla_get_taxonomy_filter_dropdown" id="mla_get_taxonomy_filter_dropdown"></a><div class="element clickable method public mla_get_taxonomy_filter_dropdown" data-toggle="collapse" data-target=".mla_get_taxonomy_filter_dropdown .collapse">
769
  <h2>Get dropdown box of terms to filter by, if available</h2>
770
- <pre>mla_get_taxonomy_filter_dropdown(integer $selected) : string</pre>
771
  <div class="labels"></div>
772
  <div class="row collapse"><div class="detail-description">
773
  <p class="long_description"></p>
@@ -780,6 +777,9 @@ created in time to affect the "screen options" setup.</p></p>
780
  <h4>$selected</h4>
781
  <code>integer</code><p>currently selected term_id || zero (default)</p>
782
  </div>
 
 
 
783
  <h3>Returns</h3>
784
  <div class="subelement response">
785
  <code>string</code>HTML markup for dropdown box</div>
@@ -1258,7 +1258,7 @@ visible column and add div tags.</p></p>
1258
  <div class="row"><footer class="span12">
1259
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
1260
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
1261
- generated on 2015-12-01T21:12:14-08:00.<br></footer></div>
1262
  </div>
1263
  </body>
1264
  </html>
656
  </div>
657
  <a name="extra_tablenav" id="extra_tablenav"></a><div class="element clickable method public extra_tablenav" data-toggle="collapse" data-target=".extra_tablenav .collapse">
658
  <h2>Extra controls to be displayed between bulk actions and pagination</h2>
659
+ <pre>extra_tablenav(string $which) : void</pre>
660
  <div class="labels"></div>
661
  <div class="row collapse"><div class="detail-description">
662
  <p class="long_description"><p>Modeled after class-wp-posts-list-table.php in wp-admin/includes.</p></p>
669
  <h4>$which</h4>
670
  <code>string</code><p>'top' or 'bottom', i.e., above or below the table rows</p>
671
  </div>
 
 
 
672
  </div></div>
673
  </div>
674
  <a name="get_bulk_actions" id="get_bulk_actions"></a><div class="element clickable method public get_bulk_actions" data-toggle="collapse" data-target=".get_bulk_actions .collapse">
764
  </div>
765
  <a name="mla_get_taxonomy_filter_dropdown" id="mla_get_taxonomy_filter_dropdown"></a><div class="element clickable method public mla_get_taxonomy_filter_dropdown" data-toggle="collapse" data-target=".mla_get_taxonomy_filter_dropdown .collapse">
766
  <h2>Get dropdown box of terms to filter by, if available</h2>
767
+ <pre>mla_get_taxonomy_filter_dropdown(integer $selected, array $dropdown_options) : string</pre>
768
  <div class="labels"></div>
769
  <div class="row collapse"><div class="detail-description">
770
  <p class="long_description"></p>
777
  <h4>$selected</h4>
778
  <code>integer</code><p>currently selected term_id || zero (default)</p>
779
  </div>
780
+ <div class="subelement argument">
781
+ <h4>$dropdown_options</h4>
782
+ <code>array</code><p>additional wp_dropdown_categories options; default empty</p></div>
783
  <h3>Returns</h3>
784
  <div class="subelement response">
785
  <code>string</code>HTML markup for dropdown box</div>
1258
  <div class="row"><footer class="span12">
1259
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
1260
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
1261
+ generated on 2016-01-03T09:26:08-08:00.<br></footer></div>
1262
  </div>
1263
  </body>
1264
  </html>
phpDocs/classes/MLA_Polylang.html CHANGED
@@ -98,6 +98,9 @@ Media Manager Modal Window ATTACHMENT DETAILS taxonomy meta boxes updates</span>
98
  <li class="method public "><a href="#mla_media_modal_end_update_compat_fields" title="mla_media_modal_end_update_compat_fields :: Applies Term Synchronization after the
99
  Media Manager Modal Window taxonomy updates"><span class="description">Applies Term Synchronization after the
100
  Media Manager Modal Window taxonomy updates</span><pre>mla_media_modal_end_update_compat_fields()</pre></a></li>
 
 
 
101
  <li class="method public "><a href="#mla_media_modal_update_compat_fields_terms" title="mla_media_modal_update_compat_fields_terms :: Applies Term Assignment to the terms assigned to one
102
  Media Manager Modal Window ATTACHMENT DETAILS taxonomy"><span class="description">Applies Term Assignment to the terms assigned to one
103
  Media Manager Modal Window ATTACHMENT DETAILS taxonomy</span><pre>mla_media_modal_update_compat_fields_terms()</pre></a></li>
@@ -876,6 +879,24 @@ Media Manager Modal Window taxonomy updates</h2>
876
  <code>object</code><p>current post object</p></div>
877
  </div></div>
878
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
879
  <a name="mla_media_modal_update_compat_fields_terms" id="mla_media_modal_update_compat_fields_terms"></a><div class="element clickable method public mla_media_modal_update_compat_fields_terms" data-toggle="collapse" data-target=".mla_media_modal_update_compat_fields_terms .collapse">
880
  <h2>Applies Term Assignment to the terms assigned to one
881
  Media Manager Modal Window ATTACHMENT DETAILS taxonomy</h2>
@@ -1459,7 +1480,7 @@ Polylang uses term_id as the "element_id".</p></p>
1459
  <div class="row"><footer class="span12">
1460
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
1461
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
1462
- generated on 2015-12-01T21:12:14-08:00.<br></footer></div>
1463
  </div>
1464
  </body>
1465
  </html>
98
  <li class="method public "><a href="#mla_media_modal_end_update_compat_fields" title="mla_media_modal_end_update_compat_fields :: Applies Term Synchronization after the
99
  Media Manager Modal Window taxonomy updates"><span class="description">Applies Term Synchronization after the
100
  Media Manager Modal Window taxonomy updates</span><pre>mla_media_modal_end_update_compat_fields()</pre></a></li>
101
+ <li class="method public "><a href="#mla_media_modal_terms_options" title='mla_media_modal_terms_options :: Return terms in all languages when "Activate languages and translations for media"
102
+ is disabled'><span class="description">Return terms in all languages when "Activate languages and translations for media"
103
+ is disabled</span><pre>mla_media_modal_terms_options()</pre></a></li>
104
  <li class="method public "><a href="#mla_media_modal_update_compat_fields_terms" title="mla_media_modal_update_compat_fields_terms :: Applies Term Assignment to the terms assigned to one
105
  Media Manager Modal Window ATTACHMENT DETAILS taxonomy"><span class="description">Applies Term Assignment to the terms assigned to one
106
  Media Manager Modal Window ATTACHMENT DETAILS taxonomy</span><pre>mla_media_modal_update_compat_fields_terms()</pre></a></li>
879
  <code>object</code><p>current post object</p></div>
880
  </div></div>
881
  </div>
882
+ <a name="mla_media_modal_terms_options" id="mla_media_modal_terms_options"></a><div class="element clickable method public mla_media_modal_terms_options" data-toggle="collapse" data-target=".mla_media_modal_terms_options .collapse">
883
+ <h2>Return terms in all languages when "Activate languages and translations for media"
884
+ is disabled</h2>
885
+ <pre>mla_media_modal_terms_options(array $term_values) </pre>
886
+ <div class="labels"></div>
887
+ <div class="row collapse"><div class="detail-description">
888
+ <p class="long_description"></p>
889
+ <table class="table table-bordered"><tr>
890
+ <th>since</th>
891
+ <td>2.22</td>
892
+ </tr></table>
893
+ <h3>Parameters</h3>
894
+ <div class="subelement argument">
895
+ <h4>$term_values</h4>
896
+ <code>array</code><p>( 'class' => $class_array, 'value' => $value_array, 'text' => $text_array )</p>
897
+ </div>
898
+ </div></div>
899
+ </div>
900
  <a name="mla_media_modal_update_compat_fields_terms" id="mla_media_modal_update_compat_fields_terms"></a><div class="element clickable method public mla_media_modal_update_compat_fields_terms" data-toggle="collapse" data-target=".mla_media_modal_update_compat_fields_terms .collapse">
901
  <h2>Applies Term Assignment to the terms assigned to one
902
  Media Manager Modal Window ATTACHMENT DETAILS taxonomy</h2>
1480
  <div class="row"><footer class="span12">
1481
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
1482
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
1483
+ generated on 2016-01-03T09:26:08-08:00.<br></footer></div>
1484
  </div>
1485
  </body>
1486
  </html>
phpDocs/classes/MLA_Thumbnail.html CHANGED
@@ -335,7 +335,7 @@ markup used for the Quick and Bulk Edit forms.</td>
335
  <div class="row"><footer class="span12">
336
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
337
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
338
- generated on 2015-12-01T21:12:14-08:00.<br></footer></div>
339
  </div>
340
  </body>
341
  </html>
335
  <div class="row"><footer class="span12">
336
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
337
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
338
+ generated on 2016-01-03T09:26:09-08:00.<br></footer></div>
339
  </div>
340
  </body>
341
  </html>
phpDocs/classes/MLA_Upload_List_Table.html CHANGED
@@ -819,7 +819,7 @@ sorted by that column. This is computed each time the table is displayed.</p></p
819
  <div class="row"><footer class="span12">
820
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
821
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
822
- generated on 2015-12-01T21:12:14-08:00.<br></footer></div>
823
  </div>
824
  </body>
825
  </html>
819
  <div class="row"><footer class="span12">
820
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
821
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
822
+ generated on 2016-01-03T09:26:09-08:00.<br></footer></div>
823
  </div>
824
  </body>
825
  </html>
phpDocs/classes/MLA_Upload_Optional_List_Table.html CHANGED
@@ -554,7 +554,7 @@ sorted by that column. This is computed each time the table is displayed.</p></p
554
  <div class="row"><footer class="span12">
555
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
556
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
557
- generated on 2015-12-01T21:12:14-08:00.<br></footer></div>
558
  </div>
559
  </body>
560
  </html>
554
  <div class="row"><footer class="span12">
555
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
556
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
557
+ generated on 2016-01-03T09:26:09-08:00.<br></footer></div>
558
  </div>
559
  </body>
560
  </html>
phpDocs/classes/MLA_View_List_Table.html CHANGED
@@ -703,7 +703,7 @@ sorted by that column. This is computed each time the table is displayed.</p></p
703
  <div class="row"><footer class="span12">
704
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
705
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
706
- generated on 2015-12-01T21:12:14-08:00.<br></footer></div>
707
  </div>
708
  </body>
709
  </html>
703
  <div class="row"><footer class="span12">
704
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
705
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
706
+ generated on 2016-01-03T09:26:09-08:00.<br></footer></div>
707
  </div>
708
  </body>
709
  </html>
phpDocs/classes/MLA_WPML.html CHANGED
@@ -1109,7 +1109,7 @@ Bulk Edit on Upload area</h2>
1109
  <div class="row"><footer class="span12">
1110
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
1111
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
1112
- generated on 2015-12-01T21:12:14-08:00.<br></footer></div>
1113
  </div>
1114
  </body>
1115
  </html>
1109
  <div class="row"><footer class="span12">
1110
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
1111
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
1112
+ generated on 2016-01-03T09:26:09-08:00.<br></footer></div>
1113
  </div>
1114
  </body>
1115
  </html>
phpDocs/classes/MLA_WPML_List_Table.html CHANGED
@@ -806,7 +806,7 @@ a specific method, so this function returns a troubleshooting message.</p></p>
806
  </div>
807
  <a name="extra_tablenav" id="extra_tablenav"></a><div class="element clickable method public extra_tablenav" data-toggle="collapse" data-target=".extra_tablenav .collapse">
808
  <h2>Extra controls to be displayed between bulk actions and pagination</h2>
809
- <pre>extra_tablenav(string $which) : array</pre>
810
  <div class="labels"><span class="label">Inherited</span></div>
811
  <div class="row collapse"><div class="detail-description">
812
  <p class="long_description"><p>Modeled after class-wp-posts-list-table.php in wp-admin/includes.</p></p>
@@ -825,9 +825,6 @@ a specific method, so this function returns a troubleshooting message.</p></p>
825
  <h4>$which</h4>
826
  <code>string</code><p>'top' or 'bottom', i.e., above or below the table rows</p>
827
  </div>
828
- <h3>Returns</h3>
829
- <div class="subelement response">
830
- <code>array</code>Contains all the bulk actions: 'slugs'=>'Visible Titles'</div>
831
  </div></div>
832
  </div>
833
  <a name="get_bulk_actions" id="get_bulk_actions"></a><div class="element clickable method public get_bulk_actions" data-toggle="collapse" data-target=".get_bulk_actions .collapse">
@@ -959,7 +956,7 @@ created in time to affect the "screen options" setup.</p></p>
959
  </div>
960
  <a name="mla_get_taxonomy_filter_dropdown" id="mla_get_taxonomy_filter_dropdown"></a><div class="element clickable method public mla_get_taxonomy_filter_dropdown" data-toggle="collapse" data-target=".mla_get_taxonomy_filter_dropdown .collapse">
961
  <h2>Get dropdown box of terms to filter by, if available</h2>
962
- <pre>mla_get_taxonomy_filter_dropdown(integer $selected) : string</pre>
963
  <div class="labels"><span class="label">Inherited</span></div>
964
  <div class="row collapse"><div class="detail-description">
965
  <p class="long_description"></p>
@@ -978,6 +975,9 @@ created in time to affect the "screen options" setup.</p></p>
978
  <h4>$selected</h4>
979
  <code>integer</code><p>currently selected term_id || zero (default)</p>
980
  </div>
 
 
 
981
  <h3>Returns</h3>
982
  <div class="subelement response">
983
  <code>string</code>HTML markup for dropdown box</div>
@@ -1602,7 +1602,7 @@ visible column and add div tags.</p></p>
1602
  <div class="row"><footer class="span12">
1603
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
1604
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
1605
- generated on 2015-12-01T21:12:14-08:00.<br></footer></div>
1606
  </div>
1607
  </body>
1608
  </html>
806
  </div>
807
  <a name="extra_tablenav" id="extra_tablenav"></a><div class="element clickable method public extra_tablenav" data-toggle="collapse" data-target=".extra_tablenav .collapse">
808
  <h2>Extra controls to be displayed between bulk actions and pagination</h2>
809
+ <pre>extra_tablenav(string $which) : void</pre>
810
  <div class="labels"><span class="label">Inherited</span></div>
811
  <div class="row collapse"><div class="detail-description">
812
  <p class="long_description"><p>Modeled after class-wp-posts-list-table.php in wp-admin/includes.</p></p>
825
  <h4>$which</h4>
826
  <code>string</code><p>'top' or 'bottom', i.e., above or below the table rows</p>
827
  </div>
 
 
 
828
  </div></div>
829
  </div>
830
  <a name="get_bulk_actions" id="get_bulk_actions"></a><div class="element clickable method public get_bulk_actions" data-toggle="collapse" data-target=".get_bulk_actions .collapse">
956
  </div>
957
  <a name="mla_get_taxonomy_filter_dropdown" id="mla_get_taxonomy_filter_dropdown"></a><div class="element clickable method public mla_get_taxonomy_filter_dropdown" data-toggle="collapse" data-target=".mla_get_taxonomy_filter_dropdown .collapse">
958
  <h2>Get dropdown box of terms to filter by, if available</h2>
959
+ <pre>mla_get_taxonomy_filter_dropdown(integer $selected, array $dropdown_options) : string</pre>
960
  <div class="labels"><span class="label">Inherited</span></div>
961
  <div class="row collapse"><div class="detail-description">
962
  <p class="long_description"></p>
975
  <h4>$selected</h4>
976
  <code>integer</code><p>currently selected term_id || zero (default)</p>
977
  </div>
978
+ <div class="subelement argument">
979
+ <h4>$dropdown_options</h4>
980
+ <code>array</code><p>additional wp_dropdown_categories options; default empty</p></div>
981
  <h3>Returns</h3>
982
  <div class="subelement response">
983
  <code>string</code>HTML markup for dropdown box</div>
1602
  <div class="row"><footer class="span12">
1603
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
1604
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
1605
+ generated on 2016-01-03T09:26:09-08:00.<br></footer></div>
1606
  </div>
1607
  </body>
1608
  </html>
phpDocs/classes/MLA_WPML_Table.html CHANGED
@@ -410,7 +410,7 @@ The count is made language-specific by WPML filters when the current_language is
410
  <div class="row"><footer class="span12">
411
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
412
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
413
- generated on 2015-12-01T21:12:14-08:00.<br></footer></div>
414
  </div>
415
  </body>
416
  </html>
410
  <div class="row"><footer class="span12">
411
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
412
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
413
+ generated on 2016-01-03T09:26:09-08:00.<br></footer></div>
414
  </div>
415
  </body>
416
  </html>
phpDocs/classes/MNA_Pad_Counts_Walker.html CHANGED
@@ -139,7 +139,7 @@ Class Walker_Category is defined in /wp-includes/category-template.php</p></p>
139
  <div class="row"><footer class="span12">
140
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
141
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
142
- generated on 2015-12-01T21:12:13-08:00.<br></footer></div>
143
  </div>
144
  </body>
145
  </html>
139
  <div class="row"><footer class="span12">
140
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
141
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
142
+ generated on 2016-01-03T09:26:08-08:00.<br></footer></div>
143
  </div>
144
  </body>
145
  </html>
phpDocs/deprecated.html CHANGED
@@ -67,7 +67,7 @@
67
  <div class="row"><footer class="span12">
68
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
69
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
70
- generated on 2015-12-01T21:12:14-08:00.<br></footer></div>
71
  </div>
72
  </body>
73
  </html>
67
  <div class="row"><footer class="span12">
68
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
69
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
70
+ generated on 2016-01-03T09:26:09-08:00.<br></footer></div>
71
  </div>
72
  </body>
73
  </html>
phpDocs/errors.html CHANGED
@@ -115,12 +115,13 @@
115
  <div class="package-contents"></div>
116
  <div class="package-contents"></div>
117
  <div class="package-contents"></div>
 
118
  </div>
119
  </div>
120
  <div class="row"><footer class="span12">
121
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
122
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
123
- generated on 2015-12-01T21:12:14-08:00.<br></footer></div>
124
  </div>
125
  </body>
126
  </html>
115
  <div class="package-contents"></div>
116
  <div class="package-contents"></div>
117
  <div class="package-contents"></div>
118
+ <div class="package-contents"></div>
119
  </div>
120
  </div>
121
  <div class="row"><footer class="span12">
122
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
123
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
124
+ generated on 2016-01-03T09:26:09-08:00.<br></footer></div>
125
  </div>
126
  </body>
127
  </html>
phpDocs/graph_class.html CHANGED
@@ -64,7 +64,7 @@
64
  </script><div class="row"><footer class="span12">
65
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
66
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
67
- generated on 2015-12-01T21:12:14-08:00.<br></footer></div>
68
  </div>
69
  </body>
70
  </html>
64
  </script><div class="row"><footer class="span12">
65
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
66
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
67
+ generated on 2016-01-03T09:26:09-08:00.<br></footer></div>
68
  </div>
69
  </body>
70
  </html>
phpDocs/index.html CHANGED
@@ -86,7 +86,7 @@
86
  <div class="row"><footer class="span12">
87
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
88
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
89
- generated on 2015-12-01T21:12:13-08:00.<br></footer></div>
90
  </div>
91
  </body>
92
  </html>
86
  <div class="row"><footer class="span12">
87
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
88
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
89
+ generated on 2016-01-03T09:26:08-08:00.<br></footer></div>
90
  </div>
91
  </body>
92
  </html>
phpDocs/markers.html CHANGED
@@ -89,7 +89,7 @@
89
  <div class="row"><footer class="span12">
90
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
91
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
92
- generated on 2015-12-01T21:12:14-08:00.<br></footer></div>
93
  </div>
94
  </body>
95
  </html>
89
  <div class="row"><footer class="span12">
90
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
91
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
92
+ generated on 2016-01-03T09:26:09-08:00.<br></footer></div>
93
  </div>
94
  </body>
95
  </html>
phpDocs/namespaces/global.html CHANGED
@@ -270,6 +270,13 @@ display an "accordian-style" list.</p></p>
270
  </div>
271
  <h3>
272
  <i class="icon-custom icon-class"></i> Classes and interfaces</h3>
 
 
 
 
 
 
 
273
  <a name="MLA" id="MLA"></a><div class="element ajax clickable class" href="../classes/MLA.html">
274
  <h1>MLA<a href="../classes/MLA.html">¶</a>
275
  </h1>
@@ -292,13 +299,13 @@ of images and files held in the WordPress Media Library.</p>
292
  <div class="details collapse"></div>
293
  <a href="../classes/MLAData.html" class="more">« More »</a>
294
  </div>
295
- <a name="MLAData_source" id="MLAData_source"></a><div class="element ajax clickable class" href="../classes/MLAData_source.html">
296
- <h1>MLAData_source<a href="../classes/MLAData_source.html">¶</a>
297
  </h1>
298
- <p class="short_description">Class MLA (Media Library Assistant) Data SOurce manages data sources for
299
  custom field mapping and shortcode execution</p>
300
  <div class="details collapse"></div>
301
- <a href="../classes/MLAData_source.html" class="more">« More »</a>
302
  </div>
303
  <a name="MLAEdit" id="MLAEdit"></a><div class="element ajax clickable class" href="../classes/MLAEdit.html">
304
  <h1>MLAEdit<a href="../classes/MLAEdit.html">¶</a>
@@ -555,7 +562,7 @@ family of plugins, including WPML Media, for an MLA_List_Table object.</p>
555
  <div class="row"><footer class="span12">
556
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
557
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
558
- generated on 2015-12-01T21:12:13-08:00.<br></footer></div>
559
  </div>
560
  </body>
561
  </html>
270
  </div>
271
  <h3>
272
  <i class="icon-custom icon-class"></i> Classes and interfaces</h3>
273
+ <a name="CPAC_Storage_Model_MLA" id="CPAC_Storage_Model_MLA"></a><div class="element ajax clickable class" href="../classes/CPAC_Storage_Model_MLA.html">
274
+ <h1>CPAC_Storage_Model_MLA<a href="../classes/CPAC_Storage_Model_MLA.html">¶</a>
275
+ </h1>
276
+ <p class="short_description">Class CPAC Storage Model MLA (Media Library Assistant) supports the Admin Columns plugin</p>
277
+ <div class="details collapse"></div>
278
+ <a href="../classes/CPAC_Storage_Model_MLA.html" class="more">« More »</a>
279
+ </div>
280
  <a name="MLA" id="MLA"></a><div class="element ajax clickable class" href="../classes/MLA.html">
281
  <h1>MLA<a href="../classes/MLA.html">¶</a>
282
  </h1>
299
  <div class="details collapse"></div>
300
  <a href="../classes/MLAData.html" class="more">« More »</a>
301
  </div>
302
+ <a name="MLAData_Source" id="MLAData_Source"></a><div class="element ajax clickable class" href="../classes/MLAData_Source.html">
303
+ <h1>MLAData_Source<a href="../classes/MLAData_Source.html">¶</a>
304
  </h1>
305
+ <p class="short_description">Class MLA (Media Library Assistant) Data Source manages data sources for
306
  custom field mapping and shortcode execution</p>
307
  <div class="details collapse"></div>
308
+ <a href="../classes/MLAData_Source.html" class="more">« More »</a>
309
  </div>
310
  <a name="MLAEdit" id="MLAEdit"></a><div class="element ajax clickable class" href="../classes/MLAEdit.html">
311
  <h1>MLAEdit<a href="../classes/MLAEdit.html">¶</a>
562
  <div class="row"><footer class="span12">
563
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
564
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
565
+ generated on 2016-01-03T09:26:08-08:00.<br></footer></div>
566
  </div>
567
  </body>
568
  </html>
phpDocs/packages/Media Library Assistant.MLA.Child.Theme.html CHANGED
@@ -268,7 +268,7 @@ display an "accordian-style" list.</p></p>
268
  <div class="row"><footer class="span12">
269
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
270
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
271
- generated on 2015-12-01T21:12:13-08:00.<br></footer></div>
272
  </div>
273
  </body>
274
  </html>
268
  <div class="row"><footer class="span12">
269
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
270
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
271
+ generated on 2016-01-03T09:26:08-08:00.<br></footer></div>
272
  </div>
273
  </body>
274
  </html>
phpDocs/packages/Media Library Assistant.MLA.Child.html CHANGED
@@ -265,7 +265,7 @@ display an "accordian-style" list.</p></p>
265
  <div class="row"><footer class="span12">
266
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
267
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
268
- generated on 2015-12-01T21:12:13-08:00.<br></footer></div>
269
  </div>
270
  </body>
271
  </html>
265
  <div class="row"><footer class="span12">
266
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
267
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
268
+ generated on 2016-01-03T09:26:08-08:00.<br></footer></div>
269
  </div>
270
  </body>
271
  </html>
phpDocs/packages/Media Library Assistant.MLA.html CHANGED
@@ -276,7 +276,7 @@ display an "accordian-style" list.</p></p>
276
  <div class="row"><footer class="span12">
277
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
278
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
279
- generated on 2015-12-01T21:12:13-08:00.<br></footer></div>
280
  </div>
281
  </body>
282
  </html>
276
  <div class="row"><footer class="span12">
277
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
278
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
279
+ generated on 2016-01-03T09:26:08-08:00.<br></footer></div>
280
  </div>
281
  </body>
282
  </html>
phpDocs/packages/Media Library Assistant.html CHANGED
@@ -73,6 +73,7 @@
73
  <li class="nav-header">
74
  <i class="icon-custom icon-class"></i> Classes</li>
75
  <li><a href="#MNA_Pad_Counts_Walker" title="Class MNA_Pad_Counts_Walker adds accurate, padded attachment counts to taxonomy terms.">MNA_Pad_Counts_Walker</a></li>
 
76
  <li><a href="#MLA_Ajax" title="Class MLA (Media Library Assistant) Ajax contains handlers for simple Ajax requests">MLA_Ajax</a></li>
77
  <li><a href="#MLACore" title="Class MLA (Media Library Assistant) Core is the minimum support required for all other MLA features">MLACore</a></li>
78
  <li><a href="#MLA_Checklist_Walker" title="Class MLA (Media Library Assistant) Checklist Walker replaces term_id with slug in checklist output">MLA_Checklist_Walker</a></li>
@@ -81,8 +82,8 @@
81
  for MLA Ajax, Shortcode and Admin needs">MLAQuery</a></li>
82
  <li><a href="#MLAReferences" title='Class MLA (Media Library Assistant) Query provides database query support
83
  for "where-used" reporting needs'>MLAReferences</a></li>
84
- <li><a href="#MLAData_source" title="Class MLA (Media Library Assistant) Data SOurce manages data sources for
85
- custom field mapping and shortcode execution">MLAData_source</a></li>
86
  <li><a href="#MLAData" title="Class MLA (Media Library Assistant) Data provides database and template file access for MLA needs">MLAData</a></li>
87
  <li><a href="#MLAEdit" title="Class MLA (Media Library Assistant) Edit contains meta boxes for the Edit Media (advanced-form-edit.php) screen">MLAEdit</a></li>
88
  <li><a href="#MLAImageProcessor" title="Class MLA (Media Library Assistant) Image Processor provides PDF thumbnails
@@ -167,6 +168,13 @@ to ensure the plugin can run in the current WordPress envrionment.">MLATest</a><
167
  </div>
168
  <h3>
169
  <i class="icon-custom icon-class"></i> Classes and interfaces</h3>
 
 
 
 
 
 
 
170
  <a name="MLA" id="MLA"></a><div class="element ajax clickable class" href="../classes/MLA.html">
171
  <h1>MLA<a href="../classes/MLA.html">¶</a>
172
  </h1>
@@ -189,13 +197,13 @@ of images and files held in the WordPress Media Library.</p>
189
  <div class="details collapse"></div>
190
  <a href="../classes/MLAData.html" class="more">« More »</a>
191
  </div>
192
- <a name="MLAData_source" id="MLAData_source"></a><div class="element ajax clickable class" href="../classes/MLAData_source.html">
193
- <h1>MLAData_source<a href="../classes/MLAData_source.html">¶</a>
194
  </h1>
195
- <p class="short_description">Class MLA (Media Library Assistant) Data SOurce manages data sources for
196
  custom field mapping and shortcode execution</p>
197
  <div class="details collapse"></div>
198
- <a href="../classes/MLAData_source.html" class="more">« More »</a>
199
  </div>
200
  <a name="MLAEdit" id="MLAEdit"></a><div class="element ajax clickable class" href="../classes/MLAEdit.html">
201
  <h1>MLAEdit<a href="../classes/MLAEdit.html">¶</a>
@@ -656,7 +664,7 @@ display an "accordian-style" list.</p></p>
656
  <div class="row"><footer class="span12">
657
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
658
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
659
- generated on 2015-12-01T21:12:13-08:00.<br></footer></div>
660
  </div>
661
  </body>
662
  </html>
73
  <li class="nav-header">
74
  <i class="icon-custom icon-class"></i> Classes</li>
75
  <li><a href="#MNA_Pad_Counts_Walker" title="Class MNA_Pad_Counts_Walker adds accurate, padded attachment counts to taxonomy terms.">MNA_Pad_Counts_Walker</a></li>
76
+ <li><a href="#CPAC_Storage_Model_MLA" title="Class CPAC Storage Model MLA (Media Library Assistant) supports the Admin Columns plugin">CPAC_Storage_Model_MLA</a></li>
77
  <li><a href="#MLA_Ajax" title="Class MLA (Media Library Assistant) Ajax contains handlers for simple Ajax requests">MLA_Ajax</a></li>
78
  <li><a href="#MLACore" title="Class MLA (Media Library Assistant) Core is the minimum support required for all other MLA features">MLACore</a></li>
79
  <li><a href="#MLA_Checklist_Walker" title="Class MLA (Media Library Assistant) Checklist Walker replaces term_id with slug in checklist output">MLA_Checklist_Walker</a></li>
82
  for MLA Ajax, Shortcode and Admin needs">MLAQuery</a></li>
83
  <li><a href="#MLAReferences" title='Class MLA (Media Library Assistant) Query provides database query support
84
  for "where-used" reporting needs'>MLAReferences</a></li>
85
+ <li><a href="#MLAData_Source" title="Class MLA (Media Library Assistant) Data Source manages data sources for
86
+ custom field mapping and shortcode execution">MLAData_Source</a></li>
87
  <li><a href="#MLAData" title="Class MLA (Media Library Assistant) Data provides database and template file access for MLA needs">MLAData</a></li>
88
  <li><a href="#MLAEdit" title="Class MLA (Media Library Assistant) Edit contains meta boxes for the Edit Media (advanced-form-edit.php) screen">MLAEdit</a></li>
89
  <li><a href="#MLAImageProcessor" title="Class MLA (Media Library Assistant) Image Processor provides PDF thumbnails
168
  </div>
169
  <h3>
170
  <i class="icon-custom icon-class"></i> Classes and interfaces</h3>
171
+ <a name="CPAC_Storage_Model_MLA" id="CPAC_Storage_Model_MLA"></a><div class="element ajax clickable class" href="../classes/CPAC_Storage_Model_MLA.html">
172
+ <h1>CPAC_Storage_Model_MLA<a href="../classes/CPAC_Storage_Model_MLA.html">¶</a>
173
+ </h1>
174
+ <p class="short_description">Class CPAC Storage Model MLA (Media Library Assistant) supports the Admin Columns plugin</p>
175
+ <div class="details collapse"></div>
176
+ <a href="../classes/CPAC_Storage_Model_MLA.html" class="more">« More »</a>
177
+ </div>
178
  <a name="MLA" id="MLA"></a><div class="element ajax clickable class" href="../classes/MLA.html">
179
  <h1>MLA<a href="../classes/MLA.html">¶</a>
180
  </h1>
197
  <div class="details collapse"></div>
198
  <a href="../classes/MLAData.html" class="more">« More »</a>
199
  </div>
200
+ <a name="MLAData_Source" id="MLAData_Source"></a><div class="element ajax clickable class" href="../classes/MLAData_Source.html">
201
+ <h1>MLAData_Source<a href="../classes/MLAData_Source.html">¶</a>
202
  </h1>
203
+ <p class="short_description">Class MLA (Media Library Assistant) Data Source manages data sources for
204
  custom field mapping and shortcode execution</p>
205
  <div class="details collapse"></div>
206
+ <a href="../classes/MLAData_Source.html" class="more">« More »</a>
207
  </div>
208
  <a name="MLAEdit" id="MLAEdit"></a><div class="element ajax clickable class" href="../classes/MLAEdit.html">
209
  <h1>MLAEdit<a href="../classes/MLAEdit.html">¶</a>
664
  <div class="row"><footer class="span12">
665
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
666
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
667
+ generated on 2016-01-03T09:26:08-08:00.<br></footer></div>
668
  </div>
669
  </body>
670
  </html>
phpDocs/structure.xml CHANGED
@@ -1,18923 +1,19124 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <project version="2.0.0a8" title="Media Library Assistant">
3
- <file path="examples\twentytwelve-mla\content-category-listing.php" hash="a8a8382ac419953b0ebcd4365d4675c2" package="Media Library Assistant\MLA\Child\Theme">
4
- <docblock line="2">
5
- <description><![CDATA[The template used for displaying "Category Listing" content in page-category-listing.php]]></description>
6
- <long-description><![CDATA[<p>The default taxonomy slug is “attachment_tag”. You can select the taxonomy you want by adding
7
- a query parameter to the URL, e.g., "?taxonomy=attachment_category".</p>
8
-
9
- <p>For this page to work well, you should install and activate the Collapse-O-Matic plugin.</p>]]></long-description>
10
- <tag line="2" name="package" description="Media Library Assistant"/>
11
- <tag line="2" name="subpackage" description="MLA_Child_Theme"/>
12
- <tag line="2" name="version" description="1.00"/>
13
- <tag line="2" name="since" description="MLA 1.80"/>
14
- </docblock>
15
- </file>
16
- <file path="examples\twentytwelve-mla\content-jkeast-dropdown-simple.php" hash="9b44e61967d729aec01fa57ee951ebef" package="Media Library Assistant\MLA\Child\Theme">
17
- <docblock line="2">
18
- <description><![CDATA[The template used for displaying "JKEast Dropdown" content in page-jkeast-dropdown.php]]></description>
19
- <long-description><![CDATA[<p>The default taxonomy slug is "attachment_tag". You can select the taxonomy you want by adding
20
- a query parameter to the URL, e.g., "?my_taxonomy=attachment_category".</p>
21
-
22
- <p>The default taxonomy term is empty. You must select the term you want by adding
23
- a query parameter to the URL, e.g., "?my_term=yellow".</p>]]></long-description>
24
- <tag line="2" name="package" description="Media Library Assistant"/>
25
- <tag line="2" name="subpackage" description="MLA_Child_Theme"/>
26
- <tag line="2" name="version" description="1.00"/>
27
- <tag line="2" name="since" description="MLA 1.80"/>
28
- </docblock>
29
- <function namespace="global" line="71" package="Media Library Assistant\MLA\Child\Theme">
30
- <name>custom_taxonomy_dropdown</name>
31
- <full_name>\custom_taxonomy_dropdown</full_name>
32
- <docblock line="56">
33
- <description><![CDATA[Custom Taxonomy Dropdown Control]]></description>
34
- <long-description><![CDATA[]]></long-description>
35
- <tag line="56" name="since" description="1.00"/>
36
- <tag line="56" name="param" description="Taxonomy slug" type="string" variable="$taxonomy">
37
- <type by_reference="false">string</type>
38
- </tag>
39
- <tag line="56" name="param" description="Order by field" type="string" variable="$orderby">
40
- <type by_reference="false">string</type>
41
- </tag>
42
- <tag line="56" name="param" description="Sort order" type="string" variable="$order">
43
- <type by_reference="false">string</type>
44
- </tag>
45
- <tag line="56" name="param" description="Not used" type="string" variable="$limit">
46
- <type by_reference="false">string</type>
47
- </tag>
48
- <tag line="56" name="param" description="HTML name= value" type="string" variable="$name">
49
- <type by_reference="false">string</type>
50
- </tag>
51
- <tag line="56" name="param" description="NULL/&quot;Select All&quot; label" type="mixed" variable="$show_option_all">
52
- <type by_reference="false">mixed</type>
53
- </tag>
54
- <tag line="56" name="param" description="NULL/&quot;Select None&quot; label" type="mixed" variable="$show_option_none">
55
- <type by_reference="false">mixed</type>
56
- </tag>
57
- <tag line="56" name="return" description="Echoes HTML for the dropdown control" type="void">
58
- <type by_reference="false">void</type>
59
- </tag>
60
- </docblock>
61
- <argument line="71">
62
- <name>$taxonomy</name>
63
- <default><![CDATA[]]></default>
64
- <type/>
65
- </argument>
66
- <argument line="71">
67
- <name>$orderby</name>
68
- <default><![CDATA['date']]></default>
69
- <type/>
70
- </argument>
71
- <argument line="71">
72
- <name>$order</name>
73
- <default><![CDATA['DESC']]></default>
74
- <type/>
75
- </argument>
76
- <argument line="71">
77
- <name>$limit</name>
78
- <default><![CDATA['-1']]></default>
79
- <type/>
80
- </argument>
81
- <argument line="71">
82
- <name>$name</name>
83
- <default><![CDATA[]]></default>
84
- <type/>
85
- </argument>
86
- <argument line="71">
87
- <name>$show_option_all</name>
88
- <default><![CDATA[null]]></default>
89
- <type/>
90
- </argument>
91
- <argument line="71">
92
- <name>$show_option_none</name>
93
- <default><![CDATA[null]]></default>
94
- <type/>
95
- </argument>
96
- </function>
97
- </file>
98
- <file path="examples\twentytwelve-mla\content-jkeast-dropdown.php" hash="d2483928cea467246478ff4a7c8f7af9" package="Media Library Assistant\MLA\Child\Theme">
99
- <docblock line="2">
100
- <description><![CDATA[The template used for displaying "JKEast Dropdown" content in page-jkeast-dropdown.php]]></description>
101
- <long-description><![CDATA[<p>The default taxonomy slug is "attachment_tag". You can select the taxonomy you want by adding
102
- a query parameter to the URL, e.g., "?my_taxonomy=attachment_category".</p>
103
-
104
- <p>The default taxonomy term is empty. You must select the term you want by adding
105
- a query parameter to the URL, e.g., "?my_term=yellow".</p>]]></long-description>
106
- <tag line="2" name="package" description="Media Library Assistant"/>
107
- <tag line="2" name="subpackage" description="MLA_Child_Theme"/>
108
- <tag line="2" name="version" description="1.00"/>
109
- <tag line="2" name="since" description="MLA 1.80"/>
110
- </docblock>
111
- <function namespace="global" line="70" package="Media Library Assistant\MLA\Child\Theme">
112
- <name>custom_taxonomy_dropdown</name>
113
- <full_name>\custom_taxonomy_dropdown</full_name>
114
- <docblock line="54">
115
- <description><![CDATA[Custom Taxonomy Dropdown Control]]></description>
116
- <long-description><![CDATA[]]></long-description>
117
- <tag line="54" name="since" description="1.00"/>
118
- <tag line="54" name="param" description="Taxonomy slug" type="string" variable="$taxonomy">
119
- <type by_reference="false">string</type>
120
- </tag>
121
- <tag line="54" name="param" description="Order by field" type="string" variable="$orderby">
122
- <type by_reference="false">string</type>
123
- </tag>
124
- <tag line="54" name="param" description="Sort order" type="string" variable="$order">
125
- <type by_reference="false">string</type>
126
- </tag>
127
- <tag line="54" name="param" description="Not used" type="string" variable="$limit">
128
- <type by_reference="false">string</type>
129
- </tag>
130
- <tag line="54" name="param" description="HTML name= value" type="string" variable="$name">
131
- <type by_reference="false">string</type>
132
- </tag>
133
- <tag line="54" name="param" description="NULL/&quot;Select All&quot; label" type="mixed" variable="$show_option_all">
134
- <type by_reference="false">mixed</type>
135
- </tag>
136
- <tag line="54" name="param" description="NULL/&quot;Select None&quot; label" type="mixed" variable="$show_option_none">
137
- <type by_reference="false">mixed</type>
138
- </tag>
139
- <tag line="54" name="param" description="Index of the inital selection" type="integer" variable="$selected">
140
- <type by_reference="false">integer</type>
141
- </tag>
142
- <tag line="54" name="return" description="Echoes HTML for the dropdown control" type="void">
143
- <type by_reference="false">void</type>
144
- </tag>
145
- </docblock>
146
- <argument line="70">
147
- <name>$taxonomy</name>
148
- <default><![CDATA[]]></default>
149
- <type/>
150
- </argument>
151
- <argument line="70">
152
- <name>$orderby</name>
153
- <default><![CDATA['date']]></default>
154
- <type/>
155
- </argument>
156
- <argument line="70">
157
- <name>$order</name>
158
- <default><![CDATA['DESC']]></default>
159
- <type/>
160
- </argument>
161
- <argument line="70">
162
- <name>$limit</name>
163
- <default><![CDATA['-1']]></default>
164
- <type/>
165
- </argument>
166
- <argument line="70">
167
- <name>$name</name>
168
- <default><![CDATA[]]></default>
169
- <type/>
170
- </argument>
171
- <argument line="70">
172
- <name>$show_option_all</name>
173
- <default><![CDATA[null]]></default>
174
- <type/>
175
- </argument>
176
- <argument line="70">
177
- <name>$show_option_none</name>
178
- <default><![CDATA[null]]></default>
179
- <type/>
180
- </argument>
181
- <argument line="70">
182
- <name>$selected</name>
183
- <default><![CDATA[0]]></default>
184
- <type/>
185
- </argument>
186
- </function>
187
- </file>
188
- <file path="examples\twentytwelve-mla\content-latest-images.php" hash="3fefc5035d1752ba884c449a1f156a89" package="Media Library Assistant\MLA\Child\Theme">
189
- <docblock line="2">
190
- <description><![CDATA[The template used for displaying the "Latest Images" content in page-latest-images.php]]></description>
191
- <long-description><![CDATA[]]></long-description>
192
- <tag line="2" name="package" description="Media Library Assistant"/>
193
- <tag line="2" name="subpackage" description="MLA_Child_Theme"/>
194
- <tag line="2" name="version" description="1.00"/>
195
- <tag line="2" name="since" description="MLA 1.80"/>
196
- </docblock>
197
- </file>
198
- <file path="examples\twentytwelve-mla\content-media.php" hash="ec1896bb3521f787fe6d6a2c58f544e5" package="Media Library Assistant\MLA\Child\Theme">
199
- <docblock line="2">
200
- <description><![CDATA[The template for displaying posts in the Image post format,
201
- called from the taxonomy.php template.]]></description>
202
- <long-description><![CDATA[]]></long-description>
203
- <tag line="2" name="package" description="Media Library Assistant"/>
204
- <tag line="2" name="subpackage" description="MLA_Child_Theme"/>
205
- <tag line="2" name="version" description="1.00"/>
206
- <tag line="2" name="since" description="MLA 1.80"/>
207
- </docblock>
208
- </file>
209
- <file path="examples\twentytwelve-mla\content-mla-gallery.php" hash="489b929ab461b7197058f2133f15b5a4" package="Media Library Assistant\MLA\Child\Theme">
210
- <docblock line="2">
211
- <description><![CDATA[The template for displaying posts in the Image post format,
212
- called from the taxonomy.php template.]]></description>
213
- <long-description><![CDATA[]]></long-description>
214
- <tag line="2" name="package" description="Media Library Assistant"/>
215
- <tag line="2" name="subpackage" description="MLA_Child_Theme"/>
216
- <tag line="2" name="version" description="1.00"/>
217
- <tag line="2" name="since" description="MLA 1.91"/>
218
- </docblock>
219
- </file>
220
- <file path="examples\twentytwelve-mla\content-single-image.php" hash="11acaf637360c1bd901bdcd1514c5936" package="Media Library Assistant\MLA\Child\Theme">
221
- <docblock line="2">
222
- <description><![CDATA[The template used for displaying "attachment page" content in page-single-image.php]]></description>
223
- <long-description><![CDATA[<p>You must select the attachment you want by adding a query parameter
224
- to the URL, e.g., "?post_id=5" where 5 is the ID of the attachment.</p>
225
-
226
- <p>The global $post variable contains the post object of the calling page.</p>]]></long-description>
227
- <tag line="2" name="package" description="Media Library Assistant"/>
228
- <tag line="2" name="subpackage" description="MLA_Child_Theme"/>
229
- <tag line="2" name="version" description="1.00"/>
230
- <tag line="2" name="since" description="MLA 1.80"/>
231
- </docblock>
232
- </file>
233
- <file path="examples\twentytwelve-mla\content-tag-gallery.php" hash="4513cf37638b0eb611e712a248e73f72" package="Media Library Assistant\MLA\Child\Theme">
234
- <docblock line="2">
235
- <description><![CDATA[The template used for displaying "Tag Gallery" content in page-tag-gallery.php]]></description>
236
- <long-description><![CDATA[<p>The default taxonomy slug is "attachment_tag". You can select the taxonomy you want by adding
237
- a query parameter to the URL, e.g., "?my_taxonomy=attachment_category".</p>
238
-
239
- <p>The default taxonomy term is empty. You must select the term you want by adding
240
- a query parameter to the URL, e.g., "?my_term=yellow".</p>]]></long-description>
241
- <tag line="2" name="package" description="Media Library Assistant"/>
242
- <tag line="2" name="subpackage" description="MLA_Child_Theme"/>
243
- <tag line="2" name="version" description="1.00"/>
244
- <tag line="2" name="since" description="MLA 1.80"/>
245
- </docblock>
246
- </file>
247
- <file path="examples\twentytwelve-mla\content-tosca30-dropdown.php" hash="f3e4f1f6e08aa1099fab1c17f6f606ba" package="Media Library Assistant\MLA\Child\Theme">
248
- <docblock line="2">
249
- <description><![CDATA[The template used for displaying "Tosca30 Dropdown" content in page-tosca30-dropdown.php]]></description>
250
- <long-description><![CDATA[<p>Replaces the wp_list_categories() item count with an accurate, padded count of the
251
- attachments assigned to each term.</p>]]></long-description>
252
- <tag line="2" name="package" description="Media Library Assistant"/>
253
- <tag line="2" name="subpackage" description="MLA_Child_Theme"/>
254
- <tag line="2" name="version" description="1.00"/>
255
- <tag line="2" name="since" description="MLA 1.80"/>
256
- </docblock>
257
- <class final="false" abstract="false" namespace="global" line="38" package="Media Library Assistant">
258
- <extends>\Walker_Category</extends>
259
- <name>MNA_Pad_Counts_Walker</name>
260
- <full_name>\MNA_Pad_Counts_Walker</full_name>
261
- <docblock line="32">
262
- <description><![CDATA[Class MNA_Pad_Counts_Walker adds accurate, padded attachment counts to taxonomy terms.]]></description>
263
- <long-description><![CDATA[<p>Class Walker is defined in /wp-includes/class-wp-walker.php
264
- Class Walker_Category is defined in /wp-includes/category-template.php</p>]]></long-description>
265
- </docblock>
266
- <property final="false" static="false" visibility="private" line="44" namespace="global" package="Media Library Assistant">
267
- <name>$mla_terms</name>
268
- <default><![CDATA[array()]]></default>
269
- <docblock line="39">
270
- <description><![CDATA[MLA Terms]]></description>
271
- <long-description><![CDATA[]]></long-description>
272
- <tag line="39" name="var" description="" type="array">
273
- <type by_reference="false">array</type>
274
- </tag>
275
- </docblock>
276
- </property>
277
- <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="51" package="Media Library Assistant">
278
- <name>__construct</name>
279
- <full_name>__construct</full_name>
280
- <docblock line="46">
281
- <description><![CDATA[Constructor - set the MLA Terms.]]></description>
282
- <long-description><![CDATA[]]></long-description>
283
- <tag line="46" name="param" description="Taxonomy name/slug." type="string" variable="$taxonomy">
284
- <type by_reference="false">string</type>
285
- </tag>
286
- </docblock>
287
- <argument line="51">
288
- <name>$taxonomy</name>
289
- <default><![CDATA[]]></default>
290
- <type/>
291
- </argument>
292
- </method>
293
- <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="75" package="Media Library Assistant">
294
- <name>start_el</name>
295
- <full_name>start_el</full_name>
296
- <docblock line="64">
297
- <description><![CDATA[Start the element output.]]></description>
298
- <long-description><![CDATA[]]></long-description>
299
- <tag line="64" name="see" description="\global\Walker::start_el()" refers="\global\Walker::start_el()"/>
300
- <tag line="64" name="param" description="Passed by reference. Used to append additional content." type="string" variable="$output">
301
- <type by_reference="false">string</type>
302
- </tag>
303
- <tag line="64" name="param" description="Taxonomy data object." type="object" variable="$taxonomy_object">
304
- <type by_reference="false">object</type>
305
- </tag>
306
- <tag line="64" name="param" description="Depth of category in reference to parents. Default 0." type="int" variable="$depth">
307
- <type by_reference="false">int</type>
308
- </tag>
309
- <tag line="64" name="param" description="An array of arguments. @see wp_list_categories()" type="array" variable="$args">
310
- <type by_reference="false">array</type>
311
- </tag>
312
- <tag line="64" name="param" description="ID of the current category." type="int" variable="$id">
313
- <type by_reference="false">int</type>
314
- </tag>
315
- </docblock>
316
- <argument line="75">
317
- <name>$output</name>
318
- <default><![CDATA[]]></default>
319
- <type/>
320
- </argument>
321
- <argument line="75">
322
- <name>$taxonomy_object</name>
323
- <default><![CDATA[]]></default>
324
- <type/>
325
- </argument>
326
- <argument line="75">
327
- <name>$depth</name>
328
- <default><![CDATA[0]]></default>
329
- <type/>
330
- </argument>
331
- <argument line="75">
332
- <name>$args</name>
333
- <default><![CDATA[array()]]></default>
334
- <type/>
335
- </argument>
336
- <argument line="75">
337
- <name>$id</name>
338
- <default><![CDATA[0]]></default>
339
- <type/>
340
- </argument>
341
- </method>
342
- </class>
343
- </file>
344
- <file path="examples\twentytwelve-mla\functions.php" hash="3738e1718535715c083d4d69bfe29846" package="Media Library Assistant\MLA\Child\Theme">
345
- <docblock line="2">
346
- <description><![CDATA[MLA Child for Twenty Twelve functions and definitions]]></description>
347
- <long-description><![CDATA[<p>Sets up the theme and provides some helper functions, which are used
348
- in the theme as custom template tags. Others are attached to action and
349
- filter hooks in WordPress to change core functionality.</p>]]></long-description>
350
- <tag line="2" name="package" description="Media Library Assistant"/>
351
- <tag line="2" name="subpackage" description="MLA_Child_Theme"/>
352
- <tag line="2" name="version" description="1.01"/>
353
- <tag line="2" name="since" description="MLA 1.80"/>
354
- </docblock>
355
- <function namespace="global" line="37" package="Media Library Assistant\MLA\Child\Theme">
356
- <name>mla_after_setup_theme_action</name>
357
- <full_name>\mla_after_setup_theme_action</full_name>
358
- <docblock line="31">
359
- <description><![CDATA[Loads the text domain(s) for the mla-child-theme, from the WordPress language directory
360
- and/or from the theme's own directory.]]></description>
361
- <long-description><![CDATA[]]></long-description>
362
- <tag line="31" name="return" description="" type="void">
363
- <type by_reference="false">void</type>
364
- </tag>
365
- </docblock>
366
- </function>
367
- <function namespace="global" line="57" package="Media Library Assistant\MLA\Child\Theme">
368
- <name>mla_wp_title_filter</name>
369
- <full_name>\mla_wp_title_filter</full_name>
370
- <docblock line="48">
371
- <description><![CDATA[Customize the <title> tag content for the Tag Gallery and Single Image pages]]></description>
372
- <long-description><![CDATA[]]></long-description>
373
- <tag line="48" name="param" description="The default page title" type="string" variable="$title">
374
- <type by_reference="false">string</type>
375
- </tag>
376
- <tag line="48" name="param" description="How to separate the various items within the page title" type="string" variable="$sep">
377
- <type by_reference="false">string</type>
378
- </tag>
379
- <tag line="48" name="param" description="Optional. Direction to display title, 'right'." type="string" variable="$seplocation">
380
- <type by_reference="false">string</type>
381
- </tag>
382
- <tag line="48" name="return" description="updated title value" type="string">
383
- <type by_reference="false">string</type>
384
- </tag>
385
- </docblock>
386
- <argument line="57">
387
- <name>$title</name>
388
- <default><![CDATA[]]></default>
389
- <type/>
390
- </argument>
391
- <argument line="57">
392
- <name>$sep</name>
393
- <default><![CDATA[]]></default>
394
- <type/>
395
- </argument>
396
- <argument line="57">
397
- <name>$seplocation</name>
398
- <default><![CDATA[]]></default>
399
- <type/>
400
- </argument>
401
- </function>
402
- <function namespace="global" line="95" package="Media Library Assistant\MLA\Child\Theme">
403
- <name>mla_tag_gallery</name>
404
- <full_name>\mla_tag_gallery</full_name>
405
- <docblock line="88">
406
- <description><![CDATA[Generate a taxonomy- and term-specific [mla_gallery]]]></description>
407
- <long-description><![CDATA[]]></long-description>
408
- <tag line="88" name="param" description="Attributes of the function: taxonomy, term" type="array" variable="$attr">
409
- <type by_reference="false">array</type>
410
- </tag>
411
- <tag line="88" name="return" description="echoes HTML &lt;h3&gt;, &lt;p&gt; and &lt;a&gt; tags" type="void">
412
- <type by_reference="false">void</type>
413
- </tag>
414
- </docblock>
415
- <argument line="95">
416
- <name>$attr</name>
417
- <default><![CDATA[NULL]]></default>
418
- <type/>
419
- </argument>
420
- </function>
421
- <function namespace="global" line="143" package="Media Library Assistant\MLA\Child\Theme">
422
- <name>mla_paginated_term_gallery</name>
423
- <full_name>\mla_paginated_term_gallery</full_name>
424
- <docblock line="134">
425
- <description><![CDATA[Generate a taxonomy- and term-specific [mla_gallery], limited by current_page and posts_per_page]]></description>
426
- <long-description><![CDATA[<p>This function uses $wpdb functions for efficiency.</p>]]></long-description>
427
- <tag line="134" name="param" description="Attributes of the function: page, taxonomy, term, post_mime_type, posts_per_page, current_page" type="array" variable="$attr">
428
- <type by_reference="false">array</type>
429
- </tag>
430
- <tag line="134" name="return" description="number of posts matching taxonomy &amp; term, before LIMIT. echoes HTML &lt;h3&gt;, &lt;p&gt; and &lt;a&gt; tags" type="integer">
431
- <type by_reference="false">integer</type>
432
- </tag>
433
- </docblock>
434
- <argument line="143">
435
- <name>$attr</name>
436
- <default><![CDATA[NULL]]></default>
437
- <type/>
438
- </argument>
439
- </function>
440
- <function namespace="global" line="217" package="Media Library Assistant\MLA\Child\Theme">
441
- <name>mla_custom_terms_list</name>
442
- <full_name>\mla_custom_terms_list</full_name>
443
- <docblock line="208">
444
- <description><![CDATA[Generate a list of taxonomy- and term-specific links to the page of your choice,
445
- listing the terms assigned to a specific post or Media Library item.]]></description>
446
- <long-description><![CDATA[]]></long-description>
447
- <tag line="208" name="param" description="ID of the post/page to generate terms for" type="integer" variable="$ID">
448
- <type by_reference="false">integer</type>
449
- </tag>
450
- <tag line="208" name="param" description="Attributes of the function: site_url, page_url, taxonomy" type="array" variable="$attr">
451
- <type by_reference="false">array</type>
452
- </tag>
453
- <tag line="208" name="return" description="echoes HTML &lt;h3&gt;, &lt;p&gt; and &lt;a&gt; tags" type="void">
454
- <type by_reference="false">void</type>
455
- </tag>
456
- </docblock>
457
- <argument line="217">
458
- <name>$ID</name>
459
- <default><![CDATA[]]></default>
460
- <type/>
461
- </argument>
462
- <argument line="217">
463
- <name>$attr</name>
464
- <default><![CDATA[NULL]]></default>
465
- <type/>
466
- </argument>
467
- </function>
468
- <function namespace="global" line="265" package="Media Library Assistant\MLA\Child\Theme">
469
- <name>mla_taxonomy_terms_list</name>
470
- <full_name>\mla_taxonomy_terms_list</full_name>
471
- <docblock line="256">
472
- <description><![CDATA[Generate a list of taxonomy- and term-specific links to the page of your choice.]]></description>
473
- <long-description><![CDATA[<p>Best used with the Collapse-O-Matic plugin, which uses the [expand] shortcode to
474
- display an "accordian-style" list.</p>]]></long-description>
475
- <tag line="256" name="param" description="Attributes of the function: taxonomy" type="array" variable="$attr">
476
- <type by_reference="false">array</type>
477
- </tag>
478
- <tag line="256" name="return" description="HTML &lt;h3&gt;, &lt;p&gt; and &lt;a&gt; tags" type="string">
479
- <type by_reference="false">string</type>
480
- </tag>
481
- </docblock>
482
- <argument line="265">
483
- <name>$attr</name>
484
- <default><![CDATA[NULL]]></default>
485
- <type/>
486
- </argument>
487
- </function>
488
- <function namespace="global" line="301" package="Media Library Assistant\MLA\Child\Theme">
489
- <name>mla_insert_social_tags</name>
490
- <full_name>\mla_insert_social_tags</full_name>
491
- <docblock line="296">
492
- <description><![CDATA[Insert thumbnail image tags for Facebook, Twitter, etc.]]></description>
493
- <long-description><![CDATA[]]></long-description>
494
- <tag line="296" name="return" description="echoes HTML &lt;meta&gt; tags" type="void">
495
- <type by_reference="false">void</type>
496
- </tag>
497
- </docblock>
498
- </function>
499
- </file>
500
- <file path="examples\twentytwelve-mla\header.php" hash="48a88253a6b010c7612504cb366ef159" package="Media Library Assistant\MLA\Child\Theme">
501
- <docblock line="2">
502
- <description><![CDATA[The Header template for our theme]]></description>
503
- <long-description><![CDATA[<p>Displays all of the <head> section and everything up till</p>
504
-
505
- <p>&lt;</p>
506
-
507
- <p>div id="main">
508
- The mla-child version has code to insert thumbnail image tags for Facebook, Twitter, etc.</p>]]></long-description>
509
- <tag line="2" name="package" description="Media Library Assistant"/>
510
- <tag line="2" name="subpackage" description="MLA_Child_Theme"/>
511
- <tag line="2" name="version" description="1.00"/>
512
- <tag line="2" name="since" description="MLA 1.80"/>
513
- </docblock>
514
- </file>
515
- <file path="examples\twentytwelve-mla\image.php" hash="2005b6c36db05fd6bec83dd7584bd51f" package="Media Library Assistant\MLA\Child\Theme">
516
- <docblock line="2">
517
- <description><![CDATA[The template for displaying "Attachment Posts" for $mimetype = "image",
518
- a more specific alternative to the generic "attachment.php" template.]]></description>
519
- <long-description><![CDATA[]]></long-description>
520
- <tag line="2" name="link" description="http://codex.wordpress.org/Template_Hierarchy" link="http://codex.wordpress.org/Template_Hierarchy"/>
521
- <tag line="2" name="package" description="Media Library Assistant"/>
522
- <tag line="2" name="subpackage" description="MLA_Child_Theme"/>
523
- <tag line="2" name="version" description="1.00"/>
524
- <tag line="2" name="since" description="MLA 1.80"/>
525
- </docblock>
526
- </file>
527
- <file path="examples\twentytwelve-mla\page-category-listing.php" hash="9d2b804b07ba9477777eb07c31b57212" package="Media Library Assistant\MLA\Child\Theme">
528
- <docblock line="2">
529
- <description><![CDATA[The template for displaying the "Category Listing" page, which
530
- must be defined as a static WordPress "Page" post type.]]></description>
531
- <long-description><![CDATA[<p>Please note that this is the WordPress construct of pages
532
- and that other 'pages' on your WordPress site will use a
533
- different template.</p>]]></long-description>
534
- <tag line="2" name="package" description="Media Library Assistant"/>
535
- <tag line="2" name="subpackage" description="MLA_Child_Theme"/>
536
- <tag line="2" name="version" description="1.00"/>
537
- <tag line="2" name="since" description="MLA 1.80"/>
538
- </docblock>
539
- </file>
540
- <file path="examples\twentytwelve-mla\page-jkeast-dropdown.php" hash="ad9340d4d493471f63f32f50e8dd267c" package="Media Library Assistant\MLA\Child\Theme">
541
- <docblock line="2">
542
- <description><![CDATA[The template for displaying the "JKEast Dropdown" page, which
543
- must be defined as a static WordPress "Page" post type.]]></description>
544
- <long-description><![CDATA[<p>Please note that this is the WordPress construct of pages
545
- and that other 'pages' on your WordPress site will use a
546
- different template.</p>]]></long-description>
547
- <tag line="2" name="package" description="Media Library Assistant"/>
548
- <tag line="2" name="subpackage" description="MLA_Child_Theme"/>
549
- <tag line="2" name="version" description="1.00"/>
550
- <tag line="2" name="since" description="MLA 1.80"/>
551
- </docblock>
552
- </file>
553
- <file path="examples\twentytwelve-mla\page-latest-images.php" hash="fbba95184c6ec444bd79a1f3e1445b5f" package="Media Library Assistant\MLA\Child\Theme">
554
- <docblock line="2">
555
- <description><![CDATA[The template for displaying the "Latest Images" page, which
556
- must be defined as a static WordPress "Page" post type.]]></description>
557
- <long-description><![CDATA[<p>Please note that this is the WordPress construct of pages
558
- and that other 'pages' on your WordPress site will use a
559
- different template.</p>]]></long-description>
560
- <tag line="2" name="package" description="Media Library Assistant"/>
561
- <tag line="2" name="subpackage" description="MLA_Child_Theme"/>
562
- <tag line="2" name="version" description="1.00"/>
563
- <tag line="2" name="since" description="MLA 1.80"/>
564
- </docblock>
565
- </file>
566
- <file path="examples\twentytwelve-mla\page-single-image.php" hash="f3069e5c80a126bfe0e6421aca830cf6" package="Media Library Assistant\MLA\Child\Theme">
567
- <docblock line="2">
568
- <description><![CDATA[The template used for displaying "attachment page" content]]></description>
569
- <long-description><![CDATA[<p>You must define a WordPress static page "Single Image", which can be
570
- empty but must exist to trigger this template.</p>
571
-
572
- <p>Please note that this is the WordPress construct of pages
573
- and that other 'pages' on your WordPress site will use a
574
- different template.</p>
575
-
576
- <p>You must select the attachment you want by adding a query parameter
577
- to the URL, e.g., "?post_id=5" where 5 is the ID of the attachment.</p>
578
-
579
- <p>The global $post variable contains the post object of the calling page.
580
- * The template for displaying the "Tag Gallery" page, which
581
- must be defined as a static WordPress "Page" post type.</p>]]></long-description>
582
- <tag line="2" name="package" description="Media Library Assistant"/>
583
- <tag line="2" name="subpackage" description="MLA_Child_Theme"/>
584
- <tag line="2" name="version" description="1.00"/>
585
- <tag line="2" name="since" description="MLA 1.80"/>
586
- </docblock>
587
- </file>
588
- <file path="examples\twentytwelve-mla\page-tag-gallery.php" hash="8744ff3f2f0a844dfa3326a61d4bf5d3" package="Media Library Assistant\MLA\Child\Theme">
589
- <docblock line="2">
590
- <description><![CDATA[The template for displaying the "Tag Gallery" page, which
591
- must be defined as a static WordPress "Page" post type.]]></description>
592
- <long-description><![CDATA[<p>Please note that this is the WordPress construct of pages
593
- and that other 'pages' on your WordPress site will use a
594
- different template.</p>]]></long-description>
595
- <tag line="2" name="package" description="Media Library Assistant"/>
596
- <tag line="2" name="subpackage" description="MLA_Child_Theme"/>
597
- <tag line="2" name="version" description="1.00"/>
598
- <tag line="2" name="since" description="MLA 1.80"/>
599
- </docblock>
600
- </file>
601
- <file path="examples\twentytwelve-mla\page-tosca30-dropdown.php" hash="59858dedc381eec9a56c22214789bbe3" package="Media Library Assistant\MLA\Child\Theme">
602
- <docblock line="2">
603
- <description><![CDATA[The template for displaying the "Tosca30 Dropdown" page, which
604
- must be defined as a static WordPress "Page" post type.]]></description>
605
- <long-description><![CDATA[<p>Please note that this is the WordPress construct of pages
606
- and that other 'pages' on your WordPress site will use a
607
- different template.</p>]]></long-description>
608
- <tag line="2" name="package" description="Media Library Assistant"/>
609
- <tag line="2" name="subpackage" description="MLA_Child_Theme"/>
610
- <tag line="2" name="version" description="1.00"/>
611
- <tag line="2" name="since" description="MLA 1.80"/>
612
- </docblock>
613
- </file>
614
- <file path="examples\twentytwelve-mla\taxonomy.php" hash="74bf1d4072ed199f590fa5a937f51713" package="Media Library Assistant\MLA\Child\Theme">
615
- <docblock line="2">
616
- <description><![CDATA[The template for displaying Custom Taxonomy Archive pages]]></description>
617
- <long-description><![CDATA[<p>Twenty Twelve already has tag.php for Tag archives and category.php for Category archives.</p>]]></long-description>
618
- <tag line="2" name="link" description="http://codex.wordpress.org/Template_Hierarchy" link="http://codex.wordpress.org/Template_Hierarchy"/>
619
- <tag line="2" name="package" description="Media Library Assistant"/>
620
- <tag line="2" name="subpackage" description="MLA_Child_Theme"/>
621
- <tag line="2" name="version" description="1.00"/>
622
- <tag line="2" name="since" description="MLA 1.80"/>
623
- </docblock>
624
- </file>
625
- <file path="includes\class-mla-ajax.php" hash="939cc5ab7b75daca4b97b4e9e4a9e406" package="Media Library Assistant">
626
- <docblock line="2">
627
- <description><![CDATA[Media Library Assistant Ajax Handlers]]></description>
628
- <long-description><![CDATA[]]></long-description>
629
- <tag line="2" name="package" description="Media Library Assistant"/>
630
- <tag line="2" name="since" description="2.20"/>
631
- </docblock>
632
- <include line="232" type="Require Once" package="Media Library Assistant">
633
- <name/>
634
- </include>
635
- <include line="244" type="Require Once" package="Media Library Assistant">
636
- <name/>
637
- </include>
638
- <include line="263" type="Require Once" package="Media Library Assistant">
639
- <name/>
640
- </include>
641
- <class final="false" abstract="false" namespace="global" line="15" package="Media Library Assistant">
642
- <extends/>
643
- <name>MLA_Ajax</name>
644
- <full_name>\MLA_Ajax</full_name>
645
- <docblock line="9">
646
- <description><![CDATA[Class MLA (Media Library Assistant) Ajax contains handlers for simple Ajax requests]]></description>
647
- <long-description><![CDATA[]]></long-description>
648
- <tag line="9" name="package" description="Media Library Assistant"/>
649
- <tag line="9" name="since" description="2.20"/>
650
- </docblock>
651
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="23" package="Media Library Assistant">
652
- <name>initialize</name>
653
- <full_name>initialize</full_name>
654
- <docblock line="16">
655
- <description><![CDATA[Initialization function, similar to __construct()]]></description>
656
- <long-description><![CDATA[]]></long-description>
657
- <tag line="16" name="since" description="2.20"/>
658
- <tag line="16" name="return" description="" type="void">
659
- <type by_reference="false">void</type>
660
- </tag>
661
- </docblock>
662
- </method>
663
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="33" package="Media Library Assistant">
664
- <name>mla_admin_init_action</name>
665
- <full_name>mla_admin_init_action</full_name>
666
- <docblock line="27">
667
- <description><![CDATA[Adds flat checklist taxonomy support to the Media Manager Modal Window.]]></description>
668
- <long-description><![CDATA[<p>Declared public because it is an action.</p>]]></long-description>
669
- <tag line="27" name="since" description="2.20"/>
670
- </docblock>
671
- </method>
672
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="70" package="Media Library Assistant">
673
- <name>_mla_ajax_add_flat_term</name>
674
- <full_name>_mla_ajax_add_flat_term</full_name>
675
- <docblock line="59">
676
- <description><![CDATA[Add flat taxonomy term from "checklist" meta box on the Media Manager Modal Window]]></description>
677
- <long-description><![CDATA[<p>Adapted from the WordPress post_categories_meta_box() in /wp-admin/includes/meta-boxes.php.</p>]]></long-description>
678
- <tag line="59" name="since" description="2.20"/>
679
- <tag line="59" name="param" description="The taxonomy name, from $_POST['action']" type="string" variable="$key">
680
- <type by_reference="false">string</type>
681
- </tag>
682
- <tag line="59" name="return" description="Sends JSON response with updated HTML for the checklist" type="void">
683
- <type by_reference="false">void</type>
684
- </tag>
685
- </docblock>
686
- <argument line="70">
687
- <name>$key</name>
688
- <default><![CDATA[]]></default>
689
- <type/>
690
- </argument>
691
- </method>
692
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="128" package="Media Library Assistant">
693
- <name>mla_find_posts_ajax_action</name>
694
- <full_name>mla_find_posts_ajax_action</full_name>
695
- <docblock line="118">
696
- <description><![CDATA[Ajax handler to fetch candidates for the "Set Parent" popup window]]></description>
697
- <long-description><![CDATA[<p>Adapted from wp_ajax_find_posts in /wp-admin/includes/ajax-actions.php.
698
- Adds filters for post type and pagination.</p>]]></long-description>
699
- <tag line="118" name="since" description="1.90"/>
700
- <tag line="118" name="return" description="passes results to wp_send_json_success() for JSON encoding and transmission" type="void">
701
- <type by_reference="false">void</type>
702
- </tag>
703
- </docblock>
704
- </method>
705
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="217" package="Media Library Assistant">
706
- <name>mla_set_parent_ajax_action</name>
707
- <full_name>mla_set_parent_ajax_action</full_name>
708
- <docblock line="208">
709
- <description><![CDATA[Ajax handler to set post_parent for a single attachment]]></description>
710
- <long-description><![CDATA[<p>Adapted from wp_ajax_inline_save in /wp-admin/includes/ajax-actions.php</p>]]></long-description>
711
- <tag line="208" name="since" description="0.20"/>
712
- <tag line="208" name="return" description="echo HTML &lt;td&gt; innerHTML for updated call or error message, then die()" type="void">
713
- <type by_reference="false">void</type>
714
- </tag>
715
- </docblock>
716
- </method>
717
- </class>
718
- </file>
719
- <file path="includes\class-mla-core.php" hash="7641264c77baa455e3f1fb170ba32095" package="Media Library Assistant">
720
- <docblock line="2">
721
- <description><![CDATA[Media Library Assistant Core objects]]></description>
722
- <long-description><![CDATA[]]></long-description>
723
- <tag line="2" name="package" description="Media Library Assistant"/>
724
- <tag line="2" name="since" description="2.20"/>
725
- </docblock>
726
- <include line="2313" type="Require Once" package="Media Library Assistant">
727
- <name/>
728
- </include>
729
- <class final="false" abstract="false" namespace="global" line="16" package="Media Library Assistant">
730
- <extends/>
731
- <name>MLACore</name>
732
- <full_name>\MLACore</full_name>
733
- <docblock line="10">
734
- <description><![CDATA[Class MLA (Media Library Assistant) Core is the minimum support required for all other MLA features]]></description>
735
- <long-description><![CDATA[]]></long-description>
736
- <tag line="10" name="package" description="Media Library Assistant"/>
737
- <tag line="10" name="since" description="2.20"/>
738
- </docblock>
739
- <constant namespace="global" line="42" package="Media Library Assistant">
740
- <name>MLA_DEBUG_CATEGORY_AJAX</name>
741
- <full_name>MLA_DEBUG_CATEGORY_AJAX</full_name>
742
- <value><![CDATA[2]]></value>
743
- <docblock line="35">
744
- <description><![CDATA[Constant to log Ajax debug activity]]></description>
745
- <long-description><![CDATA[]]></long-description>
746
- <tag line="35" name="since" description="2.13"/>
747
- <tag line="35" name="var" description="" type="integer">
748
- <type by_reference="false">integer</type>
749
- </tag>
750
- </docblock>
751
- </constant>
752
- <constant namespace="global" line="51" package="Media Library Assistant">
753
- <name>MLA_DEBUG_CATEGORY_LANGUAGE</name>
754
- <full_name>MLA_DEBUG_CATEGORY_LANGUAGE</full_name>
755
- <value><![CDATA[4]]></value>
756
- <docblock line="44">
757
- <description><![CDATA[Constant to log WPML/Polylang action/filter activity]]></description>
758
- <long-description><![CDATA[]]></long-description>
759
- <tag line="44" name="since" description="2.15"/>
760
- <tag line="44" name="var" description="" type="integer">
761
- <type by_reference="false">integer</type>
762
- </tag>
763
- </docblock>
764
- </constant>
765
- <constant namespace="global" line="60" package="Media Library Assistant">
766
- <name>ADMIN_PAGE_SLUG</name>
767
- <full_name>ADMIN_PAGE_SLUG</full_name>
768
- <value><![CDATA['mla-menu']]></value>
769
- <docblock line="53">
770
- <description><![CDATA[Slug for adding plugin submenu]]></description>
771
- <long-description><![CDATA[]]></long-description>
772
- <tag line="53" name="since" description="0.1"/>
773
- <tag line="53" name="var" description="" type="string">
774
- <type by_reference="false">string</type>
775
- </tag>
776
- </docblock>
777
- </constant>
778
- <constant namespace="global" line="69" package="Media Library Assistant">
779
- <name>MLA_ADMIN_SINGLE_DELETE</name>
780
- <full_name>MLA_ADMIN_SINGLE_DELETE</full_name>
781
- <value><![CDATA['single_item_delete']]></value>
782
- <docblock line="62">
783
- <description><![CDATA[mla_admin_action value for permanently deleting a single item]]></description>
784
- <long-description><![CDATA[]]></long-description>
785
- <tag line="62" name="since" description="0.1"/>
786
- <tag line="62" name="var" description="" type="string">
787
- <type by_reference="false">string</type>
788
- </tag>
789
- </docblock>
790
- </constant>
791
- <constant namespace="global" line="78" package="Media Library Assistant">
792
- <name>MLA_ADMIN_SINGLE_TRASH</name>
793
- <full_name>MLA_ADMIN_SINGLE_TRASH</full_name>
794
- <value><![CDATA['single_item_trash']]></value>
795
- <docblock line="71">
796
- <description><![CDATA[mla_admin_action value for moving a single item to the trash]]></description>
797
- <long-description><![CDATA[]]></long-description>
798
- <tag line="71" name="since" description="0.1"/>
799
- <tag line="71" name="var" description="" type="string">
800
- <type by_reference="false">string</type>
801
- </tag>
802
- </docblock>
803
- </constant>
804
- <constant namespace="global" line="87" package="Media Library Assistant">
805
- <name>MLA_ADMIN_SINGLE_RESTORE</name>
806
- <full_name>MLA_ADMIN_SINGLE_RESTORE</full_name>
807
- <value><![CDATA['single_item_restore']]></value>
808
- <docblock line="80">
809
- <description><![CDATA[mla_admin_action value for restoring a single item from the trash]]></description>
810
- <long-description><![CDATA[]]></long-description>
811
- <tag line="80" name="since" description="0.1"/>
812
- <tag line="80" name="var" description="" type="string">
813
- <type by_reference="false">string</type>
814
- </tag>
815
- </docblock>
816
- </constant>
817
- <constant namespace="global" line="96" package="Media Library Assistant">
818
- <name>MLA_ADMIN_NONCE_ACTION</name>
819
- <full_name>MLA_ADMIN_NONCE_ACTION</full_name>
820
- <value><![CDATA['mla_admin_nonce_action']]></value>
821
- <docblock line="89">
822
- <description><![CDATA[Action name; gives a context for the nonce]]></description>
823
- <long-description><![CDATA[]]></long-description>
824
- <tag line="89" name="since" description="0.1"/>
825
- <tag line="89" name="var" description="" type="string">
826
- <type by_reference="false">string</type>
827
- </tag>
828
- </docblock>
829
- </constant>
830
- <constant namespace="global" line="105" package="Media Library Assistant">
831
- <name>MLA_ADMIN_NONCE_NAME</name>
832
- <full_name>MLA_ADMIN_NONCE_NAME</full_name>
833
- <value><![CDATA['mla_admin_nonce']]></value>
834
- <docblock line="98">
835
- <description><![CDATA[Nonce name; uniquely identifies the nonce]]></description>
836
- <long-description><![CDATA[]]></long-description>
837
- <tag line="98" name="since" description="2.13"/>
838
- <tag line="98" name="var" description="" type="string">
839
- <type by_reference="false">string</type>
840
- </tag>
841
- </docblock>
842
- </constant>
843
- <constant namespace="global" line="114" package="Media Library Assistant">
844
- <name>JAVASCRIPT_INLINE_EDIT_SLUG</name>
845
- <full_name>JAVASCRIPT_INLINE_EDIT_SLUG</full_name>
846
- <value><![CDATA['mla-inline-edit-scripts']]></value>
847
- <docblock line="107">
848
- <description><![CDATA[Slug for localizing and enqueueing JavaScript - MLA List Table]]></description>
849
- <long-description><![CDATA[]]></long-description>
850
- <tag line="107" name="since" description="0.20"/>
851
- <tag line="107" name="var" description="" type="string">
852
- <type by_reference="false">string</type>
853
- </tag>
854
- </docblock>
855
- </constant>
856
- <constant namespace="global" line="123" package="Media Library Assistant">
857
- <name>JAVASCRIPT_QUERY_ATTACHMENTS_ACTION</name>
858
- <full_name>JAVASCRIPT_QUERY_ATTACHMENTS_ACTION</full_name>
859
- <value><![CDATA['mla-query-attachments']]></value>
860
- <docblock line="116">
861
- <description><![CDATA[Slug for the "query attachments" action - Add Media and related dialogs]]></description>
862
- <long-description><![CDATA[]]></long-description>
863
- <tag line="116" name="since" description="1.80"/>
864
- <tag line="116" name="var" description="" type="string">
865
- <type by_reference="false">string</type>
866
- </tag>
867
- </docblock>
868
- </constant>
869
- <constant namespace="global" line="132" package="Media Library Assistant">
870
- <name>JAVASCRIPT_FILL_COMPAT_ACTION</name>
871
- <full_name>JAVASCRIPT_FILL_COMPAT_ACTION</full_name>
872
- <value><![CDATA['mla-fill-compat-fields']]></value>
873
- <docblock line="125">
874
- <description><![CDATA[Slug for the "fill compat-attachment-fields" action - Add Media and related dialogs]]></description>
875
- <long-description><![CDATA[]]></long-description>
876
- <tag line="125" name="since" description="1.80"/>
877
- <tag line="125" name="var" description="" type="string">
878
- <type by_reference="false">string</type>
879
- </tag>
880
- </docblock>
881
- </constant>
882
- <constant namespace="global" line="141" package="Media Library Assistant">
883
- <name>JAVASCRIPT_UPDATE_COMPAT_ACTION</name>
884
- <full_name>JAVASCRIPT_UPDATE_COMPAT_ACTION</full_name>
885
- <value><![CDATA['mla-update-compat-fields']]></value>
886
- <docblock line="134">
887
- <description><![CDATA[Slug for the "update compat-attachment-fields" action - Add Media and related dialogs]]></description>
888
- <long-description><![CDATA[]]></long-description>
889
- <tag line="134" name="since" description="1.80"/>
890
- <tag line="134" name="var" description="" type="string">
891
- <type by_reference="false">string</type>
892
- </tag>
893
- </docblock>
894
- </constant>
895
- <constant namespace="global" line="150" package="Media Library Assistant">
896
- <name>MLA_SETTINGS_SLUG</name>
897
- <full_name>MLA_SETTINGS_SLUG</full_name>
898
- <value><![CDATA['mla-settings-menu']]></value>
899
- <docblock line="143">
900
- <description><![CDATA[Provides a unique name for the settings page]]></description>
901
- <long-description><![CDATA[]]></long-description>
902
- <tag line="143" name="since" description="2.20"/>
903
- <tag line="143" name="var" description="" type="string">
904
- <type by_reference="false">string</type>
905
- </tag>
906
- </docblock>
907
- </constant>
908
- <constant namespace="global" line="155" package="Media Library Assistant">
909
- <name>MLA_VERSION_OPTION</name>
910
- <full_name>MLA_VERSION_OPTION</full_name>
911
- <value><![CDATA['current_version']]></value>
912
- <docblock line="152">
913
- <description><![CDATA[Provides a unique name for the current version option]]></description>
914
- <long-description><![CDATA[]]></long-description>
915
- </docblock>
916
- </constant>
917
- <constant namespace="global" line="160" package="Media Library Assistant">
918
- <name>MLA_EXCLUDE_REVISIONS</name>
919
- <full_name>MLA_EXCLUDE_REVISIONS</full_name>
920
- <value><![CDATA['exclude_revisions']]></value>
921
- <docblock line="157">
922
- <description><![CDATA[Provides a unique name for the exclude revisions option]]></description>
923
- <long-description><![CDATA[]]></long-description>
924
- </docblock>
925
- </constant>
926
- <constant namespace="global" line="165" package="Media Library Assistant">
927
- <name>MLA_FEATURED_IN_TUNING</name>
928
- <full_name>MLA_FEATURED_IN_TUNING</full_name>
929
- <value><![CDATA['featured_in_tuning']]></value>
930
- <docblock line="162">
931
- <description><![CDATA[Provides a unique name for a database tuning option]]></description>
932
- <long-description><![CDATA[]]></long-description>
933
- </docblock>
934
- </constant>
935
- <constant namespace="global" line="170" package="Media Library Assistant">
936
- <name>MLA_INSERTED_IN_TUNING</name>
937
- <full_name>MLA_INSERTED_IN_TUNING</full_name>
938
- <value><![CDATA['inserted_in_tuning']]></value>
939
- <docblock line="167">
940
- <description><![CDATA[Provides a unique name for a database tuning option]]></description>
941
- <long-description><![CDATA[]]></long-description>
942
- </docblock>
943
- </constant>
944
- <constant namespace="global" line="175" package="Media Library Assistant">
945
- <name>MLA_GALLERY_IN_TUNING</name>
946
- <full_name>MLA_GALLERY_IN_TUNING</full_name>
947
- <value><![CDATA['gallery_in_tuning']]></value>
948
- <docblock line="172">
949
- <description><![CDATA[Provides a unique name for a database tuning option]]></description>
950
- <long-description><![CDATA[]]></long-description>
951
- </docblock>
952
- </constant>
953
- <constant namespace="global" line="180" package="Media Library Assistant">
954
- <name>MLA_MLA_GALLERY_IN_TUNING</name>
955
- <full_name>MLA_MLA_GALLERY_IN_TUNING</full_name>
956
- <value><![CDATA['mla_gallery_in_tuning']]></value>
957
- <docblock line="177">
958
- <description><![CDATA[Provides a unique name for a database tuning option]]></description>
959
- <long-description><![CDATA[]]></long-description>
960
- </docblock>
961
- </constant>
962
- <constant namespace="global" line="185" package="Media Library Assistant">
963
- <name>MLA_COUNT_TERM_ATTACHMENTS</name>
964
- <full_name>MLA_COUNT_TERM_ATTACHMENTS</full_name>
965
- <value><![CDATA['count_term_attachments']]></value>
966
- <docblock line="182">
967
- <description><![CDATA[Provides a unique name for the taxonomy count Attachments option]]></description>
968
- <long-description><![CDATA[]]></long-description>
969
- </docblock>
970
- </constant>
971
- <constant namespace="global" line="190" package="Media Library Assistant">
972
- <name>MLA_TAXONOMY_SUPPORT</name>
973
- <full_name>MLA_TAXONOMY_SUPPORT</full_name>
974
- <value><![CDATA['taxonomy_support']]></value>
975
- <docblock line="187">
976
- <description><![CDATA[Provides a unique name for the taxonomy support option]]></description>
977
- <long-description><![CDATA[]]></long-description>
978
- </docblock>
979
- </constant>
980
- <constant namespace="global" line="195" package="Media Library Assistant">
981
- <name>MLA_SCREEN_PAGE_TITLE</name>
982
- <full_name>MLA_SCREEN_PAGE_TITLE</full_name>
983
- <value><![CDATA['admin_screen_page_title']]></value>
984
- <docblock line="192">
985
- <description><![CDATA[Provides a unique name for the admin screen page title option]]></description>
986
- <long-description><![CDATA[]]></long-description>
987
- </docblock>
988
- </constant>
989
- <constant namespace="global" line="200" package="Media Library Assistant">
990
- <name>MLA_SCREEN_MENU_TITLE</name>
991
- <full_name>MLA_SCREEN_MENU_TITLE</full_name>
992
- <value><![CDATA['admin_screen_menu_title']]></value>
993
- <docblock line="197">
994
- <description><![CDATA[Provides a unique name for the admin screen menu title option]]></description>
995
- <long-description><![CDATA[]]></long-description>
996
- </docblock>
997
- </constant>
998
- <constant namespace="global" line="205" package="Media Library Assistant">
999
- <name>MLA_SCREEN_ORDER</name>
1000
- <full_name>MLA_SCREEN_ORDER</full_name>
1001
- <value><![CDATA['admin_screen_menu_order']]></value>
1002
- <docblock line="202">
1003
- <description><![CDATA[Provides a unique name for the admin screen menu order option]]></description>
1004
- <long-description><![CDATA[]]></long-description>
1005
- </docblock>
1006
- </constant>
1007
- <constant namespace="global" line="210" package="Media Library Assistant">
1008
- <name>MLA_SCREEN_DISPLAY_LIBRARY</name>
1009
- <full_name>MLA_SCREEN_DISPLAY_LIBRARY</full_name>
1010
- <value><![CDATA['admin_screen_display_default']]></value>
1011
- <docblock line="207">
1012
- <description><![CDATA[Provides a unique name for the admin screen remove Media/Library option]]></description>
1013
- <long-description><![CDATA[]]></long-description>
1014
- </docblock>
1015
- </constant>
1016
- <constant namespace="global" line="215" package="Media Library Assistant">
1017
- <name>MLA_DEFAULT_ORDERBY</name>
1018
- <full_name>MLA_DEFAULT_ORDERBY</full_name>
1019
- <value><![CDATA['default_orderby']]></value>
1020
- <docblock line="212">
1021
- <description><![CDATA[Provides a unique name for the default orderby option]]></description>
1022
- <long-description><![CDATA[]]></long-description>
1023
- </docblock>
1024
- </constant>
1025
- <constant namespace="global" line="220" package="Media Library Assistant">
1026
- <name>MLA_DEFAULT_ORDER</name>
1027
- <full_name>MLA_DEFAULT_ORDER</full_name>
1028
- <value><![CDATA['default_order']]></value>
1029
- <docblock line="217">
1030
- <description><![CDATA[Provides a unique name for the default order option]]></description>
1031
- <long-description><![CDATA[]]></long-description>
1032
- </docblock>
1033
- </constant>
1034
- <constant namespace="global" line="225" package="Media Library Assistant">
1035
- <name>MLA_TABLE_VIEWS_WIDTH</name>
1036
- <full_name>MLA_TABLE_VIEWS_WIDTH</full_name>
1037
- <value><![CDATA['table_views_width']]></value>
1038
- <docblock line="222">
1039
- <description><![CDATA[Provides a unique name for the Media/Assistant submenu table views width option]]></description>
1040
- <long-description><![CDATA[]]></long-description>
1041
- </docblock>
1042
- </constant>
1043
- <constant namespace="global" line="230" package="Media Library Assistant">
1044
- <name>MLA_TABLE_ICON_SIZE</name>
1045
- <full_name>MLA_TABLE_ICON_SIZE</full_name>
1046
- <value><![CDATA['table_icon_size']]></value>
1047
- <docblock line="227">
1048
- <description><![CDATA[Provides a unique name for the Media/Assistant submenu table thumbnail/icon size option]]></description>
1049
- <long-description><![CDATA[]]></long-description>
1050
- </docblock>
1051
- </constant>
1052
- <constant namespace="global" line="235" package="Media Library Assistant">
1053
- <name>MLA_BULK_CHUNK_SIZE</name>
1054
- <full_name>MLA_BULK_CHUNK_SIZE</full_name>
1055
- <value><![CDATA['bulk_chunk_size']]></value>
1056
- <docblock line="232">
1057
- <description><![CDATA[Provides a unique name for the Bulk Update and Map All chunk size option]]></description>
1058
- <long-description><![CDATA[]]></long-description>
1059
- </docblock>
1060
- </constant>
1061
- <constant namespace="global" line="240" package="Media Library Assistant">
1062
- <name>MLA_TAXONOMY_FILTER_DEPTH</name>
1063
- <full_name>MLA_TAXONOMY_FILTER_DEPTH</full_name>
1064
- <value><![CDATA['taxonomy_filter_depth']]></value>
1065
- <docblock line="237">
1066
- <description><![CDATA[Provides a unique name for the taxonomy filter maximum depth option]]></description>
1067
- <long-description><![CDATA[]]></long-description>
1068
- </docblock>
1069
- </constant>
1070
- <constant namespace="global" line="245" package="Media Library Assistant">
1071
- <name>MLA_TAXONOMY_FILTER_INCLUDE_CHILDREN</name>
1072
- <full_name>MLA_TAXONOMY_FILTER_INCLUDE_CHILDREN</full_name>
1073
- <value><![CDATA['taxonomy_filter_include_children']]></value>
1074
- <docblock line="242">
1075
- <description><![CDATA[Provides a unique name for the taxonomy filter maximum depth option]]></description>
1076
- <long-description><![CDATA[]]></long-description>
1077
- </docblock>
1078
- </constant>
1079
- <constant namespace="global" line="250" package="Media Library Assistant">
1080
- <name>MLA_SEARCH_MEDIA_FILTER_SHOW_CONTROLS</name>
1081
- <full_name>MLA_SEARCH_MEDIA_FILTER_SHOW_CONTROLS</full_name>
1082
- <value><![CDATA['search_media_filter_show_controls']]></value>
1083
- <docblock line="247">
1084
- <description><![CDATA[Provides a unique name for the display Search Media controls option]]></description>
1085
- <long-description><![CDATA[]]></long-description>
1086
- </docblock>
1087
- </constant>
1088
- <constant namespace="global" line="255" package="Media Library Assistant">
1089
- <name>MLA_SEARCH_MEDIA_FILTER_DEFAULTS</name>
1090
- <full_name>MLA_SEARCH_MEDIA_FILTER_DEFAULTS</full_name>
1091
- <value><![CDATA['search_media_filter_defaults']]></value>
1092
- <docblock line="252">
1093
- <description><![CDATA[Provides a unique name for the display Search Media controls option]]></description>
1094
- <long-description><![CDATA[]]></long-description>
1095
- </docblock>
1096
- </constant>
1097
- <constant namespace="global" line="260" package="Media Library Assistant">
1098
- <name>MLA_EXIF_SIZE</name>
1099
- <full_name>MLA_EXIF_SIZE</full_name>
1100
- <value><![CDATA[30]]></value>
1101
- <docblock line="257">
1102
- <description><![CDATA[Provides a "size" attribute value for the EXIF/Template Value field]]></description>
1103
- <long-description><![CDATA[]]></long-description>
1104
- </docblock>
1105
- </constant>
1106
- <constant namespace="global" line="265" package="Media Library Assistant">
1107
- <name>MLA_NEW_CUSTOM_RULE</name>
1108
- <full_name>MLA_NEW_CUSTOM_RULE</full_name>
1109
- <value><![CDATA['__NEW_RULE__']]></value>
1110
- <docblock line="262">
1111
- <description><![CDATA[Provides a unique name for the Custom Field "new rule" key]]></description>
1112
- <long-description><![CDATA[]]></long-description>
1113
- </docblock>
1114
- </constant>
1115
- <constant namespace="global" line="270" package="Media Library Assistant">
1116
- <name>MLA_NEW_CUSTOM_FIELD</name>
1117
- <full_name>MLA_NEW_CUSTOM_FIELD</full_name>
1118
- <value><![CDATA['__NEW_FIELD__']]></value>
1119
- <docblock line="267">
1120
- <description><![CDATA[Provides a unique name for the Custom Field "new field" key]]></description>
1121
- <long-description><![CDATA[]]></long-description>
1122
- </docblock>
1123
- </constant>
1124
- <constant namespace="global" line="275" package="Media Library Assistant">
1125
- <name>MLA_EDIT_MEDIA_SEARCH_TAXONOMY</name>
1126
- <full_name>MLA_EDIT_MEDIA_SEARCH_TAXONOMY</full_name>
1127
- <value><![CDATA['edit_media_search_taxonomy']]></value>
1128
- <docblock line="272">
1129
- <description><![CDATA[Provides a unique name for the "searchable taxonomies" option]]></description>
1130
- <long-description><![CDATA[]]></long-description>
1131
- </docblock>
1132
- </constant>
1133
- <constant namespace="global" line="280" package="Media Library Assistant">
1134
- <name>MLA_EDIT_MEDIA_META_BOXES</name>
1135
- <full_name>MLA_EDIT_MEDIA_META_BOXES</full_name>
1136
- <value><![CDATA['edit_media_meta_boxes']]></value>
1137
- <docblock line="277">
1138
- <description><![CDATA[Provides a unique name for the Edit Media additional meta boxes option]]></description>
1139
- <long-description><![CDATA[]]></long-description>
1140
- </docblock>
1141
- </constant>
1142
- <constant namespace="global" line="285" package="Media Library Assistant">
1143
- <name>MLA_ADD_NEW_BULK_EDIT</name>
1144
- <full_name>MLA_ADD_NEW_BULK_EDIT</full_name>
1145
- <value><![CDATA['add_new_bulk_edit']]></value>
1146
- <docblock line="282">
1147
- <description><![CDATA[Provides a unique name for the Media/Add New bulk edit option]]></description>
1148
- <long-description><![CDATA[]]></long-description>
1149
- </docblock>
1150
- </constant>
1151
- <constant namespace="global" line="290" package="Media Library Assistant">
1152
- <name>MLA_ADD_NEW_BULK_EDIT_ON_TOP</name>
1153
- <full_name>MLA_ADD_NEW_BULK_EDIT_ON_TOP</full_name>
1154
- <value><![CDATA['add_new_bulk_edit_on_top']]></value>
1155
- <docblock line="287">
1156
- <description><![CDATA[Provides a unique name for the Media/Add New bulk edit "on top" option]]></description>
1157
- <long-description><![CDATA[]]></long-description>
1158
- </docblock>
1159
- </constant>
1160
- <constant namespace="global" line="295" package="Media Library Assistant">
1161
- <name>MLA_ADD_NEW_BULK_EDIT_AUTO_OPEN</name>
1162
- <full_name>MLA_ADD_NEW_BULK_EDIT_AUTO_OPEN</full_name>
1163
- <value><![CDATA['add_new_bulk_edit_auto_open']]></value>
1164
- <docblock line="292">
1165
- <description><![CDATA[Provides a unique name for the Media/Add New bulk edit "Open Automatically" option]]></description>
1166
- <long-description><![CDATA[]]></long-description>
1167
- </docblock>
1168
- </constant>
1169
- <constant namespace="global" line="301" package="Media Library Assistant">
1170
- <name>MLA_MEDIA_GRID_TOOLBAR</name>
1171
- <full_name>MLA_MEDIA_GRID_TOOLBAR</full_name>
1172
- <value><![CDATA['media_grid_toolbar']]></value>
1173
- <docblock line="297">
1174
- <description><![CDATA[Provides a unique name for the Media Grid toolbar option, which
1175
- also controls the ATTACHMENT DETAILS enhancements]]></description>
1176
- <long-description><![CDATA[]]></long-description>
1177
- </docblock>
1178
- </constant>
1179
- <constant namespace="global" line="307" package="Media Library Assistant">
1180
- <name>MLA_MEDIA_MODAL_TOOLBAR</name>
1181
- <full_name>MLA_MEDIA_MODAL_TOOLBAR</full_name>
1182
- <value><![CDATA['media_modal_toolbar']]></value>
1183
- <docblock line="303">
1184
- <description><![CDATA[Provides a unique name for the Media Manager toolbar option, which
1185
- also controls the ATTACHMENT DETAILS enhancements]]></description>
1186
- <long-description><![CDATA[]]></long-description>
1187
- </docblock>
1188
- </constant>
1189
- <constant namespace="global" line="312" package="Media Library Assistant">
1190
- <name>MLA_MEDIA_MODAL_MIMETYPES</name>
1191
- <full_name>MLA_MEDIA_MODAL_MIMETYPES</full_name>
1192
- <value><![CDATA['media_modal_mimetypes']]></value>
1193
- <docblock line="309">
1194
- <description><![CDATA[Provides a unique name for the Media Manager toolbar MIME Types option]]></description>
1195
- <long-description><![CDATA[]]></long-description>
1196
- </docblock>
1197
- </constant>
1198
- <constant namespace="global" line="317" package="Media Library Assistant">
1199
- <name>MLA_MEDIA_MODAL_MONTHS</name>
1200
- <full_name>MLA_MEDIA_MODAL_MONTHS</full_name>
1201
- <value><![CDATA['media_modal_months']]></value>
1202
- <docblock line="314">
1203
- <description><![CDATA[Provides a unique name for the Media Manager toolbar Month and Year option]]></description>
1204
- <long-description><![CDATA[]]></long-description>
1205
- </docblock>
1206
- </constant>
1207
- <constant namespace="global" line="322" package="Media Library Assistant">
1208
- <name>MLA_MEDIA_MODAL_TERMS</name>
1209
- <full_name>MLA_MEDIA_MODAL_TERMS</full_name>
1210
- <value><![CDATA['media_modal_terms']]></value>
1211
- <docblock line="319">
1212
- <description><![CDATA[Provides a unique name for the Media Manager toolbar Taxonomy Terms option]]></description>
1213
- <long-description><![CDATA[]]></long-description>
1214
- </docblock>
1215
- </constant>
1216
- <constant namespace="global" line="327" package="Media Library Assistant">
1217
- <name>MLA_MEDIA_MODAL_TERMS_SEARCH</name>
1218
- <full_name>MLA_MEDIA_MODAL_TERMS_SEARCH</full_name>
1219
- <value><![CDATA['media_modal_terms_search']]></value>
1220
- <docblock line="324">
1221
- <description><![CDATA[Provides a unique name for the Media Manager toolbar Taxonomy "Terms Search" option]]></description>
1222
- <long-description><![CDATA[]]></long-description>
1223
- </docblock>
1224
- </constant>
1225
- <constant namespace="global" line="332" package="Media Library Assistant">
1226
- <name>MLA_MEDIA_MODAL_SEARCHBOX</name>
1227
- <full_name>MLA_MEDIA_MODAL_SEARCHBOX</full_name>
1228
- <value><![CDATA['media_modal_searchbox']]></value>
1229
- <docblock line="329">
1230
- <description><![CDATA[Provides a unique name for the Media Manager toolbar Search Box option]]></description>
1231
- <long-description><![CDATA[]]></long-description>
1232
- </docblock>
1233
- </constant>
1234
- <constant namespace="global" line="337" package="Media Library Assistant">
1235
- <name>MLA_MEDIA_MODAL_SEARCHBOX_CONTROLS</name>
1236
- <full_name>MLA_MEDIA_MODAL_SEARCHBOX_CONTROLS</full_name>
1237
- <value><![CDATA['media_modal_searchbox_controls']]></value>
1238
- <docblock line="334">
1239
- <description><![CDATA[Provides a unique name for the Media Manager toolbar Search Box Controls option]]></description>
1240
- <long-description><![CDATA[]]></long-description>
1241
- </docblock>
1242
- </constant>
1243
- <constant namespace="global" line="343" package="Media Library Assistant">
1244
- <name>MLA_MEDIA_MODAL_DETAILS_CATEGORY_METABOX</name>
1245
- <full_name>MLA_MEDIA_MODAL_DETAILS_CATEGORY_METABOX</full_name>
1246
- <value><![CDATA['media_modal_details_category_metabox']]></value>
1247
- <docblock line="339">
1248
- <description><![CDATA[Provides a unique name for the Media Manager Attachment Details searchable taxonomy option
1249
- This option is for hierarchical taxonomies, e.g., "Att.]]></description>
1250
- <long-description><![CDATA[<p>Categories".</p>]]></long-description>
1251
- </docblock>
1252
- </constant>
1253
- <constant namespace="global" line="349" package="Media Library Assistant">
1254
- <name>MLA_MEDIA_MODAL_DETAILS_TAG_METABOX</name>
1255
- <full_name>MLA_MEDIA_MODAL_DETAILS_TAG_METABOX</full_name>
1256
- <value><![CDATA['media_modal_details_tag_metabox']]></value>
1257
- <docblock line="345">
1258
- <description><![CDATA[Provides a unique name for the Media Manager Attachment Details searchable taxonomy option
1259
- This option is for flat taxonomies, e.g., "Att.]]></description>
1260
- <long-description><![CDATA[<p>Tags".</p>]]></long-description>
1261
- </docblock>
1262
- </constant>
1263
- <constant namespace="global" line="354" package="Media Library Assistant">
1264
- <name>MLA_MEDIA_MODAL_DETAILS_AUTOFILL</name>
1265
- <full_name>MLA_MEDIA_MODAL_DETAILS_AUTOFILL</full_name>
1266
- <value><![CDATA['media_modal_details_autofill']]></value>
1267
- <docblock line="351">
1268
- <description><![CDATA[Provides a unique name for the Media Manager Attachment Details auto-fill option]]></description>
1269
- <long-description><![CDATA[]]></long-description>
1270
- </docblock>
1271
- </constant>
1272
- <constant namespace="global" line="359" package="Media Library Assistant">
1273
- <name>MLA_MEDIA_MODAL_ORDERBY</name>
1274
- <full_name>MLA_MEDIA_MODAL_ORDERBY</full_name>
1275
- <value><![CDATA['media_modal_orderby']]></value>
1276
- <docblock line="356">
1277
- <description><![CDATA[Provides a unique name for the Media Manager orderby option]]></description>
1278
- <long-description><![CDATA[]]></long-description>
1279
- </docblock>
1280
- </constant>
1281
- <constant namespace="global" line="364" package="Media Library Assistant">
1282
- <name>MLA_MEDIA_MODAL_ORDER</name>
1283
- <full_name>MLA_MEDIA_MODAL_ORDER</full_name>
1284
- <value><![CDATA['media_modal_order']]></value>
1285
- <docblock line="361">
1286
- <description><![CDATA[Provides a unique name for the Media Manager order option]]></description>
1287
- <long-description><![CDATA[]]></long-description>
1288
- </docblock>
1289
- </constant>
1290
- <constant namespace="global" line="369" package="Media Library Assistant">
1291
- <name>MLA_POST_MIME_TYPES</name>
1292
- <full_name>MLA_POST_MIME_TYPES</full_name>
1293
- <value><![CDATA['post_mime_types']]></value>
1294
- <docblock line="366">
1295
- <description><![CDATA[Provides a unique name for the Post MIME Types option]]></description>
1296
- <long-description><![CDATA[]]></long-description>
1297
- </docblock>
1298
- </constant>
1299
- <constant namespace="global" line="374" package="Media Library Assistant">
1300
- <name>MLA_ENABLE_POST_MIME_TYPES</name>
1301
- <full_name>MLA_ENABLE_POST_MIME_TYPES</full_name>
1302
- <value><![CDATA['enable_post_mime_types']]></value>
1303
- <docblock line="371">
1304
- <description><![CDATA[Provides a unique name for the Enable Post MIME Types option]]></description>
1305
- <long-description><![CDATA[]]></long-description>
1306
- </docblock>
1307
- </constant>
1308
- <constant namespace="global" line="379" package="Media Library Assistant">
1309
- <name>MLA_UPLOAD_MIMES</name>
1310
- <full_name>MLA_UPLOAD_MIMES</full_name>
1311
- <value><![CDATA['upload_mimes']]></value>
1312
- <docblock line="376">
1313
- <description><![CDATA[Provides a unique name for the Upload MIME Types option]]></description>
1314
- <long-description><![CDATA[]]></long-description>
1315
- </docblock>
1316
- </constant>
1317
- <constant namespace="global" line="384" package="Media Library Assistant">
1318
- <name>MLA_ENABLE_UPLOAD_MIMES</name>
1319
- <full_name>MLA_ENABLE_UPLOAD_MIMES</full_name>
1320
- <value><![CDATA['enable_upload_mimes']]></value>
1321
- <docblock line="381">
1322
- <description><![CDATA[Provides a unique name for the Enable Upload MIME Types option]]></description>
1323
- <long-description><![CDATA[]]></long-description>
1324
- </docblock>
1325
- </constant>
1326
- <constant namespace="global" line="389" package="Media Library Assistant">
1327
- <name>MLA_ENABLE_MLA_ICONS</name>
1328
- <full_name>MLA_ENABLE_MLA_ICONS</full_name>
1329
- <value><![CDATA['enable_mla_icons']]></value>
1330
- <docblock line="386">
1331
- <description><![CDATA[Provides a unique name for the Enable MLA Icons option]]></description>
1332
- <long-description><![CDATA[]]></long-description>
1333
- </docblock>
1334
- </constant>
1335
- <constant namespace="global" line="394" package="Media Library Assistant">
1336
- <name>MLA_DEBUG_DISPLAY_LIMIT</name>
1337
- <full_name>MLA_DEBUG_DISPLAY_LIMIT</full_name>
1338
- <value><![CDATA['debug_display_limit']]></value>
1339
- <docblock line="391">
1340
- <description><![CDATA[Provides a unique name for the Debug display limit option]]></description>
1341
- <long-description><![CDATA[]]></long-description>
1342
- </docblock>
1343
- </constant>
1344
- <constant namespace="global" line="399" package="Media Library Assistant">
1345
- <name>MLA_DEBUG_FILE</name>
1346
- <full_name>MLA_DEBUG_FILE</full_name>
1347
- <value><![CDATA['debug_file']]></value>
1348
- <docblock line="396">
1349
- <description><![CDATA[Provides a unique name for the Debug alternate log file option]]></description>
1350
- <long-description><![CDATA[]]></long-description>
1351
- </docblock>
1352
- </constant>
1353
- <constant namespace="global" line="404" package="Media Library Assistant">
1354
- <name>MLA_DEBUG_REPLACE_PHP_LOG</name>
1355
- <full_name>MLA_DEBUG_REPLACE_PHP_LOG</full_name>
1356
- <value><![CDATA['debug_replace_php_log']]></value>
1357
- <docblock line="401">
1358
- <description><![CDATA[Provides a unique name for the Debug replace PHP log file option]]></description>
1359
- <long-description><![CDATA[]]></long-description>
1360
- </docblock>
1361
- </constant>
1362
- <constant namespace="global" line="409" package="Media Library Assistant">
1363
- <name>MLA_DEBUG_REPLACE_PHP_REPORTING</name>
1364
- <full_name>MLA_DEBUG_REPLACE_PHP_REPORTING</full_name>
1365
- <value><![CDATA['debug_replace_php_reporting']]></value>
1366
- <docblock line="406">
1367
- <description><![CDATA[Provides a unique name for the Debug replace PHP error_reporting option]]></description>
1368
- <long-description><![CDATA[]]></long-description>
1369
- </docblock>
1370
- </constant>
1371
- <constant namespace="global" line="414" package="Media Library Assistant">
1372
- <name>MLA_DEBUG_REPLACE_LEVEL</name>
1373
- <full_name>MLA_DEBUG_REPLACE_LEVEL</full_name>
1374
- <value><![CDATA['debug_replace_level']]></value>
1375
- <docblock line="411">
1376
- <description><![CDATA[Provides a unique name for the Debug replace MLA_DEBUG_LEVEL option]]></description>
1377
- <long-description><![CDATA[]]></long-description>
1378
- </docblock>
1379
- </constant>
1380
- <property final="false" static="true" visibility="public" line="24" namespace="global" package="Media Library Assistant">
1381
- <name>$original_php_log</name>
1382
- <default><![CDATA['?']]></default>
1383
- <docblock line="17">
1384
- <description><![CDATA[Original PHP error_log path and file]]></description>
1385
- <long-description><![CDATA[]]></long-description>
1386
- <tag line="17" name="since" description="2.20"/>
1387
- <tag line="17" name="var" description="" type="string">
1388
- <type by_reference="false">string</type>
1389
- </tag>
1390
- </docblock>
1391
- </property>
1392
- <property final="false" static="true" visibility="public" line="33" namespace="global" package="Media Library Assistant">
1393
- <name>$original_php_reporting</name>
1394
- <default><![CDATA['?']]></default>
1395
- <docblock line="26">
1396
- <description><![CDATA[Original PHP error_reporting value]]></description>
1397
- <long-description><![CDATA[]]></long-description>
1398
- <tag line="26" name="since" description="2.20"/>
1399
- <tag line="26" name="var" description="" type="string">
1400
- <type by_reference="false">string</type>
1401
- </tag>
1402
- </docblock>
1403
- </property>
1404
- <property final="false" static="true" visibility="public" line="425" namespace="global" package="Media Library Assistant">
1405
- <name>$process_featured_in</name>
1406
- <default><![CDATA[true]]></default>
1407
- <docblock line="416">
1408
- <description><![CDATA[Option setting for "Featured in" reporting]]></description>
1409
- <long-description><![CDATA[<p>This setting is false if the "Featured in" database access setting is "disabled", else true.</p>]]></long-description>
1410
- <tag line="416" name="since" description="1.00"/>
1411
- <tag line="416" name="var" description="" type="boolean">
1412
- <type by_reference="false">boolean</type>
1413
- </tag>
1414
- </docblock>
1415
- </property>
1416
- <property final="false" static="true" visibility="public" line="436" namespace="global" package="Media Library Assistant">
1417
- <name>$process_inserted_in</name>
1418
- <default><![CDATA[true]]></default>
1419
- <docblock line="427">
1420
- <description><![CDATA[Option setting for "Inserted in" reporting]]></description>
1421
- <long-description><![CDATA[<p>This setting is false if the "Inserted in" database access setting is "disabled", else true.</p>]]></long-description>
1422
- <tag line="427" name="since" description="1.00"/>
1423
- <tag line="427" name="var" description="" type="boolean">
1424
- <type by_reference="false">boolean</type>
1425
- </tag>
1426
- </docblock>
1427
- </property>
1428
- <property final="false" static="true" visibility="public" line="447" namespace="global" package="Media Library Assistant">
1429
- <name>$process_gallery_in</name>
1430
- <default><![CDATA[true]]></default>
1431
- <docblock line="438">
1432
- <description><![CDATA[Option setting for "Gallery in" reporting]]></description>
1433
- <long-description><![CDATA[<p>This setting is false if the "Gallery in" database access setting is "disabled", else true.</p>]]></long-description>
1434
- <tag line="438" name="since" description="1.00"/>
1435
- <tag line="438" name="var" description="" type="boolean">
1436
- <type by_reference="false">boolean</type>
1437
- </tag>
1438
- </docblock>
1439
- </property>
1440
- <property final="false" static="true" visibility="public" line="458" namespace="global" package="Media Library Assistant">
1441
- <name>$process_mla_gallery_in</name>
1442
- <default><![CDATA[true]]></default>
1443
- <docblock line="449">
1444
- <description><![CDATA[Option setting for "MLA Gallery in" reporting]]></description>
1445
- <long-description><![CDATA[<p>This setting is false if the "MLA Gallery in" database access setting is "disabled", else true.</p>]]></long-description>
1446
- <tag line="449" name="since" description="1.00"/>
1447
- <tag line="449" name="var" description="" type="boolean">
1448
- <type by_reference="false">boolean</type>
1449
- </tag>
1450
- </docblock>
1451
- </property>
1452
- <property final="false" static="true" visibility="public" line="515" namespace="global" package="Media Library Assistant">
1453
- <name>$mla_option_definitions</name>
1454
- <default><![CDATA[array()]]></default>
1455
- <docblock line="485">
1456
- <description><![CDATA[$mla_option_definitions defines the database options and admin page areas for setting/updating them]]></description>
1457
- <long-description><![CDATA[<p>The array must be populated at runtime in MLAOptions::mla_localize_option_definitions_array();
1458
- localization calls cannot be placed in the "public static" array definition itself.</p>
1459
-
1460
- <p>Each option is defined by an array with the following elements:</p>
1461
-
1462
- <p>array key => HTML id/name attribute and option database key (OMIT MLA_OPTION_PREFIX)</p>
1463
-
1464
- <p>tab => Settings page tab id for the option
1465
- name => admin page label or heading text
1466
- type => 'checkbox', 'header', 'radio', 'select', 'text', 'textarea', 'custom', 'hidden'
1467
- std => default value
1468
- help => help text
1469
- size => text size, default 40
1470
- cols => textbox columns, default 90
1471
- rows => textbox rows, default 5
1472
- options => array of radio or select option values
1473
- texts => array of radio or select option display texts
1474
- render => rendering function for 'custom' options. Usage:
1475
- $options_list .= ['render']( 'render', $key, $value );
1476
- update => update function for 'custom' options; returns nothing. Usage:
1477
- $message = ['update']( 'update', $key, $value, $_REQUEST );
1478
- delete => delete function for 'custom' options; returns nothing. Usage:
1479
- $message = ['delete']( 'delete', $key, $value, $_REQUEST );
1480
- reset => reset function for 'custom' options; returns nothing. Usage:
1481
- $message = ['reset']( 'reset', $key, $value, $_REQUEST );</p>]]></long-description>
1482
- </docblock>
1483
- </property>
1484
- <property final="false" static="true" visibility="public" line="2046" namespace="global" package="Media Library Assistant">
1485
- <name>$mla_debug_level</name>
1486
- <default><![CDATA[0]]></default>
1487
- <docblock line="2039">
1488
- <description><![CDATA[Effective MLA Debug Level, from MLA_DEBUG_LEVEL or override option]]></description>
1489
- <long-description><![CDATA[]]></long-description>
1490
- <tag line="2039" name="since" description="2.15"/>
1491
- <tag line="2039" name="var" description="" type="integer">
1492
- <type by_reference="false">integer</type>
1493
- </tag>
1494
- </docblock>
1495
- </property>
1496
- <property final="false" static="true" visibility="private" line="2055" namespace="global" package="Media Library Assistant">
1497
- <name>$mla_debug_messages</name>
1498
- <default><![CDATA[array()]]></default>
1499
- <docblock line="2048">
1500
- <description><![CDATA[Accumulates debug messages]]></description>
1501
- <long-description><![CDATA[]]></long-description>
1502
- <tag line="2048" name="since" description="2.12"/>
1503
- <tag line="2048" name="var" description="" type="string">
1504
- <type by_reference="false">string</type>
1505
- </tag>
1506
- </docblock>
1507
- </property>
1508
- <property final="false" static="true" visibility="private" line="2066" namespace="global" package="Media Library Assistant">
1509
- <name>$mla_debug_mode</name>
1510
- <default><![CDATA['none']]></default>
1511
- <docblock line="2057">
1512
- <description><![CDATA[Debug information collection mode]]></description>
1513
- <long-description><![CDATA[<p>Collection mode: 'buffer', 'console', 'log' or 'none' (default).</p>]]></long-description>
1514
- <tag line="2057" name="since" description="2.12"/>
1515
- <tag line="2057" name="var" description="" type="string">
1516
- <type by_reference="false">string</type>
1517
- </tag>
1518
- </docblock>
1519
- </property>
1520
- <property final="false" static="true" visibility="private" line="2075" namespace="global" package="Media Library Assistant">
1521
- <name>$mla_debug_file</name>
1522
- <default><![CDATA[NULL]]></default>
1523
- <docblock line="2068">
1524
- <description><![CDATA[Debug information output file for mode = 'log']]></description>
1525
- <long-description><![CDATA[]]></long-description>
1526
- <tag line="2068" name="since" description="2.14"/>
1527
- <tag line="2068" name="var" description="" type="string">
1528
- <type by_reference="false">string</type>
1529
- </tag>
1530
- </docblock>
1531
- </property>
1532
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="467" package="Media Library Assistant">
1533
- <name>initialize</name>
1534
- <full_name>initialize</full_name>
1535
- <docblock line="460">
1536
- <description><![CDATA[Initialization function, similar to __construct()]]></description>
1537
- <long-description><![CDATA[]]></long-description>
1538
- <tag line="460" name="since" description="1.00"/>
1539
- <tag line="460" name="return" description="" type="void">
1540
- <type by_reference="false">void</type>
1541
- </tag>
1542
- </docblock>
1543
- </method>
1544
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="527" package="Media Library Assistant">
1545
- <name>mla_localize_option_definitions_array</name>
1546
- <full_name>mla_localize_option_definitions_array</full_name>
1547
- <docblock line="517">
1548
- <description><![CDATA[Localize $mla_option_definitions array]]></description>
1549
- <long-description><![CDATA[<p>Localization must be done at runtime; these calls cannot be placed in the
1550
- "public static" array definition itself. Called from MLATest::initialize.</p>]]></long-description>
1551
- <tag line="517" name="since" description="2.20"/>
1552
- <tag line="517" name="return" description="" type="void">
1553
- <type by_reference="false">void</type>
1554
- </tag>
1555
- </docblock>
1556
- </method>
1557
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1435" package="Media Library Assistant">
1558
- <name>mla_initialize_tax_checked_on_top</name>
1559
- <full_name>mla_initialize_tax_checked_on_top</full_name>
1560
- <docblock line="1426">
1561
- <description><![CDATA[Initialize "tax_checked_on_top" => "checked" default for all supported taxonomies]]></description>
1562
- <long-description><![CDATA[<p>Called after all taxonomies are registered, e.g., in MLAObjects::_build_taxonomies.</p>]]></long-description>
1563
- <tag line="1426" name="sin20" description="2.02"/>
1564
- <tag line="1426" name="return" description="" type="void">
1565
- <type by_reference="false">void</type>
1566
- </tag>
1567
- </docblock>
1568
- </method>
1569
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1464" package="Media Library Assistant">
1570
- <name>mla_get_option</name>
1571
- <full_name>mla_get_option</full_name>
1572
- <docblock line="1451">
1573
- <description><![CDATA[Return the stored value or default value of a defined MLA option]]></description>
1574
- <long-description><![CDATA[]]></long-description>
1575
- <tag line="1451" name="since" description="2.20"/>
1576
- <tag line="1451" name="param" description="Name of the desired option" type="string" variable="$option">
1577
- <type by_reference="false">string</type>
1578
- </tag>
1579
- <tag line="1451" name="param" description="True to ignore current setting and return default values" type="boolean" variable="$get_default">
1580
- <type by_reference="false">boolean</type>
1581
- </tag>
1582
- <tag line="1451" name="param" description="True to ignore default values and return only stored values" type="boolean" variable="$get_stored">
1583
- <type by_reference="false">boolean</type>
1584
- </tag>
1585
- <tag line="1451" name="param" description="Custom option definitions" type="array" variable="$option_table">
1586
- <type by_reference="false">array</type>
1587
- </tag>
1588
- <tag line="1451" name="return" description="Value(s) for the option or false if the option is not a defined MLA option" type="mixed">
1589
- <type by_reference="false">mixed</type>
1590
- </tag>
1591
- </docblock>
1592
- <argument line="1464">
1593
- <name>$option</name>
1594
- <default><![CDATA[]]></default>
1595
- <type/>
1596
- </argument>
1597
- <argument line="1464">
1598
- <name>$get_default</name>
1599
- <default><![CDATA[false]]></default>
1600
- <type/>
1601
- </argument>
1602
- <argument line="1464">
1603
- <name>$get_stored</name>
1604
- <default><![CDATA[false]]></default>
1605
- <type/>
1606
- </argument>
1607
- <argument line="1464">
1608
- <name>$option_table</name>
1609
- <default><![CDATA[NULL]]></default>
1610
- <type/>
1611
- </argument>
1612
- </method>
1613
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1503" package="Media Library Assistant">
1614
- <name>mla_update_option</name>
1615
- <full_name>mla_update_option</full_name>
1616
- <docblock line="1492">
1617
- <description><![CDATA[Add or update the stored value of a defined MLA option]]></description>
1618
- <long-description><![CDATA[]]></long-description>
1619
- <tag line="1492" name="since" description="2.20"/>
1620
- <tag line="1492" name="param" description="Name of the desired option" type="string" variable="$option">
1621
- <type by_reference="false">string</type>
1622
- </tag>
1623
- <tag line="1492" name="param" description="New value for the desired option" type="mixed" variable="$newvalue">
1624
- <type by_reference="false">mixed</type>
1625
- </tag>
1626
- <tag line="1492" name="param" description="Custom option definitions" type="array" variable="$option_table">
1627
- <type by_reference="false">array</type>
1628
- </tag>
1629
- <tag line="1492" name="return" description="True if the value was changed or false if the update failed" type="boolean">
1630
- <type by_reference="false">boolean</type>
1631
- </tag>
1632
- </docblock>
1633
- <argument line="1503">
1634
- <name>$option</name>
1635
- <default><![CDATA[]]></default>
1636
- <type/>
1637
- </argument>
1638
- <argument line="1503">
1639
- <name>$newvalue</name>
1640
- <default><![CDATA[]]></default>
1641
- <type/>
1642
- </argument>
1643
- <argument line="1503">
1644
- <name>$option_table</name>
1645
- <default><![CDATA[NULL]]></default>
1646
- <type/>
1647
- </argument>
1648
- </method>
1649
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1529" package="Media Library Assistant">
1650
- <name>mla_delete_option</name>
1651
- <full_name>mla_delete_option</full_name>
1652
- <docblock line="1519">
1653
- <description><![CDATA[Delete the stored value of a defined MLA option]]></description>
1654
- <long-description><![CDATA[]]></long-description>
1655
- <tag line="1519" name="since" description="2.20"/>
1656
- <tag line="1519" name="param" description="Name of the desired option" type="string" variable="$option">
1657
- <type by_reference="false">string</type>
1658
- </tag>
1659
- <tag line="1519" name="param" description="Custom option definitions" type="array" variable="$option_table">
1660
- <type by_reference="false">array</type>
1661
- </tag>
1662
- <tag line="1519" name="return" description="True if the option was deleted, otherwise false" type="boolean">
1663
- <type by_reference="false">boolean</type>
1664
- </tag>
1665
- </docblock>
1666
- <argument line="1529">
1667
- <name>$option</name>
1668
- <default><![CDATA[]]></default>
1669
- <type/>
1670
- </argument>
1671
- <argument line="1529">
1672
- <name>$option_table</name>
1673
- <default><![CDATA[NULL]]></default>
1674
- <type/>
1675
- </argument>
1676
- </method>
1677
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1558" package="Media Library Assistant">
1678
- <name>mla_taxonomy_support</name>
1679
- <full_name>mla_taxonomy_support</full_name>
1680
- <docblock line="1545">
1681
- <description><![CDATA[Determine MLA support for a taxonomy, handling the special case where the
1682
- settings are being updated or reset.]]></description>
1683
- <long-description><![CDATA[]]></long-description>
1684
- <tag line="1545" name="since" description="2.20"/>
1685
- <tag line="1545" name="param" description="Taxonomy name, e.g., attachment_category" type="string" variable="$tax_name">
1686
- <type by_reference="false">string</type>
1687
- </tag>
1688
- <tag line="1545" name="param" description="Optional. 'support' (default), 'quick-edit' or 'filter'" type="string" variable="$support_type">
1689
- <type by_reference="false">string</type>
1690
- </tag>
1691
- <tag line="1545" name="return" description="true if the taxonomy is supported in this way else false. string if $tax_name is '' and $support_type is 'filter', returns the taxonomy to filter by." type="boolean|string">
1692
- <type by_reference="false">boolean</type>
1693
- <type by_reference="false">string</type>
1694
- </tag>
1695
- </docblock>
1696
- <argument line="1558">
1697
- <name>$tax_name</name>
1698
- <default><![CDATA[]]></default>
1699
- <type/>
1700
- </argument>
1701
- <argument line="1558">
1702
- <name>$support_type</name>
1703
- <default><![CDATA['support']]></default>
1704
- <type/>
1705
- </argument>
1706
- </method>
1707
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1635" package="Media Library Assistant">
1708
- <name>mla_supported_taxonomies</name>
1709
- <full_name>mla_supported_taxonomies</full_name>
1710
- <docblock line="1626">
1711
- <description><![CDATA[Returns an array of taxonomy names assigned to $support_type]]></description>
1712
- <long-description><![CDATA[]]></long-description>
1713
- <tag line="1626" name="since" description="2.20"/>
1714
- <tag line="1626" name="param" description="Optional. 'support' (default), 'quick-edit', 'flat-checklist', 'term-search' or 'filter'" type="string" variable="$support_type">
1715
- <type by_reference="false">string</type>
1716
- </tag>
1717
- <tag line="1626" name="return" description="taxonomies assigned to $support_type; can be empty." type="array">
1718
- <type by_reference="false">array</type>
1719
- </tag>
1720
- </docblock>
1721
- <argument line="1635">
1722
- <name>$support_type</name>
1723
- <default><![CDATA['support']]></default>
1724
- <type/>
1725
- </argument>
1726
- </method>
1727
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1701" package="Media Library Assistant">
1728
- <name>mla_custom_field_support</name>
1729
- <full_name>mla_custom_field_support</full_name>
1730
- <docblock line="1692">
1731
- <description><![CDATA[Evaluate support information for custom field mapping]]></description>
1732
- <long-description><![CDATA[]]></long-description>
1733
- <tag line="1692" name="since" description="1.10"/>
1734
- <tag line="1692" name="param" description="array format; 'default_columns' (default), 'default_hidden_columns', 'default_sortable_columns', 'quick_edit' or 'bulk_edit'" type="string" variable="$support_type">
1735
- <type by_reference="false">string</type>
1736
- </tag>
1737
- <tag line="1692" name="return" description="default, hidden, sortable quick_edit or bulk_edit colums in appropriate format" type="array">
1738
- <type by_reference="false">array</type>
1739
- </tag>
1740
- </docblock>
1741
- <argument line="1701">
1742
- <name>$support_type</name>
1743
- <default><![CDATA['default_columns']]></default>
1744
- <type/>
1745
- </argument>
1746
- </method>
1747
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1763" package="Media Library Assistant">
1748
- <name>mla_prepare_view_query</name>
1749
- <full_name>mla_prepare_view_query</full_name>
1750
- <docblock line="1753">
1751
- <description><![CDATA[Convert a Library View/Post MIME Type specification to WP_Query parameters]]></description>
1752
- <long-description><![CDATA[]]></long-description>
1753
- <tag line="1753" name="since" description="1.40"/>
1754
- <tag line="1753" name="param" description="View slug, unique identifier" type="string" variable="$slug">
1755
- <type by_reference="false">string</type>
1756
- </tag>
1757
- <tag line="1753" name="param" description="A specification, e.g., &quot;custom:Field,null&quot; or &quot;audio,application/vnd.*ms*&quot;" type="string" variable="$specification">
1758
- <type by_reference="false">string</type>
1759
- </tag>
1760
- <tag line="1753" name="return" description="post_mime_type specification or custom field query" type="array">
1761
- <type by_reference="false">array</type>
1762
- </tag>
1763
- </docblock>
1764
- <argument line="1763">
1765
- <name>$slug</name>
1766
- <default><![CDATA[]]></default>
1767
- <type/>
1768
- </argument>
1769
- <argument line="1763">
1770
- <name>$specification</name>
1771
- <default><![CDATA[]]></default>
1772
- <type/>
1773
- </argument>
1774
- </method>
1775
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1814" package="Media Library Assistant">
1776
- <name>mla_parse_view_specification</name>
1777
- <full_name>mla_parse_view_specification</full_name>
1778
- <docblock line="1805">
1779
- <description><![CDATA[Analyze a Library View/Post MIME Type specification, returning an array of the placeholders it contains]]></description>
1780
- <long-description><![CDATA[]]></long-description>
1781
- <tag line="1805" name="since" description="1.40"/>
1782
- <tag line="1805" name="param" description="A specification, e.g., &quot;custom:Field,null&quot; or &quot;audio,application/vnd.*ms*&quot;" type="string|array" variable="$specification">
1783
- <type by_reference="false">string</type>
1784
- <type by_reference="false">array</type>
1785
- </tag>
1786
- <tag line="1805" name="return" description="( ['prefix'] =&gt; string, ['name'] =&gt; string, ['value'] =&gt; string, ['option'] =&gt; string, optional ['error'] =&gt; string )" type="array">
1787
- <type by_reference="false">array</type>
1788
- </tag>
1789
- </docblock>
1790
- <argument line="1814">
1791
- <name>$specification</name>
1792
- <default><![CDATA[]]></default>
1793
- <type/>
1794
- </argument>
1795
- </method>
1796
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1891" package="Media Library Assistant">
1797
- <name>mla_checklist_meta_box</name>
1798
- <full_name>mla_checklist_meta_box</full_name>
1799
- <docblock line="1876">
1800
- <description><![CDATA[Display taxonomy "checklist" form fields]]></description>
1801
- <long-description><![CDATA[<p>Adapted from /wp-admin/includes/ajax-actions.php function _wp_ajax_add_hierarchical_term().
1802
- Includes the "? Search" area to filter the term checklist by entering part
1803
- or all of a word/phrase in the term label.
1804
- Output to the Media/Edit Media screen and to the Media Manager Modal Window.</p>]]></long-description>
1805
- <tag line="1876" name="since" description="1.71"/>
1806
- <tag line="1876" name="param" description="The current post" type="object" variable="$target_post">
1807
- <type by_reference="false">object</type>
1808
- </tag>
1809
- <tag line="1876" name="param" description="The meta box parameters" type="array" variable="$box">
1810
- <type by_reference="false">array</type>
1811
- </tag>
1812
- <tag line="1876" name="return" description="Echoes HTML for the form fields" type="void">
1813
- <type by_reference="false">void</type>
1814
- </tag>
1815
- </docblock>
1816
- <argument line="1891">
1817
- <name>$target_post</name>
1818
- <default><![CDATA[]]></default>
1819
- <type/>
1820
- </argument>
1821
- <argument line="1891">
1822
- <name>$box</name>
1823
- <default><![CDATA[]]></default>
1824
- <type/>
1825
- </argument>
1826
- </method>
1827
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="2086" package="Media Library Assistant">
1828
- <name>mla_debug_mode</name>
1829
- <full_name>mla_debug_mode</full_name>
1830
- <docblock line="2077">
1831
- <description><![CDATA[Get/Set debug information collection mode]]></description>
1832
- <long-description><![CDATA[]]></long-description>
1833
- <tag line="2077" name="since" description="2.12"/>
1834
- <tag line="2077" name="param" description="Optional. New collection mode: 'none' (default), 'buffer', 'console' or 'log'" type="string" variable="$mode">
1835
- <type by_reference="false">string</type>
1836
- </tag>
1837
- <tag line="2077" name="return" description="The previous mode value, i.e., before the update" type="string">
1838
- <type by_reference="false">string</type>
1839
- </tag>
1840
- </docblock>
1841
- <argument line="2086">
1842
- <name>$mode</name>
1843
- <default><![CDATA[false]]></default>
1844
- <type/>
1845
- </argument>
1846
- </method>
1847
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="2109" package="Media Library Assistant">
1848
- <name>mla_debug_file</name>
1849
- <full_name>mla_debug_file</full_name>
1850
- <docblock line="2096">
1851
- <description><![CDATA[Get/Set debug information collection output file for mode = 'log']]></description>
1852
- <long-description><![CDATA[<p>Note that WP_CONTENT_DIR will be pre-pended to the value, and a slash
1853
- will be added to the front of the value if necessary.</p>]]></long-description>
1854
- <tag line="2096" name="since" description="2.14"/>
1855
- <tag line="2096" name="param" description="Optional. The (optional path and) file name, relative to WP_CONTENT_DIR, or false/empty string to clear the value." type="string" variable="$file">
1856
- <type by_reference="false">string</type>
1857
- </tag>
1858
- <tag line="2096" name="return" description="The previous file value, i.e., before the update, relative to WP_CONTENT_DIR" type="string">
1859
- <type by_reference="false">string</type>
1860
- </tag>
1861
- </docblock>
1862
- <argument line="2109">
1863
- <name>$file</name>
1864
- <default><![CDATA[NULL]]></default>
1865
- <type/>
1866
- </argument>
1867
- </method>
1868
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="2140" package="Media Library Assistant">
1869
- <name>mla_debug_content</name>
1870
- <full_name>mla_debug_content</full_name>
1871
- <docblock line="2130">
1872
- <description><![CDATA[Get debug information without clearing the buffer]]></description>
1873
- <long-description><![CDATA[]]></long-description>
1874
- <tag line="2130" name="since" description="2.12"/>
1875
- <tag line="2130" name="param" description="Return data type: 'string' (default) or 'array'" type="string" variable="$format">
1876
- <type by_reference="false">string</type>
1877
- </tag>
1878
- <tag line="2130" name="param" description="Join array elements with '\n' or '&lt;p&gt;' (default)" type="string" variable="$glue">
1879
- <type by_reference="false">string</type>
1880
- </tag>
1881
- <tag line="2130" name="return" description="true if success else false" type="boolean">
1882
- <type by_reference="false">boolean</type>
1883
- </tag>
1884
- </docblock>
1885
- <argument line="2140">
1886
- <name>$format</name>
1887
- <default><![CDATA['string']]></default>
1888
- <type/>
1889
- </argument>
1890
- <argument line="2140">
1891
- <name>$glue</name>
1892
- <default><![CDATA['<p>']]></default>
1893
- <type/>
1894
- </argument>
1895
- </method>
1896
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="2163" package="Media Library Assistant">
1897
- <name>mla_debug_flush</name>
1898
- <full_name>mla_debug_flush</full_name>
1899
- <docblock line="2153">
1900
- <description><![CDATA[Flush debug information and clear buffer]]></description>
1901
- <long-description><![CDATA[]]></long-description>
1902
- <tag line="2153" name="since" description="2.12"/>
1903
- <tag line="2153" name="param" description="Destination: 'buffer' (default), 'console', 'log' or 'none'" type="string" variable="$destination">
1904
- <type by_reference="false">string</type>
1905
- </tag>
1906
- <tag line="2153" name="param" description="true (default) to stop, false to continue collection" type="boolean" variable="$stop_collecting">
1907
- <type by_reference="false">boolean</type>
1908
- </tag>
1909
- <tag line="2153" name="return" description="debug content if $destination == 'buffer' else empty string" type="string">
1910
- <type by_reference="false">string</type>
1911
- </tag>
1912
- </docblock>
1913
- <argument line="2163">
1914
- <name>$destination</name>
1915
- <default><![CDATA['buffer']]></default>
1916
- <type/>
1917
- </argument>
1918
- <argument line="2163">
1919
- <name>$stop_collecting</name>
1920
- <default><![CDATA[true]]></default>
1921
- <type/>
1922
- </argument>
1923
- </method>
1924
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="2198" package="Media Library Assistant">
1925
- <name>_debug_log</name>
1926
- <full_name>_debug_log</full_name>
1927
- <docblock line="2191">
1928
- <description><![CDATA[Write a debug message to the appropriate log file]]></description>
1929
- <long-description><![CDATA[]]></long-description>
1930
- <tag line="2191" name="since" description="2.14"/>
1931
- <tag line="2191" name="param" description="Message text" type="string" variable="$message">
1932
- <type by_reference="false">string</type>
1933
- </tag>
1934
- </docblock>
1935
- <argument line="2198">
1936
- <name>$message</name>
1937
- <default><![CDATA[]]></default>
1938
- <type/>
1939
- </argument>
1940
- </method>
1941
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="2221" package="Media Library Assistant">
1942
- <name>mla_debug_add</name>
1943
- <full_name>mla_debug_add</full_name>
1944
- <docblock line="2213">
1945
- <description><![CDATA[Add a debug message to the collection]]></description>
1946
- <long-description><![CDATA[]]></long-description>
1947
- <tag line="2213" name="since" description="2.12"/>
1948
- <tag line="2213" name="param" description="Message text" type="string" variable="$message">
1949
- <type by_reference="false">string</type>
1950
- </tag>
1951
- <tag line="2213" name="param" description="Optional. Debug category." type="integer" variable="$debug_level">
1952
- <type by_reference="false">integer</type>
1953
- </tag>
1954
- </docblock>
1955
- <argument line="2221">
1956
- <name>$message</name>
1957
- <default><![CDATA[]]></default>
1958
- <type/>
1959
- </argument>
1960
- <argument line="2221">
1961
- <name>$debug_level</name>
1962
- <default><![CDATA[NULL]]></default>
1963
- <type/>
1964
- </argument>
1965
- </method>
1966
- </class>
1967
- <class final="false" abstract="false" namespace="global" line="2258" package="Media Library Assistant">
1968
- <extends>\Walker_Category</extends>
1969
- <name>MLA_Checklist_Walker</name>
1970
- <full_name>\MLA_Checklist_Walker</full_name>
1971
- <docblock line="2248">
1972
- <description><![CDATA[Class MLA (Media Library Assistant) Checklist Walker replaces term_id with slug in checklist output]]></description>
1973
- <long-description><![CDATA[<p>This walker is used to build the meta boxes for flat taxonomies, e.g., Tags, Att. Tags.
1974
- Class Walker_Category is defined in /wp-includes/category-template.php.
1975
- Class Walker is defined in /wp-includes/class-wp-walker.php.</p>]]></long-description>
1976
- <tag line="2248" name="package" description="Media Library Assistant"/>
1977
- <tag line="2248" name="since" description="1.80"/>
1978
- </docblock>
1979
- <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="2272" package="Media Library Assistant">
1980
- <name>start_el</name>
1981
- <full_name>start_el</full_name>
1982
- <docblock line="2259">
1983
- <description><![CDATA[Start the element output.]]></description>
1984
- <long-description><![CDATA[]]></long-description>
1985
- <tag line="2259" name="see" description="\global\Walker::start_el()" refers="\global\Walker::start_el()"/>
1986
- <tag line="2259" name="since" description="1.80"/>
1987
- <tag line="2259" name="param" description="Passed by reference. Used to append additional content." type="string" variable="$output">
1988
- <type by_reference="false">string</type>
1989
- </tag>
1990
- <tag line="2259" name="param" description="Taxonomy data object." type="object" variable="$taxonomy_object">
1991
- <type by_reference="false">object</type>
1992
- </tag>
1993
- <tag line="2259" name="param" description="Depth of category in reference to parents. Default 0." type="int" variable="$depth">
1994
- <type by_reference="false">int</type>
1995
- </tag>
1996
- <tag line="2259" name="param" description="An array of arguments. @see wp_list_categories()" type="array" variable="$args">
1997
- <type by_reference="false">array</type>
1998
- </tag>
1999
- <tag line="2259" name="param" description="ID of the current category." type="int" variable="$id">
2000
- <type by_reference="false">int</type>
2001
- </tag>
2002
- </docblock>
2003
- <argument line="2272">
2004
- <name>$output</name>
2005
- <default><![CDATA[]]></default>
2006
- <type/>
2007
- </argument>
2008
- <argument line="2272">
2009
- <name>$taxonomy_object</name>
2010
- <default><![CDATA[]]></default>
2011
- <type/>
2012
- </argument>
2013
- <argument line="2272">
2014
- <name>$depth</name>
2015
- <default><![CDATA[0]]></default>
2016
- <type/>
2017
- </argument>
2018
- <argument line="2272">
2019
- <name>$args</name>
2020
- <default><![CDATA[array()]]></default>
2021
- <type/>
2022
- </argument>
2023
- <argument line="2272">
2024
- <name>$id</name>
2025
- <default><![CDATA[0]]></default>
2026
- <type/>
2027
- </argument>
2028
- </method>
2029
- <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="2305" package="Media Library Assistant">
2030
- <name>end_el</name>
2031
- <full_name>end_el</full_name>
2032
- <docblock line="2293">
2033
- <description><![CDATA[Ends the element output, if needed.]]></description>
2034
- <long-description><![CDATA[]]></long-description>
2035
- <tag line="2293" name="see" description="\global\Walker::end_el()" refers="\global\Walker::end_el()"/>
2036
- <tag line="2293" name="since" description="1.80"/>
2037
- <tag line="2293" name="param" description="Passed by reference. Used to append additional content." type="string" variable="$output">
2038
- <type by_reference="false">string</type>
2039
- </tag>
2040
- <tag line="2293" name="param" description="The current term object." type="object" variable="$category">
2041
- <type by_reference="false">object</type>
2042
- </tag>
2043
- <tag line="2293" name="param" description="Depth of the term in reference to parents. Default 0." type="int" variable="$depth">
2044
- <type by_reference="false">int</type>
2045
- </tag>
2046
- <tag line="2293" name="param" description="An array of arguments. @see wp_terms_checklist()" type="array" variable="$args">
2047
- <type by_reference="false">array</type>
2048
- </tag>
2049
- </docblock>
2050
- <argument line="2305">
2051
- <name>$output</name>
2052
- <default><![CDATA[]]></default>
2053
- <type/>
2054
- </argument>
2055
- <argument line="2305">
2056
- <name>$category</name>
2057
- <default><![CDATA[]]></default>
2058
- <type/>
2059
- </argument>
2060
- <argument line="2305">
2061
- <name>$depth</name>
2062
- <default><![CDATA[0]]></default>
2063
- <type/>
2064
- </argument>
2065
- <argument line="2305">
2066
- <name>$args</name>
2067
- <default><![CDATA[array()]]></default>
2068
- <type/>
2069
- </argument>
2070
- </method>
2071
- </class>
2072
- </file>
2073
- <file path="includes\class-mla-data-pdf.php" hash="a98d68b847051642b9c5156d648a2317" package="Media Library Assistant">
2074
- <docblock line="2">
2075
- <description><![CDATA[Meta data parsing functions for PDF documents]]></description>
2076
- <long-description><![CDATA[]]></long-description>
2077
- <tag line="2" name="package" description="Media Library Assistant"/>
2078
- <tag line="2" name="since" description="2.10"/>
2079
- </docblock>
2080
- <class final="false" abstract="false" namespace="global" line="15" package="Media Library Assistant">
2081
- <extends/>
2082
- <name>MLAPDF</name>
2083
- <full_name>\MLAPDF</full_name>
2084
- <docblock line="9">
2085
- <description><![CDATA[Class MLA (Media Library Assistant) PDF extracts legacy and XMP meta data from PDF files]]></description>
2086
- <long-description><![CDATA[]]></long-description>
2087
- <tag line="9" name="package" description="Media Library Assistant"/>
2088
- <tag line="9" name="since" description="2.10"/>
2089
- </docblock>
2090
- <property final="false" static="true" visibility="private" line="27" namespace="global" package="Media Library Assistant">
2091
- <name>$pdf_indirect_objects</name>
2092
- <default><![CDATA[NULL]]></default>
2093
- <docblock line="16">
2094
- <description><![CDATA[Array of PDF indirect objects]]></description>
2095
- <long-description><![CDATA[<p>This array contains all of the indirect object offsets and lengths.
2096
- The array key is ( object ID * 1000 ) + object generation.
2097
- The array value is array( number, generation, start, optional /length )</p>]]></long-description>
2098
- <tag line="16" name="since" description="2.10"/>
2099
- <tag line="16" name="var" description="" type="array">
2100
- <type by_reference="false">array</type>
2101
- </tag>
2102
- </docblock>
2103
- </property>
2104
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="42" package="Media Library Assistant">
2105
- <name>_parse_pdf_xref_subsection</name>
2106
- <full_name>_parse_pdf_xref_subsection</full_name>
2107
- <docblock line="29">
2108
- <description><![CDATA[Parse a cross-reference table subsection into the array of indirect object definitions]]></description>
2109
- <long-description><![CDATA[<p>A cross-reference subsection is a sequence of 20-byte entries, each with offset and generation values.</p>]]></long-description>
2110
- <tag line="29" name="since" description="2.10"/>
2111
- <tag line="29" name="param" description="buffer containing the subsection" type="string" variable="$xref_section">
2112
- <type by_reference="false">string</type>
2113
- </tag>
2114
- <tag line="29" name="param" description="offset within the buffer of the first entry" type="integer" variable="$offset">
2115
- <type by_reference="false">integer</type>
2116
- </tag>
2117
- <tag line="29" name="param" description="number of the first object in the subsection" type="integer" variable="$object_id">
2118
- <type by_reference="false">integer</type>
2119
- </tag>
2120
- <tag line="29" name="param" description="number of entries in the subsection" type="integer" variable="$count">
2121
- <type by_reference="false">integer</type>
2122
- </tag>
2123
- <tag line="29" name="return" description="" type="void">
2124
- <type by_reference="false">void</type>
2125
- </tag>
2126
- </docblock>
2127
- <argument line="42">
2128
- <name>$xref_section</name>
2129
- <default><![CDATA[]]></default>
2130
- <type/>
2131
- </argument>
2132
- <argument line="42">
2133
- <name>$offset</name>
2134
- <default><![CDATA[]]></default>
2135
- <type/>
2136
- </argument>
2137
- <argument line="42">
2138
- <name>$object_id</name>
2139
- <default><![CDATA[]]></default>
2140
- <type/>
2141
- </argument>
2142
- <argument line="42">
2143
- <name>$count</name>
2144
- <default><![CDATA[]]></default>
2145
- <type/>
2146
- </argument>
2147
- </method>
2148
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="74" package="Media Library Assistant">
2149
- <name>_parse_pdf_xref_section</name>
2150
- <full_name>_parse_pdf_xref_section</full_name>
2151
- <docblock line="63">
2152
- <description><![CDATA[Parse a cross-reference table section into the array of indirect object definitions]]></description>
2153
- <long-description><![CDATA[<p>Creates the array of indirect object offsets and lengths</p>]]></long-description>
2154
- <tag line="63" name="since" description="2.10"/>
2155
- <tag line="63" name="param" description="full path and file name" type="string" variable="$file_name">
2156
- <type by_reference="false">string</type>
2157
- </tag>
2158
- <tag line="63" name="param" description="offset within the file of the xref id and count entry" type="integer" variable="$file_offset">
2159
- <type by_reference="false">integer</type>
2160
- </tag>
2161
- <tag line="63" name="return" description="length of the section" type="integer">
2162
- <type by_reference="false">integer</type>
2163
- </tag>
2164
- </docblock>
2165
- <argument line="74">
2166
- <name>$file_name</name>
2167
- <default><![CDATA[]]></default>
2168
- <type/>
2169
- </argument>
2170
- <argument line="74">
2171
- <name>$file_offset</name>
2172
- <default><![CDATA[]]></default>
2173
- <type/>
2174
- </argument>
2175
- </method>
2176
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="108" package="Media Library Assistant">
2177
- <name>_parse_pdf_xref_stream</name>
2178
- <full_name>_parse_pdf_xref_stream</full_name>
2179
- <docblock line="96">
2180
- <description><![CDATA[Parse a cross-reference steam into the array of indirect object definitions]]></description>
2181
- <long-description><![CDATA[<p>Creates the array of indirect object offsets and lengths</p>]]></long-description>
2182
- <tag line="96" name="since" description="2.10"/>
2183
- <tag line="96" name="param" description="full path and file name" type="string" variable="$file_name">
2184
- <type by_reference="false">string</type>
2185
- </tag>
2186
- <tag line="96" name="param" description="offset within the file of the xref id and count entry" type="integer" variable="$file_offset">
2187
- <type by_reference="false">integer</type>
2188
- </tag>
2189
- <tag line="96" name="param" description="&quot;/W&quot; entry, representing the size of the fields in a single entry" type="string" variable="$entry_parms_string">
2190
- <type by_reference="false">string</type>
2191
- </tag>
2192
- <tag line="96" name="return" description="length of the stream" type="integer">
2193
- <type by_reference="false">integer</type>
2194
- </tag>
2195
- </docblock>
2196
- <argument line="108">
2197
- <name>$file_name</name>
2198
- <default><![CDATA[]]></default>
2199
- <type/>
2200
- </argument>
2201
- <argument line="108">
2202
- <name>$file_offset</name>
2203
- <default><![CDATA[]]></default>
2204
- <type/>
2205
- </argument>
2206
- <argument line="108">
2207
- <name>$entry_parms_string</name>
2208
- <default><![CDATA[]]></default>
2209
- <type/>
2210
- </argument>
2211
- </method>
2212
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="187" package="Media Library Assistant">
2213
- <name>_build_pdf_indirect_objects</name>
2214
- <full_name>_build_pdf_indirect_objects</full_name>
2215
- <docblock line="177">
2216
- <description><![CDATA[Build an array of indirect object definitions]]></description>
2217
- <long-description><![CDATA[<p>Creates the array of indirect object offsets and lengths</p>]]></long-description>
2218
- <tag line="177" name="since" description="2.10"/>
2219
- <tag line="177" name="param" description="The entire PDF document, passsed by reference" type="string" variable="$string">
2220
- <type by_reference="false">string</type>
2221
- </tag>
2222
- <tag line="177" name="return" description="" type="void">
2223
- <type by_reference="false">void</type>
2224
- </tag>
2225
- </docblock>
2226
- <argument line="187">
2227
- <name>$string</name>
2228
- <default><![CDATA[]]></default>
2229
- <type/>
2230
- </argument>
2231
- </method>
2232
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="236" package="Media Library Assistant">
2233
- <name>_find_pdf_indirect_dictionary</name>
2234
- <full_name>_find_pdf_indirect_dictionary</full_name>
2235
- <docblock line="221">
2236
- <description><![CDATA[Find the offset, length and contents of an indirect object containing a dictionary]]></description>
2237
- <long-description><![CDATA[<p>The function searches the entire file, if necessary, to find the last/most recent copy of the object.
2238
- This is required because Adobe Acrobat does NOT increment the generation number when it reuses an object.</p>]]></long-description>
2239
- <tag line="221" name="since" description="2.10"/>
2240
- <tag line="221" name="param" description="full path and file name" type="string" variable="$file_name">
2241
- <type by_reference="false">string</type>
2242
- </tag>
2243
- <tag line="221" name="param" description="The object number" type="integer" variable="$object">
2244
- <type by_reference="false">integer</type>
2245
- </tag>
2246
- <tag line="221" name="param" description="The object generation number; default zero (0)" type="integer" variable="$generation">
2247
- <type by_reference="false">integer</type>
2248
- </tag>
2249
- <tag line="221" name="param" description="The desired object instance (when multiple instances are present); default &quot;highest/latest&quot;" type="integer" variable="$instance">
2250
- <type by_reference="false">integer</type>
2251
- </tag>
2252
- <tag line="221" name="return" description="NULL on failure else array( 'start' =&gt; offset in the file, 'length' =&gt; object length, 'content' =&gt; dictionary contents )" type="mixed">
2253
- <type by_reference="false">mixed</type>
2254
- </tag>
2255
- </docblock>
2256
- <argument line="236">
2257
- <name>$file_name</name>
2258
- <default><![CDATA[]]></default>
2259
- <type/>
2260
- </argument>
2261
- <argument line="236">
2262
- <name>$object</name>
2263
- <default><![CDATA[]]></default>
2264
- <type/>
2265
- </argument>
2266
- <argument line="236">
2267
- <name>$generation</name>
2268
- <default><![CDATA[0]]></default>
2269
- <type/>
2270
- </argument>
2271
- <argument line="236">
2272
- <name>$instance</name>
2273
- <default><![CDATA[NULL]]></default>
2274
- <type/>
2275
- </argument>
2276
- </method>
2277
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="353" package="Media Library Assistant">
2278
- <name>_parse_pdf_UTF16BE</name>
2279
- <full_name>_parse_pdf_UTF16BE</full_name>
2280
- <docblock line="344">
2281
- <description><![CDATA[Parse a PDF Unicode (16-bit Big Endian) object]]></description>
2282
- <long-description><![CDATA[]]></long-description>
2283
- <tag line="344" name="since" description="2.10"/>
2284
- <tag line="344" name="param" description="PDF string of 16-bit characters" type="string" variable="$source_string">
2285
- <type by_reference="false">string</type>
2286
- </tag>
2287
- <tag line="344" name="return" description="UTF-8 encoded string" type="string">
2288
- <type by_reference="false">string</type>
2289
- </tag>
2290
- </docblock>
2291
- <argument line="353">
2292
- <name>$source_string</name>
2293
- <default><![CDATA[]]></default>
2294
- <type/>
2295
- </argument>
2296
- </method>
2297
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="382" package="Media Library Assistant">
2298
- <name>_parse_pdf_string</name>
2299
- <full_name>_parse_pdf_string</full_name>
2300
- <docblock line="369">
2301
- <description><![CDATA[Parse a PDF string object]]></description>
2302
- <long-description><![CDATA[<p>Returns an array with one dictionary entry. The array also has a '/length' element containing
2303
- the number of bytes occupied by the string in the source string, including the enclosing parentheses.</p>]]></long-description>
2304
- <tag line="369" name="since" description="2.10"/>
2305
- <tag line="369" name="param" description="data within which the string occurs" type="string" variable="$source_string">
2306
- <type by_reference="false">string</type>
2307
- </tag>
2308
- <tag line="369" name="param" description="offset within the source string of the opening '(' character." type="integer" variable="$offset">
2309
- <type by_reference="false">integer</type>
2310
- </tag>
2311
- <tag line="369" name="return" description="( key =&gt; array( 'type' =&gt; type, 'value' =&gt; value, '/length' =&gt; length ) ) for the string" type="array">
2312
- <type by_reference="false">array</type>
2313
- </tag>
2314
- </docblock>
2315
- <argument line="382">
2316
- <name>$source_string</name>
2317
- <default><![CDATA[]]></default>
2318
- <type/>
2319
- </argument>
2320
- <argument line="382">
2321
- <name>$offset</name>
2322
- <default><![CDATA[]]></default>
2323
- <type/>
2324
- </argument>
2325
- </method>
2326
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="476" package="Media Library Assistant">
2327
- <name>_parse_pdf_LPD_dictionary</name>
2328
- <full_name>_parse_pdf_LPD_dictionary</full_name>
2329
- <docblock line="462">
2330
- <description><![CDATA[Parse a PDF Linearization Parameter Dictionary object]]></description>
2331
- <long-description><![CDATA[<p>Returns an array of dictionary contents, classified by object type: boolean, numeric, string, hex (string),
2332
- indirect (object), name, array, dictionary, stream, and null.
2333
- The array also has a '/length' element containing the number of bytes occupied by the
2334
- dictionary in the source string, excluding the enclosing delimiters, if passed in.</p>]]></long-description>
2335
- <tag line="462" name="since" description="2.10"/>
2336
- <tag line="462" name="param" description="data within which the object occurs, typically the start of a PDF document" type="string" variable="$source_string">
2337
- <type by_reference="false">string</type>
2338
- </tag>
2339
- <tag line="462" name="param" description="filesize of the PDF document, for validation purposes, or zero (0) to ignore filesize" type="integer" variable="$filesize">
2340
- <type by_reference="false">integer</type>
2341
- </tag>
2342
- <tag line="462" name="return" description="array of dictionary objects on success, false on failure" type="mixed">
2343
- <type by_reference="false">mixed</type>
2344
- </tag>
2345
- </docblock>
2346
- <argument line="476">
2347
- <name>$source_string</name>
2348
- <default><![CDATA[]]></default>
2349
- <type/>
2350
- </argument>
2351
- <argument line="476">
2352
- <name>$filesize</name>
2353
- <default><![CDATA[]]></default>
2354
- <type/>
2355
- </argument>
2356
- </method>
2357
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="502" package="Media Library Assistant">
2358
- <name>_parse_pdf_dictionary</name>
2359
- <full_name>_parse_pdf_dictionary</full_name>
2360
- <docblock line="487">
2361
- <description><![CDATA[Parse a PDF dictionary object]]></description>
2362
- <long-description><![CDATA[<p>Returns an array of dictionary contents, classified by object type: boolean, numeric, string, hex (string),
2363
- indirect (object), name, array, dictionary, stream, and null.
2364
- The array also has a '/length' element containing the number of bytes occupied by the
2365
- dictionary in the source string, excluding the enclosing delimiters.</p>]]></long-description>
2366
- <tag line="487" name="since" description="2.10"/>
2367
- <tag line="487" name="param" description="data within which the string occurs" type="string" variable="$source_string">
2368
- <type by_reference="false">string</type>
2369
- </tag>
2370
- <tag line="487" name="param" description="offset within the source string of the opening '&lt;&lt;' characters or the first content character." type="integer" variable="$offset">
2371
- <type by_reference="false">integer</type>
2372
- </tag>
2373
- <tag line="487" name="return" description="( '/length' =&gt; length, key =&gt; array( 'type' =&gt; type, 'value' =&gt; value ) ) for each dictionary field" type="array">
2374
- <type by_reference="false">array</type>
2375
- </tag>
2376
- </docblock>
2377
- <argument line="502">
2378
- <name>$source_string</name>
2379
- <default><![CDATA[]]></default>
2380
- <type/>
2381
- </argument>
2382
- <argument line="502">
2383
- <name>$offset</name>
2384
- <default><![CDATA[]]></default>
2385
- <type/>
2386
- </argument>
2387
- </method>
2388
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="630" package="Media Library Assistant">
2389
- <name>_extract_pdf_trailer</name>
2390
- <full_name>_extract_pdf_trailer</full_name>
2391
- <docblock line="620">
2392
- <description><![CDATA[Extract dictionary from traditional cross-reference + trailer documents]]></description>
2393
- <long-description><![CDATA[]]></long-description>
2394
- <tag line="620" name="since" description="2.10"/>
2395
- <tag line="620" name="param" description="full path to the desired file" type="string" variable="$file_name">
2396
- <type by_reference="false">string</type>
2397
- </tag>
2398
- <tag line="620" name="param" description="offset within file of the cross-reference table" type="integer" variable="$file_offset">
2399
- <type by_reference="false">integer</type>
2400
- </tag>
2401
- <tag line="620" name="return" description="array of &quot;PDF dictionary arrays&quot;, newest first, or NULL on failure" type="mixed">
2402
- <type by_reference="false">mixed</type>
2403
- </tag>
2404
- </docblock>
2405
- <argument line="630">
2406
- <name>$file_name</name>
2407
- <default><![CDATA[]]></default>
2408
- <type/>
2409
- </argument>
2410
- <argument line="630">
2411
- <name>$file_offset</name>
2412
- <default><![CDATA[]]></default>
2413
- <type/>
2414
- </argument>
2415
- </method>
2416
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="716" package="Media Library Assistant">
2417
- <name>mla_extract_pdf_metadata</name>
2418
- <full_name>mla_extract_pdf_metadata</full_name>
2419
- <docblock line="707">
2420
- <description><![CDATA[Extract Metadata from a PDF file]]></description>
2421
- <long-description><![CDATA[]]></long-description>
2422
- <tag line="707" name="since" description="2.10"/>
2423
- <tag line="707" name="param" description="full path to the desired file" type="string" variable="$file_name">
2424
- <type by_reference="false">string</type>
2425
- </tag>
2426
- <tag line="707" name="return" description="( 'xmp' =&gt; array( key =&gt; value ), 'pdf' =&gt; array( key =&gt; value ) ) for each metadata field, in string format" type="array">
2427
- <type by_reference="false">array</type>
2428
- </tag>
2429
- </docblock>
2430
- <argument line="716">
2431
- <name>$file_name</name>
2432
- <default><![CDATA[]]></default>
2433
- <type/>
2434
- </argument>
2435
- </method>
2436
- </class>
2437
- <markers>
2438
- <todo line="362">encode the rest</todo>
2439
- </markers>
2440
- </file>
2441
- <file path="includes\class-mla-data-query.php" hash="00c827d0656ce9e3758661d0afc24d03" package="Media Library Assistant">
2442
- <docblock line="2">
2443
- <description><![CDATA[Database query support for MLA Ajax, Shortcode and Admin needs]]></description>
2444
- <long-description><![CDATA[]]></long-description>
2445
- <tag line="2" name="package" description="Media Library Assistant"/>
2446
- <tag line="2" name="since" description="2.20"/>
2447
- </docblock>
2448
- <include line="138" type="Require Once" package="Media Library Assistant">
2449
- <name/>
2450
- </include>
2451
- <include line="161" type="Require Once" package="Media Library Assistant">
2452
- <name/>
2453
- </include>
2454
- <class final="false" abstract="false" namespace="global" line="16" package="Media Library Assistant">
2455
- <extends/>
2456
- <name>MLAQuery</name>
2457
- <full_name>\MLAQuery</full_name>
2458
- <docblock line="9">
2459
- <description><![CDATA[Class MLA (Media Library Assistant) Query provides database query support
2460
- for MLA Ajax, Shortcode and Admin needs]]></description>
2461
- <long-description><![CDATA[]]></long-description>
2462
- <tag line="9" name="package" description="Media Library Assistant"/>
2463
- <tag line="9" name="since" description="2.20"/>
2464
- </docblock>
2465
- <constant namespace="global" line="25" package="Media Library Assistant">
2466
- <name>MLA_ALT_TEXT_VIEW_SUFFIX</name>
2467
- <full_name>MLA_ALT_TEXT_VIEW_SUFFIX</full_name>
2468
- <value><![CDATA['alt_text_view']]></value>
2469
- <docblock line="17">
2470
- <description><![CDATA[Provides a unique suffix for the ALT Text "Search Media" SQL View]]></description>
2471
- <long-description><![CDATA[<p>The SQL View is used to filter the Media/Assistant submenu table by
2472
- ALT Text with the Search Media text box.</p>]]></long-description>
2473
- <tag line="17" name="since" description="0.40"/>
2474
- </docblock>
2475
- </constant>
2476
- <constant namespace="global" line="44" package="Media Library Assistant">
2477
- <name>MLA_ORDERBY_VIEW_SUFFIX</name>
2478
- <full_name>MLA_ORDERBY_VIEW_SUFFIX</full_name>
2479
- <value><![CDATA['orderby_view']]></value>
2480
- <docblock line="36">
2481
- <description><![CDATA[Provides a unique suffix for the custom field "orderby" SQL View]]></description>
2482
- <long-description><![CDATA[<p>The SQL View is used to sort the Media/Assistant submenu table on
2483
- ALT Text and custom field columns.</p>]]></long-description>
2484
- <tag line="36" name="since" description="2.15"/>
2485
- </docblock>
2486
- </constant>
2487
- <constant namespace="global" line="63" package="Media Library Assistant">
2488
- <name>MLA_TABLE_VIEW_CUSTOM_SUFFIX</name>
2489
- <full_name>MLA_TABLE_VIEW_CUSTOM_SUFFIX</full_name>
2490
- <value><![CDATA['table_view_custom']]></value>
2491
- <docblock line="55">
2492
- <description><![CDATA[Provides a unique suffix for the "Table View custom:" SQL View]]></description>
2493
- <long-description><![CDATA[<p>The SQL View is used to filter the Media/Assistant submenu table on
2494
- custom field Table Views.</p>]]></long-description>
2495
- <tag line="55" name="since" description="2.15"/>
2496
- </docblock>
2497
- </constant>
2498
- <property final="false" static="true" visibility="private" line="34" namespace="global" package="Media Library Assistant">
2499
- <name>$mla_alt_text_view</name>
2500
- <default><![CDATA[NULL]]></default>
2501
- <docblock line="27">
2502
- <description><![CDATA[Provides a unique name for the ALT Text "Search Media" SQL View]]></description>
2503
- <long-description><![CDATA[]]></long-description>
2504
- <tag line="27" name="since" description="0.40"/>
2505
- <tag line="27" name="var" description="" type="array">
2506
- <type by_reference="false">array</type>
2507
- </tag>
2508
- </docblock>
2509
- </property>
2510
- <property final="false" static="true" visibility="private" line="53" namespace="global" package="Media Library Assistant">
2511
- <name>$mla_orderby_view</name>
2512
- <default><![CDATA[NULL]]></default>
2513
- <docblock line="46">
2514
- <description><![CDATA[Provides a unique name for the custom field "orderby" SQL View]]></description>
2515
- <long-description><![CDATA[]]></long-description>
2516
- <tag line="46" name="since" description="2.15"/>
2517
- <tag line="46" name="var" description="" type="array">
2518
- <type by_reference="false">array</type>
2519
- </tag>
2520
- </docblock>
2521
- </property>
2522
- <property final="false" static="true" visibility="private" line="72" namespace="global" package="Media Library Assistant">
2523
- <name>$mla_table_view_custom</name>
2524
- <default><![CDATA[NULL]]></default>
2525
- <docblock line="65">
2526
- <description><![CDATA[Provides a unique name for the "Table View custom:" SQL View]]></description>
2527
- <long-description><![CDATA[]]></long-description>
2528
- <tag line="65" name="since" description="2.15"/>
2529
- <tag line="65" name="var" description="" type="array">
2530
- <type by_reference="false">array</type>
2531
- </tag>
2532
- </docblock>
2533
- </property>
2534
- <property final="false" static="true" visibility="public" line="81" namespace="global" package="Media Library Assistant">
2535
- <name>$wp_4dot0_plus</name>
2536
- <default><![CDATA[true]]></default>
2537
- <docblock line="74">
2538
- <description><![CDATA[WordPress version test for $wpdb->esc_like() Vs esc_sql()]]></description>
2539
- <long-description><![CDATA[]]></long-description>
2540
- <tag line="74" name="since" description="2.13"/>
2541
- <tag line="74" name="var" description="" type="boolean">
2542
- <type by_reference="false">boolean</type>
2543
- </tag>
2544
- </docblock>
2545
- </property>
2546
- <property final="false" static="true" visibility="public" line="249" namespace="global" package="Media Library Assistant">
2547
- <name>$default_columns</name>
2548
- <default><![CDATA[array()]]></default>
2549
- <docblock line="232">
2550
- <description><![CDATA[Table column definitions]]></description>
2551
- <long-description><![CDATA[<p>This array defines table columns and titles where the key is the column slug (and class)
2552
- and the value is the column's title text. If you need a checkbox for bulk actions,
2553
- use the special slug "cb".</p>
2554
-
2555
- <p>The 'cb' column is treated differently than the rest. If including a checkbox
2556
- column in your table you must create a column_cb() method. If you don't need
2557
- bulk actions or checkboxes, simply leave the 'cb' entry out of your array.</p>
2558
-
2559
- <p>All of the columns are added to this array by MLA_List_Table::mla_admin_init_action.</p>]]></long-description>
2560
- <tag line="232" name="since" description="0.1"/>
2561
- <tag line="232" name="var" description="" type="array">
2562
- <type by_reference="false">array</type>
2563
- </tag>
2564
- </docblock>
2565
- </property>
2566
- <property final="false" static="true" visibility="public" line="267" namespace="global" package="Media Library Assistant">
2567
- <name>$default_hidden_columns</name>
2568
- <default><![CDATA[array('post_title', 'post_name', 'parent', 'menu_order', 'featured', 'inserted', 'galleries', 'mla_galleries', 'post_mime_type', 'file_url', 'base_file', 'modified', 'author')]]></default>
2569
- <docblock line="251">
2570
- <description><![CDATA[Default values for hidden columns]]></description>
2571
- <long-description><![CDATA[<p>This array is used when the user-level option is not set, i.e.,
2572
- the user has not altered the selection of hidden columns.</p>
2573
-
2574
- <p>The value on the right-hand side must match the column slug, e.g.,
2575
- array(0 => 'ID_parent, 1 => 'title_name').</p>
2576
-
2577
- <p>Taxonomy and custom field columns are added to this array by
2578
- MLA_List_Table::mla_admin_init_action.</p>]]></long-description>
2579
- <tag line="251" name="since" description="0.1"/>
2580
- <tag line="251" name="var" description="" type="array">
2581
- <type by_reference="false">array</type>
2582
- </tag>
2583
- </docblock>
2584
- </property>
2585
- <property final="false" static="true" visibility="public" line="310" namespace="global" package="Media Library Assistant">
2586
- <name>$default_sortable_columns</name>
2587
- <default><![CDATA[array('ID_parent' => array('ID', true), 'title_name' => array('title_name', false), 'post_title' => array('post_title', false), 'post_name' => array('post_name', false), 'parent' => array('post_parent', false), 'menu_order' => array('menu_order', false), 'alt_text' => array('_wp_attachment_image_alt', true), 'caption' => array('post_excerpt', false), 'description' => array('post_content', false), 'post_mime_type' => array('post_mime_type', false), 'file_url' => array('guid', false), 'base_file' => array('_wp_attached_file', false), 'date' => array('post_date', true), 'modified' => array('post_modified', true), 'author' => array('post_author', false), 'attached_to' => array('post_parent', false))]]></default>
2588
- <docblock line="292">
2589
- <description><![CDATA[Sortable column definitions]]></description>
2590
- <long-description><![CDATA[<p>This array defines the table columns that can be sorted. The array key
2591
- is the column slug that needs to be sortable, and the value is database column
2592
- to sort by. Often, the key and value will be the same, but this is not always
2593
- the case (as the value is a column name from the database, not the list table).</p>
2594
-
2595
- <p>The array value also contains a boolean which is 'true' if the initial sort order
2596
- for the column is DESC/Descending.</p>
2597
-
2598
- <p>Taxonomy and custom field columns are added to this array by
2599
- MLA_List_Table::mla_admin_init_action.</p>]]></long-description>
2600
- <tag line="292" name="since" description="0.1"/>
2601
- <tag line="292" name="var" description="" type="array">
2602
- <type by_reference="false">array</type>
2603
- </tag>
2604
- </docblock>
2605
- </property>
2606
- <property final="false" static="true" visibility="private" line="360" namespace="global" package="Media Library Assistant">
2607
- <name>$mla_list_table_items</name>
2608
- <default><![CDATA[NULL]]></default>
2609
- <docblock line="353">
2610
- <description><![CDATA[Cache the results of mla_count_list_table_items for reuse in mla_query_list_table_items]]></description>
2611
- <long-description><![CDATA[]]></long-description>
2612
- <tag line="353" name="since" description="1.40"/>
2613
- <tag line="353" name="var" description="" type="array">
2614
- <type by_reference="false">array</type>
2615
- </tag>
2616
- </docblock>
2617
- </property>
2618
- <property final="false" static="true" visibility="public" line="619" namespace="global" package="Media Library Assistant">
2619
- <name>$query_parameters</name>
2620
- <default><![CDATA[array()]]></default>
2621
- <docblock line="604">
2622
- <description><![CDATA[WP_Query filter "parameters"]]></description>
2623
- <long-description><![CDATA[<p>This array defines parameters for the query's join, where and orderby filters.
2624
- The parameters are set up in the _prepare_list_table_query function, and
2625
- any further logic required to translate those values is contained in the filters.</p>
2626
-
2627
- <p>Array index values are: use_alt_text_view, use_postmeta_view, use_orderby_view,
2628
- alt_text_value, postmeta_key, postmeta_value, patterns, detached,
2629
- orderby, order, mla-metavalue, debug (also in search_parameters)</p>]]></long-description>
2630
- <tag line="604" name="since" description="0.30"/>
2631
- <tag line="604" name="var" description="" type="array">
2632
- <type by_reference="false">array</type>
2633
- </tag>
2634
- </docblock>
2635
- </property>
2636
- <property final="false" static="true" visibility="public" line="647" namespace="global" package="Media Library Assistant">
2637
- <name>$search_parameters</name>
2638
- <default><![CDATA[array()]]></default>
2639
- <docblock line="621">
2640
- <description><![CDATA[WP_Query 'posts_search' filter "parameters"]]></description>
2641
- <long-description><![CDATA[<p>This array defines parameters for the query's posts_search filter, which uses
2642
- 'search_string' to add a clause to the query's WHERE clause. It is shared between
2643
- the list_table-query functions here and the mla_get_shortcode_attachments function
2644
- in class-mla-shortcodes.php. This array passes the relevant parameters to the filter.</p>
2645
-
2646
- <p>Array index values are:
2647
- ['mla_terms_search']['phrases']
2648
- ['mla_terms_search']['taxonomies']
2649
- ['mla_terms_search']['radio_phrases'] => AND/OR
2650
- ['mla_terms_search']['radio_terms'] => AND/OR
2651
- ['s'] => numeric for ID/parent search
2652
- ['mla_search_fields'] => 'content', 'title', 'excerpt', 'alt-text', 'name', 'terms'
2653
- Note: 'alt-text' is not supported in [mla_gallery]
2654
- ['mla_search_connector'] => AND/OR
2655
- ['sentence'] => entire string must match as one "keyword"
2656
- ['exact'] => entire string must match entire field value
2657
- ['debug'] => internal element, console/log/shortcode/none
2658
- ['tax_terms_count'] => internal element, shared with JOIN and GROUP BY filters</p>]]></long-description>
2659
- <tag line="621" name="since" description="2.00"/>
2660
- <tag line="621" name="var" description="" type="array">
2661
- <type by_reference="false">array</type>
2662
- </tag>
2663
- </docblock>
2664
- </property>
2665
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="88" package="Media Library Assistant">
2666
- <name>initialize</name>
2667
- <full_name>initialize</full_name>
2668
- <docblock line="83">
2669
- <description><![CDATA[Initialization function, similar to __construct()]]></description>
2670
- <long-description><![CDATA[]]></long-description>
2671
- <tag line="83" name="since" description="0.1"/>
2672
- </docblock>
2673
- </method>
2674
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="129" package="Media Library Assistant">
2675
- <name>mla_fetch_attachment_references</name>
2676
- <full_name>mla_fetch_attachment_references</full_name>
2677
- <docblock line="115">
2678
- <description><![CDATA[Find Featured Image and inserted image/link references to an attachment]]></description>
2679
- <long-description><![CDATA[<p>Searches all post and page content to see if the attachment is used
2680
- as a Featured Image or inserted in the post as an image or link.</p>]]></long-description>
2681
- <tag line="115" name="since" description="0.1"/>
2682
- <tag line="115" name="param" description="post ID of attachment" type="int" variable="$ID">
2683
- <type by_reference="false">int</type>
2684
- </tag>
2685
- <tag line="115" name="param" description="post ID of attachment's parent, if any" type="int" variable="$parent">
2686
- <type by_reference="false">int</type>
2687
- </tag>
2688
- <tag line="115" name="param" description="True to compute references, false to return empty values" type="boolean" variable="$add_references">
2689
- <type by_reference="false">boolean</type>
2690
- </tag>
2691
- <tag line="115" name="return" description="Reference information; see $references array comments" type="array">
2692
- <type by_reference="false">array</type>
2693
- </tag>
2694
- </docblock>
2695
- <argument line="129">
2696
- <name>$ID</name>
2697
- <default><![CDATA[]]></default>
2698
- <type/>
2699
- </argument>
2700
- <argument line="129">
2701
- <name>$parent</name>
2702
- <default><![CDATA[]]></default>
2703
- <type/>
2704
- </argument>
2705
- <argument line="129">
2706
- <name>$add_references</name>
2707
- <default><![CDATA[true]]></default>
2708
- <type/>
2709
- </argument>
2710
- </method>
2711
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="156" package="Media Library Assistant">
2712
- <name>mla_attachment_array_fetch_references</name>
2713
- <full_name>mla_attachment_array_fetch_references</full_name>
2714
- <docblock line="144">
2715
- <description><![CDATA[Add Featured Image and inserted image/link references to an array of attachments]]></description>
2716
- <long-description><![CDATA[<p>Searches all post and page content to see if the attachmenta are used
2717
- as a Featured Image or inserted in the post as an image or link.</p>]]></long-description>
2718
- <tag line="144" name="since" description="1.94"/>
2719
- <tag line="144" name="param" description="WP_Post objects, passed by reference" type="array" variable="$attachments">
2720
- <type by_reference="false">array</type>
2721
- </tag>
2722
- <tag line="144" name="return" description="updates WP_Post objects with new mla_references property" type="void">
2723
- <type by_reference="false">void</type>
2724
- </tag>
2725
- </docblock>
2726
- <argument line="156">
2727
- <name>$attachments</name>
2728
- <default><![CDATA[]]></default>
2729
- <type/>
2730
- </argument>
2731
- </method>
2732
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="176" package="Media Library Assistant">
2733
- <name>mla_flush_mla_galleries</name>
2734
- <full_name>mla_flush_mla_galleries</full_name>
2735
- <docblock line="167">
2736
- <description><![CDATA[Invalidates the $mla_galleries or $galleries array and cached values]]></description>
2737
- <long-description><![CDATA[]]></long-description>
2738
- <tag line="167" name="since" description="1.00"/>
2739
- <tag line="167" name="param" description="name of the gallery's cache/option variable" type="string" variable="$option_name">
2740
- <type by_reference="false">string</type>
2741
- </tag>
2742
- <tag line="167" name="return" description="" type="void">
2743
- <type by_reference="false">void</type>
2744
- </tag>
2745
- </docblock>
2746
- <argument line="176">
2747
- <name>$option_name</name>
2748
- <default><![CDATA[]]></default>
2749
- <type/>
2750
- </argument>
2751
- </method>
2752
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="195" package="Media Library Assistant">
2753
- <name>mla_localize_default_columns_array</name>
2754
- <full_name>mla_localize_default_columns_array</full_name>
2755
- <docblock line="187">
2756
- <description><![CDATA[Builds the $default_columns array with translated source texts.]]></description>
2757
- <long-description><![CDATA[<p>Called from MLATest::initialize because the $default_columns information
2758
- might be accessed from "front end" posts/pages.</p>]]></long-description>
2759
- <tag line="187" name="since" description="1.71"/>
2760
- </docblock>
2761
- </method>
2762
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="342" package="Media Library Assistant">
2763
- <name>mla_get_sortable_columns</name>
2764
- <full_name>mla_get_sortable_columns</full_name>
2765
- <docblock line="335">
2766
- <description><![CDATA[Return the names and display values of the sortable columns]]></description>
2767
- <long-description><![CDATA[]]></long-description>
2768
- <tag line="335" name="since" description="0.30"/>
2769
- <tag line="335" name="return" description="name =&gt; array( orderby value, heading ) for sortable columns" type="array">
2770
- <type by_reference="false">array</type>
2771
- </tag>
2772
- </docblock>
2773
- </method>
2774
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="373" package="Media Library Assistant">
2775
- <name>mla_count_list_table_items</name>
2776
- <full_name>mla_count_list_table_items</full_name>
2777
- <docblock line="362">
2778
- <description><![CDATA[Get the total number of attachment posts]]></description>
2779
- <long-description><![CDATA[]]></long-description>
2780
- <tag line="362" name="since" description="0.30"/>
2781
- <tag line="362" name="param" description="Query variables, e.g., from $_REQUEST" type="array" variable="$request">
2782
- <type by_reference="false">array</type>
2783
- </tag>
2784
- <tag line="362" name="param" description="(optional) number of rows to skip over to reach desired page" type="int" variable="$offset">
2785
- <type by_reference="false">int</type>
2786
- </tag>
2787
- <tag line="362" name="param" description="(optional) number of rows on each page" type="int" variable="$count">
2788
- <type by_reference="false">int</type>
2789
- </tag>
2790
- <tag line="362" name="return" description="Number of attachment posts" type="integer">
2791
- <type by_reference="false">integer</type>
2792
- </tag>
2793
- </docblock>
2794
- <argument line="373">
2795
- <name>$request</name>
2796
- <default><![CDATA[]]></default>
2797
- <type/>
2798
- </argument>
2799
- <argument line="373">
2800
- <name>$offset</name>
2801
- <default><![CDATA[NULL]]></default>
2802
- <type/>
2803
- </argument>
2804
- <argument line="373">
2805
- <name>$count</name>
2806
- <default><![CDATA[NULL]]></default>
2807
- <type/>
2808
- </argument>
2809
- </method>
2810
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="413" package="Media Library Assistant">
2811
- <name>mla_query_list_table_items</name>
2812
- <full_name>mla_query_list_table_items</full_name>
2813
- <docblock line="399">
2814
- <description><![CDATA[Retrieve attachment objects for list table display]]></description>
2815
- <long-description><![CDATA[<p>Supports prepare_items in class-mla-list-table.php.
2816
- Modeled after wp_edit_attachments_query in wp-admin/post.php</p>]]></long-description>
2817
- <tag line="399" name="since" description="0.1"/>
2818
- <tag line="399" name="param" description="query parameters from web page, usually found in $_REQUEST" type="array" variable="$request">
2819
- <type by_reference="false">array</type>
2820
- </tag>
2821
- <tag line="399" name="param" description="number of rows to skip over to reach desired page" type="int" variable="$offset">
2822
- <type by_reference="false">int</type>
2823
- </tag>
2824
- <tag line="399" name="param" description="number of rows on each page" type="int" variable="$count">
2825
- <type by_reference="false">int</type>
2826
- </tag>
2827
- <tag line="399" name="return" description="attachment objects (posts) including parent data, meta data and references" type="array">
2828
- <type by_reference="false">array</type>
2829
- </tag>
2830
- </docblock>
2831
- <argument line="413">
2832
- <name>$request</name>
2833
- <default><![CDATA[]]></default>
2834
- <type/>
2835
- </argument>
2836
- <argument line="413">
2837
- <name>$offset</name>
2838
- <default><![CDATA[]]></default>
2839
- <type/>
2840
- </argument>
2841
- <argument line="413">
2842
- <name>$count</name>
2843
- <default><![CDATA[]]></default>
2844
- <type/>
2845
- </argument>
2846
- </method>
2847
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="464" package="Media Library Assistant">
2848
- <name>mla_query_media_modal_items</name>
2849
- <full_name>mla_query_media_modal_items</full_name>
2850
- <docblock line="451">
2851
- <description><![CDATA[Retrieve attachment objects for the WordPress Media Manager]]></description>
2852
- <long-description><![CDATA[<p>Supports month-year and taxonomy-term filters as well as the enhanced search box</p>]]></long-description>
2853
- <tag line="451" name="since" description="1.20"/>
2854
- <tag line="451" name="param" description="query parameters from Media Manager" type="array" variable="$request">
2855
- <type by_reference="false">array</type>
2856
- </tag>
2857
- <tag line="451" name="param" description="number of rows to skip over to reach desired page" type="int" variable="$offset">
2858
- <type by_reference="false">int</type>
2859
- </tag>
2860
- <tag line="451" name="param" description="number of rows on each page" type="int" variable="$count">
2861
- <type by_reference="false">int</type>
2862
- </tag>
2863
- <tag line="451" name="return" description="WP_Query object with query results" type="object">
2864
- <type by_reference="false">object</type>
2865
- </tag>
2866
- </docblock>
2867
- <argument line="464">
2868
- <name>$request</name>
2869
- <default><![CDATA[]]></default>
2870
- <type/>
2871
- </argument>
2872
- <argument line="464">
2873
- <name>$offset</name>
2874
- <default><![CDATA[]]></default>
2875
- <type/>
2876
- </argument>
2877
- <argument line="464">
2878
- <name>$count</name>
2879
- <default><![CDATA[]]></default>
2880
- <type/>
2881
- </argument>
2882
- </method>
2883
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="481" package="Media Library Assistant">
2884
- <name>mla_fetch_attachment_parent_data</name>
2885
- <full_name>mla_fetch_attachment_parent_data</full_name>
2886
- <docblock line="472">
2887
- <description><![CDATA[Returns information about an attachment's parent, if found]]></description>
2888
- <long-description><![CDATA[]]></long-description>
2889
- <tag line="472" name="since" description="0.1"/>
2890
- <tag line="472" name="param" description="post ID of attachment's parent, if any" type="int" variable="$parent_id">
2891
- <type by_reference="false">int</type>
2892
- </tag>
2893
- <tag line="472" name="return" description="Parent information; post_date, post_title and post_type" type="array">
2894
- <type by_reference="false">array</type>
2895
- </tag>
2896
- </docblock>
2897
- <argument line="481">
2898
- <name>$parent_id</name>
2899
- <default><![CDATA[]]></default>
2900
- <type/>
2901
- </argument>
2902
- </method>
2903
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="532" package="Media Library Assistant">
2904
- <name>mla_fetch_attachment_metadata</name>
2905
- <full_name>mla_fetch_attachment_metadata</full_name>
2906
- <docblock line="520">
2907
- <description><![CDATA[Fetch and filter meta data for an attachment]]></description>
2908
- <long-description><![CDATA[<p>Returns a filtered array of a post's meta data. Internal values beginning with '<em>'
2909
- are stripped out or converted to an 'mla</em>' equivalent.</p>]]></long-description>
2910
- <tag line="520" name="since" description="0.1"/>
2911
- <tag line="520" name="param" description="post ID of attachment" type="int" variable="$post_id">
2912
- <type by_reference="false">int</type>
2913
- </tag>
2914
- <tag line="520" name="return" description="Meta data variables" type="array">
2915
- <type by_reference="false">array</type>
2916
- </tag>
2917
- </docblock>
2918
- <argument line="532">
2919
- <name>$post_id</name>
2920
- <default><![CDATA[]]></default>
2921
- <type/>
2922
- </argument>
2923
- </method>
2924
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="658" package="Media Library Assistant">
2925
- <name>mla_custom_field_option_value</name>
2926
- <full_name>mla_custom_field_option_value</full_name>
2927
- <docblock line="649">
2928
- <description><![CDATA[Fetch custom field option value given a slug]]></description>
2929
- <long-description><![CDATA[]]></long-description>
2930
- <tag line="649" name="since" description="1.10"/>
2931
- <tag line="649" name="param" description="slug, e.g., 'c_File Size' for the 'File Size' field" type="string" variable="$slug">
2932
- <type by_reference="false">string</type>
2933
- </tag>
2934
- <tag line="649" name="return" description="option value, e.g., array( 'name' =&gt; 'File Size', ... )" type="array">
2935
- <type by_reference="false">array</type>
2936
- </tag>
2937
- </docblock>
2938
- <argument line="658">
2939
- <name>$slug</name>
2940
- <default><![CDATA[]]></default>
2941
- <type/>
2942
- </argument>
2943
- </method>
2944
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="684" package="Media Library Assistant">
2945
- <name>_prepare_list_table_query</name>
2946
- <full_name>_prepare_list_table_query</full_name>
2947
- <docblock line="670">
2948
- <description><![CDATA[Sanitize and expand query arguments from request variables]]></description>
2949
- <long-description><![CDATA[<p>Prepare the arguments for WP_Query.
2950
- Modeled after wp_edit_attachments_query in wp-admin/post.php</p>]]></long-description>
2951
- <tag line="670" name="since" description="0.1"/>
2952
- <tag line="670" name="param" description="query parameters from web page, usually found in $_REQUEST" type="array" variable="$raw_request">
2953
- <type by_reference="false">array</type>
2954
- </tag>
2955
- <tag line="670" name="param" description="Optional number of rows (default 0) to skip over to reach desired page" type="int" variable="$offset">
2956
- <type by_reference="false">int</type>
2957
- </tag>
2958
- <tag line="670" name="param" description="Optional number of rows on each page (0 = all rows, default)" type="int" variable="$count">
2959
- <type by_reference="false">int</type>
2960
- </tag>
2961
- <tag line="670" name="return" description="revised arguments suitable for WP_Query" type="array">
2962
- <type by_reference="false">array</type>
2963
- </tag>
2964
- </docblock>
2965
- <argument line="684">
2966
- <name>$raw_request</name>
2967
- <default><![CDATA[]]></default>
2968
- <type/>
2969
- </argument>
2970
- <argument line="684">
2971
- <name>$offset</name>
2972
- <default><![CDATA[0]]></default>
2973
- <type/>
2974
- </argument>
2975
- <argument line="684">
2976
- <name>$count</name>
2977
- <default><![CDATA[0]]></default>
2978
- <type/>
2979
- </argument>
2980
- </method>
2981
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="1100" package="Media Library Assistant">
2982
- <name>_execute_list_table_query</name>
2983
- <full_name>_execute_list_table_query</full_name>
2984
- <docblock line="1091">
2985
- <description><![CDATA[Add filters, run query, remove filters]]></description>
2986
- <long-description><![CDATA[]]></long-description>
2987
- <tag line="1091" name="since" description="0.30"/>
2988
- <tag line="1091" name="param" description="query parameters from web page, usually found in $_REQUEST" type="array" variable="$request">
2989
- <type by_reference="false">array</type>
2990
- </tag>
2991
- <tag line="1091" name="return" description="WP_Query object with query results" type="object">
2992
- <type by_reference="false">object</type>
2993
- </tag>
2994
- </docblock>
2995
- <argument line="1100">
2996
- <name>$request</name>
2997
- <default><![CDATA[]]></default>
2998
- <type/>
2999
- </argument>
3000
- </method>
3001
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="1229" package="Media Library Assistant">
3002
- <name>_wildcard_search_string</name>
3003
- <full_name>_wildcard_search_string</full_name>
3004
- <docblock line="1218">
3005
- <description><![CDATA[Detects wildcard searches, i.e., containing an asterisk outside quotes]]></description>
3006
- <long-description><![CDATA[<p>Defined as public because it's a callback from array_map().</p>]]></long-description>
3007
- <tag line="1218" name="since" description="2.13"/>
3008
- <tag line="1218" name="param" description="search string" type="string" variable="$search_string">
3009
- <type by_reference="false">string</type>
3010
- </tag>
3011
- <tag line="1218" name="return" description="true if wildcard" type="boolean">
3012
- <type by_reference="false">boolean</type>
3013
- </tag>
3014
- </docblock>
3015
- <argument line="1229">
3016
- <name>$search_string</name>
3017
- <default><![CDATA[]]></default>
3018
- <type/>
3019
- </argument>
3020
- </method>
3021
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1258" package="Media Library Assistant">
3022
- <name>mla_search_terms_tidy</name>
3023
- <full_name>mla_search_terms_tidy</full_name>
3024
- <docblock line="1247">
3025
- <description><![CDATA[Replaces a WordPress function deprecated in v3.7]]></description>
3026
- <long-description><![CDATA[<p>Defined as public because it's a callback from array_map().</p>]]></long-description>
3027
- <tag line="1247" name="since" description="1.51"/>
3028
- <tag line="1247" name="param" description="search term before modification" type="string" variable="$term">
3029
- <type by_reference="false">string</type>
3030
- </tag>
3031
- <tag line="1247" name="return" description="cleaned up search term" type="string">
3032
- <type by_reference="false">string</type>
3033
- </tag>
3034
- </docblock>
3035
- <argument line="1258">
3036
- <name>$term</name>
3037
- <default><![CDATA[]]></default>
3038
- <type/>
3039
- </argument>
3040
- </method>
3041
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="1274" package="Media Library Assistant">
3042
- <name>_match_quoted_phrase</name>
3043
- <full_name>_match_quoted_phrase</full_name>
3044
- <docblock line="1262">
3045
- <description><![CDATA[Isolates keyword match results to word boundaries]]></description>
3046
- <long-description><![CDATA[<p>Eliminates matches such as "man" in "woman".</p>]]></long-description>
3047
- <tag line="1262" name="since" description="2.11"/>
3048
- <tag line="1262" name="param" description="the quoted phrase (without enclosing quotes)" type="string" variable="$needle">
3049
- <type by_reference="false">string</type>
3050
- </tag>
3051
- <tag line="1262" name="param" description="the entire term" type="string" variable="$haystack">
3052
- <type by_reference="false">string</type>
3053
- </tag>
3054
- <tag line="1262" name="return" description="$needle is a word match within $haystack" type="boolean">
3055
- <type by_reference="false">boolean</type>
3056
- </tag>
3057
- </docblock>
3058
- <argument line="1274">
3059
- <name>$needle</name>
3060
- <default><![CDATA[]]></default>
3061
- <type/>
3062
- </argument>
3063
- <argument line="1274">
3064
- <name>$haystack</name>
3065
- <default><![CDATA[]]></default>
3066
- <type/>
3067
- </argument>
3068
- </method>
3069
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1305" package="Media Library Assistant">
3070
- <name>mla_query_posts_search_filter</name>
3071
- <full_name>mla_query_posts_search_filter</full_name>
3072
- <docblock line="1293">
3073
- <description><![CDATA[Adds a keyword search to the WHERE clause, if required]]></description>
3074
- <long-description><![CDATA[<p>Defined as public because it's a filter.</p>]]></long-description>
3075
- <tag line="1293" name="since" description="0.60"/>
3076
- <tag line="1293" name="param" description="query clause before modification" type="string" variable="$search_string">
3077
- <type by_reference="false">string</type>
3078
- </tag>
3079
- <tag line="1293" name="param" description="WP_Query object" type="object" variable="$query_object">
3080
- <type by_reference="false">object</type>
3081
- </tag>
3082
- <tag line="1293" name="return" description="query clause after keyword search addition" type="string">
3083
- <type by_reference="false">string</type>
3084
- </tag>
3085
- </docblock>
3086
- <argument line="1305">
3087
- <name>$search_string</name>
3088
- <default><![CDATA[]]></default>
3089
- <type/>
3090
- </argument>
3091
- <argument line="1305">
3092
- <name>$query_object</name>
3093
- <default><![CDATA[]]></default>
3094
- <type/>
3095
- </argument>
3096
- </method>
3097
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1648" package="Media Library Assistant">
3098
- <name>mla_query_posts_where_filter</name>
3099
- <full_name>mla_query_posts_where_filter</full_name>
3100
- <docblock line="1636">
3101
- <description><![CDATA[Adds/modifies the WHERE clause for meta values, LIKE patterns and detached items]]></description>
3102
- <long-description><![CDATA[<p>Modeled after _edit_attachments_query_helper in wp-admin/post.php.
3103
- Defined as public because it's a filter.</p>]]></long-description>
3104
- <tag line="1636" name="since" description="0.1"/>
3105
- <tag line="1636" name="param" description="query clause before modification" type="string" variable="$where_clause">
3106
- <type by_reference="false">string</type>
3107
- </tag>
3108
- <tag line="1636" name="return" description="query clause after modification" type="string">
3109
- <type by_reference="false">string</type>
3110
- </tag>
3111
- </docblock>
3112
- <argument line="1648">
3113
- <name>$where_clause</name>
3114
- <default><![CDATA[]]></default>
3115
- <type/>
3116
- </argument>
3117
- </method>
3118
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1718" package="Media Library Assistant">
3119
- <name>mla_query_posts_join_filter</name>
3120
- <full_name>mla_query_posts_join_filter</full_name>
3121
- <docblock line="1707">
3122
- <description><![CDATA[Adds a JOIN clause, if required, to handle sorting/searching on custom fields or ALT Text]]></description>
3123
- <long-description><![CDATA[<p>Defined as public because it's a filter.</p>]]></long-description>
3124
- <tag line="1707" name="since" description="0.30"/>
3125
- <tag line="1707" name="param" description="query clause before modification" type="string" variable="$join_clause">
3126
- <type by_reference="false">string</type>
3127
- </tag>
3128
- <tag line="1707" name="return" description="query clause after &quot;LEFT JOIN view ON post_id&quot; item modification" type="string">
3129
- <type by_reference="false">string</type>
3130
- </tag>
3131
- </docblock>
3132
- <argument line="1718">
3133
- <name>$join_clause</name>
3134
- <default><![CDATA[]]></default>
3135
- <type/>
3136
- </argument>
3137
- </method>
3138
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1787" package="Media Library Assistant">
3139
- <name>mla_query_posts_groupby_filter</name>
3140
- <full_name>mla_query_posts_groupby_filter</full_name>
3141
- <docblock line="1775">
3142
- <description><![CDATA[Adds a GROUPBY clause, if required]]></description>
3143
- <long-description><![CDATA[<p>Taxonomy text queries and postmeta queries can return multiple results for the same ID.
3144
- Defined as public because it's a filter.</p>]]></long-description>
3145
- <tag line="1775" name="since" description="1.90"/>
3146
- <tag line="1775" name="param" description="query clause before modification" type="string" variable="$groupby_clause">
3147
- <type by_reference="false">string</type>
3148
- </tag>
3149
- <tag line="1775" name="return" description="updated query clause" type="string">
3150
- <type by_reference="false">string</type>
3151
- </tag>
3152
- </docblock>
3153
- <argument line="1787">
3154
- <name>$groupby_clause</name>
3155
- <default><![CDATA[]]></default>
3156
- <type/>
3157
- </argument>
3158
- </method>
3159
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1809" package="Media Library Assistant">
3160
- <name>mla_query_posts_orderby_filter</name>
3161
- <full_name>mla_query_posts_orderby_filter</full_name>
3162
- <docblock line="1797">
3163
- <description><![CDATA[Adds a ORDERBY clause, if required]]></description>
3164
- <long-description><![CDATA[<p>Expands the range of sort options because the logic in WP_Query is limited.
3165
- Defined as public because it's a filter.</p>]]></long-description>
3166
- <tag line="1797" name="since" description="0.30"/>
3167
- <tag line="1797" name="param" description="query clause before modification" type="string" variable="$orderby_clause">
3168
- <type by_reference="false">string</type>
3169
- </tag>
3170
- <tag line="1797" name="return" description="updated query clause" type="string">
3171
- <type by_reference="false">string</type>
3172
- </tag>
3173
- </docblock>
3174
- <argument line="1809">
3175
- <name>$orderby_clause</name>
3176
- <default><![CDATA[]]></default>
3177
- <type/>
3178
- </argument>
3179
- </method>
3180
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1882" package="Media Library Assistant">
3181
- <name>mla_query_relevanssi_admin_search_ok_filter</name>
3182
- <full_name>mla_query_relevanssi_admin_search_ok_filter</full_name>
3183
- <docblock line="1872">
3184
- <description><![CDATA[Disable Relevanssi - A Better Search, v3.2 by Mikko Saari
3185
- Defined as public because it's a filter.]]></description>
3186
- <long-description><![CDATA[]]></long-description>
3187
- <tag line="1872" name="since" description="1.80"/>
3188
- <tag line="1872" name="param" description="Default setting" type="boolean" variable="$admin_search_ok">
3189
- <type by_reference="false">boolean</type>
3190
- </tag>
3191
- <tag line="1872" name="return" description="Updated setting" type="boolean">
3192
- <type by_reference="false">boolean</type>
3193
- </tag>
3194
- </docblock>
3195
- <argument line="1882">
3196
- <name>$admin_search_ok</name>
3197
- <default><![CDATA[]]></default>
3198
- <type/>
3199
- </argument>
3200
- </method>
3201
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1897" package="Media Library Assistant">
3202
- <name>mla_query_terms_clauses_filter</name>
3203
- <full_name>mla_query_terms_clauses_filter</full_name>
3204
- <docblock line="1886">
3205
- <description><![CDATA[Filters all clauses for get_terms queries]]></description>
3206
- <long-description><![CDATA[<p>Defined as public because it's a filter.</p>]]></long-description>
3207
- <tag line="1886" name="since" description="2.13"/>
3208
- <tag line="1886" name="param" description="Terms query SQL clauses." type="array" variable="$pieces">
3209
- <type by_reference="false">array</type>
3210
- </tag>
3211
- <tag line="1886" name="param" description="An array of taxonomies." type="array" variable="$taxonomies">
3212
- <type by_reference="false">array</type>
3213
- </tag>
3214
- <tag line="1886" name="param" description="An array of terms query arguments." type="array" variable="$args">
3215
- <type by_reference="false">array</type>
3216
- </tag>
3217
- </docblock>
3218
- <argument line="1897">
3219
- <name>$pieces</name>
3220
- <default><![CDATA[]]></default>
3221
- <type/>
3222
- </argument>
3223
- <argument line="1897">
3224
- <name>$taxonomies</name>
3225
- <default><![CDATA[]]></default>
3226
- <type/>
3227
- </argument>
3228
- <argument line="1897">
3229
- <name>$args</name>
3230
- <default><![CDATA[]]></default>
3231
- <type/>
3232
- </argument>
3233
- </method>
3234
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1942" package="Media Library Assistant">
3235
- <name>mla_query_posts_clauses_filter</name>
3236
- <full_name>mla_query_posts_clauses_filter</full_name>
3237
- <docblock line="1930">
3238
- <description><![CDATA[Filters all clauses for shortcode queries, pre caching plugins]]></description>
3239
- <long-description><![CDATA[<p>This is for debug purposes only.
3240
- Defined as public because it's a filter.</p>]]></long-description>
3241
- <tag line="1930" name="since" description="1.80"/>
3242
- <tag line="1930" name="param" description="query clauses before modification" type="array" variable="$pieces">
3243
- <type by_reference="false">array</type>
3244
- </tag>
3245
- <tag line="1930" name="return" description="query clauses after modification (none)" type="array">
3246
- <type by_reference="false">array</type>
3247
- </tag>
3248
- </docblock>
3249
- <argument line="1942">
3250
- <name>$pieces</name>
3251
- <default><![CDATA[]]></default>
3252
- <type/>
3253
- </argument>
3254
- </method>
3255
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1961" package="Media Library Assistant">
3256
- <name>mla_query_posts_clauses_request_filter</name>
3257
- <full_name>mla_query_posts_clauses_request_filter</full_name>
3258
- <docblock line="1949">
3259
- <description><![CDATA[Filters all clauses for shortcode queries, post caching plugins]]></description>
3260
- <long-description><![CDATA[<p>This is for debug purposes only.
3261
- Defined as public because it's a filter.</p>]]></long-description>
3262
- <tag line="1949" name="since" description="1.80"/>
3263
- <tag line="1949" name="param" description="query clauses before modification" type="array" variable="$pieces">
3264
- <type by_reference="false">array</type>
3265
- </tag>
3266
- <tag line="1949" name="return" description="query clauses after modification (none)" type="array">
3267
- <type by_reference="false">array</type>
3268
- </tag>
3269
- </docblock>
3270
- <argument line="1961">
3271
- <name>$pieces</name>
3272
- <default><![CDATA[]]></default>
3273
- <type/>
3274
- </argument>
3275
- </method>
3276
- </class>
3277
- </file>
3278
- <file path="includes\class-mla-data-references.php" hash="4d4be393c95ede7099eb7f4734c1a90b" package="Media Library Assistant">
3279
- <docblock line="2">
3280
- <description><![CDATA[Database query support for "where-used" reporting]]></description>
3281
- <long-description><![CDATA[]]></long-description>
3282
- <tag line="2" name="package" description="Media Library Assistant"/>
3283
- <tag line="2" name="since" description="2.20"/>
3284
- </docblock>
3285
- <include line="792" type="Require Once" package="Media Library Assistant">
3286
- <name/>
3287
- </include>
3288
- <class final="false" abstract="false" namespace="global" line="16" package="Media Library Assistant">
3289
- <extends/>
3290
- <name>MLAReferences</name>
3291
- <full_name>\MLAReferences</full_name>
3292
- <docblock line="9">
3293
- <description><![CDATA[Class MLA (Media Library Assistant) Query provides database query support
3294
- for "where-used" reporting needs]]></description>
3295
- <long-description><![CDATA[]]></long-description>
3296
- <tag line="9" name="package" description="Media Library Assistant"/>
3297
- <tag line="9" name="since" description="2.20"/>
3298
- </docblock>
3299
- <property final="false" static="true" visibility="private" line="709" namespace="global" package="Media Library Assistant">
3300
- <name>$galleries</name>
3301
- <default><![CDATA[NULL]]></default>
3302
- <docblock line="689">
3303
- <description><![CDATA[Objects containing [gallery] shortcodes]]></description>
3304
- <long-description><![CDATA[<p>This array contains all of the objects containing one or more [gallery] shortcodes
3305
- and array(s) of which attachments each [gallery] contains. The arrays are built once
3306
- each page load and cached for subsequent calls.</p>
3307
-
3308
- <p>The outer array is keyed by post_id. It contains an associative array with:
3309
- ['parent_title'] post_title of the gallery parent,
3310
- ['parent_type'] 'post' or 'page' or the custom post_type of the gallery parent,
3311
- ['parent_status'] 'publish', 'private', 'future', 'pending', 'draft'
3312
- ['results'] array ( ID => ID ) of attachments appearing in ANY of the parent's galleries.
3313
- ['galleries'] array of [gallery] entries numbered from one (1), containing:
3314
- galleries[X]['query'] contains a string with the arguments of the [gallery],
3315
- galleries[X]['results'] contains an array ( ID ) of post_ids for the objects in the gallery.</p>]]></long-description>
3316
- <tag line="689" name="since" description="0.70"/>
3317
- <tag line="689" name="var" description="" type="array">
3318
- <type by_reference="false">array</type>
3319
- </tag>
3320
- </docblock>
3321
- </property>
3322
- <property final="false" static="true" visibility="private" line="722" namespace="global" package="Media Library Assistant">
3323
- <name>$mla_galleries</name>
3324
- <default><![CDATA[NULL]]></default>
3325
- <docblock line="711">
3326
- <description><![CDATA[Objects containing [mla_gallery] shortcodes]]></description>
3327
- <long-description><![CDATA[<p>This array contains all of the objects containing one or more [mla_gallery] shortcodes
3328
- and array(s) of which attachments each [mla_gallery] contains. The arrays are built once
3329
- each page load and cached for subsequent calls.</p>]]></long-description>
3330
- <tag line="711" name="since" description="0.70"/>
3331
- <tag line="711" name="var" description="" type="array">
3332
- <type by_reference="false">array</type>
3333
- </tag>
3334
- </docblock>
3335
- </property>
3336
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="31" package="Media Library Assistant">
3337
- <name>mla_fetch_attachment_references_handler</name>
3338
- <full_name>mla_fetch_attachment_references_handler</full_name>
3339
- <docblock line="17">
3340
- <description><![CDATA[Find Featured Image and inserted image/link references to an attachment]]></description>
3341
- <long-description><![CDATA[<p>Called from MLAQuery::mla_fetch_attachment_references, which handles conditional
3342
- loading of this file.</p>]]></long-description>
3343
- <tag line="17" name="since" description="0.1"/>
3344
- <tag line="17" name="param" description="post ID of attachment" type="int" variable="$ID">
3345
- <type by_reference="false">int</type>
3346
- </tag>
3347
- <tag line="17" name="param" description="post ID of attachment's parent, if any" type="int" variable="$parent">
3348
- <type by_reference="false">int</type>
3349
- </tag>
3350
- <tag line="17" name="param" description="True to compute references, false to return empty values" type="boolean" variable="$add_references">
3351
- <type by_reference="false">boolean</type>
3352
- </tag>
3353
- <tag line="17" name="return" description="Reference information; see $references array comments" type="array">
3354
- <type by_reference="false">array</type>
3355
- </tag>
3356
- </docblock>
3357
- <argument line="31">
3358
- <name>$ID</name>
3359
- <default><![CDATA[]]></default>
3360
- <type/>
3361
- </argument>
3362
- <argument line="31">
3363
- <name>$parent</name>
3364
- <default><![CDATA[]]></default>
3365
- <type/>
3366
- </argument>
3367
- <argument line="31">
3368
- <name>$add_references</name>
3369
- <default><![CDATA[true]]></default>
3370
- <type/>
3371
- </argument>
3372
- </method>
3373
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="360" package="Media Library Assistant">
3374
- <name>mla_attachment_array_fetch_references_handler</name>
3375
- <full_name>mla_attachment_array_fetch_references_handler</full_name>
3376
- <docblock line="348">
3377
- <description><![CDATA[Add Featured Image and inserted image/link references to an array of attachments]]></description>
3378
- <long-description><![CDATA[<p>Called from MLAQuery::mla_fetch_attachment_references, which handles conditional
3379
- loading of this file.</p>]]></long-description>
3380
- <tag line="348" name="since" description="1.94"/>
3381
- <tag line="348" name="param" description="WP_Post objects, passed by reference" type="array" variable="$attachments">
3382
- <type by_reference="false">array</type>
3383
- </tag>
3384
- <tag line="348" name="return" description="updates WP_Post objects with new mla_references property" type="void">
3385
- <type by_reference="false">void</type>
3386
- </tag>
3387
- </docblock>
3388
- <argument line="360">
3389
- <name>$attachments</name>
3390
- <default><![CDATA[]]></default>
3391
- <type/>
3392
- </argument>
3393
- </method>
3394
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="736" package="Media Library Assistant">
3395
- <name>mla_flush_mla_galleries_handler</name>
3396
- <full_name>mla_flush_mla_galleries_handler</full_name>
3397
- <docblock line="724">
3398
- <description><![CDATA[Invalidates the $mla_galleries or $galleries array and cached values]]></description>
3399
- <long-description><![CDATA[<p>Called from MLAQuery::mla_flush_mla_galleries, which handles conditional
3400
- loading of this file.</p>]]></long-description>
3401
- <tag line="724" name="since" description="1.00"/>
3402
- <tag line="724" name="param" description="name of the gallery's cache/option variable" type="string" variable="$option_name">
3403
- <type by_reference="false">string</type>
3404
- </tag>
3405
- <tag line="724" name="return" description="" type="void">
3406
- <type by_reference="false">void</type>
3407
- </tag>
3408
- </docblock>
3409
- <argument line="736">
3410
- <name>$option_name</name>
3411
- <default><![CDATA[]]></default>
3412
- <type/>
3413
- </argument>
3414
- </method>
3415
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="761" package="Media Library Assistant">
3416
- <name>_build_mla_galleries</name>
3417
- <full_name>_build_mla_galleries</full_name>
3418
- <docblock line="749">
3419
- <description><![CDATA[Builds the $mla_galleries or $galleries array]]></description>
3420
- <long-description><![CDATA[]]></long-description>
3421
- <tag line="749" name="since" description="0.70"/>
3422
- <tag line="749" name="param" description="name of the gallery's cache/option variable" type="string" variable="$option_name">
3423
- <type by_reference="false">string</type>
3424
- </tag>
3425
- <tag line="749" name="param" description="by reference to the private static galleries array variable" type="array" variable="$galleries_array">
3426
- <type by_reference="false">array</type>
3427
- </tag>
3428
- <tag line="749" name="param" description="the shortcode to be searched for and processed" type="string" variable="$shortcode">
3429
- <type by_reference="false">string</type>
3430
- </tag>
3431
- <tag line="749" name="param" description="true to exclude revisions from the search" type="boolean" variable="$exclude_revisions">
3432
- <type by_reference="false">boolean</type>
3433
- </tag>
3434
- <tag line="749" name="return" description="true if the galleries array is not empty" type="boolean">
3435
- <type by_reference="false">boolean</type>
3436
- </tag>
3437
- </docblock>
3438
- <argument line="761">
3439
- <name>$option_name</name>
3440
- <default><![CDATA[]]></default>
3441
- <type/>
3442
- </argument>
3443
- <argument line="761">
3444
- <name>$galleries_array</name>
3445
- <default><![CDATA[]]></default>
3446
- <type/>
3447
- </argument>
3448
- <argument line="761">
3449
- <name>$shortcode</name>
3450
- <default><![CDATA[]]></default>
3451
- <type/>
3452
- </argument>
3453
- <argument line="761">
3454
- <name>$exclude_revisions</name>
3455
- <default><![CDATA[]]></default>
3456
- <type/>
3457
- </argument>
3458
- </method>
3459
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="888" package="Media Library Assistant">
3460
- <name>_search_mla_galleries</name>
3461
- <full_name>_search_mla_galleries</full_name>
3462
- <docblock line="877">
3463
- <description><![CDATA[Search the $mla_galleries or $galleries array]]></description>
3464
- <long-description><![CDATA[]]></long-description>
3465
- <tag line="877" name="since" description="0.70"/>
3466
- <tag line="877" name="param" description="by reference to the private static galleries array variable" type="array" variable="$galleries_array">
3467
- <type by_reference="false">array</type>
3468
- </tag>
3469
- <tag line="877" name="param" description="the attachment ID to be searched for and processed" type="int" variable="$attachment_id">
3470
- <type by_reference="false">int</type>
3471
- </tag>
3472
- <tag line="877" name="return" description="All posts/pages with one or more galleries that include the attachment. The array key is the parent_post ID; each entry contains post_title and post_type." type="array">
3473
- <type by_reference="false">array</type>
3474
- </tag>
3475
- </docblock>
3476
- <argument line="888">
3477
- <name>$galleries_array</name>
3478
- <default><![CDATA[]]></default>
3479
- <type/>
3480
- </argument>
3481
- <argument line="888">
3482
- <name>$attachment_id</name>
3483
- <default><![CDATA[]]></default>
3484
- <type/>
3485
- </argument>
3486
- </method>
3487
- </class>
3488
- </file>
3489
- <file path="includes\class-mla-data-source.php" hash="a5deb6fa1c26f0d605029f837f808f50" package="Media Library Assistant">
3490
- <docblock line="2">
3491
- <description><![CDATA[Manages access to data sources for custom field mapping and shortcode execution]]></description>
3492
- <long-description><![CDATA[]]></long-description>
3493
- <tag line="2" name="package" description="Media Library Assistant"/>
3494
- <tag line="2" name="since" description="2.20"/>
3495
- </docblock>
3496
- <class final="false" abstract="false" namespace="global" line="16" package="Media Library Assistant">
3497
- <extends/>
3498
- <name>MLAData_source</name>
3499
- <full_name>\MLAData_source</full_name>
3500
- <docblock line="9">
3501
- <description><![CDATA[Class MLA (Media Library Assistant) Data SOurce manages data sources for
3502
- custom field mapping and shortcode execution]]></description>
3503
- <long-description><![CDATA[]]></long-description>
3504
- <tag line="9" name="package" description="Media Library Assistant"/>
3505
- <tag line="9" name="since" description="2.20"/>
3506
- </docblock>
3507
- <property final="false" static="true" visibility="public" line="24" namespace="global" package="Media Library Assistant">
3508
- <name>$custom_field_data_sources</name>
3509
- <default><![CDATA[array('post_id', 'post_author', 'post_date', 'post_date_gmt', 'post_content', 'post_title', 'post_excerpt', 'post_status', 'comment_status', 'ping_status', 'post_name', 'post_modified', 'post_modified_gmt', 'post_content_filtered', 'parent', 'post_parent', 'guid', 'menu_order', 'mime_type', 'post_mime_type', 'comment_count', 'alt_text', 'absolute_path', 'absolute_file_name', 'base_file', 'path', 'file_name', 'name_only', 'extension', 'file_size', 'upload_date', 'dimensions', 'pixels', 'width', 'height', 'orientation', 'hwstring_small', 'size_keys', 'size_names', 'size_bytes', 'size_pixels', 'size_dimensions', 'size_name[size]', 'size_bytes[size]', 'size_pixels[size]', 'size_dimensions[size]', 'parent_date', 'parent_type', 'parent_title', 'parent_issues', 'reference_issues', 'featured_in', 'featured_in_title', 'inserted_in', 'inserted_in_title', 'gallery_in', 'gallery_in_title', 'mla_gallery_in', 'mla_gallery_in_title', 'aperture', 'credit', 'camera', 'caption', 'created_timestamp', 'copyright', 'focal_length', 'iso', 'shutter_speed', 'title')]]></default>
3510
- <docblock line="17">
3511
- <description><![CDATA[Array of Data Source names for custom field mapping]]></description>
3512
- <long-description><![CDATA[]]></long-description>
3513
- <tag line="17" name="since" description="2.20"/>
3514
- <tag line="17" name="var" description="" type="array">
3515
- <type by_reference="false">array</type>
3516
- </tag>
3517
- </docblock>
3518
- </property>
3519
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="112" package="Media Library Assistant">
3520
- <name>mla_is_data_source</name>
3521
- <full_name>mla_is_data_source</full_name>
3522
- <docblock line="100">
3523
- <description><![CDATA[Identify custom field mapping data source]]></description>
3524
- <long-description><![CDATA[<p>Determines whether a name matches any of the element-level data source dropdown options, i.e.,
3525
- excludes "template:" and "meta:" values.</p>]]></long-description>
3526
- <tag line="100" name="since" description="2.20"/>
3527
- <tag line="100" name="param" description="candidate data source name" type="string" variable="$candidate_name">
3528
- <type by_reference="false">string</type>
3529
- </tag>
3530
- <tag line="100" name="return" description="true if candidate name matches a data source" type="boolean">
3531
- <type by_reference="false">boolean</type>
3532
- </tag>
3533
- </docblock>
3534
- <argument line="112">
3535
- <name>$candidate_name</name>
3536
- <default><![CDATA[]]></default>
3537
- <type/>
3538
- </argument>
3539
- </method>
3540
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="150" package="Media Library Assistant">
3541
- <name>mla_get_data_source</name>
3542
- <full_name>mla_get_data_source</full_name>
3543
- <docblock line="135">
3544
- <description><![CDATA[Get IPTC/EXIF or custom field mapping data source]]></description>
3545
- <long-description><![CDATA[<p>Defined as public so MLA Mapping Hooks clients can call it.
3546
- Isolates clients from changes to _evaluate_data_source().</p>]]></long-description>
3547
- <tag line="135" name="since" description="2.20"/>
3548
- <tag line="135" name="param" description="post-&gt;ID of attachment" type="integer" variable="$post_id">
3549
- <type by_reference="false">integer</type>
3550
- </tag>
3551
- <tag line="135" name="param" description="category/scope to evaluate against: custom_field_mapping or single_attachment_mapping" type="string" variable="$category">
3552
- <type by_reference="false">string</type>
3553
- </tag>
3554
- <tag line="135" name="param" description="data source specification ( name, *data_source, *keep_existing, *format, mla_column, quick_edit, bulk_edit, *meta_name, *option, no_null )" type="array" variable="$data_value">
3555
- <type by_reference="false">array</type>
3556
- </tag>
3557
- <tag line="135" name="param" description="(optional) _wp_attachment_metadata, default NULL (use current postmeta database value)" type="array" variable="$attachment_metadata">
3558
- <type by_reference="false">array</type>
3559
- </tag>
3560
- <tag line="135" name="return" description="data source value" type="string|array">
3561
- <type by_reference="false">string</type>
3562
- <type by_reference="false">array</type>
3563
- </tag>
3564
- </docblock>
3565
- <argument line="150">
3566
- <name>$post_id</name>
3567
- <default><![CDATA[]]></default>
3568
- <type/>
3569
- </argument>
3570
- <argument line="150">
3571
- <name>$category</name>
3572
- <default><![CDATA[]]></default>
3573
- <type/>
3574
- </argument>
3575
- <argument line="150">
3576
- <name>$data_value</name>
3577
- <default><![CDATA[]]></default>
3578
- <type/>
3579
- </argument>
3580
- <argument line="150">
3581
- <name>$attachment_metadata</name>
3582
- <default><![CDATA[NULL]]></default>
3583
- <type/>
3584
- </argument>
3585
- </method>
3586
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="175" package="Media Library Assistant">
3587
- <name>_evaluate_file_information</name>
3588
- <full_name>_evaluate_file_information</full_name>
3589
- <docblock line="163">
3590
- <description><![CDATA[Evaluate file information for custom field mapping]]></description>
3591
- <long-description><![CDATA[]]></long-description>
3592
- <tag line="163" name="since" description="2.20"/>
3593
- <tag line="163" name="param" description="absolute path the the uploads base directory" type="string" variable="$upload_dir">
3594
- <type by_reference="false">string</type>
3595
- </tag>
3596
- <tag line="163" name="param" description="_wp_attached_file meta_value array, indexed by post_id" type="array" variable="$wp_attached_files">
3597
- <type by_reference="false">array</type>
3598
- </tag>
3599
- <tag line="163" name="param" description="_wp_attachment_metadata meta_value array, indexed by post_id" type="array" variable="$wp_attachment_metadata">
3600
- <type by_reference="false">array</type>
3601
- </tag>
3602
- <tag line="163" name="param" description="post-&gt;ID of attachment" type="integer" variable="$post_id">
3603
- <type by_reference="false">integer</type>
3604
- </tag>
3605
- <tag line="163" name="return" description="absolute_path_raw, absolute_path, absolute_file_name_raw, absolute_file_name, absolute_file, base_file, path, file_name, extension, dimensions, width, height, hwstring_small, array of intermediate sizes" type="array">
3606
- <type by_reference="false">array</type>
3607
- </tag>
3608
- </docblock>
3609
- <argument line="175">
3610
- <name>$upload_dir</name>
3611
- <default><![CDATA[]]></default>
3612
- <type/>
3613
- </argument>
3614
- <argument line="175">
3615
- <name>$wp_attached_files</name>
3616
- <default><![CDATA[]]></default>
3617
- <type/>
3618
- </argument>
3619
- <argument line="175">
3620
- <name>$wp_attachment_metadata</name>
3621
- <default><![CDATA[]]></default>
3622
- <type/>
3623
- </argument>
3624
- <argument line="175">
3625
- <name>$post_id</name>
3626
- <default><![CDATA[]]></default>
3627
- <type/>
3628
- </argument>
3629
- </method>
3630
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="269" package="Media Library Assistant">
3631
- <name>_evaluate_post_information</name>
3632
- <full_name>_evaluate_post_information</full_name>
3633
- <docblock line="258">
3634
- <description><![CDATA[Evaluate post information for custom field mapping]]></description>
3635
- <long-description><![CDATA[]]></long-description>
3636
- <tag line="258" name="since" description="2.20"/>
3637
- <tag line="258" name="param" description="post-&gt;ID of attachment" type="integer" variable="$post_id">
3638
- <type by_reference="false">integer</type>
3639
- </tag>
3640
- <tag line="258" name="param" description="category/scope to evaluate against: custom_field_mapping or single_attachment_mapping" type="string" variable="$category">
3641
- <type by_reference="false">string</type>
3642
- </tag>
3643
- <tag line="258" name="param" description="data source name ( post_date or post_parent )" type="string" variable="$data_source">
3644
- <type by_reference="false">string</type>
3645
- </tag>
3646
- <tag line="258" name="return" description="(string)/'' or (integer)/0 depending on $data_source type" type="mixed">
3647
- <type by_reference="false">mixed</type>
3648
- </tag>
3649
- </docblock>
3650
- <argument line="269">
3651
- <name>$post_id</name>
3652
- <default><![CDATA[]]></default>
3653
- <type/>
3654
- </argument>
3655
- <argument line="269">
3656
- <name>$category</name>
3657
- <default><![CDATA[]]></default>
3658
- <type/>
3659
- </argument>
3660
- <argument line="269">
3661
- <name>$data_source</name>
3662
- <default><![CDATA[]]></default>
3663
- <type/>
3664
- </argument>
3665
- </method>
3666
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="329" package="Media Library Assistant">
3667
- <name>_evaluate_array_result</name>
3668
- <full_name>_evaluate_array_result</full_name>
3669
- <docblock line="318">
3670
- <description><![CDATA[Evaluate post information for custom field mapping]]></description>
3671
- <long-description><![CDATA[]]></long-description>
3672
- <tag line="318" name="since" description="2.20"/>
3673
- <tag line="318" name="param" description="field value(s)" type="array" variable="$value">
3674
- <type by_reference="false">array</type>
3675
- </tag>
3676
- <tag line="318" name="param" description="format option text|single|export|array|multi" type="string" variable="$option">
3677
- <type by_reference="false">string</type>
3678
- </tag>
3679
- <tag line="318" name="param" description="keep existing value(s) - for 'multi' option" type="boolean" variable="$keep_existing">
3680
- <type by_reference="false">boolean</type>
3681
- </tag>
3682
- <tag line="318" name="return" description="array for option = array|multi else string" type="mixed">
3683
- <type by_reference="false">mixed</type>
3684
- </tag>
3685
- </docblock>
3686
- <argument line="329">
3687
- <name>$value</name>
3688
- <default><![CDATA[]]></default>
3689
- <type/>
3690
- </argument>
3691
- <argument line="329">
3692
- <name>$option</name>
3693
- <default><![CDATA[]]></default>
3694
- <type/>
3695
- </argument>
3696
- <argument line="329">
3697
- <name>$keep_existing</name>
3698
- <default><![CDATA[]]></default>
3699
- <type/>
3700
- </argument>
3701
- </method>
3702
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="366" package="Media Library Assistant">
3703
- <name>_evaluate_data_source</name>
3704
- <full_name>_evaluate_data_source</full_name>
3705
- <docblock line="354">
3706
- <description><![CDATA[Evaluate custom field mapping data source]]></description>
3707
- <long-description><![CDATA[]]></long-description>
3708
- <tag line="354" name="since" description="2.20"/>
3709
- <tag line="354" name="param" description="post-&gt;ID of attachment" type="integer" variable="$post_id">
3710
- <type by_reference="false">integer</type>
3711
- </tag>
3712
- <tag line="354" name="param" description="category/scope to evaluate against: custom_field_mapping or single_attachment_mapping" type="string" variable="$category">
3713
- <type by_reference="false">string</type>
3714
- </tag>
3715
- <tag line="354" name="param" description="data source specification ( name, *data_source, *keep_existing, *format, mla_column, quick_edit, bulk_edit, *meta_name, *option, no_null )" type="array" variable="$data_value">
3716
- <type by_reference="false">array</type>
3717
- </tag>
3718
- <tag line="354" name="param" description="(optional) _wp_attachment_metadata, default NULL (use current postmeta database value)" type="array" variable="$attachment_metadata">
3719
- <type by_reference="false">array</type>
3720
- </tag>
3721
- <tag line="354" name="return" description="data source value" type="string|array">
3722
- <type by_reference="false">string</type>
3723
- <type by_reference="false">array</type>
3724
- </tag>
3725
- </docblock>
3726
- <argument line="366">
3727
- <name>$post_id</name>
3728
- <default><![CDATA[]]></default>
3729
- <type/>
3730
- </argument>
3731
- <argument line="366">
3732
- <name>$category</name>
3733
- <default><![CDATA[]]></default>
3734
- <type/>
3735
- </argument>
3736
- <argument line="366">
3737
- <name>$data_value</name>
3738
- <default><![CDATA[]]></default>
3739
- <type/>
3740
- </argument>
3741
- <argument line="366">
3742
- <name>$attachment_metadata</name>
3743
- <default><![CDATA[NULL]]></default>
3744
- <type/>
3745
- </argument>
3746
- </method>
3747
- </class>
3748
- </file>
3749
- <file path="includes\class-mla-data.php" hash="103aefd80712f51853f9e9e1b4896063" package="Media Library Assistant">
3750
- <docblock line="2">
3751
- <description><![CDATA[Database and template file access for MLA needs]]></description>
3752
- <long-description><![CDATA[]]></long-description>
3753
- <tag line="2" name="package" description="Media Library Assistant"/>
3754
- <tag line="2" name="since" description="0.1"/>
3755
- </docblock>
3756
- <include line="2917" type="Require" package="Media Library Assistant">
3757
- <name/>
3758
- </include>
3759
- <include line="3018" type="Require Once" package="Media Library Assistant">
3760
- <name/>
3761
- </include>
3762
- <class final="false" abstract="false" namespace="global" line="18" package="Media Library Assistant">
3763
- <extends/>
3764
- <name>MLAData</name>
3765
- <full_name>\MLAData</full_name>
3766
- <docblock line="9">
3767
- <description><![CDATA[Class MLA (Media Library Assistant) Data provides database and template file access for MLA needs]]></description>
3768
- <long-description><![CDATA[<p>The _template functions are inspired by the book "WordPress 3 Plugin Development Essentials."
3769
- Templates separate HTML markup from PHP code for easier maintenance and localization.</p>]]></long-description>
3770
- <tag line="9" name="package" description="Media Library Assistant"/>
3771
- <tag line="9" name="since" description="0.1"/>
3772
- </docblock>
3773
- <property final="false" static="true" visibility="public" line="1392" namespace="global" package="Media Library Assistant">
3774
- <name>$query_parameters</name>
3775
- <default><![CDATA[array()]]></default>
3776
- <docblock line="1377">
3777
- <description><![CDATA[WP_Query filter "parameters"]]></description>
3778
- <long-description><![CDATA[<p>This array defines parameters for the query's join, where and orderby filters.
3779
- The parameters are set up in the _prepare_list_table_query function, and
3780
- any further logic required to translate those values is contained in the filters.</p>
3781
-
3782
- <p>Array index values are: use_alt_text_view, use_postmeta_view, use_orderby_view,
3783
- alt_text_value, postmeta_key, postmeta_value, patterns, detached,
3784
- orderby, order, mla-metavalue, debug (also in search_parameters)</p>]]></long-description>
3785
- <tag line="1377" name="since" description="0.30"/>
3786
- <tag line="1377" name="var" description="" type="array">
3787
- <type by_reference="false">array</type>
3788
- </tag>
3789
- </docblock>
3790
- </property>
3791
- <property final="false" static="true" visibility="public" line="1420" namespace="global" package="Media Library Assistant">
3792
- <name>$search_parameters</name>
3793
- <default><![CDATA[array()]]></default>
3794
- <docblock line="1394">
3795
- <description><![CDATA[WP_Query 'posts_search' filter "parameters"]]></description>
3796
- <long-description><![CDATA[<p>This array defines parameters for the query's posts_search filter, which uses
3797
- 'search_string' to add a clause to the query's WHERE clause. It is shared between
3798
- the list_table-query functions here and the mla_get_shortcode_attachments function
3799
- in class-mla-shortcodes.php. This array passes the relevant parameters to the filter.</p>
3800
-
3801
- <p>Array index values are:
3802
- ['mla_terms_search']['phrases']
3803
- ['mla_terms_search']['taxonomies']
3804
- ['mla_terms_search']['radio_phrases'] => AND/OR
3805
- ['mla_terms_search']['radio_terms'] => AND/OR
3806
- ['s'] => numeric for ID/parent search
3807
- ['mla_search_fields'] => 'content', 'title', 'excerpt', 'alt-text', 'name', 'terms'
3808
- Note: 'alt-text' is not supported in [mla_gallery]
3809
- ['mla_search_connector'] => AND/OR
3810
- ['sentence'] => entire string must match as one "keyword"
3811
- ['exact'] => entire string must match entire field value
3812
- ['debug'] => internal element, console/log/shortcode/none
3813
- ['tax_terms_count'] => internal element, shared with JOIN and GROUP BY filters</p>]]></long-description>
3814
- <tag line="1394" name="since" description="2.00"/>
3815
- <tag line="1394" name="var" description="" type="array">
3816
- <type by_reference="false">array</type>
3817
- </tag>
3818
- </docblock>
3819
- </property>
3820
- <property final="false" static="true" visibility="public" line="2163" namespace="global" package="Media Library Assistant">
3821
- <name>$utf8_chars</name>
3822
- <default><![CDATA[array("\xC2\x80", "\xC2\x81", "\xC2\x82", "\xC2\x83", "\xC2\x84", "\xC2\x85", "\xC2\x86", "\xC2\x87", "\xC2\x88", "\xC2\x89", "\xC2\x8A", "\xC2\x8B", "\xC2\x8C", "\xC2\x8D", "\xC2\x8E", "\xC2\x8F", "\xC2\x90", "\xC2\x91", "\xC2\x92", "\xC2\x93", "\xC2\x94", "\xC2\x95", "\xC2\x96", "\xC2\x97", "\xC2\x98", "\xC2\x99", "\xC2\x9A", "\xC2\x9B", "\xC2\x9C", "\xC2\x9D", "\xC2\x9E", "\xC2\x9F", "\xC2\xA0", "\xC2\xA1", "\xC2\xA2", "\xC2\xA3", "\xC2\xA4", "\xC2\xA5", "\xC2\xA6", "\xC2\xA7", "\xC2\xA8", "\xC2\xA9", "\xC2\xAA", "\xC2\xAB", "\xC2\xAC", "\xC2\xAD", "\xC2\xAE", "\xC2\xAF", "\xC2\xB0", "\xC2\xB1", "\xC2\xB2", "\xC2\xB3", "\xC2\xB4", "\xC2\xB5", "\xC2\xB6", "\xC2\xB7", "\xC2\xB8", "\xC2\xB9", "\xC2\xBA", "\xC2\xBB", "\xC2\xBC", "\xC2\xBD", "\xC2\xBE", "\xC2\xBF", "\xC3\x80", "\xC3\x81", "\xC3\x82", "\xC3\x83", "\xC3\x84", "\xC3\x85", "\xC3\x86", "\xC3\x87", "\xC3\x88", "\xC3\x89", "\xC3\x8A", "\xC3\x8B", "\xC3\x8C", "\xC3\x8D", "\xC3\x8E", "\xC3\x8F", "\xC3\x90", "\xC3\x91", "\xC3\x92", "\xC3\x93", "\xC3\x94", "\xC3\x95", "\xC3\x96", "\xC3\x97", "\xC3\x98", "\xC3\x99", "\xC3\x9A", "\xC3\x9B", "\xC3\x9C", "\xC3\x9D", "\xC3\x9E", "\xC3\x9F", "\xC3\xA0", "\xC3\xA1", "\xC3\xA2", "\xC3\xA3", "\xC3\xA4", "\xC3\xA5", "\xC3\xA6", "\xC3\xA7", "\xC3\xA8", "\xC3\xA9", "\xC3\xAA", "\xC3\xAB", "\xC3\xAC", "\xC3\xAD", "\xC3\xAE", "\xC3\xAF", "\xC3\xB0", "\xC3\xB1", "\xC3\xB2", "\xC3\xB3", "\xC3\xB4", "\xC3\xB5", "\xC3\xB6", "\xC3\xB7", "\xC3\xB8", "\xC3\xB9", "\xC3\xBA", "\xC3\xBB", "\xC3\xBC", "\xC3\xBD", "\xC3\xBE", "\xC3\xBF")]]></default>
3823
- <docblock line="2156">
3824
- <description><![CDATA[UTF-8 replacements for invalid SQL characters]]></description>
3825
- <long-description><![CDATA[]]></long-description>
3826
- <tag line="2156" name="since" description="1.41"/>
3827
- <tag line="2156" name="var" description="" type="array">
3828
- <type by_reference="false">array</type>
3829
- </tag>
3830
- </docblock>
3831
- </property>
3832
- <property final="false" static="true" visibility="private" line="2223" namespace="global" package="Media Library Assistant">
3833
- <name>$mla_iptc_records</name>
3834
- <default><![CDATA[array("1#000" => "Model Version", "1#005" => "Destination", "1#020" => "File Format", "1#022" => "File Format Version", "1#030" => "Service Identifier", "1#040" => "Envelope Number", "1#050" => "Product ID", "1#060" => "Envelope Priority", "1#070" => "Date Sent", "1#080" => "Time Sent", "1#090" => "Coded Character Set", "1#100" => "UNO", "1#120" => "ARM Identifier", "1#122" => "ARM Version", "2#000" => "Record Version", "2#003" => "Object Type Reference", "2#004" => "Object Attribute Reference", "2#005" => "Object Name", "2#007" => "Edit Status", "2#008" => "Editorial Update", "2#010" => "Urgency", "2#012" => "Subject Reference", "2#015" => "Category", "2#020" => "Supplemental Category", "2#022" => "Fixture Identifier", "2#025" => "Keywords", "2#026" => "Content Location Code", "2#027" => "Content Location Name", "2#030" => "Release Date", "2#035" => "Release Time", "2#037" => "Expiration Date", "2#038" => "Expiration Time", "2#040" => "Special Instructions", "2#042" => "Action Advised", "2#045" => "Reference Service", "2#047" => "Reference Date", "2#050" => "Reference Number", "2#055" => "Date Created", "2#060" => "Time Created", "2#062" => "Digital Creation Date", "2#063" => "Digital Creation Time", "2#065" => "Originating Program", "2#070" => "Program Version", "2#075" => "Object Cycle", "2#080" => "By-line", "2#085" => "By-line Title", "2#090" => "City", "2#092" => "Sub-location", "2#095" => "Province or State", "2#100" => "Country or Primary Location Code", "2#101" => "Country or Primary Location Name", "2#103" => "Original Transmission Reference", "2#105" => "Headline", "2#110" => "Credit", "2#115" => "Source", "2#116" => "Copyright Notice", "2#118" => "Contact", "2#120" => "Caption or Abstract", "2#122" => "Caption Writer or Editor", "2#125" => "Rasterized Caption", "2#130" => "Image Type", "2#131" => "Image Orientation", "2#135" => "Language Identifier", "2#150" => "Audio Type", "2#151" => "Audio Sampling Rate", "2#152" => "Audio Sampling Resolution", "2#153" => "Audio Duration", "2#154" => "Audio Outcue", "2#200" => "ObjectData Preview File Format", "2#201" => "ObjectData Preview File Format Version", "2#202" => "ObjectData Preview Data", "7#010" => "Size Mode", "7#020" => "Max Subfile Size", "7#090" => "ObjectData Size Announced", "7#095" => "Maximum ObjectData Size", "8#010" => "Subfile", "9#010" => "Confirmed ObjectData Size")]]></default>
3835
- <docblock line="2213">
3836
- <description><![CDATA[IPTC Dataset identifiers and names]]></description>
3837
- <long-description><![CDATA[<p>This array contains the identifiers and names of Datasets defined in
3838
- the "IPTC-NAA Information Interchange Model Version No. 4.1".</p>]]></long-description>
3839
- <tag line="2213" name="since" description="0.90"/>
3840
- <tag line="2213" name="var" description="" type="array">
3841
- <type by_reference="false">array</type>
3842
- </tag>
3843
- </docblock>
3844
- </property>
3845
- <property final="false" static="true" visibility="public" line="2322" namespace="global" package="Media Library Assistant">
3846
- <name>$mla_iptc_keys</name>
3847
- <default><![CDATA[array('model-version' => '1#000', 'destination' => '1#005', 'file-format' => '1#020', 'file-format-version' => '1#022', 'service-identifier' => '1#030', 'envelope-number' => '1#040', 'product-id' => '1#050', 'envelope-priority' => '1#060', 'date-sent' => '1#070', 'time-sent' => '1#080', 'coded-character-set' => '1#090', 'uno' => '1#100', 'arm-identifier' => '1#120', 'arm-version' => '1#122', 'record-version' => '2#000', 'object-type-reference' => '2#003', 'object-attribute-reference' => '2#004', 'object-name' => '2#005', 'edit-status' => '2#007', 'editorial-update' => '2#008', 'urgency' => '2#010', 'subject-reference' => '2#012', 'category' => '2#015', 'supplemental-category' => '2#020', 'fixture-identifier' => '2#022', 'keywords' => '2#025', 'content-location-code' => '2#026', 'content-location-name' => '2#027', 'release-date' => '2#030', 'release-time' => '2#035', 'expiration-date' => '2#037', 'expiration-time' => '2#038', 'special-instructions' => '2#040', 'action-advised' => '2#042', 'reference-service' => '2#045', 'reference-date' => '2#047', 'reference-number' => '2#050', 'date-created' => '2#055', 'time-created' => '2#060', 'digital-creation-date' => '2#062', 'digital-creation-time' => '2#063', 'originating-program' => '2#065', 'program-version' => '2#070', 'object-cycle' => '2#075', 'by-line' => '2#080', 'by-line-title' => '2#085', 'city' => '2#090', 'sub-location' => '2#092', 'province-or-state' => '2#095', 'country-or-primary-location-code' => '2#100', 'country-or-primary-location-name' => '2#101', 'original-transmission-reference' => '2#103', 'headline' => '2#105', 'credit' => '2#110', 'source' => '2#115', 'copyright-notice' => '2#116', 'contact' => '2#118', 'caption-or-abstract' => '2#120', 'caption-writer-or-editor' => '2#122', 'rasterized-caption' => '2#125', 'image-type' => '2#130', 'image-orientation' => '2#131', 'language-identifier' => '2#135', 'audio-type' => '2#150', 'audio-sampling-rate' => '2#151', 'audio-sampling-resolution' => '2#152', 'audio-duration' => '2#153', 'audio-outcue' => '2#154', 'objectdata-preview-file-format' => '2#200', 'objectdata-preview-file-format-version' => '2#201', 'objectdata-preview-data' => '2#202', 'size-mode' => '7#010', 'max-subfile-size' => '7#020', 'objectdata-size-announced' => '7#090', 'maximum-objectdata-size' => '7#095', 'subfile' => '8#010', 'confirmed-objectdata-size' => '9#010')]]></default>
3848
- <docblock line="2312">
3849
- <description><![CDATA[IPTC Dataset friendly name/slug and identifiers]]></description>
3850
- <long-description><![CDATA[<p>This array contains the sanitized names and identifiers of Datasets defined in
3851
- the "IPTC-NAA Information Interchange Model Version No. 4.1".</p>]]></long-description>
3852
- <tag line="2312" name="since" description="0.90"/>
3853
- <tag line="2312" name="var" description="" type="array">
3854
- <type by_reference="false">array</type>
3855
- </tag>
3856
- </docblock>
3857
- </property>
3858
- <property final="false" static="true" visibility="private" line="2421" namespace="global" package="Media Library Assistant">
3859
- <name>$mla_iptc_descriptions</name>
3860
- <default><![CDATA[array("1#000" => "2 octet binary IIM version number", "1#005" => "Max 1024 characters of Destination (ISO routing information); repeatable", "1#020" => "2 octet binary file format number, see IPTC-NAA V4 Appendix A", "1#022" => "2 octet binary file format version number", "1#030" => "Max 10 characters of Service Identifier and product", "1#040" => "8 Character Envelope Number", "1#050" => "Max 32 characters subset of provider's overall service; repeatable", "1#060" => "1 numeric character of envelope handling priority (not urgency)", "1#070" => "8 numeric characters of Date Sent by service - CCYYMMDD", "1#080" => "11 characters of Time Sent by service - HHMMSS±HHMM", "1#090" => "Max 32 characters of control functions, etc.", "1#100" => "14 to 80 characters of eternal, globally unique identification for objects", "1#120" => "2 octet binary Abstract Relationship Model Identifier", "1#122" => "2 octet binary Abstract Relationship Model Version", "2#000" => "2 octet binary Information Interchange Model, Part II version number", "2#003" => "3 to 67 Characters of Object Type Reference number and optional text", "2#004" => "3 to 67 Characters of Object Attribute Reference number and optional text; repeatable", "2#005" => "Max 64 characters of the object name or shorthand reference", "2#007" => "Max 64 characters of the status of the objectdata", "2#008" => "2 numeric characters of the type of update this object provides", "2#010" => "1 numeric character of the editorial urgency of content", "2#012" => "13 to 236 characters of a structured definition of the subject matter; repeatable", "2#015" => "Max 3 characters of the subject of the objectdata, DEPRECATED", "2#020" => "Max 32 characters (each) of further refinement of subject, DEPRECATED; repeatable", "2#022" => "Max 32 characters identifying recurring, predictable content", "2#025" => "Max 64 characters (each) of tags; repeatable", "2#026" => "3 characters of ISO3166 country code or IPTC-assigned code; repeatable", "2#027" => "Max 64 characters of publishable country/geographical location name; repeatable", "2#030" => "8 numeric characters of Release Date - CCYYMMDD", "2#035" => "11 characters of Release Time (earliest use) - HHMMSS±HHMM", "2#037" => "8 numeric characters of Expiration Date (latest use) - CCYYMDD", "2#038" => "11 characters of Expiration Time (latest use) - HHMMSS±HHMM", "2#040" => "Max 256 Characters of editorial instructions, e.g., embargoes and warnings", "2#042" => "2 numeric characters of type of action this object provides to a previous object", "2#045" => "Max 10 characters of the Service ID (1#030) of a prior envelope; repeatable", "2#047" => "8 numeric characters of prior envelope Reference Date (1#070) - CCYYMMDD; repeatable", "2#050" => "8 characters of prior envelope Reference Number (1#040); repeatable", "2#055" => "8 numeric characters of intellectual content Date Created - CCYYMMDD", "2#060" => "11 characters of intellectual content Time Created - HHMMSS±HHMM", "2#062" => "8 numeric characters of digital representation creation date - CCYYMMDD", "2#063" => "11 characters of digital representation creation time - HHMMSS±HHMM", "2#065" => "Max 32 characters of the program used to create the objectdata", "2#070" => "Program Version - Max 10 characters of the version of the program used to create the objectdata", "2#075" => "1 character where a=morning, p=evening, b=both", "2#080" => "Max 32 Characters of the name of the objectdata creator, e.g., the writer, photographer; repeatable", "2#085" => "Max 32 characters of the title of the objectdata creator; repeatable", "2#090" => "Max 32 Characters of the city of objectdata origin", "2#092" => "Max 32 Characters of the location within the city of objectdata origin", "2#095" => "Max 32 Characters of the objectdata origin Province or State", "2#100" => "3 characters of ISO3166 or IPTC-assigned code for Country of objectdata origin", "2#101" => "Max 64 characters of publishable country/geographical location name of objectdata origin", "2#103" => "Max 32 characters of a code representing the location of original transmission", "2#105" => "Max 256 Characters of a publishable entry providing a synopsis of the contents of the objectdata", "2#110" => "Max 32 Characters that identifies the provider of the objectdata (Vs the owner/creator)", "2#115" => "Max 32 Characters that identifies the original owner of the intellectual content", "2#116" => "Max 128 Characters that contains any necessary copyright notice", "2#118" => "Max 128 characters that identifies the person or organisation which can provide further background information; repeatable", "2#120" => "Max 2000 Characters of a textual description of the objectdata", "2#122" => "Max 32 Characters that the identifies the person involved in the writing, editing or correcting the objectdata or caption/abstract; repeatable", "2#125" => "7360 binary octets of the rasterized caption - 1 bit per pixel, 460x128-pixel image", "2#130" => "2 characters of color composition type and information", "2#131" => "1 alphabetic character indicating the image area layout - P=portrait, L=landscape, S=square", "2#135" => "2 or 3 aphabetic characters containing the major national language of the object, according to the ISO 639:1988 codes", "2#150" => "2 characters identifying monaural/stereo and exact type of audio content", "2#151" => "6 numeric characters representing the audio sampling rate in hertz (Hz)", "2#152" => "2 numeric characters representing the number of bits in each audio sample", "2#153" => "6 numeric characters of the Audio Duration - HHMMSS", "2#154" => "Max 64 characters of the content of the end of an audio objectdata", "2#200" => "2 octet binary file format of the ObjectData Preview", "2#201" => "2 octet binary particular version of the ObjectData Preview File Format", "2#202" => "Max 256000 binary octets containing the ObjectData Preview data", "7#010" => "1 numeric character - 0=objectdata size not known, 1=objectdata size known at beginning of transfer", "7#020" => "4 octet binary maximum subfile dataset(s) size", "7#090" => "4 octet binary objectdata size if known at beginning of transfer", "7#095" => "4 octet binary largest possible objectdata size", "8#010" => "Subfile DataSet containing the objectdata itself; repeatable", "9#010" => "4 octet binary total objectdata size")]]></default>
3861
- <docblock line="2411">
3862
- <description><![CDATA[IPTC Dataset descriptions]]></description>
3863
- <long-description><![CDATA[<p>This array contains the descriptions of Datasets defined in
3864
- the "IPTC-NAA Information Interchange Model Version No. 4.1".</p>]]></long-description>
3865
- <tag line="2411" name="since" description="0.90"/>
3866
- <tag line="2411" name="var" description="" type="array">
3867
- <type by_reference="false">array</type>
3868
- </tag>
3869
- </docblock>
3870
- </property>
3871
- <property final="false" static="true" visibility="private" line="2520" namespace="global" package="Media Library Assistant">
3872
- <name>$mla_iptc_formats</name>
3873
- <default><![CDATA[array(0 => "No ObjectData", 1 => "IPTC-NAA Digital Newsphoto Parameter Record", 2 => "IPTC7901 Recommended Message Format", 3 => "Tagged Image File Format (Adobe/Aldus Image data)", 4 => "Illustrator (Adobe Graphics data)", 5 => "AppleSingle (Apple Computer Inc)", 6 => "NAA 89-3 (ANPA 1312)", 7 => "MacBinary II", 8 => "IPTC Unstructured Character Oriented File Format (UCOFF)", 9 => "United Press International ANPA 1312 variant", 10 => "United Press International Down-Load Message", 11 => "JPEG File Interchange (JFIF)", 12 => "Photo-CD Image-Pac (Eastman Kodak)", 13 => "Microsoft Bit Mapped Graphics File [*.BMP]", 14 => "Digital Audio File [*.WAV] (Microsoft & Creative Labs)", 15 => "Audio plus Moving Video [*.AVI] (Microsoft)", 16 => "PC DOS/Windows Executable Files [*.COM][*.EXE]", 17 => "Compressed Binary File [*.ZIP] (PKWare Inc)", 18 => "Audio Interchange File Format AIFF (Apple Computer Inc)", 19 => "RIFF Wave (Microsoft Corporation)", 20 => "Freehand (Macromedia/Aldus)", 21 => "Hypertext Markup Language - HTML (The Internet Society)", 22 => "MPEG 2 Audio Layer 2 (Musicom), ISO/IEC", 23 => "MPEG 2 Audio Layer 3, ISO/IEC", 24 => "Portable Document File (*.PDF) Adobe", 25 => "News Industry Text Format (NITF)", 26 => "Tape Archive (*.TAR)", 27 => "Tidningarnas Telegrambyrå NITF version (TTNITF DTD)", 28 => "Ritzaus Bureau NITF version (RBNITF DTD)", 29 => "Corel Draw [*.CDR]")]]></default>
3874
- <docblock line="2510">
3875
- <description><![CDATA[IPTC file format identifiers and descriptions]]></description>
3876
- <long-description><![CDATA[<p>This array contains the file format identifiers and descriptions defined in
3877
- the "IPTC-NAA Information Interchange Model Version No. 4.1" for dataset 1#020.</p>]]></long-description>
3878
- <tag line="2510" name="since" description="0.90"/>
3879
- <tag line="2510" name="var" description="" type="array">
3880
- <type by_reference="false">array</type>
3881
- </tag>
3882
- </docblock>
3883
- </property>
3884
- <property final="false" static="true" visibility="private" line="2563" namespace="global" package="Media Library Assistant">
3885
- <name>$mla_iptc_image_types</name>
3886
- <default><![CDATA[array("M" => "Monochrome", "Y" => "Yellow Component", "M" => "Magenta Component", "C" => "Cyan Component", "K" => "Black Component", "R" => "Red Component", "G" => "Green Component", "B" => "Blue Component", "T" => "Text Only", "F" => "Full colour composite, frame sequential", "L" => "Full colour composite, line sequential", "P" => "Full colour composite, pixel sequential", "S" => "Full colour composite, special interleaving")]]></default>
3887
- <docblock line="2553">
3888
- <description><![CDATA[IPTC image type identifiers and descriptions]]></description>
3889
- <long-description><![CDATA[<p>This array contains the image type identifiers and descriptions defined in
3890
- the "IPTC-NAA Information Interchange Model Version No. 4.1" for dataset 2#130, octet 2.</p>]]></long-description>
3891
- <tag line="2553" name="since" description="0.90"/>
3892
- <tag line="2553" name="var" description="" type="array">
3893
- <type by_reference="false">array</type>
3894
- </tag>
3895
- </docblock>
3896
- </property>
3897
- <property final="false" static="true" visibility="private" line="2853" namespace="global" package="Media Library Assistant">
3898
- <name>$mla_IPTC_EXIF_errors</name>
3899
- <default><![CDATA[array()]]></default>
3900
- <docblock line="2845">
3901
- <description><![CDATA[Passes IPTC/EXIF parse errors between mla_IPTC_EXIF_error_handler
3902
- and mla_fetch_attachment_image_metadata]]></description>
3903
- <long-description><![CDATA[]]></long-description>
3904
- <tag line="2845" name="since" description="1.81"/>
3905
- <tag line="2845" name="var" description="" type="array">
3906
- <type by_reference="false">array</type>
3907
- </tag>
3908
- </docblock>
3909
- </property>
3910
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="24" package="Media Library Assistant">
3911
- <name>initialize</name>
3912
- <full_name>initialize</full_name>
3913
- <docblock line="19">
3914
- <description><![CDATA[Initialization function, similar to __construct()]]></description>
3915
- <long-description><![CDATA[]]></long-description>
3916
- <tag line="19" name="since" description="0.1"/>
3917
- </docblock>
3918
- </method>
3919
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="51" package="Media Library Assistant">
3920
- <name>mla_load_template</name>
3921
- <full_name>mla_load_template</full_name>
3922
- <docblock line="33">
3923
- <description><![CDATA[Load an HTML template from a file]]></description>
3924
- <long-description><![CDATA[<p>Loads a template to a string or a multi-part template to an array.
3925
- Multi-part templates are divided by comments of the form <!-- template="key" -->,
3926
- where "key" becomes the key part of the array.</p>]]></long-description>
3927
- <tag line="33" name="since" description="0.1"/>
3928
- <tag line="33" name="param" description="Complete path and/or name of the template file, option name or the raw template" type="string" variable="$source">
3929
- <type by_reference="false">string</type>
3930
- </tag>
3931
- <tag line="33" name="param" description="Optional type of template source; 'path', 'file' (default), 'option', 'string'" type="string" variable="$type">
3932
- <type by_reference="false">string</type>
3933
- </tag>
3934
- <tag line="33" name="return" description="string for files that do not contain template divider comments, array for files containing template divider comments, false if file or option does not exist, NULL if file could not be loaded." type="string|array|false|NULL">
3935
- <type by_reference="false">string</type>
3936
- <type by_reference="false">array</type>
3937
- <type by_reference="false">false</type>
3938
- <type by_reference="false">NULL</type>
3939
- </tag>
3940
- </docblock>
3941
- <argument line="51">
3942
- <name>$source</name>
3943
- <default><![CDATA[]]></default>
3944
- <type/>
3945
- </argument>
3946
- <argument line="51">
3947
- <name>$type</name>
3948
- <default><![CDATA['file']]></default>
3949
- <type/>
3950
- </argument>
3951
- </method>
3952
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="171" package="Media Library Assistant">
3953
- <name>_find_template_substring</name>
3954
- <full_name>_find_template_substring</full_name>
3955
- <docblock line="162">
3956
- <description><![CDATA[Find a complete template, balancing opening and closing delimiters]]></description>
3957
- <long-description><![CDATA[]]></long-description>
3958
- <tag line="162" name="since" description="1.50"/>
3959
- <tag line="162" name="param" description="A string possibly starting with '[+template:'" type="string" variable="$tpl">
3960
- <type by_reference="false">string</type>
3961
- </tag>
3962
- <tag line="162" name="return" description="'' or template string starting with '[+template:' and ending with the matching '+]'" type="string">
3963
- <type by_reference="false">string</type>
3964
- </tag>
3965
- </docblock>
3966
- <argument line="171">
3967
- <name>$tpl</name>
3968
- <default><![CDATA[]]></default>
3969
- <type/>
3970
- </argument>
3971
- </method>
3972
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="218" package="Media Library Assistant">
3973
- <name>mla_parse_array_template</name>
3974
- <full_name>mla_parse_array_template</full_name>
3975
- <docblock line="205">
3976
- <description><![CDATA[Expand a template, replacing placeholders with their values]]></description>
3977
- <long-description><![CDATA[<p>Will return an array of values if one or more of the placeholders returns an array.</p>]]></long-description>
3978
- <tag line="205" name="since" description="1.50"/>
3979
- <tag line="205" name="param" description="A formatting string containing [+placeholders+]" type="string" variable="$tpl">
3980
- <type by_reference="false">string</type>
3981
- </tag>
3982
- <tag line="205" name="param" description="An associative array containing keys and values e.g. array('key' =&gt; 'value')" type="array" variable="$markup_values">
3983
- <type by_reference="false">array</type>
3984
- </tag>
3985
- <tag line="205" name="return" description="string or array, depending on placeholder values. Placeholders corresponding to the keys of the markup_values will be replaced with their values." type="mixed">
3986
- <type by_reference="false">mixed</type>
3987
- </tag>
3988
- </docblock>
3989
- <argument line="218">
3990
- <name>$tpl</name>
3991
- <default><![CDATA[]]></default>
3992
- <type/>
3993
- </argument>
3994
- <argument line="218">
3995
- <name>$markup_values</name>
3996
- <default><![CDATA[]]></default>
3997
- <type/>
3998
- </argument>
3999
- </method>
4000
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="310" package="Media Library Assistant">
4001
- <name>mla_parse_template</name>
4002
- <full_name>mla_parse_template</full_name>
4003
- <docblock line="298">
4004
- <description><![CDATA[Expand a template, replacing placeholders with their values]]></description>
4005
- <long-description><![CDATA[<p>A simple parsing function for basic templating.</p>]]></long-description>
4006
- <tag line="298" name="since" description="0.1"/>
4007
- <tag line="298" name="param" description="A formatting string containing [+placeholders+]" type="string" variable="$tpl">
4008
- <type by_reference="false">string</type>
4009
- </tag>
4010
- <tag line="298" name="param" description="An associative array containing keys and values e.g. array('key' =&gt; 'value')" type="array" variable="$markup_values">
4011
- <type by_reference="false">array</type>
4012
- </tag>
4013
- <tag line="298" name="return" description="Placeholders corresponding to the keys of the markup_values will be replaced with their values." type="\strng">
4014
- <type by_reference="false">\strng</type>
4015
- </tag>
4016
- </docblock>
4017
- <argument line="310">
4018
- <name>$tpl</name>
4019
- <default><![CDATA[]]></default>
4020
- <type/>
4021
- </argument>
4022
- <argument line="310">
4023
- <name>$markup_values</name>
4024
- <default><![CDATA[]]></default>
4025
- <type/>
4026
- </argument>
4027
- </method>
4028
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="362" package="Media Library Assistant">
4029
- <name>_find_test_substring</name>
4030
- <full_name>_find_test_substring</full_name>
4031
- <docblock line="353">
4032
- <description><![CDATA[Find a complete (test) element, balancing opening and closing delimiters]]></description>
4033
- <long-description><![CDATA[]]></long-description>
4034
- <tag line="353" name="since" description="1.50"/>
4035
- <tag line="353" name="param" description="A string possibly starting with '('" type="string" variable="$tpl">
4036
- <type by_reference="false">string</type>
4037
- </tag>
4038
- <tag line="353" name="return" description="'' or template string starting with '(' and ending with the matching ')'" type="string">
4039
- <type by_reference="false">string</type>
4040
- </tag>
4041
- </docblock>
4042
- <argument line="362">
4043
- <name>$tpl</name>
4044
- <default><![CDATA[]]></default>
4045
- <type/>
4046
- </argument>
4047
- </method>
4048
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="404" package="Media Library Assistant">
4049
- <name>_parse_field_level_template</name>
4050
- <full_name>_parse_field_level_template</full_name>
4051
- <docblock line="395">
4052
- <description><![CDATA[Convert field-level "template:" string into its component parts]]></description>
4053
- <long-description><![CDATA[]]></long-description>
4054
- <tag line="395" name="since" description="1.50"/>
4055
- <tag line="395" name="param" description="Template content with string, test and choice elements" type="string" variable="$tpl">
4056
- <type by_reference="false">string</type>
4057
- </tag>
4058
- <tag line="395" name="return" description="( node =&gt; array( type =&gt; &quot;string | test | choice | template&quot;, length =&gt; bytes, value =&gt; string | node(s) ) )" type="array">
4059
- <type by_reference="false">array</type>
4060
- </tag>
4061
- </docblock>
4062
- <argument line="404">
4063
- <name>$tpl</name>
4064
- <default><![CDATA[]]></default>
4065
- <type/>
4066
- </argument>
4067
- </method>
4068
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="564" package="Media Library Assistant">
4069
- <name>_evaluate_template_array_node</name>
4070
- <full_name>_evaluate_template_array_node</full_name>
4071
- <docblock line="552">
4072
- <description><![CDATA[Analyze a field-level "template:" element, expanding Field-level Markup Substitution Parameters]]></description>
4073
- <long-description><![CDATA[<p>Will return an array of values if one or more of the placeholders returns an array.</p>]]></long-description>
4074
- <tag line="552" name="since" description="1.50"/>
4075
- <tag line="552" name="param" description="A field-level template element node" type="array" variable="$node">
4076
- <type by_reference="false">array</type>
4077
- </tag>
4078
- <tag line="552" name="param" description="An array of markup substitution values" type="array" variable="$markup_values">
4079
- <type by_reference="false">array</type>
4080
- </tag>
4081
- <tag line="552" name="return" description="string or array, depending on placeholder values. Placeholders corresponding to the keys of the markup_values will be replaced with their values." type="mixed">
4082
- <type by_reference="false">mixed</type>
4083
- </tag>
4084
- </docblock>
4085
- <argument line="564">
4086
- <name>$node</name>
4087
- <default><![CDATA[]]></default>
4088
- <type/>
4089
- </argument>
4090
- <argument line="564">
4091
- <name>$markup_values</name>
4092
- <default><![CDATA[array()]]></default>
4093
- <type/>
4094
- </argument>
4095
- </method>
4096
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="646" package="Media Library Assistant">
4097
- <name>_evaluate_template_node</name>
4098
- <full_name>_evaluate_template_node</full_name>
4099
- <docblock line="636">
4100
- <description><![CDATA[Analyze a field-level "template:" element, expanding Field-level Markup Substitution Parameters]]></description>
4101
- <long-description><![CDATA[]]></long-description>
4102
- <tag line="636" name="since" description="1.50"/>
4103
- <tag line="636" name="param" description="A field-level template element node" type="array" variable="$node">
4104
- <type by_reference="false">array</type>
4105
- </tag>
4106
- <tag line="636" name="param" description="An array of markup substitution values" type="array" variable="$markup_values">
4107
- <type by_reference="false">array</type>
4108
- </tag>
4109
- <tag line="636" name="return" description="String with expanded values, if any" type="string">
4110
- <type by_reference="false">string</type>
4111
- </tag>
4112
- </docblock>
4113
- <argument line="646">
4114
- <name>$node</name>
4115
- <default><![CDATA[]]></default>
4116
- <type/>
4117
- </argument>
4118
- <argument line="646">
4119
- <name>$markup_values</name>
4120
- <default><![CDATA[array()]]></default>
4121
- <type/>
4122
- </argument>
4123
- </method>
4124
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="709" package="Media Library Assistant">
4125
- <name>_expand_field_level_template</name>
4126
- <full_name>_expand_field_level_template</full_name>
4127
- <docblock line="698">
4128
- <description><![CDATA[Analyze a field-level "template:" element, expanding Field-level Markup Substitution Parameters]]></description>
4129
- <long-description><![CDATA[]]></long-description>
4130
- <tag line="698" name="since" description="1.50"/>
4131
- <tag line="698" name="param" description="A formatting string containing [+placeholders+]" type="string" variable="$tpl">
4132
- <type by_reference="false">string</type>
4133
- </tag>
4134
- <tag line="698" name="param" description="An array of markup substitution values" type="array" variable="$markup_values">
4135
- <type by_reference="false">array</type>
4136
- </tag>
4137
- <tag line="698" name="param" description="True to return array value(s), false to return a string" type="boolean" variable="$return_arrays">
4138
- <type by_reference="false">boolean</type>
4139
- </tag>
4140
- <tag line="698" name="return" description="Element with expanded string/array values, if any" type="mixed">
4141
- <type by_reference="false">mixed</type>
4142
- </tag>
4143
- </docblock>
4144
- <argument line="709">
4145
- <name>$tpl</name>
4146
- <default><![CDATA[]]></default>
4147
- <type/>
4148
- </argument>
4149
- <argument line="709">
4150
- <name>$markup_values</name>
4151
- <default><![CDATA[array()]]></default>
4152
- <type/>
4153
- </argument>
4154
- <argument line="709">
4155
- <name>$return_arrays</name>
4156
- <default><![CDATA[false]]></default>
4157
- <type/>
4158
- </argument>
4159
- </method>
4160
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="754" package="Media Library Assistant">
4161
- <name>_process_field_level_array</name>
4162
- <full_name>_process_field_level_array</full_name>
4163
- <docblock line="743">
4164
- <description><![CDATA[Process an markup field array value according to the supplied data-format option]]></description>
4165
- <long-description><![CDATA[]]></long-description>
4166
- <tag line="743" name="since" description="1.50"/>
4167
- <tag line="743" name="param" description="an array of scalar values" type="array" variable="$record">
4168
- <type by_reference="false">array</type>
4169
- </tag>
4170
- <tag line="743" name="param" description="data option; 'text'|'single'|'export'|'array'|'multi'" type="string" variable="$option">
4171
- <type by_reference="false">string</type>
4172
- </tag>
4173
- <tag line="743" name="param" description="Optional: for option 'multi', retain existing values" type="boolean" variable="$keep_existing">
4174
- <type by_reference="false">boolean</type>
4175
- </tag>
4176
- <tag line="743" name="return" description="( parameter =&gt; value ) for all field-level parameters and anything in $markup_values" type="array">
4177
- <type by_reference="false">array</type>
4178
- </tag>
4179
- </docblock>
4180
- <argument line="754">
4181
- <name>$record</name>
4182
- <default><![CDATA[]]></default>
4183
- <type/>
4184
- </argument>
4185
- <argument line="754">
4186
- <name>$option</name>
4187
- <default><![CDATA['text']]></default>
4188
- <type/>
4189
- </argument>
4190
- <argument line="754">
4191
- <name>$keep_existing</name>
4192
- <default><![CDATA[false]]></default>
4193
- <type/>
4194
- </argument>
4195
- </method>
4196
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="807" package="Media Library Assistant">
4197
- <name>_parse_arguments</name>
4198
- <full_name>_parse_arguments</full_name>
4199
- <docblock line="798">
4200
- <description><![CDATA[Process an argument list within a field-level parameter format specification]]></description>
4201
- <long-description><![CDATA[]]></long-description>
4202
- <tag line="798" name="since" description="2.02"/>
4203
- <tag line="798" name="param" description="arguments, e.g., ('d/m/Y H:i:s' , &quot;arg, \&quot; two&quot; ) without parens" type="string" variable="$argument_string">
4204
- <type by_reference="false">string</type>
4205
- </tag>
4206
- <tag line="798" name="return" description="individual arguments, e.g. array( 0 =&gt; 'd/m/Y H:i:s', 1 =&gt; 'arg, \&quot; two' )" type="array">
4207
- <type by_reference="false">array</type>
4208
- </tag>
4209
- </docblock>
4210
- <argument line="807">
4211
- <name>$argument_string</name>
4212
- <default><![CDATA[]]></default>
4213
- <type/>
4214
- </argument>
4215
- </method>
4216
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="888" package="Media Library Assistant">
4217
- <name>mla_apply_field_level_format</name>
4218
- <full_name>mla_apply_field_level_format</full_name>
4219
- <docblock line="878">
4220
- <description><![CDATA[Apply field-level format options to field-level content]]></description>
4221
- <long-description><![CDATA[]]></long-description>
4222
- <tag line="878" name="since" description="2.10"/>
4223
- <tag line="878" name="param" description="field-level content" type="string" variable="$value">
4224
- <type by_reference="false">string</type>
4225
- </tag>
4226
- <tag line="878" name="param" description="format code and aguments" type="array" variable="$args">
4227
- <type by_reference="false">array</type>
4228
- </tag>
4229
- <tag line="878" name="return" description="formatted field-level content" type="string">
4230
- <type by_reference="false">string</type>
4231
- </tag>
4232
- </docblock>
4233
- <argument line="888">
4234
- <name>$value</name>
4235
- <default><![CDATA[]]></default>
4236
- <type/>
4237
- </argument>
4238
- <argument line="888">
4239
- <name>$args</name>
4240
- <default><![CDATA[]]></default>
4241
- <type/>
4242
- </argument>
4243
- </method>
4244
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1003" package="Media Library Assistant">
4245
- <name>mla_expand_field_level_parameters</name>
4246
- <full_name>mla_expand_field_level_parameters</full_name>
4247
- <docblock line="985">
4248
- <description><![CDATA[Analyze a template, expanding Field-level Markup Substitution Parameters]]></description>
4249
- <long-description><![CDATA[<p>Field-level parameters must have one of the following prefix values:
4250
- template, request, query, custom, terms, meta, iptc, exif, xmp, pdf.
4251
- All but request and query require an attachment ID.</p>]]></long-description>
4252
- <tag line="985" name="since" description="1.50"/>
4253
- <tag line="985" name="param" description="A formatting string containing [+placeholders+]" type="string" variable="$tpl">
4254
- <type by_reference="false">string</type>
4255
- </tag>
4256
- <tag line="985" name="param" description="Optional: an array of values from the query, if any, e.g. shortcode parameters" type="array" variable="$query">
4257
- <type by_reference="false">array</type>
4258
- </tag>
4259
- <tag line="985" name="param" description="Optional: an array of values to add to the returned array" type="array" variable="$markup_values">
4260
- <type by_reference="false">array</type>
4261
- </tag>
4262
- <tag line="985" name="param" description="Optional: attachment ID for attachment-specific placeholders" type="integer" variable="$post_id">
4263
- <type by_reference="false">integer</type>
4264
- </tag>
4265
- <tag line="985" name="param" description="Optional: for option 'multi', retain existing values" type="boolean" variable="$keep_existing">
4266
- <type by_reference="false">boolean</type>
4267
- </tag>
4268
- <tag line="985" name="param" description="Optional: default option value" type="string" variable="$default_option">
4269
- <type by_reference="false">string</type>
4270
- </tag>
4271
- <tag line="985" name="return" description="( parameter =&gt; value ) for all field-level parameters and anything in $markup_values" type="array">
4272
- <type by_reference="false">array</type>
4273
- </tag>
4274
- </docblock>
4275
- <argument line="1003">
4276
- <name>$tpl</name>
4277
- <default><![CDATA[]]></default>
4278
- <type/>
4279
- </argument>
4280
- <argument line="1003">
4281
- <name>$query</name>
4282
- <default><![CDATA[NULL]]></default>
4283
- <type/>
4284
- </argument>
4285
- <argument line="1003">
4286
- <name>$markup_values</name>
4287
- <default><![CDATA[array()]]></default>
4288
- <type/>
4289
- </argument>
4290
- <argument line="1003">
4291
- <name>$post_id</name>
4292
- <default><![CDATA[0]]></default>
4293
- <type/>
4294
- </argument>
4295
- <argument line="1003">
4296
- <name>$keep_existing</name>
4297
- <default><![CDATA[false]]></default>
4298
- <type/>
4299
- </argument>
4300
- <argument line="1003">
4301
- <name>$default_option</name>
4302
- <default><![CDATA['text']]></default>
4303
- <type/>
4304
- </argument>
4305
- </method>
4306
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1266" package="Media Library Assistant">
4307
- <name>mla_get_template_placeholders</name>
4308
- <full_name>mla_get_template_placeholders</full_name>
4309
- <docblock line="1255">
4310
- <description><![CDATA[Analyze a template, returning an array of the placeholders it contains]]></description>
4311
- <long-description><![CDATA[]]></long-description>
4312
- <tag line="1255" name="since" description="0.90"/>
4313
- <tag line="1255" name="param" description="A formatting string containing [+placeholders+]" type="string" variable="$tpl">
4314
- <type by_reference="false">string</type>
4315
- </tag>
4316
- <tag line="1255" name="param" description="Optional: default option value" type="string" variable="$default_option">
4317
- <type by_reference="false">string</type>
4318
- </tag>
4319
- <tag line="1255" name="return" description="Placeholder information: each entry is an array with ['prefix'] =&gt; string, ['value'] =&gt; string, ['option'] =&gt; string 'text'|single'|'export'|'array'|'multi'" type="array">
4320
- <type by_reference="false">array</type>
4321
- </tag>
4322
- </docblock>
4323
- <argument line="1266">
4324
- <name>$tpl</name>
4325
- <default><![CDATA[]]></default>
4326
- <type/>
4327
- </argument>
4328
- <argument line="1266">
4329
- <name>$default_option</name>
4330
- <default><![CDATA['text']]></default>
4331
- <type/>
4332
- </argument>
4333
- </method>
4334
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1435" package="Media Library Assistant">
4335
- <name>mla_count_list_table_items</name>
4336
- <full_name>mla_count_list_table_items</full_name>
4337
- <docblock line="1422">
4338
- <description><![CDATA[Get the total number of attachment posts]]></description>
4339
- <long-description><![CDATA[<p>Compatibility shim for MLAQuery::mla_count_list_table_items</p>]]></long-description>
4340
- <tag line="1422" name="since" description="0.30"/>
4341
- <tag line="1422" name="param" description="Query variables, e.g., from $_REQUEST" type="array" variable="$request">
4342
- <type by_reference="false">array</type>
4343
- </tag>
4344
- <tag line="1422" name="param" description="(optional) number of rows to skip over to reach desired page" type="int" variable="$offset">
4345
- <type by_reference="false">int</type>
4346
- </tag>
4347
- <tag line="1422" name="param" description="(optional) number of rows on each page" type="int" variable="$count">
4348
- <type by_reference="false">int</type>
4349
- </tag>
4350
- <tag line="1422" name="return" description="Number of attachment posts" type="integer">
4351
- <type by_reference="false">integer</type>
4352
- </tag>
4353
- </docblock>
4354
- <argument line="1435">
4355
- <name>$request</name>
4356
- <default><![CDATA[]]></default>
4357
- <type/>
4358
- </argument>
4359
- <argument line="1435">
4360
- <name>$offset</name>
4361
- <default><![CDATA[NULL]]></default>
4362
- <type/>
4363
- </argument>
4364
- <argument line="1435">
4365
- <name>$count</name>
4366
- <default><![CDATA[NULL]]></default>
4367
- <type/>
4368
- </argument>
4369
- </method>
4370
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1452" package="Media Library Assistant">
4371
- <name>mla_query_list_table_items</name>
4372
- <full_name>mla_query_list_table_items</full_name>
4373
- <docblock line="1439">
4374
- <description><![CDATA[Retrieve attachment objects for list table display]]></description>
4375
- <long-description><![CDATA[<p>Compatibility shim for MLAQuery::mla_query_list_table_items</p>]]></long-description>
4376
- <tag line="1439" name="since" description="0.1"/>
4377
- <tag line="1439" name="param" description="query parameters from web page, usually found in $_REQUEST" type="array" variable="$request">
4378
- <type by_reference="false">array</type>
4379
- </tag>
4380
- <tag line="1439" name="param" description="number of rows to skip over to reach desired page" type="int" variable="$offset">
4381
- <type by_reference="false">int</type>
4382
- </tag>
4383
- <tag line="1439" name="param" description="number of rows on each page" type="int" variable="$count">
4384
- <type by_reference="false">int</type>
4385
- </tag>
4386
- <tag line="1439" name="return" description="attachment objects (posts) including parent data, meta data and references" type="array">
4387
- <type by_reference="false">array</type>
4388
- </tag>
4389
- </docblock>
4390
- <argument line="1452">
4391
- <name>$request</name>
4392
- <default><![CDATA[]]></default>
4393
- <type/>
4394
- </argument>
4395
- <argument line="1452">
4396
- <name>$offset</name>
4397
- <default><![CDATA[]]></default>
4398
- <type/>
4399
- </argument>
4400
- <argument line="1452">
4401
- <name>$count</name>
4402
- <default><![CDATA[]]></default>
4403
- <type/>
4404
- </argument>
4405
- </method>
4406
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1470" package="Media Library Assistant">
4407
- <name>mla_get_attachment_by_id</name>
4408
- <full_name>mla_get_attachment_by_id</full_name>
4409
- <docblock line="1456">
4410
- <description><![CDATA[Retrieve an Attachment array given a $post_id]]></description>
4411
- <long-description><![CDATA[<p>The (associative) array will contain every field that can be found in
4412
- the posts and postmeta tables, and all references to the attachment.</p>]]></long-description>
4413
- <tag line="1456" name="since" description="0.1"/>
4414
- <tag line="1456" name="uses" description="\global\$post" refers="\global\$post"/>
4415
- <tag line="1456" name="param" description="The ID of the attachment post" type="integer" variable="$post_id">
4416
- <type by_reference="false">integer</type>
4417
- </tag>
4418
- <tag line="1456" name="param" description="True to add references, false to skip references" type="boolean" variable="$add_references">
4419
- <type by_reference="false">boolean</type>
4420
- </tag>
4421
- <tag line="1456" name="return" description="NULL on failure else associative array" type="NULL|array">
4422
- <type by_reference="false">NULL</type>
4423
- <type by_reference="false">array</type>
4424
- </tag>
4425
- </docblock>
4426
- <argument line="1470">
4427
- <name>$post_id</name>
4428
- <default><![CDATA[]]></default>
4429
- <type/>
4430
- </argument>
4431
- <argument line="1470">
4432
- <name>$add_references</name>
4433
- <default><![CDATA[true]]></default>
4434
- <type/>
4435
- </argument>
4436
- </method>
4437
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="1528" package="Media Library Assistant">
4438
- <name>_set_array_element</name>
4439
- <full_name>_set_array_element</full_name>
4440
- <docblock line="1517">
4441
- <description><![CDATA[Adds or replaces the value of a key in a possibly nested array structure]]></description>
4442
- <long-description><![CDATA[]]></long-description>
4443
- <tag line="1517" name="since" description="1.51"/>
4444
- <tag line="1517" name="param" description="key value, e.g. array1.array2.element" type="string" variable="$needle">
4445
- <type by_reference="false">string</type>
4446
- </tag>
4447
- <tag line="1517" name="param" description="replacement value, string or array, by reference" type="mixed" variable="$value">
4448
- <type by_reference="false">mixed</type>
4449
- </tag>
4450
- <tag line="1517" name="param" description="PHP nested arrays, by reference" type="array" variable="$haystack">
4451
- <type by_reference="false">array</type>
4452
- </tag>
4453
- <tag line="1517" name="return" description="true if $needle element set, false if not" type="boolean">
4454
- <type by_reference="false">boolean</type>
4455
- </tag>
4456
- </docblock>
4457
- <argument line="1528">
4458
- <name>$needle</name>
4459
- <default><![CDATA[]]></default>
4460
- <type/>
4461
- </argument>
4462
- <argument line="1528">
4463
- <name>$value</name>
4464
- <default><![CDATA[]]></default>
4465
- <type/>
4466
- </argument>
4467
- <argument line="1528">
4468
- <name>$haystack</name>
4469
- <default><![CDATA[]]></default>
4470
- <type/>
4471
- </argument>
4472
- </method>
4473
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="1562" package="Media Library Assistant">
4474
- <name>_unset_array_element</name>
4475
- <full_name>_unset_array_element</full_name>
4476
- <docblock line="1552">
4477
- <description><![CDATA[Deletes the value of a key in a possibly nested array structure]]></description>
4478
- <long-description><![CDATA[]]></long-description>
4479
- <tag line="1552" name="since" description="1.51"/>
4480
- <tag line="1552" name="param" description="key value, e.g. array1.array2.element" type="string" variable="$needle">
4481
- <type by_reference="false">string</type>
4482
- </tag>
4483
- <tag line="1552" name="param" description="PHP nested arrays, by reference" type="array" variable="$haystack">
4484
- <type by_reference="false">array</type>
4485
- </tag>
4486
- <tag line="1552" name="return" description="true if $needle element found, false if not" type="boolean">
4487
- <type by_reference="false">boolean</type>
4488
- </tag>
4489
- </docblock>
4490
- <argument line="1562">
4491
- <name>$needle</name>
4492
- <default><![CDATA[]]></default>
4493
- <type/>
4494
- </argument>
4495
- <argument line="1562">
4496
- <name>$haystack</name>
4497
- <default><![CDATA[]]></default>
4498
- <type/>
4499
- </argument>
4500
- </method>
4501
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1597" package="Media Library Assistant">
4502
- <name>mla_find_array_element</name>
4503
- <full_name>mla_find_array_element</full_name>
4504
- <docblock line="1582">
4505
- <description><![CDATA[Finds the value of a key in a possibly nested array structure]]></description>
4506
- <long-description><![CDATA[<p>Used primarily to extract fields from the _wp_attachment_metadata custom field.
4507
- Also used with the audio/video ID3 metadata exposed in WordPress 3.6 and later.</p>]]></long-description>
4508
- <tag line="1582" name="since" description="1.30"/>
4509
- <tag line="1582" name="param" description="key value, e.g. array1.array2.element" type="string" variable="$needle">
4510
- <type by_reference="false">string</type>
4511
- </tag>
4512
- <tag line="1582" name="param" description="PHP nested arrays" type="array" variable="$haystack">
4513
- <type by_reference="false">array</type>
4514
- </tag>
4515
- <tag line="1582" name="param" description="data option; 'text'|'single'|'export'|'array'|'multi'" type="string" variable="$option">
4516
- <type by_reference="false">string</type>
4517
- </tag>
4518
- <tag line="1582" name="param" description="keep existing values - for 'multi' option" type="boolean" variable="$keep_existing">
4519
- <type by_reference="false">boolean</type>
4520
- </tag>
4521
- <tag line="1582" name="return" description="string or array value matching key(.key ...) or ''" type="mixed">
4522
- <type by_reference="false">mixed</type>
4523
- </tag>
4524
- </docblock>
4525
- <argument line="1597">
4526
- <name>$needle</name>
4527
- <default><![CDATA[]]></default>
4528
- <type/>
4529
- </argument>
4530
- <argument line="1597">
4531
- <name>$haystack</name>
4532
- <default><![CDATA[]]></default>
4533
- <type/>
4534
- </argument>
4535
- <argument line="1597">
4536
- <name>$option</name>
4537
- <default><![CDATA[]]></default>
4538
- <type/>
4539
- </argument>
4540
- <argument line="1597">
4541
- <name>$keep_existing</name>
4542
- <default><![CDATA[false]]></default>
4543
- <type/>
4544
- </argument>
4545
- </method>
4546
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1695" package="Media Library Assistant">
4547
- <name>mla_save_post_action</name>
4548
- <full_name>mla_save_post_action</full_name>
4549
- <docblock line="1686">
4550
- <description><![CDATA[Invalidates $mla_galleries and $galleries arrays and cached values after post, page or attachment updates]]></description>
4551
- <long-description><![CDATA[]]></long-description>
4552
- <tag line="1686" name="since" description="1.00"/>
4553
- <tag line="1686" name="param" description="ID of post/page/attachment; not used at this time" type="integer" variable="$post_id">
4554
- <type by_reference="false">integer</type>
4555
- </tag>
4556
- <tag line="1686" name="return" description="" type="void">
4557
- <type by_reference="false">void</type>
4558
- </tag>
4559
- </docblock>
4560
- <argument line="1695">
4561
- <name>$post_id</name>
4562
- <default><![CDATA[]]></default>
4563
- <type/>
4564
- </argument>
4565
- </method>
4566
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1709" package="Media Library Assistant">
4567
- <name>mla_parse_pdf_date</name>
4568
- <full_name>mla_parse_pdf_date</full_name>
4569
- <docblock line="1700">
4570
- <description><![CDATA[Parse a PDF date string]]></description>
4571
- <long-description><![CDATA[]]></long-description>
4572
- <tag line="1700" name="since" description="1.50"/>
4573
- <tag line="1700" name="param" description="PDF date string of the form D:YYYYMMDDHHmmSSOHH'mm" type="string" variable="$source_string">
4574
- <type by_reference="false">string</type>
4575
- </tag>
4576
- <tag line="1700" name="return" description="formatted date string YYYY-MM-DD HH:mm:SS" type="string">
4577
- <type by_reference="false">string</type>
4578
- </tag>
4579
- </docblock>
4580
- <argument line="1709">
4581
- <name>$source_string</name>
4582
- <default><![CDATA[]]></default>
4583
- <type/>
4584
- </argument>
4585
- </method>
4586
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="1732" package="Media Library Assistant">
4587
- <name>_parse_iso8601_date</name>
4588
- <full_name>_parse_iso8601_date</full_name>
4589
- <docblock line="1723">
4590
- <description><![CDATA[Parse a ISO 8601 Timestamp]]></description>
4591
- <long-description><![CDATA[]]></long-description>
4592
- <tag line="1723" name="since" description="1.50"/>
4593
- <tag line="1723" name="param" description="ISO string of the form YYYY-MM-DDTHH:MM:SS-HH:MM (inc time zone)" type="string" variable="$source_string">
4594
- <type by_reference="false">string</type>
4595
- </tag>
4596
- <tag line="1723" name="return" description="formatted date string YYYY-MM-DD HH:mm:SS" type="string">
4597
- <type by_reference="false">string</type>
4598
- </tag>
4599
- </docblock>
4600
- <argument line="1732">
4601
- <name>$source_string</name>
4602
- <default><![CDATA[]]></default>
4603
- <type/>
4604
- </argument>
4605
- </method>
4606
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="1755" package="Media Library Assistant">
4607
- <name>_parse_xmp_array</name>
4608
- <full_name>_parse_xmp_array</full_name>
4609
- <docblock line="1746">
4610
- <description><![CDATA[Parse an XMP array value, stripping namespace prefixes and Seq/Alt/Bag arrays]]></description>
4611
- <long-description><![CDATA[]]></long-description>
4612
- <tag line="1746" name="since" description="2.10"/>
4613
- <tag line="1746" name="param" description="XMP multi-valued element" type="array" variable="$values">
4614
- <type by_reference="false">array</type>
4615
- </tag>
4616
- <tag line="1746" name="return" description="Simplified array or string value" type="mixed">
4617
- <type by_reference="false">mixed</type>
4618
- </tag>
4619
- </docblock>
4620
- <argument line="1755">
4621
- <name>$values</name>
4622
- <default><![CDATA[]]></default>
4623
- <type/>
4624
- </argument>
4625
- </method>
4626
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="1801" package="Media Library Assistant">
4627
- <name>_nonempty_value</name>
4628
- <full_name>_nonempty_value</full_name>
4629
- <docblock line="1790">
4630
- <description><![CDATA[Search the namespace array for a non-empty value]]></description>
4631
- <long-description><![CDATA[]]></long-description>
4632
- <tag line="1790" name="since" description="2.10"/>
4633
- <tag line="1790" name="param" description="namespace array" type="array" variable="$namespace_array">
4634
- <type by_reference="false">array</type>
4635
- </tag>
4636
- <tag line="1790" name="param" description="namespace" type="string" variable="$namespace">
4637
- <type by_reference="false">string</type>
4638
- </tag>
4639
- <tag line="1790" name="param" description="key" type="string" variable="$key">
4640
- <type by_reference="false">string</type>
4641
- </tag>
4642
- <tag line="1790" name="return" description="trimmed value of the key within the namespace" type="string">
4643
- <type by_reference="false">string</type>
4644
- </tag>
4645
- </docblock>
4646
- <argument line="1801">
4647
- <name>$namespace_array</name>
4648
- <default><![CDATA[]]></default>
4649
- <type/>
4650
- </argument>
4651
- <argument line="1801">
4652
- <name>$namespace</name>
4653
- <default><![CDATA[]]></default>
4654
- <type/>
4655
- </argument>
4656
- <argument line="1801">
4657
- <name>$key</name>
4658
- <default><![CDATA[]]></default>
4659
- <type/>
4660
- </argument>
4661
- </method>
4662
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1830" package="Media Library Assistant">
4663
- <name>mla_parse_xmp_metadata</name>
4664
- <full_name>mla_parse_xmp_metadata</full_name>
4665
- <docblock line="1820">
4666
- <description><![CDATA[Extract XMP meta data from a file]]></description>
4667
- <long-description><![CDATA[]]></long-description>
4668
- <tag line="1820" name="since" description="2.10"/>
4669
- <tag line="1820" name="param" description="full path and file name" type="string" variable="$file_name">
4670
- <type by_reference="false">string</type>
4671
- </tag>
4672
- <tag line="1820" name="param" description="offset within the file of the search start point" type="integer" variable="$file_offset">
4673
- <type by_reference="false">integer</type>
4674
- </tag>
4675
- <tag line="1820" name="return" description="array of metadata values or NULL on failure" type="mixed">
4676
- <type by_reference="false">mixed</type>
4677
- </tag>
4678
- </docblock>
4679
- <argument line="1830">
4680
- <name>$file_name</name>
4681
- <default><![CDATA[]]></default>
4682
- <type/>
4683
- </argument>
4684
- <argument line="1830">
4685
- <name>$file_offset</name>
4686
- <default><![CDATA[]]></default>
4687
- <type/>
4688
- </argument>
4689
- </method>
4690
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="2191" package="Media Library Assistant">
4691
- <name>_bin_to_utf8</name>
4692
- <full_name>_bin_to_utf8</full_name>
4693
- <docblock line="2182">
4694
- <description><![CDATA[Replace SQL incorrect characters (0x80 - 0xFF) with their UTF-8 equivalents]]></description>
4695
- <long-description><![CDATA[]]></long-description>
4696
- <tag line="2182" name="since" description="1.41"/>
4697
- <tag line="2182" name="param" description="unencoded string" type="string" variable="$string">
4698
- <type by_reference="false">string</type>
4699
- </tag>
4700
- <tag line="2182" name="return" description="UTF-8 encoded string" type="string">
4701
- <type by_reference="false">string</type>
4702
- </tag>
4703
- </docblock>
4704
- <argument line="2191">
4705
- <name>$string</name>
4706
- <default><![CDATA[]]></default>
4707
- <type/>
4708
- </argument>
4709
- </method>
4710
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="2591" package="Media Library Assistant">
4711
- <name>mla_iptc_metadata_value</name>
4712
- <full_name>mla_iptc_metadata_value</full_name>
4713
- <docblock line="2579">
4714
- <description><![CDATA[Parse one IPTC metadata field]]></description>
4715
- <long-description><![CDATA[]]></long-description>
4716
- <tag line="2579" name="since" description="1.41"/>
4717
- <tag line="2579" name="param" description="field name - IPTC Identifier or friendly name/slug" type="string" variable="$iptc_key">
4718
- <type by_reference="false">string</type>
4719
- </tag>
4720
- <tag line="2579" name="param" description="metadata array containing iptc, exif, xmp and pdf metadata arrays" type="array" variable="$item_metadata">
4721
- <type by_reference="false">array</type>
4722
- </tag>
4723
- <tag line="2579" name="param" description="data option; 'text'|'single'|'export'|'array'|'multi'" type="string" variable="$option">
4724
- <type by_reference="false">string</type>
4725
- </tag>
4726
- <tag line="2579" name="param" description="Optional: for option 'multi', retain existing values" type="boolean" variable="$keep_existing">
4727
- <type by_reference="false">boolean</type>
4728
- </tag>
4729
- <tag line="2579" name="return" description="string/array representation of metadata value or an empty string" type="mixed">
4730
- <type by_reference="false">mixed</type>
4731
- </tag>
4732
- </docblock>
4733
- <argument line="2591">
4734
- <name>$iptc_key</name>
4735
- <default><![CDATA[]]></default>
4736
- <type/>
4737
- </argument>
4738
- <argument line="2591">
4739
- <name>$item_metadata</name>
4740
- <default><![CDATA[]]></default>
4741
- <type/>
4742
- </argument>
4743
- <argument line="2591">
4744
- <name>$option</name>
4745
- <default><![CDATA['text']]></default>
4746
- <type/>
4747
- </argument>
4748
- <argument line="2591">
4749
- <name>$keep_existing</name>
4750
- <default><![CDATA[false]]></default>
4751
- <type/>
4752
- </argument>
4753
- </method>
4754
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="2634" package="Media Library Assistant">
4755
- <name>mla_exif_metadata_value</name>
4756
- <full_name>mla_exif_metadata_value</full_name>
4757
- <docblock line="2620">
4758
- <description><![CDATA[Parse one EXIF metadata field]]></description>
4759
- <long-description><![CDATA[<p>Also handles the special pseudo-values 'ALL_EXIF' and 'ALL_IPTC'.</p>]]></long-description>
4760
- <tag line="2620" name="since" description="1.13"/>
4761
- <tag line="2620" name="param" description="field name" type="string" variable="$exif_key">
4762
- <type by_reference="false">string</type>
4763
- </tag>
4764
- <tag line="2620" name="param" description="metadata array containing iptc, exif, xmp and pdf metadata arrays" type="array" variable="$item_metadata">
4765
- <type by_reference="false">array</type>
4766
- </tag>
4767
- <tag line="2620" name="param" description="data option; 'text'|'single'|'export'|'array'|'multi'" type="string" variable="$option">
4768
- <type by_reference="false">string</type>
4769
- </tag>
4770
- <tag line="2620" name="param" description="Optional: for option 'multi', retain existing values" type="boolean" variable="$keep_existing">
4771
- <type by_reference="false">boolean</type>
4772
- </tag>
4773
- <tag line="2620" name="return" description="string/array representation of metadata value or an empty string" type="mixed">
4774
- <type by_reference="false">mixed</type>
4775
- </tag>
4776
- </docblock>
4777
- <argument line="2634">
4778
- <name>$exif_key</name>
4779
- <default><![CDATA[]]></default>
4780
- <type/>
4781
- </argument>
4782
- <argument line="2634">
4783
- <name>$item_metadata</name>
4784
- <default><![CDATA[]]></default>
4785
- <type/>
4786
- </argument>
4787
- <argument line="2634">
4788
- <name>$option</name>
4789
- <default><![CDATA['text']]></default>
4790
- <type/>
4791
- </argument>
4792
- <argument line="2634">
4793
- <name>$keep_existing</name>
4794
- <default><![CDATA[false]]></default>
4795
- <type/>
4796
- </argument>
4797
- </method>
4798
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="2687" package="Media Library Assistant">
4799
- <name>mla_xmp_metadata_value</name>
4800
- <full_name>mla_xmp_metadata_value</full_name>
4801
- <docblock line="2673">
4802
- <description><![CDATA[Parse one XMP metadata field]]></description>
4803
- <long-description><![CDATA[<p>Also handles the special pseudo-value 'ALL_XMP'.</p>]]></long-description>
4804
- <tag line="2673" name="since" description="2.10"/>
4805
- <tag line="2673" name="param" description="field name" type="string" variable="$xmp_key">
4806
- <type by_reference="false">string</type>
4807
- </tag>
4808
- <tag line="2673" name="param" description="XMP metadata array" type="array" variable="$xmp_metadata">
4809
- <type by_reference="false">array</type>
4810
- </tag>
4811
- <tag line="2673" name="param" description="data option; 'text'|'single'|'export'|'array'|'multi'" type="string" variable="$option">
4812
- <type by_reference="false">string</type>
4813
- </tag>
4814
- <tag line="2673" name="param" description="Optional: for option 'multi', retain existing values" type="boolean" variable="$keep_existing">
4815
- <type by_reference="false">boolean</type>
4816
- </tag>
4817
- <tag line="2673" name="return" description="string/array representation of metadata value or an empty string" type="mixed">
4818
- <type by_reference="false">mixed</type>
4819
- </tag>
4820
- </docblock>
4821
- <argument line="2687">
4822
- <name>$xmp_key</name>
4823
- <default><![CDATA[]]></default>
4824
- <type/>
4825
- </argument>
4826
- <argument line="2687">
4827
- <name>$xmp_metadata</name>
4828
- <default><![CDATA[]]></default>
4829
- <type/>
4830
- </argument>
4831
- <argument line="2687">
4832
- <name>$option</name>
4833
- <default><![CDATA['text']]></default>
4834
- <type/>
4835
- </argument>
4836
- <argument line="2687">
4837
- <name>$keep_existing</name>
4838
- <default><![CDATA[false]]></default>
4839
- <type/>
4840
- </argument>
4841
- </method>
4842
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="2722" package="Media Library Assistant">
4843
- <name>mla_id3_metadata_value</name>
4844
- <full_name>mla_id3_metadata_value</full_name>
4845
- <docblock line="2708">
4846
- <description><![CDATA[Parse one ID3 (audio/visual) metadata field]]></description>
4847
- <long-description><![CDATA[<p>Also handles the special pseudo-value 'ALL_ID3'.</p>]]></long-description>
4848
- <tag line="2708" name="since" description="2.13"/>
4849
- <tag line="2708" name="param" description="field name" type="string" variable="$id3_key">
4850
- <type by_reference="false">string</type>
4851
- </tag>
4852
- <tag line="2708" name="param" description="ID3 metadata array" type="array" variable="$id3_metadata">
4853
- <type by_reference="false">array</type>
4854
- </tag>
4855
- <tag line="2708" name="param" description="data option; 'text'|'single'|'export'|'array'|'multi'" type="string" variable="$option">
4856
- <type by_reference="false">string</type>
4857
- </tag>
4858
- <tag line="2708" name="param" description="Optional: for option 'multi', retain existing values" type="boolean" variable="$keep_existing">
4859
- <type by_reference="false">boolean</type>
4860
- </tag>
4861
- <tag line="2708" name="return" description="string/array representation of metadata value or an empty string" type="mixed">
4862
- <type by_reference="false">mixed</type>
4863
- </tag>
4864
- </docblock>
4865
- <argument line="2722">
4866
- <name>$id3_key</name>
4867
- <default><![CDATA[]]></default>
4868
- <type/>
4869
- </argument>
4870
- <argument line="2722">
4871
- <name>$id3_metadata</name>
4872
- <default><![CDATA[]]></default>
4873
- <type/>
4874
- </argument>
4875
- <argument line="2722">
4876
- <name>$option</name>
4877
- <default><![CDATA[]]></default>
4878
- <type/>
4879
- </argument>
4880
- <argument line="2722">
4881
- <name>$keep_existing</name>
4882
- <default><![CDATA[]]></default>
4883
- <type/>
4884
- </argument>
4885
- </method>
4886
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="2755" package="Media Library Assistant">
4887
- <name>mla_pdf_metadata_value</name>
4888
- <full_name>mla_pdf_metadata_value</full_name>
4889
- <docblock line="2743">
4890
- <description><![CDATA[Parse one PDF metadata field]]></description>
4891
- <long-description><![CDATA[<p>Also handles the special pseudo-value 'ALL_PDF'.</p>]]></long-description>
4892
- <tag line="2743" name="since" description="1.50"/>
4893
- <tag line="2743" name="param" description="field name" type="string" variable="$pdf_key">
4894
- <type by_reference="false">string</type>
4895
- </tag>
4896
- <tag line="2743" name="param" description="metadata array containing iptc, exif, xmp and pdf metadata arrays" type="string" variable="$item_metadata">
4897
- <type by_reference="false">string</type>
4898
- </tag>
4899
- <tag line="2743" name="return" description="string/array representation of metadata value or an empty string" type="mixed">
4900
- <type by_reference="false">mixed</type>
4901
- </tag>
4902
- </docblock>
4903
- <argument line="2755">
4904
- <name>$pdf_key</name>
4905
- <default><![CDATA[]]></default>
4906
- <type/>
4907
- </argument>
4908
- <argument line="2755">
4909
- <name>$item_metadata</name>
4910
- <default><![CDATA[]]></default>
4911
- <type/>
4912
- </argument>
4913
- </method>
4914
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="2799" package="Media Library Assistant">
4915
- <name>_rational_to_decimal</name>
4916
- <full_name>_rational_to_decimal</full_name>
4917
- <docblock line="2790">
4918
- <description><![CDATA[Convert an EXIF GPS rational value to a PHP float value]]></description>
4919
- <long-description><![CDATA[]]></long-description>
4920
- <tag line="2790" name="since" description="1.50"/>
4921
- <tag line="2790" name="param" description="array( 0 =&gt; numerator, 1 =&gt; denominator )" type="array" variable="$rational">
4922
- <type by_reference="false">array</type>
4923
- </tag>
4924
- <tag line="2790" name="return" description="numerator/denominator" type="float">
4925
- <type by_reference="false">float</type>
4926
- </tag>
4927
- </docblock>
4928
- <argument line="2799">
4929
- <name>$rational</name>
4930
- <default><![CDATA[]]></default>
4931
- <type/>
4932
- </argument>
4933
- </method>
4934
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="2816" package="Media Library Assistant">
4935
- <name>_rational_to_string</name>
4936
- <full_name>_rational_to_string</full_name>
4937
- <docblock line="2804">
4938
- <description><![CDATA[Convert an EXIF rational value to a formatted string]]></description>
4939
- <long-description><![CDATA[]]></long-description>
4940
- <tag line="2804" name="since" description="2.02"/>
4941
- <tag line="2804" name="param" description="numerator/denominator" type="string" variable="$rational">
4942
- <type by_reference="false">string</type>
4943
- </tag>
4944
- <tag line="2804" name="param" description="format for integer values" type="string" variable="$integer_format">
4945
- <type by_reference="false">string</type>
4946
- </tag>
4947
- <tag line="2804" name="param" description="format for fractional values from -1 to +1" type="string" variable="$fraction_format">
4948
- <type by_reference="false">string</type>
4949
- </tag>
4950
- <tag line="2804" name="param" description="format for integer.fraction values" type="string" variable="$mixed_format">
4951
- <type by_reference="false">string</type>
4952
- </tag>
4953
- <tag line="2804" name="return" description="formatted value or boolean false if no value available" type="mixed">
4954
- <type by_reference="false">mixed</type>
4955
- </tag>
4956
- </docblock>
4957
- <argument line="2816">
4958
- <name>$rational</name>
4959
- <default><![CDATA[]]></default>
4960
- <type/>
4961
- </argument>
4962
- <argument line="2816">
4963
- <name>$integer_format</name>
4964
- <default><![CDATA[]]></default>
4965
- <type/>
4966
- </argument>
4967
- <argument line="2816">
4968
- <name>$fraction_format</name>
4969
- <default><![CDATA[]]></default>
4970
- <type/>
4971
- </argument>
4972
- <argument line="2816">
4973
- <name>$mixed_format</name>
4974
- <default><![CDATA[]]></default>
4975
- <type/>
4976
- </argument>
4977
- </method>
4978
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="2867" package="Media Library Assistant">
4979
- <name>mla_IPTC_EXIF_error_handler</name>
4980
- <full_name>mla_IPTC_EXIF_error_handler</full_name>
4981
- <docblock line="2855">
4982
- <description><![CDATA[Intercept IPTC and EXIF parse errors]]></description>
4983
- <long-description><![CDATA[]]></long-description>
4984
- <tag line="2855" name="since" description="1.81"/>
4985
- <tag line="2855" name="param" description="the level of the error raised" type="int" variable="$type">
4986
- <type by_reference="false">int</type>
4987
- </tag>
4988
- <tag line="2855" name="param" description="the error message" type="string" variable="$string">
4989
- <type by_reference="false">string</type>
4990
- </tag>
4991
- <tag line="2855" name="param" description="the filename that the error was raised in" type="string" variable="$file">
4992
- <type by_reference="false">string</type>
4993
- </tag>
4994
- <tag line="2855" name="param" description="the line number the error was raised at" type="int" variable="$line">
4995
- <type by_reference="false">int</type>
4996
- </tag>
4997
- <tag line="2855" name="return" description="true, to bypass PHP error handler" type="boolean">
4998
- <type by_reference="false">boolean</type>
4999
- </tag>
5000
- </docblock>
5001
- <argument line="2867">
5002
- <name>$type</name>
5003
- <default><![CDATA[]]></default>
5004
- <type/>
5005
- </argument>
5006
- <argument line="2867">
5007
- <name>$string</name>
5008
- <default><![CDATA[]]></default>
5009
- <type/>
5010
- </argument>
5011
- <argument line="2867">
5012
- <name>$file</name>
5013
- <default><![CDATA[]]></default>
5014
- <type/>
5015
- </argument>
5016
- <argument line="2867">
5017
- <name>$line</name>
5018
- <default><![CDATA[]]></default>
5019
- <type/>
5020
- </argument>
5021
- </method>
5022
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="2908" package="Media Library Assistant">
5023
- <name>mla_fetch_attachment_id3_metadata</name>
5024
- <full_name>mla_fetch_attachment_id3_metadata</full_name>
5025
- <docblock line="2895">
5026
- <description><![CDATA[Fetch and filter ID3 metadata for an audio or video attachment]]></description>
5027
- <long-description><![CDATA[<p>Adapted from /wp-admin/includes/media.php functions wp_add_id3_tag_data,
5028
- wp_read_video_metadata and wp_read_audio_metadata</p>]]></long-description>
5029
- <tag line="2895" name="since" description="2.13"/>
5030
- <tag line="2895" name="param" description="post ID of attachment" type="int" variable="$post_id">
5031
- <type by_reference="false">int</type>
5032
- </tag>
5033
- <tag line="2895" name="param" description="optional; if $post_id is zero, path to the image file." type="string" variable="$path">
5034
- <type by_reference="false">string</type>
5035
- </tag>
5036
- <tag line="2895" name="return" description="Meta data variables, including 'audio' and 'video'" type="array">
5037
- <type by_reference="false">array</type>
5038
- </tag>
5039
- </docblock>
5040
- <argument line="2908">
5041
- <name>$post_id</name>
5042
- <default><![CDATA[]]></default>
5043
- <type/>
5044
- </argument>
5045
- <argument line="2908">
5046
- <name>$path</name>
5047
- <default><![CDATA['']]></default>
5048
- <type/>
5049
- </argument>
5050
- </method>
5051
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="3002" package="Media Library Assistant">
5052
- <name>mla_fetch_attachment_image_metadata</name>
5053
- <full_name>mla_fetch_attachment_image_metadata</full_name>
5054
- <docblock line="2992">
5055
- <description><![CDATA[Fetch and filter IPTC and EXIF, XMP or PDF metadata for an image attachment]]></description>
5056
- <long-description><![CDATA[]]></long-description>
5057
- <tag line="2992" name="since" description="0.90"/>
5058
- <tag line="2992" name="param" description="post ID of attachment" type="int" variable="$post_id">
5059
- <type by_reference="false">int</type>
5060
- </tag>
5061
- <tag line="2992" name="param" description="optional; if $post_id is zero, path to the image file." type="string" variable="$path">
5062
- <type by_reference="false">string</type>
5063
- </tag>
5064
- <tag line="2992" name="return" description="Meta data variables, IPTC and EXIF or PDF" type="array">
5065
- <type by_reference="false">array</type>
5066
- </tag>
5067
- </docblock>
5068
- <argument line="3002">
5069
- <name>$post_id</name>
5070
- <default><![CDATA[]]></default>
5071
- <type/>
5072
- </argument>
5073
- <argument line="3002">
5074
- <name>$path</name>
5075
- <default><![CDATA['']]></default>
5076
- <type/>
5077
- </argument>
5078
- </method>
5079
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="3354" package="Media Library Assistant">
5080
- <name>mla_update_wp_attachment_metadata</name>
5081
- <full_name>mla_update_wp_attachment_metadata</full_name>
5082
- <docblock line="3344">
5083
- <description><![CDATA[Update "meta:" data for a single attachment]]></description>
5084
- <long-description><![CDATA[]]></long-description>
5085
- <tag line="3344" name="since" description="1.51"/>
5086
- <tag line="3344" name="param" description="The current wp_attachment_metadata value" type="array" variable="$current_values">
5087
- <type by_reference="false">array</type>
5088
- </tag>
5089
- <tag line="3344" name="param" description="Field name =&gt; value pairs" type="array" variable="$new_meta">
5090
- <type by_reference="false">array</type>
5091
- </tag>
5092
- <tag line="3344" name="return" description="success/failure message(s); empty string if no changes." type="string">
5093
- <type by_reference="false">string</type>
5094
- </tag>
5095
- </docblock>
5096
- <argument line="3354">
5097
- <name>$current_values</name>
5098
- <default><![CDATA[]]></default>
5099
- <type/>
5100
- </argument>
5101
- <argument line="3354">
5102
- <name>$new_meta</name>
5103
- <default><![CDATA[]]></default>
5104
- <type/>
5105
- </argument>
5106
- </method>
5107
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="3438" package="Media Library Assistant">
5108
- <name>mla_update_item_postmeta</name>
5109
- <full_name>mla_update_item_postmeta</full_name>
5110
- <docblock line="3428">
5111
- <description><![CDATA[Update custom field and "meta:" data for a single attachment]]></description>
5112
- <long-description><![CDATA[]]></long-description>
5113
- <tag line="3428" name="since" description="1.40"/>
5114
- <tag line="3428" name="param" description="The ID of the attachment to be updated" type="int" variable="$post_id">
5115
- <type by_reference="false">int</type>
5116
- </tag>
5117
- <tag line="3428" name="param" description="Field name =&gt; value pairs" type="array" variable="$new_meta">
5118
- <type by_reference="false">array</type>
5119
- </tag>
5120
- <tag line="3428" name="return" description="success/failure message(s)" type="string">
5121
- <type by_reference="false">string</type>
5122
- </tag>
5123
- </docblock>
5124
- <argument line="3438">
5125
- <name>$post_id</name>
5126
- <default><![CDATA[]]></default>
5127
- <type/>
5128
- </argument>
5129
- <argument line="3438">
5130
- <name>$new_meta</name>
5131
- <default><![CDATA[]]></default>
5132
- <type/>
5133
- </argument>
5134
- </method>
5135
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="3605" package="Media Library Assistant">
5136
- <name>mla_update_single_item</name>
5137
- <full_name>mla_update_single_item</full_name>
5138
- <docblock line="3592">
5139
- <description><![CDATA[Update a single item; change the "post" data, taxonomy terms
5140
- and meta data for a single attachment]]></description>
5141
- <long-description><![CDATA[]]></long-description>
5142
- <tag line="3592" name="since" description="0.1"/>
5143
- <tag line="3592" name="param" description="The ID of the attachment to be updated" type="int" variable="$post_id">
5144
- <type by_reference="false">int</type>
5145
- </tag>
5146
- <tag line="3592" name="param" description="Field name =&gt; value pairs" type="array" variable="$new_data">
5147
- <type by_reference="false">array</type>
5148
- </tag>
5149
- <tag line="3592" name="param" description="Optional taxonomy term values, default null" type="array" variable="$tax_input">
5150
- <type by_reference="false">array</type>
5151
- </tag>
5152
- <tag line="3592" name="param" description="Optional taxonomy actions (add, remove, replace), default null" type="array" variable="$tax_actions">
5153
- <type by_reference="false">array</type>
5154
- </tag>
5155
- <tag line="3592" name="return" description="success/failure message and NULL content" type="array">
5156
- <type by_reference="false">array</type>
5157
- </tag>
5158
- </docblock>
5159
- <argument line="3605">
5160
- <name>$post_id</name>
5161
- <default><![CDATA[]]></default>
5162
- <type/>
5163
- </argument>
5164
- <argument line="3605">
5165
- <name>$new_data</name>
5166
- <default><![CDATA[]]></default>
5167
- <type/>
5168
- </argument>
5169
- <argument line="3605">
5170
- <name>$tax_input</name>
5171
- <default><![CDATA[NULL]]></default>
5172
- <type/>
5173
- </argument>
5174
- <argument line="3605">
5175
- <name>$tax_actions</name>
5176
- <default><![CDATA[NULL]]></default>
5177
- <type/>
5178
- </argument>
5179
- </method>
5180
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="3911" package="Media Library Assistant">
5181
- <name>_remove_terms</name>
5182
- <full_name>_remove_terms</full_name>
5183
- <docblock line="3900">
5184
- <description><![CDATA[Remove terms from an attachment's assignments]]></description>
5185
- <long-description><![CDATA[]]></long-description>
5186
- <tag line="3900" name="since" description="0.40"/>
5187
- <tag line="3900" name="param" description="The ID of the attachment to be updated" type="integer" variable="$post_id">
5188
- <type by_reference="false">integer</type>
5189
- </tag>
5190
- <tag line="3900" name="param" description="The term ids (integer array) or names (string array) to remove" type="array" variable="$terms">
5191
- <type by_reference="false">array</type>
5192
- </tag>
5193
- <tag line="3900" name="param" description="The taxonomy object" type="object" variable="$taxonomy_obj">
5194
- <type by_reference="false">object</type>
5195
- </tag>
5196
- <tag line="3900" name="return" description="Term ids/names of the surviving terms" type="array">
5197
- <type by_reference="false">array</type>
5198
- </tag>
5199
- </docblock>
5200
- <argument line="3911">
5201
- <name>$post_id</name>
5202
- <default><![CDATA[]]></default>
5203
- <type/>
5204
- </argument>
5205
- <argument line="3911">
5206
- <name>$terms</name>
5207
- <default><![CDATA[]]></default>
5208
- <type/>
5209
- </argument>
5210
- <argument line="3911">
5211
- <name>$taxonomy_obj</name>
5212
- <default><![CDATA[]]></default>
5213
- <type/>
5214
- </argument>
5215
- </method>
5216
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="3964" package="Media Library Assistant">
5217
- <name>mla_hex_dump</name>
5218
- <full_name>mla_hex_dump</full_name>
5219
- <docblock line="3952">
5220
- <description><![CDATA[Format printable version of binary data]]></description>
5221
- <long-description><![CDATA[]]></long-description>
5222
- <tag line="3952" name="since" description="0.90"/>
5223
- <tag line="3952" name="param" description="Binary data" type="string" variable="$data">
5224
- <type by_reference="false">string</type>
5225
- </tag>
5226
- <tag line="3952" name="param" description="Bytes to format, default = 0 (all bytes)" type="integer" variable="$limit">
5227
- <type by_reference="false">integer</type>
5228
- </tag>
5229
- <tag line="3952" name="param" description="Bytes to format on each line" type="\intger" variable="$bytes_per_row">
5230
- <type by_reference="false">\intger</type>
5231
- </tag>
5232
- <tag line="3952" name="param" description="offset of initial byte, or -1 to suppress printing offset information" type="integer" variable="$offset">
5233
- <type by_reference="false">integer</type>
5234
- </tag>
5235
- <tag line="3952" name="return" description="Printable representation of $data" type="string">
5236
- <type by_reference="false">string</type>
5237
- </tag>
5238
- </docblock>
5239
- <argument line="3964">
5240
- <name>$data</name>
5241
- <default><![CDATA[]]></default>
5242
- <type/>
5243
- </argument>
5244
- <argument line="3964">
5245
- <name>$limit</name>
5246
- <default><![CDATA[0]]></default>
5247
- <type/>
5248
- </argument>
5249
- <argument line="3964">
5250
- <name>$bytes_per_row</name>
5251
- <default><![CDATA[16]]></default>
5252
- <type/>
5253
- </argument>
5254
- <argument line="3964">
5255
- <name>$offset</name>
5256
- <default><![CDATA[-1]]></default>
5257
- <type/>
5258
- </argument>
5259
- </method>
5260
- </class>
5261
- </file>
5262
- <file path="includes\class-mla-edit-media.php" hash="cf1f0d18139dc27b16dca07e364a191e" package="Media Library Assistant">
5263
- <docblock line="2">
5264
- <description><![CDATA[Media Library Assistant Edit Media screen enhancements]]></description>
5265
- <long-description><![CDATA[]]></long-description>
5266
- <tag line="2" name="package" description="Media Library Assistant"/>
5267
- <tag line="2" name="since" description="0.80"/>
5268
- </docblock>
5269
- <class final="false" abstract="false" namespace="global" line="15" package="Media Library Assistant">
5270
- <extends/>
5271
- <name>MLAEdit</name>
5272
- <full_name>\MLAEdit</full_name>
5273
- <docblock line="9">
5274
- <description><![CDATA[Class MLA (Media Library Assistant) Edit contains meta boxes for the Edit Media (advanced-form-edit.php) screen]]></description>
5275
- <long-description><![CDATA[]]></long-description>
5276
- <tag line="9" name="package" description="Media Library Assistant"/>
5277
- <tag line="9" name="since" description="0.80"/>
5278
- </docblock>
5279
- <constant namespace="global" line="23" package="Media Library Assistant">
5280
- <name>JAVASCRIPT_EDIT_MEDIA_STYLES</name>
5281
- <full_name>JAVASCRIPT_EDIT_MEDIA_STYLES</full_name>
5282
- <value><![CDATA['mla-edit-media-style']]></value>
5283
- <docblock line="16">
5284
- <description><![CDATA[Slug for localizing and enqueueing CSS - Add Media and related dialogs]]></description>
5285
- <long-description><![CDATA[]]></long-description>
5286
- <tag line="16" name="since" description="1.20"/>
5287
- <tag line="16" name="var" description="" type="string">
5288
- <type by_reference="false">string</type>
5289
- </tag>
5290
- </docblock>
5291
- </constant>
5292
- <constant namespace="global" line="32" package="Media Library Assistant">
5293
- <name>JAVASCRIPT_EDIT_MEDIA_SLUG</name>
5294
- <full_name>JAVASCRIPT_EDIT_MEDIA_SLUG</full_name>
5295
- <value><![CDATA['mla-edit-media-scripts']]></value>
5296
- <docblock line="25">
5297
- <description><![CDATA[Slug for localizing and enqueueing JavaScript - Add Media and related dialogs]]></description>
5298
- <long-description><![CDATA[]]></long-description>
5299
- <tag line="25" name="since" description="1.20"/>
5300
- <tag line="25" name="var" description="" type="string">
5301
- <type by_reference="false">string</type>
5302
- </tag>
5303
- </docblock>
5304
- </constant>
5305
- <constant namespace="global" line="41" package="Media Library Assistant">
5306
- <name>JAVASCRIPT_EDIT_MEDIA_OBJECT</name>
5307
- <full_name>JAVASCRIPT_EDIT_MEDIA_OBJECT</full_name>
5308
- <value><![CDATA['mla_edit_media_vars']]></value>
5309
- <docblock line="34">
5310
- <description><![CDATA[Object name for localizing JavaScript - Add Media and related dialogs]]></description>
5311
- <long-description><![CDATA[]]></long-description>
5312
- <tag line="34" name="since" description="1.20"/>
5313
- <tag line="34" name="var" description="" type="string">
5314
- <type by_reference="false">string</type>
5315
- </tag>
5316
- </docblock>
5317
- </constant>
5318
- <property final="false" static="true" visibility="private" line="762" namespace="global" package="Media Library Assistant">
5319
- <name>$mla_references</name>
5320
- <default><![CDATA[NULL]]></default>
5321
- <docblock line="752">
5322
- <description><![CDATA[Where-used values for the current item]]></description>
5323
- <long-description><![CDATA[<p>This array contains the Featured/Inserted/Gallery/MLA Gallery references for the item.
5324
- The array is built once each page load and cached for subsequent calls.</p>]]></long-description>
5325
- <tag line="752" name="since" description="0.80"/>
5326
- <tag line="752" name="var" description="" type="array">
5327
- <type by_reference="false">array</type>
5328
- </tag>
5329
- </docblock>
5330
- </property>
5331
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="50" package="Media Library Assistant">
5332
- <name>initialize</name>
5333
- <full_name>initialize</full_name>
5334
- <docblock line="43">
5335
- <description><![CDATA[Initialization function, similar to __construct()]]></description>
5336
- <long-description><![CDATA[]]></long-description>
5337
- <tag line="43" name="since" description="0.80"/>
5338
- <tag line="43" name="return" description="" type="void">
5339
- <type by_reference="false">void</type>
5340
- </tag>
5341
- </docblock>
5342
- </method>
5343
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="81" package="Media Library Assistant">
5344
- <name>mla_admin_init_action</name>
5345
- <full_name>mla_admin_init_action</full_name>
5346
- <docblock line="73">
5347
- <description><![CDATA[Adds Custom Field support to the Edit Media screen.]]></description>
5348
- <long-description><![CDATA[<p>Declared public because it is an action.</p>]]></long-description>
5349
- <tag line="73" name="since" description="0.80"/>
5350
- <tag line="73" name="return" description="echoes the HTML markup for the label and value" type="void">
5351
- <type by_reference="false">void</type>
5352
- </tag>
5353
- </docblock>
5354
- </method>
5355
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="151" package="Media Library Assistant">
5356
- <name>mla_admin_enqueue_scripts_action</name>
5357
- <full_name>mla_admin_enqueue_scripts_action</full_name>
5358
- <docblock line="142">
5359
- <description><![CDATA[Load the plugin's Style Sheet and Javascript files]]></description>
5360
- <long-description><![CDATA[]]></long-description>
5361
- <tag line="142" name="since" description="1.71"/>
5362
- <tag line="142" name="param" description="Name of the page being loaded" type="string" variable="$page_hook">
5363
- <type by_reference="false">string</type>
5364
- </tag>
5365
- <tag line="142" name="return" description="" type="void">
5366
- <type by_reference="false">void</type>
5367
- </tag>
5368
- </docblock>
5369
- <argument line="151">
5370
- <name>$page_hook</name>
5371
- <default><![CDATA[]]></default>
5372
- <type/>
5373
- </argument>
5374
- </method>
5375
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="263" package="Media Library Assistant">
5376
- <name>mla_upload_post_params</name>
5377
- <full_name>mla_upload_post_params</full_name>
5378
- <docblock line="256">
5379
- <description><![CDATA[Filter the Media/Add New post parameters.]]></description>
5380
- <long-description><![CDATA[]]></long-description>
5381
- <tag line="256" name="since" description="2.02"/>
5382
- <tag line="256" name="param" description="An array of media upload parameters used by Plupload." type="array" variable="$post_parms">
5383
- <type by_reference="false">array</type>
5384
- </tag>
5385
- </docblock>
5386
- <argument line="263">
5387
- <name>$post_parms</name>
5388
- <default><![CDATA[]]></default>
5389
- <type/>
5390
- </argument>
5391
- </method>
5392
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="286" package="Media Library Assistant">
5393
- <name>mla_post_upload_ui</name>
5394
- <full_name>mla_post_upload_ui</full_name>
5395
- <docblock line="276">
5396
- <description><![CDATA[Echoes bulk edit area HTML to the Media/Add New screen]]></description>
5397
- <long-description><![CDATA[<p>Fires on the post upload UI screen; legacy (pre-3.5.0) upload interface.
5398
- Anything echoed here goes below the "Maximum upload file size" message
5399
- and above the id="media-items" div.</p>]]></long-description>
5400
- <tag line="276" name="since" description="2.02"/>
5401
- </docblock>
5402
- </method>
5403
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="458" package="Media Library Assistant">
5404
- <name>mla_update_attachment_metadata_postfilter</name>
5405
- <full_name>mla_update_attachment_metadata_postfilter</full_name>
5406
- <docblock line="442">
5407
- <description><![CDATA[Apply Media/Add New bulk edit area updates, if any]]></description>
5408
- <long-description><![CDATA[<p>This filter is called AFTER MLA mapping rules are applied during
5409
- wp_update_attachment_metadata() processing. If none of the mapping rules
5410
- is enabled it is called from the 'wp_update_attachment_metadata' filter
5411
- with just two arguments.</p>]]></long-description>
5412
- <tag line="442" name="since" description="2.02"/>
5413
- <tag line="442" name="param" description="attachment metadata" type="array" variable="$data">
5414
- <type by_reference="false">array</type>
5415
- </tag>
5416
- <tag line="442" name="param" description="The Post ID of the new/updated attachment" type="integer" variable="$post_id">
5417
- <type by_reference="false">integer</type>
5418
- </tag>
5419
- <tag line="442" name="param" description="Processing options, e.g., 'is_upload'" type="array" variable="$options">
5420
- <type by_reference="false">array</type>
5421
- </tag>
5422
- <tag line="442" name="return" description="updated attachment metadata" type="array">
5423
- <type by_reference="false">array</type>
5424
- </tag>
5425
- </docblock>
5426
- <argument line="458">
5427
- <name>$data</name>
5428
- <default><![CDATA[]]></default>
5429
- <type/>
5430
- </argument>
5431
- <argument line="458">
5432
- <name>$post_id</name>
5433
- <default><![CDATA[]]></default>
5434
- <type/>
5435
- </argument>
5436
- <argument line="458">
5437
- <name>$options</name>
5438
- <default><![CDATA[array('is_upload' => true)]]></default>
5439
- <type/>
5440
- </argument>
5441
- </method>
5442
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="509" package="Media Library Assistant">
5443
- <name>mla_post_updated_messages_filter</name>
5444
- <full_name>mla_post_updated_messages_filter</full_name>
5445
- <docblock line="499">
5446
- <description><![CDATA[Adds mapping update messages for display at the top of the Edit Media screen.]]></description>
5447
- <long-description><![CDATA[<p>Declared public because it is a filter.</p>]]></long-description>
5448
- <tag line="499" name="since" description="1.10"/>
5449
- <tag line="499" name="param" description="messages for the Edit screen" type="array" variable="$messages">
5450
- <type by_reference="false">array</type>
5451
- </tag>
5452
- <tag line="499" name="return" description="updated messages" type="array">
5453
- <type by_reference="false">array</type>
5454
- </tag>
5455
- </docblock>
5456
- <argument line="509">
5457
- <name>$messages</name>
5458
- <default><![CDATA[]]></default>
5459
- <type/>
5460
- </argument>
5461
- </method>
5462
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="526" package="Media Library Assistant">
5463
- <name>mla_attachment_submitbox_action</name>
5464
- <full_name>mla_attachment_submitbox_action</full_name>
5465
- <docblock line="518">
5466
- <description><![CDATA[Adds Last Modified date to the Submit box on the Edit Media screen.]]></description>
5467
- <long-description><![CDATA[<p>Declared public because it is an action.</p>]]></long-description>
5468
- <tag line="518" name="since" description="0.80"/>
5469
- <tag line="518" name="return" description="echoes the HTML markup for the label and value" type="void">
5470
- <type by_reference="false">void</type>
5471
- </tag>
5472
- </docblock>
5473
- </method>
5474
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="565" package="Media Library Assistant">
5475
- <name>mla_add_meta_boxes_action</name>
5476
- <full_name>mla_add_meta_boxes_action</full_name>
5477
- <docblock line="554">
5478
- <description><![CDATA[Registers meta boxes for the Edit Media screen.]]></description>
5479
- <long-description><![CDATA[<p>Declared public because it is an action.</p>]]></long-description>
5480
- <tag line="554" name="since" description="0.80"/>
5481
- <tag line="554" name="param" description="type of the current post, e.g., 'attachment' (optional, default 'unknown')" type="string" variable="$post_type">
5482
- <type by_reference="false">string</type>
5483
- </tag>
5484
- <tag line="554" name="param" description="current post (optional, default (object) array ( 'ID' =&gt; 0 ))" type="object" variable="$post">
5485
- <type by_reference="false">object</type>
5486
- </tag>
5487
- <tag line="554" name="return" description="" type="void">
5488
- <type by_reference="false">void</type>
5489
- </tag>
5490
- </docblock>
5491
- <argument line="565">
5492
- <name>$post_type</name>
5493
- <default><![CDATA['unknown']]></default>
5494
- <type/>
5495
- </argument>
5496
- <argument line="565">
5497
- <name>$post</name>
5498
- <default><![CDATA[NULL]]></default>
5499
- <type/>
5500
- </argument>
5501
- </method>
5502
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="662" package="Media Library Assistant">
5503
- <name>mla_edit_add_help_tab</name>
5504
- <full_name>mla_edit_add_help_tab</full_name>
5505
- <docblock line="652">
5506
- <description><![CDATA[Add contextual help tabs to the WordPress Edit Media page]]></description>
5507
- <long-description><![CDATA[]]></long-description>
5508
- <tag line="652" name="since" description="0.90"/>
5509
- <tag line="652" name="param" description="title as shown on the screen" type="string" variable="$admin_title">
5510
- <type by_reference="false">string</type>
5511
- </tag>
5512
- <tag line="652" name="param" description="title as shown in the HTML header" type="string" variable="$title">
5513
- <type by_reference="false">string</type>
5514
- </tag>
5515
- <tag line="652" name="return" description="" type="void">
5516
- <type by_reference="false">void</type>
5517
- </tag>
5518
- </docblock>
5519
- <argument line="662">
5520
- <name>$admin_title</name>
5521
- <default><![CDATA[]]></default>
5522
- <type/>
5523
- </argument>
5524
- <argument line="662">
5525
- <name>$title</name>
5526
- <default><![CDATA[]]></default>
5527
- <type/>
5528
- </argument>
5529
- </method>
5530
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="774" package="Media Library Assistant">
5531
- <name>mla_parent_info_handler</name>
5532
- <full_name>mla_parent_info_handler</full_name>
5533
- <docblock line="764">
5534
- <description><![CDATA[Renders the Parent Info meta box on the Edit Media page.]]></description>
5535
- <long-description><![CDATA[<p>Declared public because it is a callback function.</p>]]></long-description>
5536
- <tag line="764" name="since" description="0.80"/>
5537
- <tag line="764" name="param" description="current post" type="object" variable="$post">
5538
- <type by_reference="false">object</type>
5539
- </tag>
5540
- <tag line="764" name="return" description="echoes the HTML markup for the meta box content" type="void">
5541
- <type by_reference="false">void</type>
5542
- </tag>
5543
- </docblock>
5544
- <argument line="774">
5545
- <name>$post</name>
5546
- <default><![CDATA[]]></default>
5547
- <type/>
5548
- </argument>
5549
- </method>
5550
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="823" package="Media Library Assistant">
5551
- <name>mla_menu_order_handler</name>
5552
- <full_name>mla_menu_order_handler</full_name>
5553
- <docblock line="813">
5554
- <description><![CDATA[Renders the Menu Order meta box on the Edit Media page.]]></description>
5555
- <long-description><![CDATA[<p>Declared public because it is a callback function.</p>]]></long-description>
5556
- <tag line="813" name="since" description="0.80"/>
5557
- <tag line="813" name="param" description="current post" type="object" variable="$post">
5558
- <type by_reference="false">object</type>
5559
- </tag>
5560
- <tag line="813" name="return" description="echoes the HTML markup for the meta box content" type="void">
5561
- <type by_reference="false">void</type>
5562
- </tag>
5563
- </docblock>
5564
- <argument line="823">
5565
- <name>$post</name>
5566
- <default><![CDATA[]]></default>
5567
- <type/>
5568
- </argument>
5569
- </method>
5570
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="840" package="Media Library Assistant">
5571
- <name>mla_image_metadata_handler</name>
5572
- <full_name>mla_image_metadata_handler</full_name>
5573
- <docblock line="830">
5574
- <description><![CDATA[Renders the Image Metadata meta box on the Edit Media page.]]></description>
5575
- <long-description><![CDATA[<p>Declared public because it is a callback function.</p>]]></long-description>
5576
- <tag line="830" name="since" description="0.80"/>
5577
- <tag line="830" name="param" description="current post" type="object" variable="$post">
5578
- <type by_reference="false">object</type>
5579
- </tag>
5580
- <tag line="830" name="return" description="echoes the HTML markup for the meta box content" type="void">
5581
- <type by_reference="false">void</type>
5582
- </tag>
5583
- </docblock>
5584
- <argument line="840">
5585
- <name>$post</name>
5586
- <default><![CDATA[]]></default>
5587
- <type/>
5588
- </argument>
5589
- </method>
5590
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="865" package="Media Library Assistant">
5591
- <name>mla_featured_in_handler</name>
5592
- <full_name>mla_featured_in_handler</full_name>
5593
- <docblock line="855">
5594
- <description><![CDATA[Renders the Featured in meta box on the Edit Media page.]]></description>
5595
- <long-description><![CDATA[<p>Declared public because it is a callback function.</p>]]></long-description>
5596
- <tag line="855" name="since" description="0.80"/>
5597
- <tag line="855" name="param" description="current post" type="object" variable="$post">
5598
- <type by_reference="false">object</type>
5599
- </tag>
5600
- <tag line="855" name="return" description="echoes the HTML markup for the meta box content" type="void">
5601
- <type by_reference="false">void</type>
5602
- </tag>
5603
- </docblock>
5604
- <argument line="865">
5605
- <name>$post</name>
5606
- <default><![CDATA[]]></default>
5607
- <type/>
5608
- </argument>
5609
- </method>
5610
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="900" package="Media Library Assistant">
5611
- <name>mla_inserted_in_handler</name>
5612
- <full_name>mla_inserted_in_handler</full_name>
5613
- <docblock line="890">
5614
- <description><![CDATA[Renders the Inserted in meta box on the Edit Media page.]]></description>
5615
- <long-description><![CDATA[<p>Declared public because it is a callback function.</p>]]></long-description>
5616
- <tag line="890" name="since" description="0.80"/>
5617
- <tag line="890" name="param" description="current post" type="object" variable="$post">
5618
- <type by_reference="false">object</type>
5619
- </tag>
5620
- <tag line="890" name="return" description="echoes the HTML markup for the meta box content" type="void">
5621
- <type by_reference="false">void</type>
5622
- </tag>
5623
- </docblock>
5624
- <argument line="900">
5625
- <name>$post</name>
5626
- <default><![CDATA[]]></default>
5627
- <type/>
5628
- </argument>
5629
- </method>
5630
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="939" package="Media Library Assistant">
5631
- <name>mla_gallery_in_handler</name>
5632
- <full_name>mla_gallery_in_handler</full_name>
5633
- <docblock line="929">
5634
- <description><![CDATA[Renders the Gallery in meta box on the Edit Media page.]]></description>
5635
- <long-description><![CDATA[<p>Declared public because it is a callback function.</p>]]></long-description>
5636
- <tag line="929" name="since" description="0.80"/>
5637
- <tag line="929" name="param" description="current post" type="object" variable="$post">
5638
- <type by_reference="false">object</type>
5639
- </tag>
5640
- <tag line="929" name="return" description="echoes the HTML markup for the meta box content" type="void">
5641
- <type by_reference="false">void</type>
5642
- </tag>
5643
- </docblock>
5644
- <argument line="939">
5645
- <name>$post</name>
5646
- <default><![CDATA[]]></default>
5647
- <type/>
5648
- </argument>
5649
- </method>
5650
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="974" package="Media Library Assistant">
5651
- <name>mla_mla_gallery_in_handler</name>
5652
- <full_name>mla_mla_gallery_in_handler</full_name>
5653
- <docblock line="964">
5654
- <description><![CDATA[Renders the MLA Gallery in meta box on the Edit Media page.]]></description>
5655
- <long-description><![CDATA[<p>Declared public because it is a callback function.</p>]]></long-description>
5656
- <tag line="964" name="since" description="0.80"/>
5657
- <tag line="964" name="param" description="current post" type="object" variable="$post">
5658
- <type by_reference="false">object</type>
5659
- </tag>
5660
- <tag line="964" name="return" description="echoes the HTML markup for the meta box content" type="void">
5661
- <type by_reference="false">void</type>
5662
- </tag>
5663
- </docblock>
5664
- <argument line="974">
5665
- <name>$post</name>
5666
- <default><![CDATA[]]></default>
5667
- <type/>
5668
- </argument>
5669
- </method>
5670
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1009" package="Media Library Assistant">
5671
- <name>mla_edit_attachment_action</name>
5672
- <full_name>mla_edit_attachment_action</full_name>
5673
- <docblock line="999">
5674
- <description><![CDATA[Saves updates from the Edit Media screen.]]></description>
5675
- <long-description><![CDATA[<p>Declared public because it is an action.</p>]]></long-description>
5676
- <tag line="999" name="since" description="0.80"/>
5677
- <tag line="999" name="param" description="ID of the current post" type="integer" variable="$post_ID">
5678
- <type by_reference="false">integer</type>
5679
- </tag>
5680
- <tag line="999" name="return" description="" type="void">
5681
- <type by_reference="false">void</type>
5682
- </tag>
5683
- </docblock>
5684
- <argument line="1009">
5685
- <name>$post_ID</name>
5686
- <default><![CDATA[]]></default>
5687
- <type/>
5688
- </argument>
5689
- </method>
5690
- </class>
5691
- </file>
5692
- <file path="includes\class-mla-image-processor.php" hash="9e884b1c85e67660b55260855785d3e1" package="Media Library Assistant">
5693
- <docblock line="2">
5694
- <description><![CDATA[Image processing support for mla_viewer and thumbnail generation]]></description>
5695
- <long-description><![CDATA[]]></long-description>
5696
- <tag line="2" name="package" description="Media Library Assistant"/>
5697
- <tag line="2" name="since" description="2.13"/>
5698
- </docblock>
5699
- <class final="false" abstract="false" namespace="global" line="17" package="Media Library Assistant">
5700
- <extends/>
5701
- <name>MLAImageProcessor</name>
5702
- <full_name>\MLAImageProcessor</full_name>
5703
- <docblock line="9">
5704
- <description><![CDATA[Class MLA (Media Library Assistant) Image Processor provides PDF thumbnails
5705
- for the [mla_gallery] mla_viewer
5706
- and Media/Assistant thumbnail generator.]]></description>
5707
- <long-description><![CDATA[]]></long-description>
5708
- <tag line="9" name="package" description="Media Library Assistant"/>
5709
- <tag line="9" name="since" description="2.10"/>
5710
- </docblock>
5711
- <property final="false" static="true" visibility="public" line="25" namespace="global" package="Media Library Assistant">
5712
- <name>$mla_debug</name>
5713
- <default><![CDATA[false]]></default>
5714
- <docblock line="18">
5715
- <description><![CDATA[Log debug information if true]]></description>
5716
- <long-description><![CDATA[]]></long-description>
5717
- <tag line="18" name="since" description="2.12"/>
5718
- <tag line="18" name="var" description="" type="boolean">
5719
- <type by_reference="false">boolean</type>
5720
- </tag>
5721
- </docblock>
5722
- </property>
5723
- <property final="false" static="true" visibility="protected" line="83" namespace="global" package="Media Library Assistant">
5724
- <name>$image</name>
5725
- <default><![CDATA[]]></default>
5726
- <docblock line="76">
5727
- <description><![CDATA[Imagick object for the image to be streamed]]></description>
5728
- <long-description><![CDATA[]]></long-description>
5729
- <tag line="76" name="since" description="2.10"/>
5730
- <tag line="76" name="var" description="" type="\Imagick">
5731
- <type by_reference="false">\Imagick</type>
5732
- </tag>
5733
- </docblock>
5734
- </property>
5735
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="36" package="Media Library Assistant">
5736
- <name>_get_temp_file</name>
5737
- <full_name>_get_temp_file</full_name>
5738
- <docblock line="27">
5739
- <description><![CDATA[Generate a unique, writable file in the temporary directory]]></description>
5740
- <long-description><![CDATA[]]></long-description>
5741
- <tag line="27" name="since" description="2.10"/>
5742
- <tag line="27" name="param" description="File extension for the temporary file" type="string" variable="$extension">
5743
- <type by_reference="false">string</type>
5744
- </tag>
5745
- <tag line="27" name="return" description="Writable path and file name." type="string">
5746
- <type by_reference="false">string</type>
5747
- </tag>
5748
- </docblock>
5749
- <argument line="36">
5750
- <name>$extension</name>
5751
- <default><![CDATA['.tmp']]></default>
5752
- <type/>
5753
- </argument>
5754
- </method>
5755
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="99" package="Media Library Assistant">
5756
- <name>_ghostscript_convert</name>
5757
- <full_name>_ghostscript_convert</full_name>
5758
- <docblock line="85">
5759
- <description><![CDATA[Direct Ghostscript file conversion]]></description>
5760
- <long-description><![CDATA[]]></long-description>
5761
- <tag line="85" name="since" description="2.10"/>
5762
- <tag line="85" name="uses" description="\global\self::$image" refers="\global\self::$image"/>
5763
- <tag line="85" name="param" description="Input file, e.g., a PDF document" type="string" variable="$file">
5764
- <type by_reference="false">string</type>
5765
- </tag>
5766
- <tag line="85" name="param" description="Page/frame within the file, zero-based" type="string" variable="$frame">
5767
- <type by_reference="false">string</type>
5768
- </tag>
5769
- <tag line="85" name="param" description="Output file DPI. Default 72." type="string" variable="$resolution">
5770
- <type by_reference="false">string</type>
5771
- </tag>
5772
- <tag line="85" name="param" description="Output MIME type; 'image/jpeg' or 'image/png'." type="string" variable="$output_type">
5773
- <type by_reference="false">string</type>
5774
- </tag>
5775
- <tag line="85" name="param" description="Optional. Non-standard location to override default search, e.g., 'C:\Program Files (x86)\gs\gs9.15\bin\gswin32c.exe'" type="string" variable="$explicit_path">
5776
- <type by_reference="false">string</type>
5777
- </tag>
5778
- <tag line="85" name="return" description="true if conversion succeeds else false" type="boolean">
5779
- <type by_reference="false">boolean</type>
5780
- </tag>
5781
- </docblock>
5782
- <argument line="99">
5783
- <name>$file</name>
5784
- <default><![CDATA[]]></default>
5785
- <type/>
5786
- </argument>
5787
- <argument line="99">
5788
- <name>$frame</name>
5789
- <default><![CDATA[]]></default>
5790
- <type/>
5791
- </argument>
5792
- <argument line="99">
5793
- <name>$resolution</name>
5794
- <default><![CDATA[]]></default>
5795
- <type/>
5796
- </argument>
5797
- <argument line="99">
5798
- <name>$output_type</name>
5799
- <default><![CDATA[]]></default>
5800
- <type/>
5801
- </argument>
5802
- <argument line="99">
5803
- <name>$explicit_path</name>
5804
- <default><![CDATA['']]></default>
5805
- <type/>
5806
- </argument>
5807
- </method>
5808
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="229" package="Media Library Assistant">
5809
- <name>_prepare_image</name>
5810
- <full_name>_prepare_image</full_name>
5811
- <docblock line="215">
5812
- <description><![CDATA[Prepare the image for output, scaling and flattening as required]]></description>
5813
- <long-description><![CDATA[]]></long-description>
5814
- <tag line="215" name="since" description="2.10"/>
5815
- <tag line="215" name="uses" description="\global\self::$image" refers="\global\self::$image"/>
5816
- <tag line="215" name="param" description="zero or new width" type="integer" variable="$width">
5817
- <type by_reference="false">integer</type>
5818
- </tag>
5819
- <tag line="215" name="param" description="zero or new height" type="integer" variable="$height">
5820
- <type by_reference="false">integer</type>
5821
- </tag>
5822
- <tag line="215" name="param" description="proportional fit (true) or exact fit (false)" type="boolean" variable="$best_fit">
5823
- <type by_reference="false">boolean</type>
5824
- </tag>
5825
- <tag line="215" name="param" description="output MIME type" type="string" variable="$type">
5826
- <type by_reference="false">string</type>
5827
- </tag>
5828
- <tag line="215" name="param" description="compression quality; 1 - 100" type="integer" variable="$quality">
5829
- <type by_reference="false">integer</type>
5830
- </tag>
5831
- <tag line="215" name="return" description="" type="void">
5832
- <type by_reference="false">void</type>
5833
- </tag>
5834
- </docblock>
5835
- <argument line="229">
5836
- <name>$width</name>
5837
- <default><![CDATA[]]></default>
5838
- <type/>
5839
- </argument>
5840
- <argument line="229">
5841
- <name>$height</name>
5842
- <default><![CDATA[]]></default>
5843
- <type/>
5844
- </argument>
5845
- <argument line="229">
5846
- <name>$best_fit</name>
5847
- <default><![CDATA[]]></default>
5848
- <type/>
5849
- </argument>
5850
- <argument line="229">
5851
- <name>$type</name>
5852
- <default><![CDATA[]]></default>
5853
- <type/>
5854
- </argument>
5855
- <argument line="229">
5856
- <name>$quality</name>
5857
- <default><![CDATA[]]></default>
5858
- <type/>
5859
- </argument>
5860
- </method>
5861
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="279" package="Media Library Assistant">
5862
- <name>_mla_debug_add</name>
5863
- <full_name>_mla_debug_add</full_name>
5864
- <docblock line="272">
5865
- <description><![CDATA[Log debug information]]></description>
5866
- <long-description><![CDATA[]]></long-description>
5867
- <tag line="272" name="since" description="2.12"/>
5868
- <tag line="272" name="param" description="Error message." type="string" variable="$message">
5869
- <type by_reference="false">string</type>
5870
- </tag>
5871
- </docblock>
5872
- <argument line="279">
5873
- <name>$message</name>
5874
- <default><![CDATA[]]></default>
5875
- <type/>
5876
- </argument>
5877
- </method>
5878
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="300" package="Media Library Assistant">
5879
- <name>_mla_die</name>
5880
- <full_name>_mla_die</full_name>
5881
- <docblock line="289">
5882
- <description><![CDATA[Abort the operation and exit]]></description>
5883
- <long-description><![CDATA[]]></long-description>
5884
- <tag line="289" name="since" description="2.10"/>
5885
- <tag line="289" name="param" description="Error message." type="string" variable="$message">
5886
- <type by_reference="false">string</type>
5887
- </tag>
5888
- <tag line="289" name="param" description="Optional. Error title. Default empty." type="string" variable="$title">
5889
- <type by_reference="false">string</type>
5890
- </tag>
5891
- <tag line="289" name="param" description="Optional. HTML response code. Default 500." type="integer" variable="$response">
5892
- <type by_reference="false">integer</type>
5893
- </tag>
5894
- <tag line="289" name="return" description="echos page content and calls exit();" type="void">
5895
- <type by_reference="false">void</type>
5896
- </tag>
5897
- </docblock>
5898
- <argument line="300">
5899
- <name>$message</name>
5900
- <default><![CDATA[]]></default>
5901
- <type/>
5902
- </argument>
5903
- <argument line="300">
5904
- <name>$title</name>
5905
- <default><![CDATA['']]></default>
5906
- <type/>
5907
- </argument>
5908
- <argument line="300">
5909
- <name>$response</name>
5910
- <default><![CDATA[500]]></default>
5911
- <type/>
5912
- </argument>
5913
- </method>
5914
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="315" package="Media Library Assistant">
5915
- <name>_mla_error_return</name>
5916
- <full_name>_mla_error_return</full_name>
5917
- <docblock line="305">
5918
- <description><![CDATA[Log the message and return error message array]]></description>
5919
- <long-description><![CDATA[]]></long-description>
5920
- <tag line="305" name="since" description="2.10"/>
5921
- <tag line="305" name="param" description="Error message." type="string" variable="$message">
5922
- <type by_reference="false">string</type>
5923
- </tag>
5924
- <tag line="305" name="param" description="Optional. Line number in the caller." type="string" variable="$line">
5925
- <type by_reference="false">string</type>
5926
- </tag>
5927
- <tag line="305" name="return" description="'error' =&gt; message )" type="\array(">
5928
- <type by_reference="false">\array(</type>
5929
- </tag>
5930
- </docblock>
5931
- <argument line="315">
5932
- <name>$message</name>
5933
- <default><![CDATA[]]></default>
5934
- <type/>
5935
- </argument>
5936
- <argument line="315">
5937
- <name>$line</name>
5938
- <default><![CDATA['']]></default>
5939
- <type/>
5940
- </argument>
5941
- </method>
5942
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="332" package="Media Library Assistant">
5943
- <name>mla_handle_thumbnail_sideload</name>
5944
- <full_name>mla_handle_thumbnail_sideload</full_name>
5945
- <docblock line="320">
5946
- <description><![CDATA[Process Imagick thumbnail conversion request, e.g., for a PDF thumbnail]]></description>
5947
- <long-description><![CDATA[<p>Replaces download_url() in the Codex "Function Reference/wp handle sideload" example.</p>]]></long-description>
5948
- <tag line="320" name="since" description="2.13"/>
5949
- <tag line="320" name="param" description="Path and name of the source file relative to upload directory" type="string" variable="$input_file">
5950
- <type by_reference="false">string</type>
5951
- </tag>
5952
- <tag line="320" name="param" description="Generation parameters" type="array" variable="$args">
5953
- <type by_reference="false">array</type>
5954
- </tag>
5955
- <tag line="320" name="return" description="file attributes ( 'file', 'url', 'type' ) on success, ( 'error' ) on failure" type="array">
5956
- <type by_reference="false">array</type>
5957
- </tag>
5958
- </docblock>
5959
- <argument line="332">
5960
- <name>$input_file</name>
5961
- <default><![CDATA[]]></default>
5962
- <type/>
5963
- </argument>
5964
- <argument line="332">
5965
- <name>$args</name>
5966
- <default><![CDATA[]]></default>
5967
- <type/>
5968
- </argument>
5969
- </method>
5970
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="444" package="Media Library Assistant">
5971
- <name>mla_process_stream_image</name>
5972
- <full_name>mla_process_stream_image</full_name>
5973
- <docblock line="432">
5974
- <description><![CDATA[Process Imagick image stream request, e.g., for a PDF thumbnail]]></description>
5975
- <long-description><![CDATA[<p>Requires mla_stream_file (relative to wp_upload_dir ) in $_REQUEST;
5976
- optional $_REQUEST parameters are:
5977
- mla_stream_width, mla_stream_height, mla_stream_frame, mla_stream_resolution,
5978
- mla_stream_quality, mla_stream_type, mla_stream_fit, mla_ghostscript_path</p>]]></long-description>
5979
- <tag line="432" name="since" description="2.10"/>
5980
- <tag line="432" name="return" description="echos image content and calls exit();" type="void">
5981
- <type by_reference="false">void</type>
5982
- </tag>
5983
- </docblock>
5984
- </method>
5985
- </class>
5986
- <class final="false" abstract="false" namespace="global" line="570" package="Media Library Assistant">
5987
- <extends/>
5988
- <name>MLAMutex</name>
5989
- <full_name>\MLAMutex</full_name>
5990
- <docblock line="561">
5991
- <description><![CDATA[Class MLA (Media Library Assistant) Mutex provides a simple "mutual exclusion" semaphore
5992
- for the [mla_gallery] mla_viewer=single option]]></description>
5993
- <long-description><![CDATA[<p>Adapted from the example by mr.smaon@gmail.com in the PHP Manual "Semaphore Functions" page.</p>]]></long-description>
5994
- <tag line="561" name="package" description="Media Library Assistant"/>
5995
- <tag line="561" name="since" description="2.10"/>
5996
- </docblock>
5997
- <property final="false" static="false" visibility="private" line="578" namespace="global" package="Media Library Assistant">
5998
- <name>$sem_id</name>
5999
- <default><![CDATA[]]></default>
6000
- <docblock line="571">
6001
- <description><![CDATA[Semaphore identifier returned by sem_get()]]></description>
6002
- <long-description><![CDATA[]]></long-description>
6003
- <tag line="571" name="since" description="2.10"/>
6004
- <tag line="571" name="var" description="" type="resource">
6005
- <type by_reference="false">resource</type>
6006
- </tag>
6007
- </docblock>
6008
- </property>
6009
- <property final="false" static="false" visibility="private" line="587" namespace="global" package="Media Library Assistant">
6010
- <name>$is_acquired</name>
6011
- <default><![CDATA[false]]></default>
6012
- <docblock line="580">
6013
- <description><![CDATA[True if the semaphore has been acquired]]></description>
6014
- <long-description><![CDATA[]]></long-description>
6015
- <tag line="580" name="since" description="2.10"/>
6016
- <tag line="580" name="var" description="" type="boolean">
6017
- <type by_reference="false">boolean</type>
6018
- </tag>
6019
- </docblock>
6020
- </property>
6021
- <property final="false" static="false" visibility="private" line="596" namespace="global" package="Media Library Assistant">
6022
- <name>$use_file_lock</name>
6023
- <default><![CDATA[false]]></default>
6024
- <docblock line="589">
6025
- <description><![CDATA[True if using a file lock instead of a semaphore]]></description>
6026
- <long-description><![CDATA[]]></long-description>
6027
- <tag line="589" name="since" description="2.10"/>
6028
- <tag line="589" name="var" description="" type="boolean">
6029
- <type by_reference="false">boolean</type>
6030
- </tag>
6031
- </docblock>
6032
- </property>
6033
- <property final="false" static="false" visibility="private" line="605" namespace="global" package="Media Library Assistant">
6034
- <name>$filename</name>
6035
- <default><![CDATA['']]></default>
6036
- <docblock line="598">
6037
- <description><![CDATA[Name of the (locked) file used as a semaphore]]></description>
6038
- <long-description><![CDATA[]]></long-description>
6039
- <tag line="598" name="since" description="2.10"/>
6040
- <tag line="598" name="var" description="" type="string">
6041
- <type by_reference="false">string</type>
6042
- </tag>
6043
- </docblock>
6044
- </property>
6045
- <property final="false" static="false" visibility="private" line="614" namespace="global" package="Media Library Assistant">
6046
- <name>$filepointer</name>
6047
- <default><![CDATA[]]></default>
6048
- <docblock line="607">
6049
- <description><![CDATA[File system pointer resource of the (locked) file used as a semaphore]]></description>
6050
- <long-description><![CDATA[]]></long-description>
6051
- <tag line="607" name="since" description="2.10"/>
6052
- <tag line="607" name="var" description="" type="resource">
6053
- <type by_reference="false">resource</type>
6054
- </tag>
6055
- </docblock>
6056
- </property>
6057
- <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="625" package="Media Library Assistant">
6058
- <name>__construct</name>
6059
- <full_name>__construct</full_name>
6060
- <docblock line="616">
6061
- <description><![CDATA[Initializes the choice of semaphore Vs file lock]]></description>
6062
- <long-description><![CDATA[]]></long-description>
6063
- <tag line="616" name="since" description="2.10"/>
6064
- <tag line="616" name="param" description="True to force use of file locking" type="boolean" variable="$use_lock">
6065
- <type by_reference="false">boolean</type>
6066
- </tag>
6067
- <tag line="616" name="return" description="" type="void">
6068
- <type by_reference="false">void</type>
6069
- </tag>
6070
- </docblock>
6071
- <argument line="625">
6072
- <name>$use_lock</name>
6073
- <default><![CDATA[false]]></default>
6074
- <type/>
6075
- </argument>
6076
- </method>
6077
- <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="648" package="Media Library Assistant">
6078
- <name>init</name>
6079
- <full_name>init</full_name>
6080
- <docblock line="638">
6081
- <description><![CDATA[Creates the semaphore or sets the (lock) file name]]></description>
6082
- <long-description><![CDATA[]]></long-description>
6083
- <tag line="638" name="since" description="2.10"/>
6084
- <tag line="638" name="param" description="Key to identify the semaphore" type="integer" variable="$id">
6085
- <type by_reference="false">integer</type>
6086
- </tag>
6087
- <tag line="638" name="param" description="Absolute path and name of the file for locking" type="string" variable="$filename">
6088
- <type by_reference="false">string</type>
6089
- </tag>
6090
- <tag line="638" name="return" description="True if the initialization succeeded" type="boolean">
6091
- <type by_reference="false">boolean</type>
6092
- </tag>
6093
- </docblock>
6094
- <argument line="648">
6095
- <name>$id</name>
6096
- <default><![CDATA[]]></default>
6097
- <type/>
6098
- </argument>
6099
- <argument line="648">
6100
- <name>$filename</name>
6101
- <default><![CDATA['']]></default>
6102
- <type/>
6103
- </argument>
6104
- </method>
6105
- <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="672" package="Media Library Assistant">
6106
- <name>acquire</name>
6107
- <full_name>acquire</full_name>
6108
- <docblock line="665">
6109
- <description><![CDATA[Acquires the semaphore or opens and locks the file]]></description>
6110
- <long-description><![CDATA[]]></long-description>
6111
- <tag line="665" name="since" description="2.10"/>
6112
- <tag line="665" name="return" description="True if the acquisition succeeded" type="boolean">
6113
- <type by_reference="false">boolean</type>
6114
- </tag>
6115
- </docblock>
6116
- </method>
6117
- <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="702" package="Media Library Assistant">
6118
- <name>release</name>
6119
- <full_name>release</full_name>
6120
- <docblock line="695">
6121
- <description><![CDATA[Releases the semaphore or unlocks and closes (but does not unlink) the file]]></description>
6122
- <long-description><![CDATA[]]></long-description>
6123
- <tag line="695" name="since" description="2.10"/>
6124
- <tag line="695" name="return" description="True if the release succeeded" type="boolean">
6125
- <type by_reference="false">boolean</type>
6126
- </tag>
6127
- </docblock>
6128
- </method>
6129
- <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="730" package="Media Library Assistant">
6130
- <name>getId</name>
6131
- <full_name>getId</full_name>
6132
- <docblock line="723">
6133
- <description><![CDATA[Returns the semaphore identifier, if it exists, else NULL]]></description>
6134
- <long-description><![CDATA[]]></long-description>
6135
- <tag line="723" name="since" description="2.10"/>
6136
- <tag line="723" name="return" description="Semaphore identifier or NULL" type="resource">
6137
- <type by_reference="false">resource</type>
6138
- </tag>
6139
- </docblock>
6140
- </method>
6141
- </class>
6142
- </file>
6143
- <file path="includes\class-mla-list-table.php" hash="004c981875b3f19d8c4146d109a828d7" package="Media Library Assistant">
6144
- <docblock line="2">
6145
- <description><![CDATA[Media Library Assistant extended List Table class]]></description>
6146
- <long-description><![CDATA[]]></long-description>
6147
- <tag line="2" name="package" description="Media Library Assistant"/>
6148
- <tag line="2" name="since" description="0.1"/>
6149
- </docblock>
6150
- <include line="13" type="Require Once" package="Media Library Assistant">
6151
- <name/>
6152
- </include>
6153
- <class final="false" abstract="false" namespace="global" line="24" package="Media Library Assistant">
6154
- <extends>\WP_List_Table</extends>
6155
- <name>MLA_List_Table</name>
6156
- <full_name>\MLA_List_Table</full_name>
6157
- <docblock line="16">
6158
- <description><![CDATA[Class MLA (Media Library Assistant) List Table implements the "Assistant" admin submenu]]></description>
6159
- <long-description><![CDATA[<p>Extends the core WP_List_Table class.</p>]]></long-description>
6160
- <tag line="16" name="package" description="Media Library Assistant"/>
6161
- <tag line="16" name="since" description="0.1"/>
6162
- </docblock>
6163
- <property final="false" static="false" visibility="private" line="34" namespace="global" package="Media Library Assistant">
6164
- <name>$detached</name>
6165
- <default><![CDATA[]]></default>
6166
- <docblock line="25">
6167
- <description><![CDATA[True if the current view is "Unattached"]]></description>
6168
- <long-description><![CDATA[<p>Declaration added in MLA v2.11 for WP 4.2 compatibility.</p>]]></long-description>
6169
- <tag line="25" name="since" description="0.1"/>
6170
- <tag line="25" name="var" description="" type="int">
6171
- <type by_reference="false">int</type>
6172
- </tag>
6173
- </docblock>
6174
- </property>
6175
- <property final="false" static="false" visibility="private" line="43" namespace="global" package="Media Library Assistant">
6176
- <name>$attached</name>
6177
- <default><![CDATA[]]></default>
6178
- <docblock line="36">
6179
- <description><![CDATA[True if the current view is "Attached"]]></description>
6180
- <long-description><![CDATA[]]></long-description>
6181
- <tag line="36" name="since" description="2.11"/>
6182
- <tag line="36" name="var" description="" type="int">
6183
- <type by_reference="false">int</type>
6184
- </tag>
6185
- </docblock>
6186
- </property>
6187
- <property final="false" static="false" visibility="private" line="54" namespace="global" package="Media Library Assistant">
6188
- <name>$is_trash</name>
6189
- <default><![CDATA[]]></default>
6190
- <docblock line="45">
6191
- <description><![CDATA[True if the current view is "Trash"]]></description>
6192
- <long-description><![CDATA[<p>Declaration added in MLA v2.11 for WP 4.2 compatibility.</p>]]></long-description>
6193
- <tag line="45" name="since" description="0.1"/>
6194
- <tag line="45" name="var" description="" type="int">
6195
- <type by_reference="false">int</type>
6196
- </tag>
6197
- </docblock>
6198
- </property>
6199
- <property final="false" static="false" visibility="protected" line="69" namespace="global" package="Media Library Assistant">
6200
- <name>$rollover_id</name>
6201
- <default><![CDATA[0]]></default>
6202
- <docblock line="60">
6203
- <description><![CDATA[Records assignment of row-level actions to a table row]]></description>
6204
- <long-description><![CDATA[<p>Set to the current Post-ID when row-level actions are output for the row.</p>]]></long-description>
6205
- <tag line="60" name="since" description="0.1"/>
6206
- <tag line="60" name="var" description="" type="int">
6207
- <type by_reference="false">int</type>
6208
- </tag>
6209
- </docblock>
6210
- </property>
6211
- <property final="false" static="false" visibility="protected" line="80" namespace="global" package="Media Library Assistant">
6212
- <name>$currently_hidden</name>
6213
- <default><![CDATA[array()]]></default>
6214
- <docblock line="71">
6215
- <description><![CDATA[Currently hidden columns]]></description>
6216
- <long-description><![CDATA[<p>Records hidden columns so row-level actions are not assigned to them.</p>]]></long-description>
6217
- <tag line="71" name="since" description="0.1"/>
6218
- <tag line="71" name="var" description="" type="array">
6219
- <type by_reference="false">array</type>
6220
- </tag>
6221
- </docblock>
6222
- </property>
6223
- <property final="false" static="false" visibility="protected" line="89" namespace="global" package="Media Library Assistant">
6224
- <name>$mla_wpml_table</name>
6225
- <default><![CDATA[NULL]]></default>
6226
- <docblock line="82">
6227
- <description><![CDATA[The WPML_List_table support object, if required]]></description>
6228
- <long-description><![CDATA[]]></long-description>
6229
- <tag line="82" name="since" description="2.11"/>
6230
- <tag line="82" name="var" description="" type="object">
6231
- <type by_reference="false">object</type>
6232
- </tag>
6233
- </docblock>
6234
- </property>
6235
- <property final="false" static="true" visibility="protected" line="104" namespace="global" package="Media Library Assistant">
6236
- <name>$default_columns</name>
6237
- <default><![CDATA[array()]]></default>
6238
- <docblock line="97">
6239
- <description><![CDATA[Table column definitions]]></description>
6240
- <long-description><![CDATA[]]></long-description>
6241
- <tag line="97" name="since" description="0.1"/>
6242
- <tag line="97" name="var" description="" type="array">
6243
- <type by_reference="false">array</type>
6244
- </tag>
6245
- </docblock>
6246
- </property>
6247
- <property final="false" static="true" visibility="protected" line="113" namespace="global" package="Media Library Assistant">
6248
- <name>$default_hidden_columns</name>
6249
- <default><![CDATA[array()]]></default>
6250
- <docblock line="106">
6251
- <description><![CDATA[Default values for hidden columns]]></description>
6252
- <long-description><![CDATA[]]></long-description>
6253
- <tag line="106" name="since" description="0.1"/>
6254
- <tag line="106" name="var" description="" type="array">
6255
- <type by_reference="false">array</type>
6256
- </tag>
6257
- </docblock>
6258
- </property>
6259
- <property final="false" static="true" visibility="protected" line="122" namespace="global" package="Media Library Assistant">
6260
- <name>$default_sortable_columns</name>
6261
- <default><![CDATA[array()]]></default>
6262
- <docblock line="115">
6263
- <description><![CDATA[Sortable column definitions]]></description>
6264
- <long-description><![CDATA[]]></long-description>
6265
- <tag line="115" name="since" description="0.1"/>
6266
- <tag line="115" name="var" description="" type="array">
6267
- <type by_reference="false">array</type>
6268
- </tag>
6269
- </docblock>
6270
- </property>
6271
- <method final="false" abstract="false" static="true" visibility="protected" namespace="global" line="136" package="Media Library Assistant">
6272
- <name>_avail_mime_types</name>
6273
- <full_name>_avail_mime_types</full_name>
6274
- <docblock line="124">
6275
- <description><![CDATA[Get MIME types with one or more attachments for view preparation]]></description>
6276
- <long-description><![CDATA[<p>Modeled after get_available_post_mime_types in wp-admin/includes/post.php,
6277
- but uses the output of wp_count_attachments() as input.</p>]]></long-description>
6278
- <tag line="124" name="since" description="0.1"/>
6279
- <tag line="124" name="param" description="Number of posts for each MIME type" type="array" variable="$num_posts">
6280
- <type by_reference="false">array</type>
6281
- </tag>
6282
- <tag line="124" name="return" description="Mime type names" type="array">
6283
- <type by_reference="false">array</type>
6284
- </tag>
6285
- </docblock>
6286
- <argument line="136">
6287
- <name>$num_posts</name>
6288
- <default><![CDATA[]]></default>
6289
- <type/>
6290
- </argument>
6291
- </method>
6292
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="157" package="Media Library Assistant">
6293
- <name>mla_get_taxonomy_filter_dropdown</name>
6294
- <full_name>mla_get_taxonomy_filter_dropdown</full_name>
6295
- <docblock line="148">
6296
- <description><![CDATA[Get dropdown box of terms to filter by, if available]]></description>
6297
- <long-description><![CDATA[]]></long-description>
6298
- <tag line="148" name="since" description="1.20"/>
6299
- <tag line="148" name="param" description="currently selected term_id || zero (default)" type="integer" variable="$selected">
6300
- <type by_reference="false">integer</type>
6301
- </tag>
6302
- <tag line="148" name="return" description="HTML markup for dropdown box" type="string">
6303
- <type by_reference="false">string</type>
6304
- </tag>
6305
- </docblock>
6306
- <argument line="157">
6307
- <name>$selected</name>
6308
- <default><![CDATA[0]]></default>
6309
- <type/>
6310
- </argument>
6311
- </method>
6312
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="204" package="Media Library Assistant">
6313
- <name>mla_submenu_arguments</name>
6314
- <full_name>mla_submenu_arguments</full_name>
6315
- <docblock line="195">
6316
- <description><![CDATA[Process $_REQUEST, building $submenu_arguments]]></description>
6317
- <long-description><![CDATA[]]></long-description>
6318
- <tag line="195" name="since" description="1.42"/>
6319
- <tag line="195" name="param" description="Optional: Include the &quot;click filter&quot; values in the results" type="boolean" variable="$include_filters">
6320
- <type by_reference="false">boolean</type>
6321
- </tag>
6322
- <tag line="195" name="return" description="non-empty view, search, filter and sort arguments" type="array">
6323
- <type by_reference="false">array</type>
6324
- </tag>
6325
- </docblock>
6326
- <argument line="204">
6327
- <name>$include_filters</name>
6328
- <default><![CDATA[true]]></default>
6329
- <type/>
6330
- </argument>
6331
- </method>
6332
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="321" package="Media Library Assistant">
6333
- <name>mla_manage_hidden_columns_filter</name>
6334
- <full_name>mla_manage_hidden_columns_filter</full_name>
6335
- <docblock line="306">
6336
- <description><![CDATA[Handler for filter 'get_user_option_managemedia_page_mla-menucolumnshidden']]></description>
6337
- <long-description><![CDATA[<p>Required because the screen.php get_hidden_columns function only uses
6338
- the get_user_option result. Set when the file is loaded because the object
6339
- is not created in time for the call from screen.php.</p>]]></long-description>
6340
- <tag line="306" name="since" description="0.1"/>
6341
- <tag line="306" name="param" description="current list of hidden columns, if any" type="string" variable="$result">
6342
- <type by_reference="false">string</type>
6343
- </tag>
6344
- <tag line="306" name="param" description="'managemedia_page_mla-menucolumnshidden'" type="string" variable="$option">
6345
- <type by_reference="false">string</type>
6346
- </tag>
6347
- <tag line="306" name="param" description="WP_User object, if logged in" type="object" variable="$user_data">
6348
- <type by_reference="false">object</type>
6349
- </tag>
6350
- <tag line="306" name="return" description="updated list of hidden columns" type="array">
6351
- <type by_reference="false">array</type>
6352
- </tag>
6353
- </docblock>
6354
- <argument line="321">
6355
- <name>$result</name>
6356
- <default><![CDATA[]]></default>
6357
- <type/>
6358
- </argument>
6359
- <argument line="321">
6360
- <name>$option</name>
6361
- <default><![CDATA[]]></default>
6362
- <type/>
6363
- </argument>
6364
- <argument line="321">
6365
- <name>$user_data</name>
6366
- <default><![CDATA[]]></default>
6367
- <type/>
6368
- </argument>
6369
- </method>
6370
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="340" package="Media Library Assistant">
6371
- <name>mla_manage_columns_filter</name>
6372
- <full_name>mla_manage_columns_filter</full_name>
6373
- <docblock line="329">
6374
- <description><![CDATA[Handler for filter 'manage_media_page_mla-menu_columns']]></description>
6375
- <long-description><![CDATA[<p>This required filter dictates the table's columns and titles. Set when the
6376
- file is loaded because the list_table object isn't created in time
6377
- to affect the "screen options" setup.</p>]]></long-description>
6378
- <tag line="329" name="since" description="0.1"/>
6379
- <tag line="329" name="return" description="list of table columns" type="array">
6380
- <type by_reference="false">array</type>
6381
- </tag>
6382
- </docblock>
6383
- </method>
6384
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="359" package="Media Library Assistant">
6385
- <name>mla_admin_init_action</name>
6386
- <full_name>mla_admin_init_action</full_name>
6387
- <docblock line="351">
6388
- <description><![CDATA[Adds support for taxonomy and custom field columns]]></description>
6389
- <long-description><![CDATA[<p>Called in the admin_init action because the list_table object isn't
6390
- created in time to affect the "screen options" setup.</p>]]></long-description>
6391
- <tag line="351" name="since" description="0.30"/>
6392
- </docblock>
6393
- </method>
6394
- <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="371" package="Media Library Assistant">
6395
- <name>__construct</name>
6396
- <full_name>__construct</full_name>
6397
- <docblock line="365">
6398
- <description><![CDATA[Initializes some properties from $_REQUEST variables, then
6399
- calls the parent constructor to set some default configs.]]></description>
6400
- <long-description><![CDATA[]]></long-description>
6401
- <tag line="365" name="since" description="0.1"/>
6402
- </docblock>
6403
- </method>
6404
- <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="407" package="Media Library Assistant">
6405
- <name>ajax_user_can</name>
6406
- <full_name>ajax_user_can</full_name>
6407
- <docblock line="400">
6408
- <description><![CDATA[Checks the current user's permissions]]></description>
6409
- <long-description><![CDATA[]]></long-description>
6410
- <tag line="400" name="since" description="2.13"/>
6411
- <tag line="400" name="return" description="" type="bool">
6412
- <type by_reference="false">bool</type>
6413
- </tag>
6414
- </docblock>
6415
- </method>
6416
- <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="424" package="Media Library Assistant">
6417
- <name>column_default</name>
6418
- <full_name>column_default</full_name>
6419
- <docblock line="411">
6420
- <description><![CDATA[Supply a column value if no column-specific function has been defined]]></description>
6421
- <long-description><![CDATA[<p>Called when the parent class can't find a method specifically built for a given column.
6422
- The taxonomy and custom field columns are handled here. All other columns should have
6423
- a specific method, so this function returns a troubleshooting message.</p>]]></long-description>
6424
- <tag line="411" name="since" description="0.1"/>
6425
- <tag line="411" name="param" description="A singular item (one full row's worth of data)" type="array" variable="$item">
6426
- <type by_reference="false">array</type>
6427
- </tag>
6428
- <tag line="411" name="param" description="The name/slug of the column to be processed" type="array" variable="$column_name">
6429
- <type by_reference="false">array</type>
6430
- </tag>
6431
- <tag line="411" name="return" description="Text or HTML to be placed inside the column" type="string">
6432
- <type by_reference="false">string</type>
6433
- </tag>
6434
- </docblock>
6435
- <argument line="424">
6436
- <name>$item</name>
6437
- <default><![CDATA[]]></default>
6438
- <type/>
6439
- </argument>
6440
- <argument line="424">
6441
- <name>$column_name</name>
6442
- <default><![CDATA[]]></default>
6443
- <type/>
6444
- </argument>
6445
- </method>
6446
- <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="514" package="Media Library Assistant">
6447
- <name>column_cb</name>
6448
- <full_name>column_cb</full_name>
6449
- <docblock line="505">
6450
- <description><![CDATA[Displays checkboxes for using bulk actions.]]></description>
6451
- <long-description><![CDATA[<p>The 'cb' column
6452
- is given special treatment when columns are processed.</p>]]></long-description>
6453
- <tag line="505" name="since" description="0.1"/>
6454
- <tag line="505" name="param" description="A singular attachment (post) object" type="array" variable="$item">
6455
- <type by_reference="false">array</type>
6456
- </tag>
6457
- <tag line="505" name="return" description="HTML markup to be placed inside the column" type="string">
6458
- <type by_reference="false">string</type>
6459
- </tag>
6460
- </docblock>
6461
- <argument line="514">
6462
- <name>$item</name>
6463
- <default><![CDATA[]]></default>
6464
- <type/>
6465
- </argument>
6466
- </method>
6467
- <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="529" package="Media Library Assistant">
6468
- <name>column_icon</name>
6469
- <full_name>column_icon</full_name>
6470
- <docblock line="521">
6471
- <description><![CDATA[Supply the content for a custom column]]></description>
6472
- <long-description><![CDATA[]]></long-description>
6473
- <tag line="521" name="since" description="0.1"/>
6474
- <tag line="521" name="param" description="A singular attachment (post) object" type="array" variable="$item">
6475
- <type by_reference="false">array</type>
6476
- </tag>
6477
- <tag line="521" name="return" description="HTML markup to be placed inside the column" type="string">
6478
- <type by_reference="false">string</type>
6479
- </tag>
6480
- </docblock>
6481
- <argument line="529">
6482
- <name>$item</name>
6483
- <default><![CDATA[]]></default>
6484
- <type/>
6485
- </argument>
6486
- </method>
6487
- <method final="false" abstract="false" static="false" visibility="protected" namespace="global" line="558" package="Media Library Assistant">
6488
- <name>_format_post_status</name>
6489
- <full_name>_format_post_status</full_name>
6490
- <docblock line="549">
6491
- <description><![CDATA[Translate post_status 'future', 'pending', 'draft' and 'trash' to label]]></description>
6492
- <long-description><![CDATA[]]></long-description>
6493
- <tag line="549" name="since" description="2.01"/>
6494
- <tag line="549" name="param" description="post_status" type="string" variable="$post_status">
6495
- <type by_reference="false">string</type>
6496
- </tag>
6497
- <tag line="549" name="return" description="Status label or empty string" type="string">
6498
- <type by_reference="false">string</type>
6499
- </tag>
6500
- </docblock>
6501
- <argument line="558">
6502
- <name>$post_status</name>
6503
- <default><![CDATA[]]></default>
6504
- <type/>
6505
- </argument>
6506
- </method>
6507
- <method final="false" abstract="false" static="false" visibility="protected" namespace="global" line="588" package="Media Library Assistant">
6508
- <name>get_default_primary_column_name</name>
6509
- <full_name>get_default_primary_column_name</full_name>
6510
- <docblock line="580">
6511
- <description><![CDATA[Get the name of the default primary column.]]></description>
6512
- <long-description><![CDATA[]]></long-description>
6513
- <tag line="580" name="since" description="2.13"/>
6514
- <tag line="580" name="access" description="protected"/>
6515
- <tag line="580" name="return" description="Name of the default primary column" type="string">
6516
- <type by_reference="false">string</type>
6517
- </tag>
6518
- </docblock>
6519
- </method>
6520
- <method final="false" abstract="false" static="false" visibility="protected" namespace="global" line="623" package="Media Library Assistant">
6521
- <name>handle_row_actions</name>
6522
- <full_name>handle_row_actions</full_name>
6523
- <docblock line="612">
6524
- <description><![CDATA[Generate and display row actions links.]]></description>
6525
- <long-description><![CDATA[]]></long-description>
6526
- <tag line="612" name="since" description="2.13"/>
6527
- <tag line="612" name="access" description="protected"/>
6528
- <tag line="612" name="param" description="Attachment being acted upon." type="object" variable="$item">
6529
- <type by_reference="false">object</type>
6530
- </tag>
6531
- <tag line="612" name="param" description="Current column name." type="string" variable="$column_name">
6532
- <type by_reference="false">string</type>
6533
- </tag>
6534
- <tag line="612" name="param" description="Primary column name." type="string" variable="$primary">
6535
- <type by_reference="false">string</type>
6536
- </tag>
6537
- <tag line="612" name="return" description="Row actions output for media attachments." type="string">
6538
- <type by_reference="false">string</type>
6539
- </tag>
6540
- </docblock>
6541
- <argument line="623">
6542
- <name>$item</name>
6543
- <default><![CDATA[]]></default>
6544
- <type/>
6545
- </argument>
6546
- <argument line="623">
6547
- <name>$column_name</name>
6548
- <default><![CDATA[]]></default>
6549
- <type/>
6550
- </argument>
6551
- <argument line="623">
6552
- <name>$primary</name>
6553
- <default><![CDATA[]]></default>
6554
- <type/>
6555
- </argument>
6556
- </method>
6557
- <method final="false" abstract="false" static="false" visibility="protected" namespace="global" line="644" package="Media Library Assistant">
6558
- <name>_build_rollover_actions</name>
6559
- <full_name>_build_rollover_actions</full_name>
6560
- <docblock line="633">
6561
- <description><![CDATA[Add rollover actions to the current primary column, one of:
6562
- 'ID_parent', 'title_name', 'post_title', 'post_name']]></description>
6563
- <long-description><![CDATA[]]></long-description>
6564
- <tag line="633" name="since" description="0.1"/>
6565
- <tag line="633" name="param" description="A singular attachment (post) object" type="object" variable="$item">
6566
- <type by_reference="false">object</type>
6567
- </tag>
6568
- <tag line="633" name="param" description="Current column name" type="string" variable="$column">
6569
- <type by_reference="false">string</type>
6570
- </tag>
6571
- <tag line="633" name="return" description="Names and URLs of row-level actions" type="array">
6572
- <type by_reference="false">array</type>
6573
- </tag>
6574
- </docblock>
6575
- <argument line="644">
6576
- <name>$item</name>
6577
- <default><![CDATA[]]></default>
6578
- <type/>
6579
- </argument>
6580
- <argument line="644">
6581
- <name>$column</name>
6582
- <default><![CDATA[]]></default>
6583
- <type/>
6584
- </argument>
6585
- </method>
6586
- <method final="false" abstract="false" static="false" visibility="protected" namespace="global" line="716" package="Media Library Assistant">
6587
- <name>_build_item_thumbnail</name>
6588
- <full_name>_build_item_thumbnail</full_name>
6589
- <docblock line="707">
6590
- <description><![CDATA[Generate item thumbnail image tag]]></description>
6591
- <long-description><![CDATA[]]></long-description>
6592
- <tag line="707" name="since" description="2.15"/>
6593
- <tag line="707" name="param" description="A singular attachment (post) object" type="object" variable="$item">
6594
- <type by_reference="false">object</type>
6595
- </tag>
6596
- <tag line="707" name="return" description="HTML &lt;img&gt; for thumbnail" type="string">
6597
- <type by_reference="false">string</type>
6598
- </tag>
6599
- </docblock>
6600
- <argument line="716">
6601
- <name>$item</name>
6602
- <default><![CDATA[]]></default>
6603
- <type/>
6604
- </argument>
6605
- </method>
6606
- <method final="false" abstract="false" static="false" visibility="protected" namespace="global" line="770" package="Media Library Assistant">
6607
- <name>_build_inline_data</name>
6608
- <full_name>_build_inline_data</full_name>
6609
- <docblock line="761">
6610
- <description><![CDATA[Add hidden fields with the data for use in the inline editor]]></description>
6611
- <long-description><![CDATA[]]></long-description>
6612
- <tag line="761" name="since" description="0.20"/>
6613
- <tag line="761" name="param" description="A singular attachment (post) object" type="object" variable="$item">
6614
- <type by_reference="false">object</type>
6615
- </tag>
6616
- <tag line="761" name="return" description="HTML &lt;div&gt; with row data" type="string">
6617
- <type by_reference="false">string</type>
6618
- </tag>
6619
- </docblock>
6620
- <argument line="770">
6621
- <name>$item</name>
6622
- <default><![CDATA[]]></default>
6623
- <type/>
6624
- </argument>
6625
- </method>
6626
- <method final="false" abstract="false" static="false" visibility="protected" namespace="global" line="871" package="Media Library Assistant">
6627
- <name>_handle_primary_column</name>
6628
- <full_name>_handle_primary_column</full_name>
6629
- <docblock line="856">
6630
- <description><![CDATA[Format primary column before/after Wordpress v4.3]]></description>
6631
- <long-description><![CDATA[<p>For WordPress before 4.3, add rollover actions and inline_data to the
6632
- first visible column. For 4.3 and later, merge the icon with the primary
6633
- visible column and add div tags.</p>]]></long-description>
6634
- <tag line="856" name="since" description="2.13"/>
6635
- <tag line="856" name="param" description="A singular attachment (post) object" type="object" variable="$item">
6636
- <type by_reference="false">object</type>
6637
- </tag>
6638
- <tag line="856" name="param" description="Current column name" type="string" variable="$column_name">
6639
- <type by_reference="false">string</type>
6640
- </tag>
6641
- <tag line="856" name="param" description="Current column contents" type="string" variable="$column_content">
6642
- <type by_reference="false">string</type>
6643
- </tag>
6644
- <tag line="856" name="return" description="Complete column content" type="string">
6645
- <type by_reference="false">string</type>
6646
- </tag>
6647
- </docblock>
6648
- <argument line="871">
6649
- <name>$item</name>
6650
- <default><![CDATA[]]></default>
6651
- <type/>
6652
- </argument>
6653
- <argument line="871">
6654
- <name>$column_name</name>
6655
- <default><![CDATA[]]></default>
6656
- <type/>
6657
- </argument>
6658
- <argument line="871">
6659
- <name>$column_content</name>
6660
- <default><![CDATA[]]></default>
6661
- <type/>
6662
- </argument>
6663
- </method>
6664
- <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="904" package="Media Library Assistant">
6665
- <name>column_ID_parent</name>
6666
- <full_name>column_ID_parent</full_name>
6667
- <docblock line="896">
6668
- <description><![CDATA[Supply the content for a custom column]]></description>
6669
- <long-description><![CDATA[]]></long-description>
6670
- <tag line="896" name="since" description="0.1"/>
6671
- <tag line="896" name="param" description="A singular attachment (post) object" type="array" variable="$item">
6672
- <type by_reference="false">array</type>
6673
- </tag>
6674
- <tag line="896" name="return" description="HTML markup to be placed inside the column" type="string">
6675
- <type by_reference="false">string</type>
6676
- </tag>
6677
- </docblock>
6678
- <argument line="904">
6679
- <name>$item</name>
6680
- <default><![CDATA[]]></default>
6681
- <type/>
6682
- </argument>
6683
- </method>
6684
- <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="933" package="Media Library Assistant">
6685
- <name>column_title_name</name>
6686
- <full_name>column_title_name</full_name>
6687
- <docblock line="925">
6688
- <description><![CDATA[Supply the content for a custom column]]></description>
6689
- <long-description><![CDATA[]]></long-description>
6690
- <tag line="925" name="since" description="0.1"/>
6691
- <tag line="925" name="param" description="A singular attachment (post) object" type="array" variable="$item">
6692
- <type by_reference="false">array</type>
6693
- </tag>
6694
- <tag line="925" name="return" description="HTML markup to be placed inside the column" type="string">
6695
- <type by_reference="false">string</type>
6696
- </tag>
6697
- </docblock>
6698
- <argument line="933">
6699
- <name>$item</name>
6700
- <default><![CDATA[]]></default>
6701
- <type/>
6702
- </argument>
6703
- </method>
6704
- <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="951" package="Media Library Assistant">
6705
- <name>column_post_title</name>
6706
- <full_name>column_post_title</full_name>
6707
- <docblock line="943">
6708
- <description><![CDATA[Supply the content for a custom column]]></description>
6709
- <long-description><![CDATA[]]></long-description>
6710
- <tag line="943" name="since" description="0.1"/>
6711
- <tag line="943" name="param" description="A singular attachment (post) object" type="array" variable="$item">
6712
- <type by_reference="false">array</type>
6713
- </tag>
6714
- <tag line="943" name="return" description="HTML markup to be placed inside the column" type="string">
6715
- <type by_reference="false">string</type>
6716
- </tag>
6717
- </docblock>
6718
- <argument line="951">
6719
- <name>$item</name>
6720
- <default><![CDATA[]]></default>
6721
- <type/>
6722
- </argument>
6723
- </method>
6724
- <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="963" package="Media Library Assistant">
6725
- <name>column_post_name</name>
6726
- <full_name>column_post_name</full_name>
6727
- <docblock line="955">
6728
- <description><![CDATA[Supply the content for a custom column]]></description>
6729
- <long-description><![CDATA[]]></long-description>
6730
- <tag line="955" name="since" description="0.1"/>
6731
- <tag line="955" name="param" description="A singular attachment (post) object" type="array" variable="$item">
6732
- <type by_reference="false">array</type>
6733
- </tag>
6734
- <tag line="955" name="return" description="HTML markup to be placed inside the column" type="string">
6735
- <type by_reference="false">string</type>
6736
- </tag>
6737
- </docblock>
6738
- <argument line="963">
6739
- <name>$item</name>
6740
- <default><![CDATA[]]></default>
6741
- <type/>
6742
- </argument>
6743
- </method>
6744
- <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="975" package="Media Library Assistant">
6745
- <name>column_parent</name>
6746
- <full_name>column_parent</full_name>
6747
- <docblock line="967">
6748
- <description><![CDATA[Supply the content for a custom column]]></description>
6749
- <long-description><![CDATA[]]></long-description>
6750
- <tag line="967" name="since" description="0.1"/>
6751
- <tag line="967" name="param" description="A singular attachment (post) object" type="array" variable="$item">
6752
- <type by_reference="false">array</type>
6753
- </tag>
6754
- <tag line="967" name="return" description="HTML markup to be placed inside the column" type="string">
6755
- <type by_reference="false">string</type>
6756
- </tag>
6757
- </docblock>
6758
- <argument line="975">
6759
- <name>$item</name>
6760
- <default><![CDATA[]]></default>
6761
- <type/>
6762
- </argument>
6763
- </method>
6764
- <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1001" package="Media Library Assistant">
6765
- <name>column_menu_order</name>
6766
- <full_name>column_menu_order</full_name>
6767
- <docblock line="993">
6768
- <description><![CDATA[Supply the content for a custom column]]></description>
6769
- <long-description><![CDATA[]]></long-description>
6770
- <tag line="993" name="since" description="0.60"/>
6771
- <tag line="993" name="param" description="A singular attachment (post) object" type="array" variable="$item">
6772
- <type by_reference="false">array</type>
6773
- </tag>
6774
- <tag line="993" name="return" description="HTML markup to be placed inside the column" type="string">
6775
- <type by_reference="false">string</type>
6776
- </tag>
6777
- </docblock>
6778
- <argument line="1001">
6779
- <name>$item</name>
6780
- <default><![CDATA[]]></default>
6781
- <type/>
6782
- </argument>
6783
- </method>
6784
- <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1013" package="Media Library Assistant">
6785
- <name>column_featured</name>
6786
- <full_name>column_featured</full_name>
6787
- <docblock line="1005">
6788
- <description><![CDATA[Supply the content for a custom column]]></description>
6789
- <long-description><![CDATA[]]></long-description>
6790
- <tag line="1005" name="since" description="0.1"/>
6791
- <tag line="1005" name="param" description="A singular attachment (post) object" type="array" variable="$item">
6792
- <type by_reference="false">array</type>
6793
- </tag>
6794
- <tag line="1005" name="return" description="HTML markup to be placed inside the column" type="string">
6795
- <type by_reference="false">string</type>
6796
- </tag>
6797
- </docblock>
6798
- <argument line="1013">
6799
- <name>$item</name>
6800
- <default><![CDATA[]]></default>
6801
- <type/>
6802
- </argument>
6803
- </method>
6804
- <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1058" package="Media Library Assistant">
6805
- <name>column_inserted</name>
6806
- <full_name>column_inserted</full_name>
6807
- <docblock line="1050">
6808
- <description><![CDATA[Supply the content for a custom column]]></description>
6809
- <long-description><![CDATA[]]></long-description>
6810
- <tag line="1050" name="since" description="0.1"/>
6811
- <tag line="1050" name="param" description="A singular attachment (post) object" type="array" variable="$item">
6812
- <type by_reference="false">array</type>
6813
- </tag>
6814
- <tag line="1050" name="return" description="HTML markup to be placed inside the column" type="string">
6815
- <type by_reference="false">string</type>
6816
- </tag>
6817
- </docblock>
6818
- <argument line="1058">
6819
- <name>$item</name>
6820
- <default><![CDATA[]]></default>
6821
- <type/>
6822
- </argument>
6823
- </method>
6824
- <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1108" package="Media Library Assistant">
6825
- <name>column_galleries</name>
6826
- <full_name>column_galleries</full_name>
6827
- <docblock line="1100">
6828
- <description><![CDATA[Supply the content for a custom column]]></description>
6829
- <long-description><![CDATA[]]></long-description>
6830
- <tag line="1100" name="since" description="0.70"/>
6831
- <tag line="1100" name="param" description="A singular attachment (post) object" type="array" variable="$item">
6832
- <type by_reference="false">array</type>
6833
- </tag>
6834
- <tag line="1100" name="return" description="HTML markup to be placed inside the column" type="string">
6835
- <type by_reference="false">string</type>
6836
- </tag>
6837
- </docblock>
6838
- <argument line="1108">
6839
- <name>$item</name>
6840
- <default><![CDATA[]]></default>
6841
- <type/>
6842
- </argument>
6843
- </method>
6844
- <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1153" package="Media Library Assistant">
6845
- <name>column_mla_galleries</name>
6846
- <full_name>column_mla_galleries</full_name>
6847
- <docblock line="1145">
6848
- <description><![CDATA[Supply the content for a custom column]]></description>
6849
- <long-description><![CDATA[]]></long-description>
6850
- <tag line="1145" name="since" description="0.70"/>
6851
- <tag line="1145" name="param" description="A singular attachment (post) object" type="array" variable="$item">
6852
- <type by_reference="false">array</type>
6853
- </tag>
6854
- <tag line="1145" name="return" description="HTML markup to be placed inside the column" type="string">
6855
- <type by_reference="false">string</type>
6856
- </tag>
6857
- </docblock>
6858
- <argument line="1153">
6859
- <name>$item</name>
6860
- <default><![CDATA[]]></default>
6861
- <type/>
6862
- </argument>
6863
- </method>
6864
- <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1198" package="Media Library Assistant">
6865
- <name>column_alt_text</name>
6866
- <full_name>column_alt_text</full_name>
6867
- <docblock line="1190">
6868
- <description><![CDATA[Supply the content for a custom column]]></description>
6869
- <long-description><![CDATA[]]></long-description>
6870
- <tag line="1190" name="since" description="0.1"/>
6871
- <tag line="1190" name="param" description="A singular attachment (post) object" type="array" variable="$item">
6872
- <type by_reference="false">array</type>
6873
- </tag>
6874
- <tag line="1190" name="return" description="HTML markup to be placed inside the column" type="string">
6875
- <type by_reference="false">string</type>
6876
- </tag>
6877
- </docblock>
6878
- <argument line="1198">
6879
- <name>$item</name>
6880
- <default><![CDATA[]]></default>
6881
- <type/>
6882
- </argument>
6883
- </method>
6884
- <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1225" package="Media Library Assistant">
6885
- <name>column_caption</name>
6886
- <full_name>column_caption</full_name>
6887
- <docblock line="1217">
6888
- <description><![CDATA[Supply the content for a custom column]]></description>
6889
- <long-description><![CDATA[]]></long-description>
6890
- <tag line="1217" name="since" description="0.1"/>
6891
- <tag line="1217" name="param" description="A singular attachment (post) object" type="array" variable="$item">
6892
- <type by_reference="false">array</type>
6893
- </tag>
6894
- <tag line="1217" name="return" description="HTML markup to be placed inside the column" type="string">
6895
- <type by_reference="false">string</type>
6896
- </tag>
6897
- </docblock>
6898
- <argument line="1225">
6899
- <name>$item</name>
6900
- <default><![CDATA[]]></default>
6901
- <type/>
6902
- </argument>
6903
- </method>
6904
- <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1237" package="Media Library Assistant">
6905
- <name>column_description</name>
6906
- <full_name>column_description</full_name>
6907
- <docblock line="1229">
6908
- <description><![CDATA[Supply the content for a custom column]]></description>
6909
- <long-description><![CDATA[]]></long-description>
6910
- <tag line="1229" name="since" description="0.1"/>
6911
- <tag line="1229" name="param" description="A singular attachment (post) object" type="array" variable="$item">
6912
- <type by_reference="false">array</type>
6913
- </tag>
6914
- <tag line="1229" name="return" description="HTML markup to be placed inside the column" type="string">
6915
- <type by_reference="false">string</type>
6916
- </tag>
6917
- </docblock>
6918
- <argument line="1237">
6919
- <name>$item</name>
6920
- <default><![CDATA[]]></default>
6921
- <type/>
6922
- </argument>
6923
- </method>
6924
- <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1249" package="Media Library Assistant">
6925
- <name>column_post_mime_type</name>
6926
- <full_name>column_post_mime_type</full_name>
6927
- <docblock line="1241">
6928
- <description><![CDATA[Supply the content for a custom column]]></description>
6929
- <long-description><![CDATA[]]></long-description>
6930
- <tag line="1241" name="since" description="0.30"/>
6931
- <tag line="1241" name="param" description="A singular attachment (post) object" type="array" variable="$item">
6932
- <type by_reference="false">array</type>
6933
- </tag>
6934
- <tag line="1241" name="return" description="HTML markup to be placed inside the column" type="string">
6935
- <type by_reference="false">string</type>
6936
- </tag>
6937
- </docblock>
6938
- <argument line="1249">
6939
- <name>$item</name>
6940
- <default><![CDATA[]]></default>
6941
- <type/>
6942
- </argument>
6943
- </method>
6944
- <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1265" package="Media Library Assistant">
6945
- <name>column_file_url</name>
6946
- <full_name>column_file_url</full_name>
6947
- <docblock line="1257">
6948
- <description><![CDATA[Supply the content for a custom column]]></description>
6949
- <long-description><![CDATA[]]></long-description>
6950
- <tag line="1257" name="since" description="0.1"/>
6951
- <tag line="1257" name="param" description="A singular attachment (post) object" type="array" variable="$item">
6952
- <type by_reference="false">array</type>
6953
- </tag>
6954
- <tag line="1257" name="return" description="HTML markup to be placed inside the column" type="string">
6955
- <type by_reference="false">string</type>
6956
- </tag>
6957
- </docblock>
6958
- <argument line="1265">
6959
- <name>$item</name>
6960
- <default><![CDATA[]]></default>
6961
- <type/>
6962
- </argument>
6963
- </method>
6964
- <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1279" package="Media Library Assistant">
6965
- <name>column_base_file</name>
6966
- <full_name>column_base_file</full_name>
6967
- <docblock line="1271">
6968
- <description><![CDATA[Supply the content for a custom column]]></description>
6969
- <long-description><![CDATA[]]></long-description>
6970
- <tag line="1271" name="since" description="0.1"/>
6971
- <tag line="1271" name="param" description="A singular attachment (post) object" type="array" variable="$item">
6972
- <type by_reference="false">array</type>
6973
- </tag>
6974
- <tag line="1271" name="return" description="HTML markup to be placed inside the column" type="string">
6975
- <type by_reference="false">string</type>
6976
- </tag>
6977
- </docblock>
6978
- <argument line="1279">
6979
- <name>$item</name>
6980
- <default><![CDATA[]]></default>
6981
- <type/>
6982
- </argument>
6983
- </method>
6984
- <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1298" package="Media Library Assistant">
6985
- <name>column_date</name>
6986
- <full_name>column_date</full_name>
6987
- <docblock line="1290">
6988
- <description><![CDATA[Supply the content for a custom column]]></description>
6989
- <long-description><![CDATA[]]></long-description>
6990
- <tag line="1290" name="since" description="0.1"/>
6991
- <tag line="1290" name="param" description="A singular attachment (post) object" type="array" variable="$item">
6992
- <type by_reference="false">array</type>
6993
- </tag>
6994
- <tag line="1290" name="return" description="HTML markup to be placed inside the column" type="string">
6995
- <type by_reference="false">string</type>
6996
- </tag>
6997
- </docblock>
6998
- <argument line="1298">
6999
- <name>$item</name>
7000
- <default><![CDATA[]]></default>
7001
- <type/>
7002
- </argument>
7003
- </method>
7004
- <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1333" package="Media Library Assistant">
7005
- <name>column_modified</name>
7006
- <full_name>column_modified</full_name>
7007
- <docblock line="1325">
7008
- <description><![CDATA[Supply the content for a custom column]]></description>
7009
- <long-description><![CDATA[]]></long-description>
7010
- <tag line="1325" name="since" description="0.30"/>
7011
- <tag line="1325" name="param" description="A singular attachment (post) object" type="array" variable="$item">
7012
- <type by_reference="false">array</type>
7013
- </tag>
7014
- <tag line="1325" name="return" description="HTML markup to be placed inside the column" type="string">
7015
- <type by_reference="false">string</type>
7016
- </tag>
7017
- </docblock>
7018
- <argument line="1333">
7019
- <name>$item</name>
7020
- <default><![CDATA[]]></default>
7021
- <type/>
7022
- </argument>
7023
- </method>
7024
- <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1362" package="Media Library Assistant">
7025
- <name>column_author</name>
7026
- <full_name>column_author</full_name>
7027
- <docblock line="1354">
7028
- <description><![CDATA[Supply the content for a custom column]]></description>
7029
- <long-description><![CDATA[]]></long-description>
7030
- <tag line="1354" name="since" description="0.30"/>
7031
- <tag line="1354" name="param" description="A singular attachment (post) object" type="array" variable="$item">
7032
- <type by_reference="false">array</type>
7033
- </tag>
7034
- <tag line="1354" name="return" description="HTML markup to be placed inside the column" type="string">
7035
- <type by_reference="false">string</type>
7036
- </tag>
7037
- </docblock>
7038
- <argument line="1362">
7039
- <name>$item</name>
7040
- <default><![CDATA[]]></default>
7041
- <type/>
7042
- </argument>
7043
- </method>
7044
- <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1384" package="Media Library Assistant">
7045
- <name>column_attached_to</name>
7046
- <full_name>column_attached_to</full_name>
7047
- <docblock line="1376">
7048
- <description><![CDATA[Supply the content for a custom column]]></description>
7049
- <long-description><![CDATA[]]></long-description>
7050
- <tag line="1376" name="since" description="0.1"/>
7051
- <tag line="1376" name="param" description="A singular attachment (post) object" type="array" variable="$item">
7052
- <type by_reference="false">array</type>
7053
- </tag>
7054
- <tag line="1376" name="return" description="HTML markup to be placed inside the column" type="string">
7055
- <type by_reference="false">string</type>
7056
- </tag>
7057
- </docblock>
7058
- <argument line="1384">
7059
- <name>$item</name>
7060
- <default><![CDATA[]]></default>
7061
- <type/>
7062
- </argument>
7063
- </method>
7064
- <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1420" package="Media Library Assistant">
7065
- <name>pagination</name>
7066
- <full_name>pagination</full_name>
7067
- <docblock line="1413">
7068
- <description><![CDATA[Display the pagination, adding view, search and filter arguments]]></description>
7069
- <long-description><![CDATA[]]></long-description>
7070
- <tag line="1413" name="since" description="1.42"/>
7071
- <tag line="1413" name="param" description="'top' | 'bottom'" type="string" variable="$which">
7072
- <type by_reference="false">string</type>
7073
- </tag>
7074
- </docblock>
7075
- <argument line="1420">
7076
- <name>$which</name>
7077
- <default><![CDATA[]]></default>
7078
- <type/>
7079
- </argument>
7080
- </method>
7081
- <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1434" package="Media Library Assistant">
7082
- <name>get_columns</name>
7083
- <full_name>get_columns</full_name>
7084
- <docblock line="1427">
7085
- <description><![CDATA[This method dictates the table's columns and titles]]></description>
7086
- <long-description><![CDATA[]]></long-description>
7087
- <tag line="1427" name="since" description="0.1"/>
7088
- <tag line="1427" name="return" description="Column information: 'slugs'=&gt;'Visible Titles'" type="array">
7089
- <type by_reference="false">array</type>
7090
- </tag>
7091
- </docblock>
7092
- </method>
7093
- <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1446" package="Media Library Assistant">
7094
- <name>get_hidden_columns</name>
7095
- <full_name>get_hidden_columns</full_name>
7096
- <docblock line="1438">
7097
- <description><![CDATA[Returns the list of currently hidden columns from a user option or
7098
- from default values if the option is not set]]></description>
7099
- <long-description><![CDATA[]]></long-description>
7100
- <tag line="1438" name="since" description="0.1"/>
7101
- <tag line="1438" name="return" description="Column information,e.g., array(0 =&gt; 'ID_parent, 1 =&gt; 'title_name')" type="array">
7102
- <type by_reference="false">array</type>
7103
- </tag>
7104
- </docblock>
7105
- </method>
7106
- <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1471" package="Media Library Assistant">
7107
- <name>get_sortable_columns</name>
7108
- <full_name>get_sortable_columns</full_name>
7109
- <docblock line="1462">
7110
- <description><![CDATA[Returns an array where the key is the column that needs to be sortable
7111
- and the value is db column (or other criteria) to sort by.]]></description>
7112
- <long-description><![CDATA[]]></long-description>
7113
- <tag line="1462" name="since" description="0.1"/>
7114
- <tag line="1462" name="return" description="Sortable column information,e.g., 'slug' =&gt; array('data_value', (boolean) initial_descending )" type="array">
7115
- <type by_reference="false">array</type>
7116
- </tag>
7117
- </docblock>
7118
- </method>
7119
- <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1482" package="Media Library Assistant">
7120
- <name>print_column_headers</name>
7121
- <full_name>print_column_headers</full_name>
7122
- <docblock line="1475">
7123
- <description><![CDATA[Print column headers, adding view, search and filter arguments]]></description>
7124
- <long-description><![CDATA[]]></long-description>
7125
- <tag line="1475" name="since" description="1.42"/>
7126
- <tag line="1475" name="param" description="Whether to set the id attribute or not" type="bool" variable="$with_id">
7127
- <type by_reference="false">bool</type>
7128
- </tag>
7129
- </docblock>
7130
- <argument line="1482">
7131
- <name>$with_id</name>
7132
- <default><![CDATA[true]]></default>
7133
- <type/>
7134
- </argument>
7135
- </method>
7136
- <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1499" package="Media Library Assistant">
7137
- <name>mla_get_view</name>
7138
- <full_name>mla_get_view</full_name>
7139
- <docblock line="1489">
7140
- <description><![CDATA[Wrapper for _get_view; returns HTML markup for one view that can be used with this table]]></description>
7141
- <long-description><![CDATA[]]></long-description>
7142
- <tag line="1489" name="since" description="2.11"/>
7143
- <tag line="1489" name="param" description="View slug, key to MLA_POST_MIME_TYPES array" type="string" variable="$view_slug">
7144
- <type by_reference="false">string</type>
7145
- </tag>
7146
- <tag line="1489" name="param" description="Slug for current view" type="string" variable="$current_view">
7147
- <type by_reference="false">string</type>
7148
- </tag>
7149
- <tag line="1489" name="return" description="| false HTML for link to display the view, false if count = zero" type="string">
7150
- <type by_reference="false">string</type>
7151
- </tag>
7152
- </docblock>
7153
- <argument line="1499">
7154
- <name>$view_slug</name>
7155
- <default><![CDATA[]]></default>
7156
- <type/>
7157
- </argument>
7158
- <argument line="1499">
7159
- <name>$current_view</name>
7160
- <default><![CDATA[]]></default>
7161
- <type/>
7162
- </argument>
7163
- </method>
7164
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="1513" package="Media Library Assistant">
7165
- <name>_get_view</name>
7166
- <full_name>_get_view</full_name>
7167
- <docblock line="1503">
7168
- <description><![CDATA[Returns HTML markup for one view that can be used with this table]]></description>
7169
- <long-description><![CDATA[]]></long-description>
7170
- <tag line="1503" name="since" description="1.40"/>
7171
- <tag line="1503" name="param" description="View slug, key to MLA_POST_MIME_TYPES array" type="string" variable="$view_slug">
7172
- <type by_reference="false">string</type>
7173
- </tag>
7174
- <tag line="1503" name="param" description="Slug for current view" type="string" variable="$current_view">
7175
- <type by_reference="false">string</type>
7176
- </tag>
7177
- <tag line="1503" name="return" description="| false HTML for link to display the view, false if count = zero" type="string">
7178
- <type by_reference="false">string</type>
7179
- </tag>
7180
- </docblock>
7181
- <argument line="1513">
7182
- <name>$view_slug</name>
7183
- <default><![CDATA[]]></default>
7184
- <type/>
7185
- </argument>
7186
- <argument line="1513">
7187
- <name>$current_view</name>
7188
- <default><![CDATA[]]></default>
7189
- <type/>
7190
- </argument>
7191
- </method>
7192
- <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1643" package="Media Library Assistant">
7193
- <name>get_views</name>
7194
- <full_name>get_views</full_name>
7195
- <docblock line="1635">
7196
- <description><![CDATA[Returns an associative array listing all the views that can be used with this table.]]></description>
7197
- <long-description><![CDATA[<p>These are listed across the top of the page and managed by WordPress.</p>]]></long-description>
7198
- <tag line="1635" name="since" description="0.1"/>
7199
- <tag line="1635" name="return" description="View information,e.g., array ( id =&gt; link )" type="array">
7200
- <type by_reference="false">array</type>
7201
- </tag>
7202
- </docblock>
7203
- </method>
7204
- <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1696" package="Media Library Assistant">
7205
- <name>get_bulk_actions</name>
7206
- <full_name>get_bulk_actions</full_name>
7207
- <docblock line="1688">
7208
- <description><![CDATA[Get an associative array ( option_name => option_title ) with the list
7209
- of bulk actions available on this table.]]></description>
7210
- <long-description><![CDATA[]]></long-description>
7211
- <tag line="1688" name="since" description="0.1"/>
7212
- <tag line="1688" name="return" description="Contains all the bulk actions: 'slugs'=&gt;'Visible Titles'" type="array">
7213
- <type by_reference="false">array</type>
7214
- </tag>
7215
- </docblock>
7216
- </method>
7217
- <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1726" package="Media Library Assistant">
7218
- <name>extra_tablenav</name>
7219
- <full_name>extra_tablenav</full_name>
7220
- <docblock line="1715">
7221
- <description><![CDATA[Extra controls to be displayed between bulk actions and pagination]]></description>
7222
- <long-description><![CDATA[<p>Modeled after class-wp-posts-list-table.php in wp-admin/includes.</p>]]></long-description>
7223
- <tag line="1715" name="since" description="0.1"/>
7224
- <tag line="1715" name="param" description="'top' or 'bottom', i.e., above or below the table rows" type="string" variable="$which">
7225
- <type by_reference="false">string</type>
7226
- </tag>
7227
- <tag line="1715" name="return" description="Contains all the bulk actions: 'slugs'=&gt;'Visible Titles'" type="array">
7228
- <type by_reference="false">array</type>
7229
- </tag>
7230
- </docblock>
7231
- <argument line="1726">
7232
- <name>$which</name>
7233
- <default><![CDATA[]]></default>
7234
- <type/>
7235
- </argument>
7236
- </method>
7237
- <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1767" package="Media Library Assistant">
7238
- <name>prepare_items</name>
7239
- <full_name>prepare_items</full_name>
7240
- <docblock line="1757">
7241
- <description><![CDATA[Prepares the list of items for displaying]]></description>
7242
- <long-description><![CDATA[<p>This is where you prepare your data for display. This method will usually
7243
- be used to query the database, sort and filter the data, and generally
7244
- get it ready to be displayed. At a minimum, we should set $this->items and
7245
- $this->set_pagination_args().</p>]]></long-description>
7246
- <tag line="1757" name="since" description="0.1"/>
7247
- </docblock>
7248
- </method>
7249
- <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1822" package="Media Library Assistant">
7250
- <name>single_row</name>
7251
- <full_name>single_row</full_name>
7252
- <docblock line="1813">
7253
- <description><![CDATA[Generates (echoes) content for a single row of the table]]></description>
7254
- <long-description><![CDATA[]]></long-description>
7255
- <tag line="1813" name="since" description=".20"/>
7256
- <tag line="1813" name="param" description="the current item" type="object" variable="$item">
7257
- <type by_reference="false">object</type>
7258
- </tag>
7259
- <tag line="1813" name="return" description="Echoes the row HTML" type="void">
7260
- <type by_reference="false">void</type>
7261
- </tag>
7262
- </docblock>
7263
- <argument line="1822">
7264
- <name>$item</name>
7265
- <default><![CDATA[]]></default>
7266
- <type/>
7267
- </argument>
7268
- </method>
7269
- </class>
7270
- </file>
7271
- <file path="includes\class-mla-main.php" hash="aeda855745e39e61368981a435fa8767" package="Media Library Assistant">
7272
- <docblock line="2">
7273
- <description><![CDATA[Top-level functions for the Media Library Assistant]]></description>
7274
- <long-description><![CDATA[]]></long-description>
7275
- <tag line="2" name="package" description="Media Library Assistant"/>
7276
- <tag line="2" name="since" description="0.1"/>
7277
- </docblock>
7278
- <include line="13" type="Require Once" package="Media Library Assistant">
7279
- <name/>
7280
- </include>
7281
- <include line="166" type="Require Once" package="Media Library Assistant">
7282
- <name/>
7283
- </include>
7284
- <include line="189" type="Require Once" package="Media Library Assistant">
7285
- <name/>
7286
- </include>
7287
- <include line="202" type="Require Once" package="Media Library Assistant">
7288
- <name/>
7289
- </include>
7290
- <include line="1620" type="Require Once" package="Media Library Assistant">
7291
- <name/>
7292
- </include>
7293
- <class final="false" abstract="false" namespace="global" line="23" package="Media Library Assistant">
7294
- <extends/>
7295
- <name>MLA</name>
7296
- <full_name>\MLA</full_name>
7297
- <docblock line="16">
7298
- <description><![CDATA[Class MLA (Media Library Assistant) provides several enhancements to the handling
7299
- of images and files held in the WordPress Media Library.]]></description>
7300
- <long-description><![CDATA[]]></long-description>
7301
- <tag line="16" name="package" description="Media Library Assistant"/>
7302
- <tag line="16" name="since" description="0.1"/>
7303
- </docblock>
7304
- <constant namespace="global" line="32" package="Media Library Assistant">
7305
- <name>CURRENT_MLA_VERSION</name>
7306
- <full_name>CURRENT_MLA_VERSION</full_name>
7307
- <value><![CDATA['2.15']]></value>
7308
- <docblock line="25">
7309
- <description><![CDATA[Current version number]]></description>
7310
- <long-description><![CDATA[]]></long-description>
7311
- <tag line="25" name="since" description="0.1"/>
7312
- <tag line="25" name="var" description="" type="string">
7313
- <type by_reference="false">string</type>
7314
- </tag>
7315
- </docblock>
7316
- </constant>
7317
- <constant namespace="global" line="41" package="Media Library Assistant">
7318
- <name>MLA_DEVELOPMENT_VERSION</name>
7319
- <full_name>MLA_DEVELOPMENT_VERSION</full_name>
7320
- <value><![CDATA['20151201']]></value>
7321
- <docblock line="34">
7322
- <description><![CDATA[Current date for Development Version, empty for production versions]]></description>
7323
- <long-description><![CDATA[]]></long-description>
7324
- <tag line="34" name="since" description="2.10"/>
7325
- <tag line="34" name="var" description="" type="string">
7326
- <type by_reference="false">string</type>
7327
- </tag>
7328
- </docblock>
7329
- </constant>
7330
- <constant namespace="global" line="50" package="Media Library Assistant">
7331
- <name>STYLESHEET_SLUG</name>
7332
- <full_name>STYLESHEET_SLUG</full_name>
7333
- <value><![CDATA['mla-style']]></value>
7334
- <docblock line="43">
7335
- <description><![CDATA[Slug for registering and enqueueing plugin style sheet]]></description>
7336
- <long-description><![CDATA[]]></long-description>
7337
- <tag line="43" name="since" description="0.1"/>
7338
- <tag line="43" name="var" description="" type="string">
7339
- <type by_reference="false">string</type>
7340
- </tag>
7341
- </docblock>
7342
- </constant>
7343
- <constant namespace="global" line="59" package="Media Library Assistant">
7344
- <name>JAVASCRIPT_INLINE_EDIT_OBJECT</name>
7345
- <full_name>JAVASCRIPT_INLINE_EDIT_OBJECT</full_name>
7346
- <value><![CDATA['mla_inline_edit_vars']]></value>
7347
- <docblock line="52">
7348
- <description><![CDATA[Object name for localizing JavaScript - MLA List Table]]></description>
7349
- <long-description><![CDATA[]]></long-description>
7350
- <tag line="52" name="since" description="0.20"/>
7351
- <tag line="52" name="var" description="" type="string">
7352
- <type by_reference="false">string</type>
7353
- </tag>
7354
- </docblock>
7355
- </constant>
7356
- <constant namespace="global" line="70" package="Media Library Assistant">
7357
- <name>MLA_ADMIN_SINGLE_EDIT_DISPLAY</name>
7358
- <full_name>MLA_ADMIN_SINGLE_EDIT_DISPLAY</full_name>
7359
- <value><![CDATA['single_item_edit_display']]></value>
7360
- <docblock line="61">
7361
- <description><![CDATA[mla_admin_action value to display a single item for editing]]></description>
7362
- <long-description><![CDATA[<p>Used by class-mla-view-list-table.php and class-mla-upload-list-table.php</p>]]></long-description>
7363
- <tag line="61" name="since" description="0.1"/>
7364
- <tag line="61" name="var" description="" type="string">
7365
- <type by_reference="false">string</type>
7366
- </tag>
7367
- </docblock>
7368
- </constant>
7369
- <constant namespace="global" line="81" package="Media Library Assistant">
7370
- <name>MLA_ADMIN_SINGLE_EDIT_UPDATE</name>
7371
- <full_name>MLA_ADMIN_SINGLE_EDIT_UPDATE</full_name>
7372
- <value><![CDATA['single_item_edit_update']]></value>
7373
- <docblock line="72">
7374
- <description><![CDATA[mla_admin_action value for updating a single item]]></description>
7375
- <long-description><![CDATA[<p>Used by class-mla-view-list-table.php and class-mla-upload-list-table.php</p>]]></long-description>
7376
- <tag line="72" name="since" description="0.1"/>
7377
- <tag line="72" name="var" description="" type="string">
7378
- <type by_reference="false">string</type>
7379
- </tag>
7380
- </docblock>
7381
- </constant>
7382
- <constant namespace="global" line="90" package="Media Library Assistant">
7383
- <name>MLA_ADMIN_SINGLE_CUSTOM_FIELD_MAP</name>
7384
- <full_name>MLA_ADMIN_SINGLE_CUSTOM_FIELD_MAP</full_name>
7385
- <value><![CDATA['single_item_custom_field_map']]></value>
7386
- <docblock line="83">
7387
- <description><![CDATA[mla_admin_action value for mapping Custom Field metadata]]></description>
7388
- <long-description><![CDATA[]]></long-description>
7389
- <tag line="83" name="since" description="1.10"/>
7390
- <tag line="83" name="var" description="" type="string">
7391
- <type by_reference="false">string</type>
7392
- </tag>
7393
- </docblock>
7394
- </constant>
7395
- <constant namespace="global" line="99" package="Media Library Assistant">
7396
- <name>MLA_ADMIN_SINGLE_MAP</name>
7397
- <full_name>MLA_ADMIN_SINGLE_MAP</full_name>
7398
- <value><![CDATA['single_item_map']]></value>
7399
- <docblock line="92">
7400
- <description><![CDATA[mla_admin_action value for mapping IPTC/EXIF metadata]]></description>
7401
- <long-description><![CDATA[]]></long-description>
7402
- <tag line="92" name="since" description="1.00"/>
7403
- <tag line="92" name="var" description="" type="string">
7404
- <type by_reference="false">string</type>
7405
- </tag>
7406
- </docblock>
7407
- </constant>
7408
- <constant namespace="global" line="108" package="Media Library Assistant">
7409
- <name>MLA_ADMIN_SET_PARENT</name>
7410
- <full_name>MLA_ADMIN_SET_PARENT</full_name>
7411
- <value><![CDATA['set_parent']]></value>
7412
- <docblock line="101">
7413
- <description><![CDATA[mla_admin_action value for setting an item's parent object]]></description>
7414
- <long-description><![CDATA[]]></long-description>
7415
- <tag line="101" name="since" description="1.82"/>
7416
- <tag line="101" name="var" description="" type="string">
7417
- <type by_reference="false">string</type>
7418
- </tag>
7419
- </docblock>
7420
- </constant>
7421
- <constant namespace="global" line="117" package="Media Library Assistant">
7422
- <name>MLA_ADMIN_TERMS_SEARCH</name>
7423
- <full_name>MLA_ADMIN_TERMS_SEARCH</full_name>
7424
- <value><![CDATA['terms_search']]></value>
7425
- <docblock line="110">
7426
- <description><![CDATA[mla_admin_action value for searching taxonomy terms]]></description>
7427
- <long-description><![CDATA[]]></long-description>
7428
- <tag line="110" name="since" description="1.90"/>
7429
- <tag line="110" name="var" description="" type="string">
7430
- <type by_reference="false">string</type>
7431
- </tag>
7432
- </docblock>
7433
- </constant>
7434
- <property final="false" static="true" visibility="private" line="126" namespace="global" package="Media Library Assistant">
7435
- <name>$page_hooks</name>
7436
- <default><![CDATA[array()]]></default>
7437
- <docblock line="119">
7438
- <description><![CDATA[Holds screen ids to match help text to corresponding screen]]></description>
7439
- <long-description><![CDATA[]]></long-description>
7440
- <tag line="119" name="since" description="0.1"/>
7441
- <tag line="119" name="var" description="" type="array">
7442
- <type by_reference="false">array</type>
7443
- </tag>
7444
- </docblock>
7445
- </property>
7446
- <property final="false" static="true" visibility="private" line="133" namespace="global" package="Media Library Assistant">
7447
- <name>$mla_language_support_error_messages</name>
7448
- <default><![CDATA['']]></default>
7449
- <docblock line="128">
7450
- <description><![CDATA[Accumulates error messages from name conflict tests]]></description>
7451
- <long-description><![CDATA[]]></long-description>
7452
- <tag line="128" name="since" description="1.14"/>
7453
- </docblock>
7454
- </property>
7455
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="140" package="Media Library Assistant">
7456
- <name>mla_name_conflict_reporting_action</name>
7457
- <full_name>mla_name_conflict_reporting_action</full_name>
7458
- <docblock line="135">
7459
- <description><![CDATA[Displays name conflict error messages at the top of the Dashboard]]></description>
7460
- <long-description><![CDATA[]]></long-description>
7461
- <tag line="135" name="since" description="2.11"/>
7462
- </docblock>
7463
- </method>
7464
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="159" package="Media Library Assistant">
7465
- <name>initialize</name>
7466
- <full_name>initialize</full_name>
7467
- <docblock line="148">
7468
- <description><![CDATA[Initialization function, similar to __construct()]]></description>
7469
- <long-description><![CDATA[<p>This function contains add_action and add_filter calls
7470
- to set up the Ajax handlers, enqueue JavaScript and CSS files, and
7471
- set up the Assistant submenu.</p>]]></long-description>
7472
- <tag line="148" name="since" description="0.1"/>
7473
- <tag line="148" name="return" description="" type="void">
7474
- <type by_reference="false">void</type>
7475
- </tag>
7476
- </docblock>
7477
- </method>
7478
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="229" package="Media Library Assistant">
7479
- <name>mla_plugins_loaded_action</name>
7480
- <full_name>mla_plugins_loaded_action</full_name>
7481
- <docblock line="218">
7482
- <description><![CDATA[Load a plugin text domain and alternate debug file]]></description>
7483
- <long-description><![CDATA[<p>The "add_action" for this function is in mla-plugin-loader.php, because the "initialize"
7484
- function above doesn't run in time.
7485
- Defined as public because it's an action.</p>]]></long-description>
7486
- <tag line="218" name="since" description="1.60"/>
7487
- <tag line="218" name="return" description="" type="void">
7488
- <type by_reference="false">void</type>
7489
- </tag>
7490
- </docblock>
7491
- </method>
7492
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="284" package="Media Library Assistant">
7493
- <name>mla_admin_init_action</name>
7494
- <full_name>mla_admin_init_action</full_name>
7495
- <docblock line="277">
7496
- <description><![CDATA[Load the plugin's Ajax handler or process Edit Media update actions]]></description>
7497
- <long-description><![CDATA[]]></long-description>
7498
- <tag line="277" name="since" description="0.20"/>
7499
- <tag line="277" name="return" description="" type="void">
7500
- <type by_reference="false">void</type>
7501
- </tag>
7502
- </docblock>
7503
- </method>
7504
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="348" package="Media Library Assistant">
7505
- <name>mla_admin_print_styles_action</name>
7506
- <full_name>mla_admin_print_styles_action</full_name>
7507
- <docblock line="343">
7508
- <description><![CDATA[Print optional in-lne styles for Media/Assistant submenu table]]></description>
7509
- <long-description><![CDATA[]]></long-description>
7510
- <tag line="343" name="since" description="2.13"/>
7511
- </docblock>
7512
- </method>
7513
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="456" package="Media Library Assistant">
7514
- <name>mla_admin_enqueue_scripts_action</name>
7515
- <full_name>mla_admin_enqueue_scripts_action</full_name>
7516
- <docblock line="447">
7517
- <description><![CDATA[Load the plugin's Style Sheet and Javascript files]]></description>
7518
- <long-description><![CDATA[]]></long-description>
7519
- <tag line="447" name="since" description="0.1"/>
7520
- <tag line="447" name="param" description="Name of the page being loaded" type="string" variable="$page_hook">
7521
- <type by_reference="false">string</type>
7522
- </tag>
7523
- <tag line="447" name="return" description="" type="void">
7524
- <type by_reference="false">void</type>
7525
- </tag>
7526
- </docblock>
7527
- <argument line="456">
7528
- <name>$page_hook</name>
7529
- <default><![CDATA[]]></default>
7530
- <type/>
7531
- </argument>
7532
- </method>
7533
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="548" package="Media Library Assistant">
7534
- <name>mla_admin_menu_action</name>
7535
- <full_name>mla_admin_menu_action</full_name>
7536
- <docblock line="537">
7537
- <description><![CDATA[Add the submenu pages]]></description>
7538
- <long-description><![CDATA[<p>Add a submenu page in the "Media" section,
7539
- add settings page in the "Settings" section.
7540
- add settings link in the Plugins section entry for MLA.</p>]]></long-description>
7541
- <tag line="537" name="since" description="0.1"/>
7542
- <tag line="537" name="return" description="" type="void">
7543
- <type by_reference="false">void</type>
7544
- </tag>
7545
- </docblock>
7546
- </method>
7547
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="617" package="Media Library Assistant">
7548
- <name>mla_load_media_action</name>
7549
- <full_name>mla_load_media_action</full_name>
7550
- <docblock line="610">
7551
- <description><![CDATA[Redirect to Media/Assistant if Media/Library is hidden]]></description>
7552
- <long-description><![CDATA[]]></long-description>
7553
- <tag line="610" name="since" description="1.60"/>
7554
- <tag line="610" name="return" description="" type="void">
7555
- <type by_reference="false">void</type>
7556
- </tag>
7557
- </docblock>
7558
- </method>
7559
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="645" package="Media Library Assistant">
7560
- <name>mla_add_menu_options</name>
7561
- <full_name>mla_add_menu_options</full_name>
7562
- <docblock line="638">
7563
- <description><![CDATA[Add the "XX Entries per page" filter to the Screen Options tab]]></description>
7564
- <long-description><![CDATA[]]></long-description>
7565
- <tag line="638" name="since" description="0.1"/>
7566
- <tag line="638" name="return" description="" type="void">
7567
- <type by_reference="false">void</type>
7568
- </tag>
7569
- </docblock>
7570
- </method>
7571
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="664" package="Media Library Assistant">
7572
- <name>mla_add_help_tab</name>
7573
- <full_name>mla_add_help_tab</full_name>
7574
- <docblock line="657">
7575
- <description><![CDATA[Add contextual help tabs to all the MLA pages]]></description>
7576
- <long-description><![CDATA[]]></long-description>
7577
- <tag line="657" name="since" description="0.1"/>
7578
- <tag line="657" name="return" description="" type="void">
7579
- <type by_reference="false">void</type>
7580
- </tag>
7581
- </docblock>
7582
- </method>
7583
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="767" package="Media Library Assistant">
7584
- <name>mla_screen_options_show_screen_filter</name>
7585
- <full_name>mla_screen_options_show_screen_filter</full_name>
7586
- <docblock line="757">
7587
- <description><![CDATA[Only show screen options on the table-list screen]]></description>
7588
- <long-description><![CDATA[]]></long-description>
7589
- <tag line="757" name="since" description="0.1"/>
7590
- <tag line="757" name="param" description="True to display &quot;Screen Options&quot;, false to suppress them" type="boolean" variable="$show_screen">
7591
- <type by_reference="false">boolean</type>
7592
- </tag>
7593
- <tag line="757" name="param" description="Name of the page being loaded" type="string" variable="$this_screen">
7594
- <type by_reference="false">string</type>
7595
- </tag>
7596
- <tag line="757" name="return" description="True to display &quot;Screen Options&quot;, false to suppress them" type="boolean">
7597
- <type by_reference="false">boolean</type>
7598
- </tag>
7599
- </docblock>
7600
- <argument line="767">
7601
- <name>$show_screen</name>
7602
- <default><![CDATA[]]></default>
7603
- <type/>
7604
- </argument>
7605
- <argument line="767">
7606
- <name>$this_screen</name>
7607
- <default><![CDATA[]]></default>
7608
- <type/>
7609
- </argument>
7610
- </method>
7611
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="782" package="Media Library Assistant">
7612
- <name>mla_set_screen_option_filter</name>
7613
- <full_name>mla_set_screen_option_filter</full_name>
7614
- <docblock line="771">
7615
- <description><![CDATA[Save the "Entries per page" option set by this user]]></description>
7616
- <long-description><![CDATA[]]></long-description>
7617
- <tag line="771" name="since" description="0.1"/>
7618
- <tag line="771" name="param" description="false or value returned by previous filter" type="mixed" variable="$status">
7619
- <type by_reference="false">mixed</type>
7620
- </tag>
7621
- <tag line="771" name="param" description="Name of the option being changed" type="string" variable="$option">
7622
- <type by_reference="false">string</type>
7623
- </tag>
7624
- <tag line="771" name="param" description="New value of the option" type="string" variable="$value">
7625
- <type by_reference="false">string</type>
7626
- </tag>
7627
- <tag line="771" name="return" description="New value if this is our option, otherwise nothing" type="string|void">
7628
- <type by_reference="false">string</type>
7629
- <type by_reference="false">void</type>
7630
- </tag>
7631
- </docblock>
7632
- <argument line="782">
7633
- <name>$status</name>
7634
- <default><![CDATA[]]></default>
7635
- <type/>
7636
- </argument>
7637
- <argument line="782">
7638
- <name>$option</name>
7639
- <default><![CDATA[]]></default>
7640
- <type/>
7641
- </argument>
7642
- <argument line="782">
7643
- <name>$value</name>
7644
- <default><![CDATA[]]></default>
7645
- <type/>
7646
- </argument>
7647
- </method>
7648
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="801" package="Media Library Assistant">
7649
- <name>mla_parent_file_filter</name>
7650
- <full_name>mla_parent_file_filter</full_name>
7651
- <docblock line="790">
7652
- <description><![CDATA[Cleanup menus for Edit Tags/Categories page]]></description>
7653
- <long-description><![CDATA[<p>Fixes the submenu bolding when going to the Edit Media screen.</p>]]></long-description>
7654
- <tag line="790" name="since" description="0.1"/>
7655
- <tag line="790" name="param" description="The top-level menu page" type="array" variable="$parent_file">
7656
- <type by_reference="false">array</type>
7657
- </tag>
7658
- <tag line="790" name="return" description="The updated top-level menu page" type="string">
7659
- <type by_reference="false">string</type>
7660
- </tag>
7661
- </docblock>
7662
- <argument line="801">
7663
- <name>$parent_file</name>
7664
- <default><![CDATA[]]></default>
7665
- <type/>
7666
- </argument>
7667
- </method>
7668
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="838" package="Media Library Assistant">
7669
- <name>_process_mla_download_file</name>
7670
- <full_name>_process_mla_download_file</full_name>
7671
- <docblock line="829">
7672
- <description><![CDATA[Process secure file download]]></description>
7673
- <long-description><![CDATA[<p>Requires _wpnonce, mla_download_file and mla_download_type in $_REQUEST; mla_download_disposition is optional.</p>]]></long-description>
7674
- <tag line="829" name="since" description="2.00"/>
7675
- <tag line="829" name="return" description="echos file contents and calls exit();" type="void">
7676
- <type by_reference="false">void</type>
7677
- </tag>
7678
- </docblock>
7679
- </method>
7680
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="892" package="Media Library Assistant">
7681
- <name>_process_bulk_value</name>
7682
- <full_name>_process_bulk_value</full_name>
7683
- <docblock line="882">
7684
- <description><![CDATA[Process bulk edit area fields, which may contain a Content Template]]></description>
7685
- <long-description><![CDATA[]]></long-description>
7686
- <tag line="882" name="since" description="1.80"/>
7687
- <tag line="882" name="param" description="Current post ID" type="integer" variable="$post_id">
7688
- <type by_reference="false">integer</type>
7689
- </tag>
7690
- <tag line="882" name="param" description="Field value as entered" type="string" variable="$bulk_value">
7691
- <type by_reference="false">string</type>
7692
- </tag>
7693
- <tag line="882" name="return" description="Empty, or new value for the field" type="string">
7694
- <type by_reference="false">string</type>
7695
- </tag>
7696
- </docblock>
7697
- <argument line="892">
7698
- <name>$post_id</name>
7699
- <default><![CDATA[]]></default>
7700
- <type/>
7701
- </argument>
7702
- <argument line="892">
7703
- <name>$bulk_value</name>
7704
- <default><![CDATA[]]></default>
7705
- <type/>
7706
- </argument>
7707
- </method>
7708
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="928" package="Media Library Assistant">
7709
- <name>mla_prepare_bulk_edits</name>
7710
- <full_name>mla_prepare_bulk_edits</full_name>
7711
- <docblock line="917">
7712
- <description><![CDATA[Prepare Bulk Edit field-level updates]]></description>
7713
- <long-description><![CDATA[]]></long-description>
7714
- <tag line="917" name="since" description="2.11"/>
7715
- <tag line="917" name="param" description="Current post ID" type="integer" variable="$post_id">
7716
- <type by_reference="false">integer</type>
7717
- </tag>
7718
- <tag line="917" name="param" description="Form elements, e.g., from $_REQUEST" type="array" variable="$request">
7719
- <type by_reference="false">array</type>
7720
- </tag>
7721
- <tag line="917" name="param" description="Form id to field name mapping" type="array" variable="$custom_field_map">
7722
- <type by_reference="false">array</type>
7723
- </tag>
7724
- <tag line="917" name="return" description="Non-empty form elements" type="array">
7725
- <type by_reference="false">array</type>
7726
- </tag>
7727
- </docblock>
7728
- <argument line="928">
7729
- <name>$post_id</name>
7730
- <default><![CDATA[]]></default>
7731
- <type/>
7732
- </argument>
7733
- <argument line="928">
7734
- <name>$request</name>
7735
- <default><![CDATA[]]></default>
7736
- <type/>
7737
- </argument>
7738
- <argument line="928">
7739
- <name>$custom_field_map</name>
7740
- <default><![CDATA[]]></default>
7741
- <type/>
7742
- </argument>
7743
- </method>
7744
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1160" package="Media Library Assistant">
7745
- <name>mla_process_bulk_action</name>
7746
- <full_name>mla_process_bulk_action</full_name>
7747
- <docblock line="1150">
7748
- <description><![CDATA[Process bulk action for one or more attachments]]></description>
7749
- <long-description><![CDATA[]]></long-description>
7750
- <tag line="1150" name="since" description="2.00"/>
7751
- <tag line="1150" name="param" description="Bulk action slug: delete, edit, restore, trash, custom action" type="string" variable="$bulk_action">
7752
- <type by_reference="false">string</type>
7753
- </tag>
7754
- <tag line="1150" name="param" description="Form elements, e.g., from $_REQUEST" type="array" variable="$request">
7755
- <type by_reference="false">array</type>
7756
- </tag>
7757
- <tag line="1150" name="return" description="messages and page content: ( 'message', 'body', 'unchanged', 'success', 'failure', 'item_results' )" type="array">
7758
- <type by_reference="false">array</type>
7759
- </tag>
7760
- </docblock>
7761
- <argument line="1160">
7762
- <name>$bulk_action</name>
7763
- <default><![CDATA[]]></default>
7764
- <type/>
7765
- </argument>
7766
- <argument line="1160">
7767
- <name>$request</name>
7768
- <default><![CDATA[NULL]]></default>
7769
- <type/>
7770
- </argument>
7771
- </method>
7772
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1354" package="Media Library Assistant">
7773
- <name>mla_clear_filter_by</name>
7774
- <full_name>mla_clear_filter_by</full_name>
7775
- <docblock line="1345">
7776
- <description><![CDATA[Clear the Media/Assistant submenu Filter-by variables]]></description>
7777
- <long-description><![CDATA[]]></long-description>
7778
- <tag line="1345" name="since" description="2.13"/>
7779
- <tag line="1345" name="param" description="Filters to be retained" type="array" variable="$preserves">
7780
- <type by_reference="false">array</type>
7781
- </tag>
7782
- <tag line="1345" name="return" description="" type="void">
7783
- <type by_reference="false">void</type>
7784
- </tag>
7785
- </docblock>
7786
- <argument line="1354">
7787
- <name>$preserves</name>
7788
- <default><![CDATA[array()]]></default>
7789
- <type/>
7790
- </argument>
7791
- </method>
7792
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1376" package="Media Library Assistant">
7793
- <name>mla_render_admin_page</name>
7794
- <full_name>mla_render_admin_page</full_name>
7795
- <docblock line="1369">
7796
- <description><![CDATA[Render the "Assistant" subpage in the Media section, using the list_table package]]></description>
7797
- <long-description><![CDATA[]]></long-description>
7798
- <tag line="1369" name="since" description="0.1"/>
7799
- <tag line="1369" name="return" description="" type="void">
7800
- <type by_reference="false">void</type>
7801
- </tag>
7802
- </docblock>
7803
- </method>
7804
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="1670" package="Media Library Assistant">
7805
- <name>_bulk_edit_ajax_handler</name>
7806
- <full_name>_bulk_edit_ajax_handler</full_name>
7807
- <docblock line="1663">
7808
- <description><![CDATA[Ajax handler for bulk editing and mapping]]></description>
7809
- <long-description><![CDATA[]]></long-description>
7810
- <tag line="1663" name="since" description="2.00"/>
7811
- <tag line="1663" name="return" description="echo json results or error message, then die()" type="void">
7812
- <type by_reference="false">void</type>
7813
- </tag>
7814
- </docblock>
7815
- </method>
7816
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1713" package="Media Library Assistant">
7817
- <name>mla_inline_edit_ajax_action</name>
7818
- <full_name>mla_inline_edit_ajax_action</full_name>
7819
- <docblock line="1704">
7820
- <description><![CDATA[Ajax handler for inline editing]]></description>
7821
- <long-description><![CDATA[<p>Adapted for Quick Edit from wp_ajax_inline_save in /wp-admin/includes/ajax-actions.php</p>]]></long-description>
7822
- <tag line="1704" name="since" description="0.20"/>
7823
- <tag line="1704" name="return" description="echo HTML &lt;tr&gt; markup for updated row or error message, then die()" type="void">
7824
- <type by_reference="false">void</type>
7825
- </tag>
7826
- </docblock>
7827
- </method>
7828
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="1836" package="Media Library Assistant">
7829
- <name>_compose_post_type_select</name>
7830
- <full_name>_compose_post_type_select</full_name>
7831
- <docblock line="1826">
7832
- <description><![CDATA[Compose a Post Type Options list with current selection]]></description>
7833
- <long-description><![CDATA[]]></long-description>
7834
- <tag line="1826" name="since" description="1.90"/>
7835
- <tag line="1826" name="param" description="template parts" type="array" variable="$templates">
7836
- <type by_reference="false">array</type>
7837
- </tag>
7838
- <tag line="1826" name="param" description="current selection or 'all' (default)" type="string" variable="$selection">
7839
- <type by_reference="false">string</type>
7840
- </tag>
7841
- <tag line="1826" name="return" description="HTML markup with select field options" type="string">
7842
- <type by_reference="false">string</type>
7843
- </tag>
7844
- </docblock>
7845
- <argument line="1836">
7846
- <name>$templates</name>
7847
- <default><![CDATA[]]></default>
7848
- <type/>
7849
- </argument>
7850
- <argument line="1836">
7851
- <name>$selection</name>
7852
- <default><![CDATA['all']]></default>
7853
- <type/>
7854
- </argument>
7855
- </method>
7856
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1875" package="Media Library Assistant">
7857
- <name>mla_set_parent_form</name>
7858
- <full_name>mla_set_parent_form</full_name>
7859
- <docblock line="1866">
7860
- <description><![CDATA[Build the hidden form for the "Set Parent" popup modal window]]></description>
7861
- <long-description><![CDATA[]]></long-description>
7862
- <tag line="1866" name="since" description="1.90"/>
7863
- <tag line="1866" name="param" description="true to return complete form, false to return mla-set-parent-div" type="boolean" variable="$return_form">
7864
- <type by_reference="false">boolean</type>
7865
- </tag>
7866
- <tag line="1866" name="return" description="HTML &lt;form&gt; markup for hidden form" type="string">
7867
- <type by_reference="false">string</type>
7868
- </tag>
7869
- </docblock>
7870
- <argument line="1875">
7871
- <name>$return_form</name>
7872
- <default><![CDATA[true]]></default>
7873
- <type/>
7874
- </argument>
7875
- </method>
7876
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="1938" package="Media Library Assistant">
7877
- <name>_build_inline_edit_form</name>
7878
- <full_name>_build_inline_edit_form</full_name>
7879
- <docblock line="1927">
7880
- <description><![CDATA[Build the hidden row templates for inline editing (quick and bulk edit)]]></description>
7881
- <long-description><![CDATA[<p>inspired by inline_edit() in wp-admin\includes\class-wp-posts-list-table.php.</p>]]></long-description>
7882
- <tag line="1927" name="since" description="0.20"/>
7883
- <tag line="1927" name="param" description="MLA List Table object" type="object" variable="$MLAListTable">
7884
- <type by_reference="false">object</type>
7885
- </tag>
7886
- <tag line="1927" name="return" description="HTML &lt;form&gt; markup for hidden rows" type="string">
7887
- <type by_reference="false">string</type>
7888
- </tag>
7889
- </docblock>
7890
- <argument line="1938">
7891
- <name>$MLAListTable</name>
7892
- <default><![CDATA[]]></default>
7893
- <type/>
7894
- </argument>
7895
- </method>
7896
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="2134" package="Media Library Assistant">
7897
- <name>mla_authors_dropdown</name>
7898
- <full_name>mla_authors_dropdown</full_name>
7899
- <docblock line="2123">
7900
- <description><![CDATA[Get the edit Authors dropdown box, if user has suitable permissions]]></description>
7901
- <long-description><![CDATA[]]></long-description>
7902
- <tag line="2123" name="since" description="0.20"/>
7903
- <tag line="2123" name="param" description="Optional User ID of the current author, default 0" type="integer" variable="$author">
7904
- <type by_reference="false">integer</type>
7905
- </tag>
7906
- <tag line="2123" name="param" description="Optional HTML name attribute, default 'post_author'" type="string" variable="$name">
7907
- <type by_reference="false">string</type>
7908
- </tag>
7909
- <tag line="2123" name="param" description="Optional HTML class attribute, default 'authors'" type="string" variable="$class">
7910
- <type by_reference="false">string</type>
7911
- </tag>
7912
- <tag line="2123" name="return" description="HTML markup for the dropdown field or False" type="string|false">
7913
- <type by_reference="false">string</type>
7914
- <type by_reference="false">false</type>
7915
- </tag>
7916
- </docblock>
7917
- <argument line="2134">
7918
- <name>$author</name>
7919
- <default><![CDATA[0]]></default>
7920
- <type/>
7921
- </argument>
7922
- <argument line="2134">
7923
- <name>$name</name>
7924
- <default><![CDATA['post_author']]></default>
7925
- <type/>
7926
- </argument>
7927
- <argument line="2134">
7928
- <name>$class</name>
7929
- <default><![CDATA['authors']]></default>
7930
- <type/>
7931
- </argument>
7932
- </method>
7933
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="2168" package="Media Library Assistant">
7934
- <name>_current_bulk_action</name>
7935
- <full_name>_current_bulk_action</full_name>
7936
- <docblock line="2161">
7937
- <description><![CDATA[Get the current action selected from the bulk actions dropdown]]></description>
7938
- <long-description><![CDATA[]]></long-description>
7939
- <tag line="2161" name="since" description="0.1"/>
7940
- <tag line="2161" name="return" description="The action name or False if no action was selected" type="string|false">
7941
- <type by_reference="false">string</type>
7942
- <type by_reference="false">false</type>
7943
- </tag>
7944
- </docblock>
7945
- </method>
7946
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="2199" package="Media Library Assistant">
7947
- <name>_delete_single_item</name>
7948
- <full_name>_delete_single_item</full_name>
7949
- <docblock line="2190">
7950
- <description><![CDATA[Delete a single item permanently]]></description>
7951
- <long-description><![CDATA[]]></long-description>
7952
- <tag line="2190" name="since" description="0.1"/>
7953
- <tag line="2190" name="param" description="The form POST data" type="array" variable="$post_id">
7954
- <type by_reference="false">array</type>
7955
- </tag>
7956
- <tag line="2190" name="return" description="success/failure message and NULL content" type="array">
7957
- <type by_reference="false">array</type>
7958
- </tag>
7959
- </docblock>
7960
- <argument line="2199">
7961
- <name>$post_id</name>
7962
- <default><![CDATA[]]></default>
7963
- <type/>
7964
- </argument>
7965
- </method>
7966
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="2231" package="Media Library Assistant">
7967
- <name>_restore_single_item</name>
7968
- <full_name>_restore_single_item</full_name>
7969
- <docblock line="2222">
7970
- <description><![CDATA[Restore a single item from the Trash]]></description>
7971
- <long-description><![CDATA[]]></long-description>
7972
- <tag line="2222" name="since" description="0.1"/>
7973
- <tag line="2222" name="param" description="The WordPress Post ID of the attachment item" type="integer" variable="$post_id">
7974
- <type by_reference="false">integer</type>
7975
- </tag>
7976
- <tag line="2222" name="return" description="success/failure message and NULL content" type="array">
7977
- <type by_reference="false">array</type>
7978
- </tag>
7979
- </docblock>
7980
- <argument line="2231">
7981
- <name>$post_id</name>
7982
- <default><![CDATA[]]></default>
7983
- <type/>
7984
- </argument>
7985
- </method>
7986
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="2271" package="Media Library Assistant">
7987
- <name>_trash_single_item</name>
7988
- <full_name>_trash_single_item</full_name>
7989
- <docblock line="2262">
7990
- <description><![CDATA[Move a single item to Trash]]></description>
7991
- <long-description><![CDATA[]]></long-description>
7992
- <tag line="2262" name="since" description="0.1"/>
7993
- <tag line="2262" name="param" description="The WordPress Post ID of the attachment item" type="integer" variable="$post_id">
7994
- <type by_reference="false">integer</type>
7995
- </tag>
7996
- <tag line="2262" name="return" description="success/failure message and NULL content" type="array">
7997
- <type by_reference="false">array</type>
7998
- </tag>
7999
- </docblock>
8000
- <argument line="2271">
8001
- <name>$post_id</name>
8002
- <default><![CDATA[]]></default>
8003
- <type/>
8004
- </argument>
8005
- </method>
8006
- </class>
8007
- </file>
8008
- <file path="includes\class-mla-media-modal-ajax.php" hash="6e23d10d1803f88631456f37bb65c081" package="Media Library Assistant">
8009
- <docblock line="2">
8010
- <description><![CDATA[Media Library Assistant Ajax Handlers for Media Manager enhancements]]></description>
8011
- <long-description><![CDATA[]]></long-description>
8012
- <tag line="2" name="package" description="Media Library Assistant"/>
8013
- <tag line="2" name="since" description="2.20"/>
8014
- </docblock>
8015
- <class final="false" abstract="false" namespace="global" line="15" package="Media Library Assistant">
8016
- <extends/>
8017
- <name>MLAModal_Ajax</name>
8018
- <full_name>\MLAModal_Ajax</full_name>
8019
- <docblock line="9">
8020
- <description><![CDATA[Class MLA (Media Library Assistant) Modal Ajax contains handlers for the WordPress 3.5+ Media Manager]]></description>
8021
- <long-description><![CDATA[]]></long-description>
8022
- <tag line="9" name="package" description="Media Library Assistant"/>
8023
- <tag line="9" name="since" description="2.20"/>
8024
- </docblock>
8025
- <property final="false" static="true" visibility="private" line="206" namespace="global" package="Media Library Assistant">
8026
- <name>$media_item_args</name>
8027
- <default><![CDATA[array('errors' => NULL, 'in_modal' => false)]]></default>
8028
- <docblock line="199">
8029
- <description><![CDATA[The get_media_item_args array]]></description>
8030
- <long-description><![CDATA[]]></long-description>
8031
- <tag line="199" name="since" description="1.71"/>
8032
- <tag line="199" name="var" description="( 'errors' =&gt; array of strings, 'in_modal =&gt; boolean )" type="array">
8033
- <type by_reference="false">array</type>
8034
- </tag>
8035
- </docblock>
8036
- </property>
8037
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="23" package="Media Library Assistant">
8038
- <name>initialize</name>
8039
- <full_name>initialize</full_name>
8040
- <docblock line="16">
8041
- <description><![CDATA[Initialization function, similar to __construct()]]></description>
8042
- <long-description><![CDATA[]]></long-description>
8043
- <tag line="16" name="since" description="2.20"/>
8044
- <tag line="16" name="return" description="" type="void">
8045
- <type by_reference="false">void</type>
8046
- </tag>
8047
- </docblock>
8048
- </method>
8049
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="56" package="Media Library Assistant">
8050
- <name>mla_admin_init_action</name>
8051
- <full_name>mla_admin_init_action</full_name>
8052
- <docblock line="46">
8053
- <description><![CDATA[Adjust ajax handler for Media Manager queries]]></description>
8054
- <long-description><![CDATA[<p>Replace 'query-attachments' with our own handler if the request is coming from the "Assistant" tab.
8055
- Clean up the 'save-attachment-compat' values, removing the taxonomy updates MLS already handled.</p>]]></long-description>
8056
- <tag line="46" name="since" description="2.20"/>
8057
- <tag line="46" name="return" description="" type="void">
8058
- <type by_reference="false">void</type>
8059
- </tag>
8060
- </docblock>
8061
- </method>
8062
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="194" package="Media Library Assistant">
8063
- <name>mla_get_media_item_args_filter</name>
8064
- <full_name>mla_get_media_item_args_filter</full_name>
8065
- <docblock line="183">
8066
- <description><![CDATA[Saves the get_media_item_args array for the attachment_fields_to_edit filter]]></description>
8067
- <long-description><![CDATA[<p>Declared public because it is a filter.</p>]]></long-description>
8068
- <tag line="183" name="since" description="1.71"/>
8069
- <tag line="183" name="param" description="arguments for the get_media_item function in /wp-admin/includes/media.php" type="array" variable="$args">
8070
- <type by_reference="false">array</type>
8071
- </tag>
8072
- <tag line="183" name="return" description="arguments for the get_media_item function (unchanged)" type="array">
8073
- <type by_reference="false">array</type>
8074
- </tag>
8075
- </docblock>
8076
- <argument line="194">
8077
- <name>$args</name>
8078
- <default><![CDATA[]]></default>
8079
- <type/>
8080
- </argument>
8081
- </method>
8082
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="225" package="Media Library Assistant">
8083
- <name>mla_attachment_fields_to_edit_filter</name>
8084
- <full_name>mla_attachment_fields_to_edit_filter</full_name>
8085
- <docblock line="208">
8086
- <description><![CDATA[Add/change custom fields to the Edit Media screen and Modal Window]]></description>
8087
- <long-description><![CDATA[<p>Called from /wp-admin/includes/media.php, function get_compat_media_markup();
8088
- If "get_media_item_args"['in_modal'] => false ) its the Edit Media screen.
8089
- If "get_media_item_args"['in_modal'] => true ) its the Media Manager Modal Window.
8090
- For the Modal Window, $form_fields contains all the "compat-attachment-fields"
8091
- including the taxonomies, which we want to enhance.
8092
- Declared public because it is a filter.</p>]]></long-description>
8093
- <tag line="208" name="since" description="1.71"/>
8094
- <tag line="208" name="param" description="descriptors for the &quot;compat-attachment-fields&quot;" type="array" variable="$form_fields">
8095
- <type by_reference="false">array</type>
8096
- </tag>
8097
- <tag line="208" name="param" description="the post to be edited" type="object" variable="$post">
8098
- <type by_reference="false">object</type>
8099
- </tag>
8100
- <tag line="208" name="return" description="updated descriptors for the &quot;compat-attachment-fields&quot;" type="array">
8101
- <type by_reference="false">array</type>
8102
- </tag>
8103
- </docblock>
8104
- <argument line="225">
8105
- <name>$form_fields</name>
8106
- <default><![CDATA[]]></default>
8107
- <type/>
8108
- </argument>
8109
- <argument line="225">
8110
- <name>$post</name>
8111
- <default><![CDATA[]]></default>
8112
- <type/>
8113
- </argument>
8114
- </method>
8115
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="331" package="Media Library Assistant">
8116
- <name>mla_fill_compat_fields_action</name>
8117
- <full_name>mla_fill_compat_fields_action</full_name>
8118
- <docblock line="322">
8119
- <description><![CDATA[Ajax handler for Media Manager "fill compat-attachment-fields" queries]]></description>
8120
- <long-description><![CDATA[<p>Prepares an array of (HTML) taxonomy meta boxes with attachment-specific values.</p>]]></long-description>
8121
- <tag line="322" name="since" description="2.20"/>
8122
- <tag line="322" name="return" description="passes array of results to wp_send_json_success() for JSON encoding and transmission" type="void">
8123
- <type by_reference="false">void</type>
8124
- </tag>
8125
- </docblock>
8126
- </method>
8127
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="510" package="Media Library Assistant">
8128
- <name>mla_update_compat_fields_action</name>
8129
- <full_name>mla_update_compat_fields_action</full_name>
8130
- <docblock line="501">
8131
- <description><![CDATA[Ajax handler for Media Manager "update compat-attachment-fields" queries]]></description>
8132
- <long-description><![CDATA[<p>Updates one (or more) supported taxonomy and returns updated checkbox or tag/term lists</p>]]></long-description>
8133
- <tag line="501" name="since" description="2.20"/>
8134
- <tag line="501" name="return" description="passes array of results to wp_send_json_success() for JSON encoding and transmission" type="void">
8135
- <type by_reference="false">void</type>
8136
- </tag>
8137
- </docblock>
8138
- </method>
8139
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="603" package="Media Library Assistant">
8140
- <name>mla_query_attachments_action</name>
8141
- <full_name>mla_query_attachments_action</full_name>
8142
- <docblock line="594">
8143
- <description><![CDATA[Ajax handler for Media Manager "Query Attachments" queries]]></description>
8144
- <long-description><![CDATA[<p>Adapted from wp_ajax_query_attachments in /wp-admin/includes/ajax-actions.php</p>]]></long-description>
8145
- <tag line="594" name="since" description="2.20"/>
8146
- <tag line="594" name="return" description="passes array of post arrays to wp_send_json_success() for JSON encoding and transmission" type="void">
8147
- <type by_reference="false">void</type>
8148
- </tag>
8149
- </docblock>
8150
- </method>
8151
- </class>
8152
- </file>
8153
- <file path="includes\class-mla-media-modal.php" hash="dc41fd153e84c1d561a2f3ed3227a1d5" package="Media Library Assistant">
8154
- <docblock line="2">
8155
- <description><![CDATA[Media Library Assistant Media Manager enhancements]]></description>
8156
- <long-description><![CDATA[]]></long-description>
8157
- <tag line="2" name="package" description="Media Library Assistant"/>
8158
- <tag line="2" name="since" description="1.20"/>
8159
- </docblock>
8160
- <include line="441" type="Require Once" package="Media Library Assistant">
8161
- <name/>
8162
- </include>
8163
- <class final="false" abstract="false" namespace="global" line="15" package="Media Library Assistant">
8164
- <extends/>
8165
- <name>MLAModal</name>
8166
- <full_name>\MLAModal</full_name>
8167
- <docblock line="9">
8168
- <description><![CDATA[Class MLA (Media Library Assistant) Modal contains enhancements for the WordPress 3.5+ Media Manager]]></description>
8169
- <long-description><![CDATA[]]></long-description>
8170
- <tag line="9" name="package" description="Media Library Assistant"/>
8171
- <tag line="9" name="since" description="1.20"/>
8172
- </docblock>
8173
- <constant namespace="global" line="23" package="Media Library Assistant">
8174
- <name>JAVASCRIPT_MEDIA_MODAL_STYLES</name>
8175
- <full_name>JAVASCRIPT_MEDIA_MODAL_STYLES</full_name>
8176
- <value><![CDATA['mla-media-modal-style']]></value>
8177
- <docblock line="16">
8178
- <description><![CDATA[Slug for localizing and enqueueing CSS - Add Media and related dialogs]]></description>
8179
- <long-description><![CDATA[]]></long-description>
8180
- <tag line="16" name="since" description="1.20"/>
8181
- <tag line="16" name="var" description="" type="string">
8182
- <type by_reference="false">string</type>
8183
- </tag>
8184
- </docblock>
8185
- </constant>
8186
- <constant namespace="global" line="32" package="Media Library Assistant">
8187
- <name>JAVASCRIPT_MEDIA_MODAL_SLUG</name>
8188
- <full_name>JAVASCRIPT_MEDIA_MODAL_SLUG</full_name>
8189
- <value><![CDATA['mla-media-modal-scripts']]></value>
8190
- <docblock line="25">
8191
- <description><![CDATA[Slug for localizing and enqueueing JavaScript - Add Media and related dialogs]]></description>
8192
- <long-description><![CDATA[]]></long-description>
8193
- <tag line="25" name="since" description="1.20"/>
8194
- <tag line="25" name="var" description="" type="string">
8195
- <type by_reference="false">string</type>
8196
- </tag>
8197
- </docblock>
8198
- </constant>
8199
- <constant namespace="global" line="41" package="Media Library Assistant">
8200
- <name>JAVASCRIPT_MEDIA_MODAL_OBJECT</name>
8201
- <full_name>JAVASCRIPT_MEDIA_MODAL_OBJECT</full_name>
8202
- <value><![CDATA['mla_media_modal_vars']]></value>
8203
- <docblock line="34">
8204
- <description><![CDATA[Object name for localizing JavaScript - Add Media and related dialogs]]></description>
8205
- <long-description><![CDATA[]]></long-description>
8206
- <tag line="34" name="since" description="1.20"/>
8207
- <tag line="34" name="var" description="" type="string">
8208
- <type by_reference="false">string</type>
8209
- </tag>
8210
- </docblock>
8211
- </constant>
8212
- <constant namespace="global" line="50" package="Media Library Assistant">
8213
- <name>JAVASCRIPT_TERMS_SEARCH_OBJECT</name>
8214
- <full_name>JAVASCRIPT_TERMS_SEARCH_OBJECT</full_name>
8215
- <value><![CDATA['mla_terms_search_vars']]></value>
8216
- <docblock line="43">
8217
- <description><![CDATA[Object name for localizing JavaScript - Terms Search popup]]></description>
8218
- <long-description><![CDATA[]]></long-description>
8219
- <tag line="43" name="since" description="1.90"/>
8220
- <tag line="43" name="var" description="" type="string">
8221
- <type by_reference="false">string</type>
8222
- </tag>
8223
- </docblock>
8224
- </constant>
8225
- <property final="false" static="true" visibility="private" line="170" namespace="global" package="Media Library Assistant">
8226
- <name>$mla_media_modal_settings</name>
8227
- <default><![CDATA[array('screen' => 'modal', 'state' => 'initial', 'comma' => ',', 'ajaxNonce' => '', 'ajaxFillCompatAction' => \MLACore::JAVASCRIPT_FILL_COMPAT_ACTION, 'ajaxQueryAttachmentsAction' => \MLACore::JAVASCRIPT_QUERY_ATTACHMENTS_ACTION, 'ajaxUpdateCompatAction' => \MLACore::JAVASCRIPT_UPDATE_COMPAT_ACTION, 'enableDetailsCategory' => false, 'enableDetailsTag' => false, 'enableMimeTypes' => false, 'enableMonthsDropdown' => false, 'enableSearchBox' => false, 'enableSearchBoxControls' => false, 'enableTermsDropdown' => false, 'enableTermsSearch' => false, 'enableTermsAutofill' => false, 'query' => array('initial' => array('filterMime' => NULL, 'filterMonth' => NULL, 'filterTerm' => NULL, 'searchConnector' => NULL, 'searchFields' => NULL, 'searchValue' => NULL, 'searchClicks' => 0)), 'allMimeTypes' => array(), 'uploadMimeTypes' => array(), 'months' => '', 'termsClass' => array(), 'termsIndent' => '&nbsp;', 'termsTaxonomy' => '', 'termsText' => array(), 'termsValue' => array())]]></default>
8228
- <docblock line="162">
8229
- <description><![CDATA[Share the settings values between mla_media_view_settings_filter
8230
- and mla_print_media_templates_action]]></description>
8231
- <long-description><![CDATA[]]></long-description>
8232
- <tag line="162" name="since" description="1.20"/>
8233
- <tag line="162" name="var" description="" type="array">
8234
- <type by_reference="false">array</type>
8235
- </tag>
8236
- </docblock>
8237
- </property>
8238
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="59" package="Media Library Assistant">
8239
- <name>initialize</name>
8240
- <full_name>initialize</full_name>
8241
- <docblock line="52">
8242
- <description><![CDATA[Initialization function, similar to __construct()]]></description>
8243
- <long-description><![CDATA[]]></long-description>
8244
- <tag line="52" name="since" description="1.20"/>
8245
- <tag line="52" name="return" description="" type="void">
8246
- <type by_reference="false">void</type>
8247
- </tag>
8248
- </docblock>
8249
- </method>
8250
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="95" package="Media Library Assistant">
8251
- <name>_months_dropdown</name>
8252
- <full_name>_months_dropdown</full_name>
8253
- <docblock line="84">
8254
- <description><![CDATA[Display a monthly dropdown for filtering items]]></description>
8255
- <long-description><![CDATA[<p>Adapted from /wp-admin/includes/class-wp-list-table.php function months_dropdown()</p>]]></long-description>
8256
- <tag line="84" name="since" description="1.20"/>
8257
- <tag line="84" name="param" description="post_type, e.g., 'attachment'" type="string" variable="$post_type">
8258
- <type by_reference="false">string</type>
8259
- </tag>
8260
- <tag line="84" name="return" description="( value =&gt; label ) pairs" type="array">
8261
- <type by_reference="false">array</type>
8262
- </tag>
8263
- </docblock>
8264
- <argument line="95">
8265
- <name>$post_type</name>
8266
- <default><![CDATA[]]></default>
8267
- <type/>
8268
- </argument>
8269
- </method>
8270
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="136" package="Media Library Assistant">
8271
- <name>_terms_options</name>
8272
- <full_name>_terms_options</full_name>
8273
- <docblock line="127">
8274
- <description><![CDATA[Extract value and text elements from Dropdown HTML option tags]]></description>
8275
- <long-description><![CDATA[]]></long-description>
8276
- <tag line="127" name="since" description="1.20"/>
8277
- <tag line="127" name="param" description="HTML markup for taxonomy terms dropdown &lt;select&gt; tag" type="string" variable="$markup">
8278
- <type by_reference="false">string</type>
8279
- </tag>
8280
- <tag line="127" name="return" description="( 'class' =&gt; $class_array, 'value' =&gt; $value_array, 'text' =&gt; $text_array )" type="array">
8281
- <type by_reference="false">array</type>
8282
- </tag>
8283
- </docblock>
8284
- <argument line="136">
8285
- <name>$markup</name>
8286
- <default><![CDATA[]]></default>
8287
- <type/>
8288
- </argument>
8289
- </method>
8290
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="219" package="Media Library Assistant">
8291
- <name>mla_media_view_settings_filter</name>
8292
- <full_name>mla_media_view_settings_filter</full_name>
8293
- <docblock line="208">
8294
- <description><![CDATA[Adds settings values to be passed to the Media Manager in /wp-includes/js/media-views.js.]]></description>
8295
- <long-description><![CDATA[<p>Declared public because it is a filter.</p>]]></long-description>
8296
- <tag line="208" name="since" description="1.20"/>
8297
- <tag line="208" name="param" description="associative array with setting =&gt; value pairs" type="array" variable="$settings">
8298
- <type by_reference="false">array</type>
8299
- </tag>
8300
- <tag line="208" name="param" description="|| NULL current post object, if available" type="object" variable="$post">
8301
- <type by_reference="false">object</type>
8302
- </tag>
8303
- <tag line="208" name="return" description="updated $settings array" type="array">
8304
- <type by_reference="false">array</type>
8305
- </tag>
8306
- </docblock>
8307
- <argument line="219">
8308
- <name>$settings</name>
8309
- <default><![CDATA[]]></default>
8310
- <type/>
8311
- </argument>
8312
- <argument line="219">
8313
- <name>$post</name>
8314
- <default><![CDATA[]]></default>
8315
- <type/>
8316
- </argument>
8317
- </method>
8318
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="355" package="Media Library Assistant">
8319
- <name>mla_media_view_strings_filter</name>
8320
- <full_name>mla_media_view_strings_filter</full_name>
8321
- <docblock line="344">
8322
- <description><![CDATA[Adds string values to be passed to the Media Manager in /wp-includes/js/media-views.js.]]></description>
8323
- <long-description><![CDATA[<p>Declared public because it is a filter.</p>]]></long-description>
8324
- <tag line="344" name="since" description="1.20"/>
8325
- <tag line="344" name="param" description="associative array with string =&gt; value pairs" type="array" variable="$strings">
8326
- <type by_reference="false">array</type>
8327
- </tag>
8328
- <tag line="344" name="param" description="|| NULL current post object, if available" type="object" variable="$post">
8329
- <type by_reference="false">object</type>
8330
- </tag>
8331
- <tag line="344" name="return" description="updated $strings array" type="array">
8332
- <type by_reference="false">array</type>
8333
- </tag>
8334
- </docblock>
8335
- <argument line="355">
8336
- <name>$strings</name>
8337
- <default><![CDATA[]]></default>
8338
- <type/>
8339
- </argument>
8340
- <argument line="355">
8341
- <name>$post</name>
8342
- <default><![CDATA[]]></default>
8343
- <type/>
8344
- </argument>
8345
- </method>
8346
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="374" package="Media Library Assistant">
8347
- <name>mla_wp_enqueue_media_action</name>
8348
- <full_name>mla_wp_enqueue_media_action</full_name>
8349
- <docblock line="366">
8350
- <description><![CDATA[Enqueues the mla-media-modal-scripts.js file, adding it to the Media Manager scripts.]]></description>
8351
- <long-description><![CDATA[<p>Declared public because it is an action.</p>]]></long-description>
8352
- <tag line="366" name="since" description="1.20"/>
8353
- <tag line="366" name="return" description="" type="void">
8354
- <type by_reference="false">void</type>
8355
- </tag>
8356
- </docblock>
8357
- </method>
8358
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="419" package="Media Library Assistant">
8359
- <name>mla_print_media_templates_action</name>
8360
- <full_name>mla_print_media_templates_action</full_name>
8361
- <docblock line="411">
8362
- <description><![CDATA[Prints the templates used in the MLA Media Manager enhancements.]]></description>
8363
- <long-description><![CDATA[<p>Declared public because it is an action.</p>]]></long-description>
8364
- <tag line="411" name="since" description="1.20"/>
8365
- <tag line="411" name="return" description="echoes HTML script tags for the templates" type="void">
8366
- <type by_reference="false">void</type>
8367
- </tag>
8368
- </docblock>
8369
- </method>
8370
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="452" package="Media Library Assistant">
8371
- <name>mla_admin_init_action</name>
8372
- <full_name>mla_admin_init_action</full_name>
8373
- <docblock line="445">
8374
- <description><![CDATA[Clean up the 'save-attachment-compat' values, removing taxonomy updates MLA already handled]]></description>
8375
- <long-description><![CDATA[]]></long-description>
8376
- <tag line="445" name="since" description="1.20"/>
8377
- <tag line="445" name="return" description="" type="void">
8378
- <type by_reference="false">void</type>
8379
- </tag>
8380
- </docblock>
8381
- </method>
8382
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="490" package="Media Library Assistant">
8383
- <name>mla_add_terms_search_scripts</name>
8384
- <full_name>mla_add_terms_search_scripts</full_name>
8385
- <docblock line="482">
8386
- <description><![CDATA[Add the styles and scripts for the "Search Terms" popup modal window,
8387
- but only once per page load]]></description>
8388
- <long-description><![CDATA[]]></long-description>
8389
- <tag line="482" name="since" description="1.90"/>
8390
- <tag line="482" name="return" description="" type="void">
8391
- <type by_reference="false">void</type>
8392
- </tag>
8393
- </docblock>
8394
- </method>
8395
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="540" package="Media Library Assistant">
8396
- <name>mla_add_terms_search_form</name>
8397
- <full_name>mla_add_terms_search_form</full_name>
8398
- <docblock line="532">
8399
- <description><![CDATA[Add the hidden form for the "Search Terms" popup modal window,
8400
- but only once per page load]]></description>
8401
- <long-description><![CDATA[]]></long-description>
8402
- <tag line="532" name="since" description="1.90"/>
8403
- <tag line="532" name="return" description="" type="void">
8404
- <type by_reference="false">void</type>
8405
- </tag>
8406
- </docblock>
8407
- </method>
8408
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="556" package="Media Library Assistant">
8409
- <name>mla_echo_terms_search_form</name>
8410
- <full_name>mla_echo_terms_search_form</full_name>
8411
- <docblock line="549">
8412
- <description><![CDATA[Echo the hidden form for the "Search Terms" popup modal window]]></description>
8413
- <long-description><![CDATA[]]></long-description>
8414
- <tag line="549" name="since" description="1.90"/>
8415
- <tag line="549" name="return" description="Echos the HTML &lt;form&gt; markup for hidden form" type="void">
8416
- <type by_reference="false">void</type>
8417
- </tag>
8418
- </docblock>
8419
- </method>
8420
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="567" package="Media Library Assistant">
8421
- <name>mla_terms_search_form</name>
8422
- <full_name>mla_terms_search_form</full_name>
8423
- <docblock line="560">
8424
- <description><![CDATA[Build the hidden form for the "Search Terms" popup modal window]]></description>
8425
- <long-description><![CDATA[]]></long-description>
8426
- <tag line="560" name="since" description="1.90"/>
8427
- <tag line="560" name="return" description="HTML &lt;form&gt; markup for hidden form" type="string">
8428
- <type by_reference="false">string</type>
8429
- </tag>
8430
- </docblock>
8431
- </method>
8432
- </class>
8433
- </file>
8434
- <file path="includes\class-mla-mime-types.php" hash="c22e80bc8d86dd218135fed64f48fe2d" package="Media Library Assistant">
8435
- <docblock line="2">
8436
- <description><![CDATA[Media Library Assistant MIME Type Support]]></description>
8437
- <long-description><![CDATA[]]></long-description>
8438
- <tag line="2" name="package" description="Media Library Assistant"/>
8439
- <tag line="2" name="since" description="1.40"/>
8440
- </docblock>
8441
- <class final="false" abstract="false" namespace="global" line="16" package="Media Library Assistant">
8442
- <extends/>
8443
- <name>MLAMime</name>
8444
- <full_name>\MLAMime</full_name>
8445
- <docblock line="9">
8446
- <description><![CDATA[Class MLA (Media Library Assistant) MIME filters WordPress MIME Type functions and supports
8447
- the Views and Uploads Settings tabs]]></description>
8448
- <long-description><![CDATA[]]></long-description>
8449
- <tag line="9" name="package" description="Media Library Assistant"/>
8450
- <tag line="9" name="since" description="1.40"/>
8451
- </docblock>
8452
- <property final="false" static="true" visibility="private" line="54" namespace="global" package="Media Library Assistant">
8453
- <name>$disable_mla_filtering</name>
8454
- <default><![CDATA[false]]></default>
8455
- <docblock line="47">
8456
- <description><![CDATA[Disable MIME filtering during option initialization]]></description>
8457
- <long-description><![CDATA[]]></long-description>
8458
- <tag line="47" name="since" description="1.40"/>
8459
- <tag line="47" name="var" description="" type="boolean">
8460
- <type by_reference="false">boolean</type>
8461
- </tag>
8462
- </docblock>
8463
- </property>
8464
- <property final="false" static="true" visibility="private" line="84" namespace="global" package="Media Library Assistant">
8465
- <name>$mla_icon_type_associations</name>
8466
- <default><![CDATA[NULL]]></default>
8467
- <docblock line="77">
8468
- <description><![CDATA[In-memory representation of the Icon Type => file extension(s) associations]]></description>
8469
- <long-description><![CDATA[]]></long-description>
8470
- <tag line="77" name="since" description="1.40"/>
8471
- <tag line="77" name="var" description="slug =&gt; ( singular, plural, specification, post_mime_type, table_view, menu_order, description )" type="array">
8472
- <type by_reference="false">array</type>
8473
- </tag>
8474
- </docblock>
8475
- </property>
8476
- <property final="false" static="true" visibility="private" line="705" namespace="global" package="Media Library Assistant">
8477
- <name>$mla_post_mime_templates</name>
8478
- <default><![CDATA[NULL]]></default>
8479
- <docblock line="698">
8480
- <description><![CDATA[In-memory representation of the Post MIME Types]]></description>
8481
- <long-description><![CDATA[]]></long-description>
8482
- <tag line="698" name="since" description="1.40"/>
8483
- <tag line="698" name="var" description="slug =&gt; ( singular, plural, specification, post_mime_type, table_view, menu_order, description )" type="array">
8484
- <type by_reference="false">array</type>
8485
- </tag>
8486
- </docblock>
8487
- </property>
8488
- <property final="false" static="true" visibility="private" line="714" namespace="global" package="Media Library Assistant">
8489
- <name>$mla_post_mime_highest_ID</name>
8490
- <default><![CDATA[0]]></default>
8491
- <docblock line="707">
8492
- <description><![CDATA[Highest existing Post MIME Type ID value]]></description>
8493
- <long-description><![CDATA[]]></long-description>
8494
- <tag line="707" name="since" description="1.40"/>
8495
- <tag line="707" name="var" description="" type="integer">
8496
- <type by_reference="false">integer</type>
8497
- </tag>
8498
- </docblock>
8499
- </property>
8500
- <property final="false" static="true" visibility="private" line="1413" namespace="global" package="Media Library Assistant">
8501
- <name>$mla_core_icon_types</name>
8502
- <default><![CDATA[NULL]]></default>
8503
- <docblock line="1406">
8504
- <description><![CDATA[Icon types without MLA filtering]]></description>
8505
- <long-description><![CDATA[]]></long-description>
8506
- <tag line="1406" name="since" description="1.40"/>
8507
- <tag line="1406" name="var" description="extension =&gt; ( core_icon_type )" type="array">
8508
- <type by_reference="false">array</type>
8509
- </tag>
8510
- </docblock>
8511
- </property>
8512
- <property final="false" static="true" visibility="private" line="1422" namespace="global" package="Media Library Assistant">
8513
- <name>$mla_current_icon_types</name>
8514
- <default><![CDATA[NULL]]></default>
8515
- <docblock line="1415">
8516
- <description><![CDATA[Icon types with MLA filtering - basenames of files in the current icon directory]]></description>
8517
- <long-description><![CDATA[]]></long-description>
8518
- <tag line="1415" name="since" description="1.40"/>
8519
- <tag line="1415" name="var" description="( icon_type =&gt; icon_image_uri )" type="array">
8520
- <type by_reference="false">array</type>
8521
- </tag>
8522
- </docblock>
8523
- </property>
8524
- <property final="false" static="true" visibility="private" line="1431" namespace="global" package="Media Library Assistant">
8525
- <name>$mla_upload_mime_templates</name>
8526
- <default><![CDATA[NULL]]></default>
8527
- <docblock line="1424">
8528
- <description><![CDATA[In-memory representation of the Upload MIME Types]]></description>
8529
- <long-description><![CDATA[]]></long-description>
8530
- <tag line="1424" name="since" description="1.40"/>
8531
- <tag line="1424" name="var" description="extension =&gt; ( post_ID, mime_type, core_type, mla_type, source, standard_source, disabled, description, icon_type, wp_icon_type, mla_icon_type, core_icon_type )" type="array">
8532
- <type by_reference="false">array</type>
8533
- </tag>
8534
- </docblock>
8535
- </property>
8536
- <property final="false" static="true" visibility="private" line="1440" namespace="global" package="Media Library Assistant">
8537
- <name>$mla_upload_mime_descriptions</name>
8538
- <default><![CDATA[NULL]]></default>
8539
- <docblock line="1433">
8540
- <description><![CDATA[In-memory cache of the default Upload MIME Type descriptions]]></description>
8541
- <long-description><![CDATA[]]></long-description>
8542
- <tag line="1433" name="since" description="1.80"/>
8543
- <tag line="1433" name="var" description="extension =&gt; description" type="array">
8544
- <type by_reference="false">array</type>
8545
- </tag>
8546
- </docblock>
8547
- </property>
8548
- <property final="false" static="true" visibility="private" line="1449" namespace="global" package="Media Library Assistant">
8549
- <name>$mla_upload_mime_highest_ID</name>
8550
- <default><![CDATA[0]]></default>
8551
- <docblock line="1442">
8552
- <description><![CDATA[Highest existing Upload MIME Type ID value]]></description>
8553
- <long-description><![CDATA[]]></long-description>
8554
- <tag line="1442" name="since" description="1.40"/>
8555
- <tag line="1442" name="var" description="" type="integer">
8556
- <type by_reference="false">integer</type>
8557
- </tag>
8558
- </docblock>
8559
- </property>
8560
- <property final="false" static="true" visibility="private" line="2277" namespace="global" package="Media Library Assistant">
8561
- <name>$mla_optional_upload_mime_templates</name>
8562
- <default><![CDATA[NULL]]></default>
8563
- <docblock line="2270">
8564
- <description><![CDATA[In-memory representation of the (read-only) Optional Upload MIME Types]]></description>
8565
- <long-description><![CDATA[]]></long-description>
8566
- <tag line="2270" name="since" description="1.40"/>
8567
- <tag line="2270" name="var" description="( ID, slug, mime_type, core_type, mla_type, description )" type="array">
8568
- <type by_reference="false">array</type>
8569
- </tag>
8570
- </docblock>
8571
- </property>
8572
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="24" package="Media Library Assistant">
8573
- <name>initialize</name>
8574
- <full_name>initialize</full_name>
8575
- <docblock line="17">
8576
- <description><![CDATA[Initialization function, similar to __construct()]]></description>
8577
- <long-description><![CDATA[]]></long-description>
8578
- <tag line="17" name="since" description="1.40"/>
8579
- <tag line="17" name="return" description="" type="void">
8580
- <type by_reference="false">void</type>
8581
- </tag>
8582
- </docblock>
8583
- </method>
8584
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="69" package="Media Library Assistant">
8585
- <name>mla_sanitize_mime_type_filter</name>
8586
- <full_name>mla_sanitize_mime_type_filter</full_name>
8587
- <docblock line="56">
8588
- <description><![CDATA[Sanitize a MIME type]]></description>
8589
- <long-description><![CDATA[<p>Called from /wp-includes/formatting.php, function sanitize_mime_type().
8590
- Defined as public because it's a filter.</p>]]></long-description>
8591
- <tag line="56" name="since" description="1.40"/>
8592
- <tag line="56" name="param" description="Sanitized MIME type" type="string" variable="$sanitized_mime_type">
8593
- <type by_reference="false">string</type>
8594
- </tag>
8595
- <tag line="56" name="param" description="Raw MIME type" type="string" variable="$raw_mime_type">
8596
- <type by_reference="false">string</type>
8597
- </tag>
8598
- <tag line="56" name="return" description="Updated sanitized MIME type" type="string">
8599
- <type by_reference="false">string</type>
8600
- </tag>
8601
- </docblock>
8602
- <argument line="69">
8603
- <name>$sanitized_mime_type</name>
8604
- <default><![CDATA[]]></default>
8605
- <type/>
8606
- </argument>
8607
- <argument line="69">
8608
- <name>$raw_mime_type</name>
8609
- <default><![CDATA[]]></default>
8610
- <type/>
8611
- </argument>
8612
- </method>
8613
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="107" package="Media Library Assistant">
8614
- <name>mla_ext2type_filter</name>
8615
- <full_name>mla_ext2type_filter</full_name>
8616
- <docblock line="86">
8617
- <description><![CDATA[Update the file extension to icon type (e.g., xls => spreadsheet, doc => document) array]]></description>
8618
- <long-description><![CDATA[<p>Note that the calling function, wp_ext2type, takes an extension and returns an icon type.
8619
- This filter updates the array of possible matches to support the calling function.</p>
8620
-
8621
- <p>Called from /wp-includes/functions.php, function wp_ext2type(). That function is called from
8622
- /wp-admin/includes/ajax-actions.php, function wp_ajax_send_link_to_editor(),
8623
- /wp-admin/includes/media.php, function wp_media_upload_handler(), and
8624
- /wp-includes/post.php, function wp_mime_type_icon(). The first two calls look for "audio"
8625
- and "video" files to call the appropriate filter. The third call assigns the appropriate icon
8626
- to the file for display purposes.</p>
8627
-
8628
- <p>Defined as public because it's a filter.</p>]]></long-description>
8629
- <tag line="86" name="since" description="1.40"/>
8630
- <tag line="86" name="param" description="The type =&gt; ( extensions ) associations." type="array" variable="$standard_types">
8631
- <type by_reference="false">array</type>
8632
- </tag>
8633
- <tag line="86" name="return" description="The updated associations array." type="array">
8634
- <type by_reference="false">array</type>
8635
- </tag>
8636
- </docblock>
8637
- <argument line="107">
8638
- <name>$standard_types</name>
8639
- <default><![CDATA[]]></default>
8640
- <type/>
8641
- </argument>
8642
- </method>
8643
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="174" package="Media Library Assistant">
8644
- <name>mla_wp_check_filetype_and_ext_filter</name>
8645
- <full_name>mla_wp_check_filetype_and_ext_filter</full_name>
8646
- <docblock line="159">
8647
- <description><![CDATA[Attempts to determine the real file type of a file]]></description>
8648
- <long-description><![CDATA[<p>Called from /wp-includes/functions.php, function wp_check_filetype_and_ext().
8649
- Defined as public because it's a filter.</p>]]></long-description>
8650
- <tag line="159" name="since" description="1.40"/>
8651
- <tag line="159" name="param" description="array( ext, type, proper_filename (string or false) )" type="array" variable="$validate">
8652
- <type by_reference="false">array</type>
8653
- </tag>
8654
- <tag line="159" name="param" description="Full path to the image" type="string" variable="$file">
8655
- <type by_reference="false">string</type>
8656
- </tag>
8657
- <tag line="159" name="param" description="The filename of the image" type="string" variable="$filename">
8658
- <type by_reference="false">string</type>
8659
- </tag>
8660
- <tag line="159" name="param" description="Optional array of MIME types" type="array" variable="$mimes">
8661
- <type by_reference="false">array</type>
8662
- </tag>
8663
- <tag line="159" name="return" description="Updated array( ext, type, proper_filename (string or false) )" type="array">
8664
- <type by_reference="false">array</type>
8665
- </tag>
8666
- </docblock>
8667
- <argument line="174">
8668
- <name>$validate</name>
8669
- <default><![CDATA[]]></default>
8670
- <type/>
8671
- </argument>
8672
- <argument line="174">
8673
- <name>$file</name>
8674
- <default><![CDATA[]]></default>
8675
- <type/>
8676
- </argument>
8677
- <argument line="174">
8678
- <name>$filename</name>
8679
- <default><![CDATA[]]></default>
8680
- <type/>
8681
- </argument>
8682
- <argument line="174">
8683
- <name>$mimes</name>
8684
- <default><![CDATA[]]></default>
8685
- <type/>
8686
- </argument>
8687
- </method>
8688
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="200" package="Media Library Assistant">
8689
- <name>mla_mime_types_filter</name>
8690
- <full_name>mla_mime_types_filter</full_name>
8691
- <docblock line="184">
8692
- <description><![CDATA[Retrieve list of MIME types and file extensions; use this filter to add types]]></description>
8693
- <long-description><![CDATA[<p>Called from /wp-includes/functions.php, function wp_get_mime_types(). That function
8694
- is called from /wp-includes/class-wp-image-editor.php functions get_mime_type()
8695
- and get_extension(), and from /wp-includes/functions.php, functions do_enclose()
8696
- and get_allowed_mime_types().</p>
8697
-
8698
- <p>Defined as public because it's a filter.</p>]]></long-description>
8699
- <tag line="184" name="since" description="1.40"/>
8700
- <tag line="184" name="param" description="Mime types keyed by the file extension regex corresponding to those types" type="array" variable="$mime_types">
8701
- <type by_reference="false">array</type>
8702
- </tag>
8703
- <tag line="184" name="return" description="Updated MIME types" type="array">
8704
- <type by_reference="false">array</type>
8705
- </tag>
8706
- </docblock>
8707
- <argument line="200">
8708
- <name>$mime_types</name>
8709
- <default><![CDATA[]]></default>
8710
- <type/>
8711
- </argument>
8712
- </method>
8713
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="261" package="Media Library Assistant">
8714
- <name>mla_upload_mimes_filter</name>
8715
- <full_name>mla_upload_mimes_filter</full_name>
8716
- <docblock line="239">
8717
- <description><![CDATA[Retrieve list of allowed MIME types and file extensions; use this filter to remove types]]></description>
8718
- <long-description><![CDATA[<p>Called from /wp-includes/functions.php, function get_allowed_mime_types(). That function
8719
- is called from /wp-includes/formatting.php function sanitize_file_name() and from
8720
- /wp-includes/functions.php, function wp_check_filetype(). wp_check_filetype returns only one
8721
- MIME type for a given file extension, so the file extension should/must be a unique key.</p>
8722
-
8723
- <p>This filter is also hooked by /wp-includes/ms-functions.php and processed in function
8724
- check_upload_mimes(), which "is used to filter that list against the filetype whitelist
8725
- provided by Multisite Super Admins at wp-admin/network/settings.php." Multisite installs must
8726
- respect this restriction, so any list we produce will be passed thru that function if it exists.</p>
8727
-
8728
- <p>This function is defined as public because it's a filter.</p>]]></long-description>
8729
- <tag line="239" name="since" description="1.40"/>
8730
- <tag line="239" name="param" description="Mime types keyed by the file extension regex corresponding to those types" type="array" variable="$mime_types">
8731
- <type by_reference="false">array</type>
8732
- </tag>
8733
- <tag line="239" name="param" description="User ID (integer) or object for checking against 'unfiltered_html' capability" type="mixed" variable="$user">
8734
- <type by_reference="false">mixed</type>
8735
- </tag>
8736
- <tag line="239" name="return" description="Updated allowed MIME types" type="array">
8737
- <type by_reference="false">array</type>
8738
- </tag>
8739
- </docblock>
8740
- <argument line="261">
8741
- <name>$mime_types</name>
8742
- <default><![CDATA[]]></default>
8743
- <type/>
8744
- </argument>
8745
- <argument line="261">
8746
- <name>$user</name>
8747
- <default><![CDATA[NULL]]></default>
8748
- <type/>
8749
- </argument>
8750
- </method>
8751
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="337" package="Media Library Assistant">
8752
- <name>mla_post_mime_types_filter</name>
8753
- <full_name>mla_post_mime_types_filter</full_name>
8754
- <docblock line="315">
8755
- <description><![CDATA[Get default Post MIME Types]]></description>
8756
- <long-description><![CDATA[<p>Called from /wp-includes/post.php, function get_post_mime_types(). That function
8757
- is called from:
8758
- /wp-admin/includes/media.php function get_media_item(), to validate the type of an
8759
- attachment when it is edited,
8760
- /wp-admin/includes/post.php, function wp_edit_attachments_query() to count the number
8761
- of attachments of each type, and
8762
- /wp-includes/media.php function wp_enqueue_media(), to populate the the Media Manager/Add Media
8763
- "media items" drop down list.</p>
8764
-
8765
- <p>Defined as public because it's a filter.</p>]]></long-description>
8766
- <tag line="315" name="since" description="1.40"/>
8767
- <tag line="315" name="param" description="Content types (image, audio, video) and presentation strings, e.g. 'image' =&gt; array(__('Images', 'media-library-assistant'), __('Manage Images', 'media-library-assistant'), _n_noop('Image &lt;span class=&quot;count&quot;&gt;(%s)&lt;/span&gt;', 'Images &lt;span class=&quot;count&quot;&gt;(%s)&lt;/span&gt;', 'media-library-assistant'))," type="array" variable="$post_mime_types">
8768
- <type by_reference="false">array</type>
8769
- </tag>
8770
- <tag line="315" name="return" description="Updated allowed MIME types" type="array">
8771
- <type by_reference="false">array</type>
8772
- </tag>
8773
- </docblock>
8774
- <argument line="337">
8775
- <name>$post_mime_types</name>
8776
- <default><![CDATA[]]></default>
8777
- <type/>
8778
- </argument>
8779
- </method>
8780
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="393" package="Media Library Assistant">
8781
- <name>mla_icon_dir_filter</name>
8782
- <full_name>mla_icon_dir_filter</full_name>
8783
- <docblock line="379">
8784
- <description><![CDATA[Retrieve the icon directory for a MIME type]]></description>
8785
- <long-description><![CDATA[<p>Called from /wp-includes/deprecated.php, function get_attachment_icon_src().
8786
- Called from /wp-includes/media.php, function wp_get_attachment_image_src().
8787
- Called from /wp-includes/post.php, function wp_mime_type_icon().
8788
- Defined as public because it's a filter.</p>]]></long-description>
8789
- <tag line="379" name="since" description="1.40"/>
8790
- <tag line="379" name="param" description="Path to the icon directory" type="string" variable="$path">
8791
- <type by_reference="false">string</type>
8792
- </tag>
8793
- <tag line="379" name="return" description="Updated path to the icon directory, no trailing slash" type="string">
8794
- <type by_reference="false">string</type>
8795
- </tag>
8796
- </docblock>
8797
- <argument line="393">
8798
- <name>$path</name>
8799
- <default><![CDATA[]]></default>
8800
- <type/>
8801
- </argument>
8802
- </method>
8803
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="415" package="Media Library Assistant">
8804
- <name>mla_icon_dir_uri_filter</name>
8805
- <full_name>mla_icon_dir_uri_filter</full_name>
8806
- <docblock line="403">
8807
- <description><![CDATA[Retrieve the icon directory URL for a MIME type]]></description>
8808
- <long-description><![CDATA[<p>Called from /wp-includes/post.php, function wp_mime_type_icon().
8809
- Defined as public because it's a filter.</p>]]></long-description>
8810
- <tag line="403" name="since" description="1.40"/>
8811
- <tag line="403" name="param" description="Path to the icon directory URL" type="string" variable="$uri">
8812
- <type by_reference="false">string</type>
8813
- </tag>
8814
- <tag line="403" name="return" description="Updated path to the icon directory URL, no trailing slash" type="string">
8815
- <type by_reference="false">string</type>
8816
- </tag>
8817
- </docblock>
8818
- <argument line="415">
8819
- <name>$uri</name>
8820
- <default><![CDATA[]]></default>
8821
- <type/>
8822
- </argument>
8823
- </method>
8824
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="437" package="Media Library Assistant">
8825
- <name>mla_icon_dirs_filter</name>
8826
- <full_name>mla_icon_dirs_filter</full_name>
8827
- <docblock line="425">
8828
- <description><![CDATA[Retrieve the icon (directory => URI) array for a MIME type]]></description>
8829
- <long-description><![CDATA[<p>Called from /wp-includes/post.php, function wp_mime_type_icon().
8830
- Defined as public because it's a filter.</p>]]></long-description>
8831
- <tag line="425" name="since" description="1.40"/>
8832
- <tag line="425" name="param" description="Path(s) and URI(s) to the icon directories" type="array" variable="$path_uri_array">
8833
- <type by_reference="false">array</type>
8834
- </tag>
8835
- <tag line="425" name="return" description="Updated (path =&gt; URI) array" type="array">
8836
- <type by_reference="false">array</type>
8837
- </tag>
8838
- </docblock>
8839
- <argument line="437">
8840
- <name>$path_uri_array</name>
8841
- <default><![CDATA[]]></default>
8842
- <type/>
8843
- </argument>
8844
- </method>
8845
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="461" package="Media Library Assistant">
8846
- <name>mla_wp_mime_type_icon_filter</name>
8847
- <full_name>mla_wp_mime_type_icon_filter</full_name>
8848
- <docblock line="447">
8849
- <description><![CDATA[Retrieve the icon for a MIME type]]></description>
8850
- <long-description><![CDATA[<p>Called from /wp-includes/post.php, function wp_mime_type_icon().
8851
- Defined as public because it's a filter.</p>]]></long-description>
8852
- <tag line="447" name="since" description="1.40"/>
8853
- <tag line="447" name="param" description="URI to the MIME type icon" type="string" variable="$icon">
8854
- <type by_reference="false">string</type>
8855
- </tag>
8856
- <tag line="447" name="param" description="MIME type represented by the icon" type="string" variable="$mime">
8857
- <type by_reference="false">string</type>
8858
- </tag>
8859
- <tag line="447" name="param" description="Attachment ID or zero (0) if MIME type passed in" type="integer" variable="$post_id">
8860
- <type by_reference="false">integer</type>
8861
- </tag>
8862
- <tag line="447" name="return" description="Updated URI to the MIME type icon" type="array">
8863
- <type by_reference="false">array</type>
8864
- </tag>
8865
- </docblock>
8866
- <argument line="461">
8867
- <name>$icon</name>
8868
- <default><![CDATA[]]></default>
8869
- <type/>
8870
- </argument>
8871
- <argument line="461">
8872
- <name>$mime</name>
8873
- <default><![CDATA[]]></default>
8874
- <type/>
8875
- </argument>
8876
- <argument line="461">
8877
- <name>$post_id</name>
8878
- <default><![CDATA[]]></default>
8879
- <type/>
8880
- </argument>
8881
- </method>
8882
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="476" package="Media Library Assistant">
8883
- <name>_prepare_view_items_query</name>
8884
- <full_name>_prepare_view_items_query</full_name>
8885
- <docblock line="465">
8886
- <description><![CDATA[Sanitize and expand query arguments from request variables]]></description>
8887
- <long-description><![CDATA[]]></long-description>
8888
- <tag line="465" name="since" description="1.40"/>
8889
- <tag line="465" name="param" description="query parameters from web page, usually found in $_REQUEST" type="array" variable="$raw_request">
8890
- <type by_reference="false">array</type>
8891
- </tag>
8892
- <tag line="465" name="param" description="Optional number of rows (default 0) to skip over to reach desired page" type="int" variable="$offset">
8893
- <type by_reference="false">int</type>
8894
- </tag>
8895
- <tag line="465" name="param" description="Optional number of rows on each page (0 = all rows, default)" type="int" variable="$count">
8896
- <type by_reference="false">int</type>
8897
- </tag>
8898
- <tag line="465" name="return" description="revised arguments suitable for query" type="array">
8899
- <type by_reference="false">array</type>
8900
- </tag>
8901
- </docblock>
8902
- <argument line="476">
8903
- <name>$raw_request</name>
8904
- <default><![CDATA[]]></default>
8905
- <type/>
8906
- </argument>
8907
- <argument line="476">
8908
- <name>$offset</name>
8909
- <default><![CDATA[0]]></default>
8910
- <type/>
8911
- </argument>
8912
- <argument line="476">
8913
- <name>$count</name>
8914
- <default><![CDATA[0]]></default>
8915
- <type/>
8916
- </argument>
8917
- </method>
8918
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="549" package="Media Library Assistant">
8919
- <name>_execute_view_items_query</name>
8920
- <full_name>_execute_view_items_query</full_name>
8921
- <docblock line="540">
8922
- <description><![CDATA[Add filters, run query, remove filters]]></description>
8923
- <long-description><![CDATA[]]></long-description>
8924
- <tag line="540" name="since" description="1.40"/>
8925
- <tag line="540" name="param" description="query parameters from web page, usually found in $_REQUEST" type="array" variable="$request">
8926
- <type by_reference="false">array</type>
8927
- </tag>
8928
- <tag line="540" name="return" description="query results; array of MLA post_mime_type objects" type="array">
8929
- <type by_reference="false">array</type>
8930
- </tag>
8931
- </docblock>
8932
- <argument line="549">
8933
- <name>$request</name>
8934
- <default><![CDATA[]]></default>
8935
- <type/>
8936
- </argument>
8937
- </method>
8938
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="641" package="Media Library Assistant">
8939
- <name>mla_count_view_items</name>
8940
- <full_name>mla_count_view_items</full_name>
8941
- <docblock line="632">
8942
- <description><![CDATA[Get the total number of MLA post_mime_type objects]]></description>
8943
- <long-description><![CDATA[]]></long-description>
8944
- <tag line="632" name="since" description="1.40"/>
8945
- <tag line="632" name="param" description="Query variables, e.g., from $_REQUEST" type="array" variable="$request">
8946
- <type by_reference="false">array</type>
8947
- </tag>
8948
- <tag line="632" name="return" description="Number of MLA post_mime_type objects" type="integer">
8949
- <type by_reference="false">integer</type>
8950
- </tag>
8951
- </docblock>
8952
- <argument line="641">
8953
- <name>$request</name>
8954
- <default><![CDATA[]]></default>
8955
- <type/>
8956
- </argument>
8957
- </method>
8958
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="658" package="Media Library Assistant">
8959
- <name>mla_query_view_items</name>
8960
- <full_name>mla_query_view_items</full_name>
8961
- <docblock line="647">
8962
- <description><![CDATA[Retrieve MLA post_mime_type objects for list table display]]></description>
8963
- <long-description><![CDATA[]]></long-description>
8964
- <tag line="647" name="since" description="1.40"/>
8965
- <tag line="647" name="param" description="query parameters from web page, usually found in $_REQUEST" type="array" variable="$request">
8966
- <type by_reference="false">array</type>
8967
- </tag>
8968
- <tag line="647" name="param" description="number of rows to skip over to reach desired page" type="int" variable="$offset">
8969
- <type by_reference="false">int</type>
8970
- </tag>
8971
- <tag line="647" name="param" description="number of rows on each page" type="int" variable="$count">
8972
- <type by_reference="false">int</type>
8973
- </tag>
8974
- <tag line="647" name="return" description="MLA post_mime_type objects" type="array">
8975
- <type by_reference="false">array</type>
8976
- </tag>
8977
- </docblock>
8978
- <argument line="658">
8979
- <name>$request</name>
8980
- <default><![CDATA[]]></default>
8981
- <type/>
8982
- </argument>
8983
- <argument line="658">
8984
- <name>$offset</name>
8985
- <default><![CDATA[]]></default>
8986
- <type/>
8987
- </argument>
8988
- <argument line="658">
8989
- <name>$count</name>
8990
- <default><![CDATA[]]></default>
8991
- <type/>
8992
- </argument>
8993
- </method>
8994
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="671" package="Media Library Assistant">
8995
- <name>mla_pluck_table_views</name>
8996
- <full_name>mla_pluck_table_views</full_name>
8997
- <docblock line="664">
8998
- <description><![CDATA[Retrieve views eligible for Media/Assistant table display]]></description>
8999
- <long-description><![CDATA[]]></long-description>
9000
- <tag line="664" name="since" description="1.40"/>
9001
- <tag line="664" name="return" description="table views array ( specification =&gt; Plural Label )" type="array">
9002
- <type by_reference="false">array</type>
9003
- </tag>
9004
- </docblock>
9005
- </method>
9006
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="725" package="Media Library Assistant">
9007
- <name>_get_post_mime_templates</name>
9008
- <full_name>_get_post_mime_templates</full_name>
9009
- <docblock line="716">
9010
- <description><![CDATA[Assemble the in-memory representation of the Post MIME Types]]></description>
9011
- <long-description><![CDATA[]]></long-description>
9012
- <tag line="716" name="since" description="1.40"/>
9013
- <tag line="716" name="param" description="Force a reload/recalculation of types" type="boolean" variable="$force_refresh">
9014
- <type by_reference="false">boolean</type>
9015
- </tag>
9016
- <tag line="716" name="return" description="Success (true) or failure (false) of the operation" type="boolean">
9017
- <type by_reference="false">boolean</type>
9018
- </tag>
9019
- </docblock>
9020
- <argument line="725">
9021
- <name>$force_refresh</name>
9022
- <default><![CDATA[false]]></default>
9023
- <type/>
9024
- </argument>
9025
- </method>
9026
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="791" package="Media Library Assistant">
9027
- <name>_put_post_mime_templates</name>
9028
- <full_name>_put_post_mime_templates</full_name>
9029
- <docblock line="784">
9030
- <description><![CDATA[Store the custom entries of the Post MIME Types]]></description>
9031
- <long-description><![CDATA[]]></long-description>
9032
- <tag line="784" name="since" description="1.40"/>
9033
- <tag line="784" name="return" description="Success (true) or failure (false) of the operation" type="boolean">
9034
- <type by_reference="false">boolean</type>
9035
- </tag>
9036
- </docblock>
9037
- </method>
9038
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="821" package="Media Library Assistant">
9039
- <name>mla_prepare_view_query</name>
9040
- <full_name>mla_prepare_view_query</full_name>
9041
- <docblock line="809">
9042
- <description><![CDATA[Convert a Library View/Post MIME Type specification to WP_Query parameters]]></description>
9043
- <long-description><![CDATA[<p>Compatibility shim for MLACore::mla_prepare_view_query</p>]]></long-description>
9044
- <tag line="809" name="since" description="1.40"/>
9045
- <tag line="809" name="param" description="View slug, unique identifier" type="string" variable="$slug">
9046
- <type by_reference="false">string</type>
9047
- </tag>
9048
- <tag line="809" name="param" description="A specification, e.g., &quot;custom:Field,null&quot; or &quot;audio,application/vnd.*ms*&quot;" type="string" variable="$specification">
9049
- <type by_reference="false">string</type>
9050
- </tag>
9051
- <tag line="809" name="return" description="post_mime_type specification or custom field query" type="array">
9052
- <type by_reference="false">array</type>
9053
- </tag>
9054
- </docblock>
9055
- <argument line="821">
9056
- <name>$slug</name>
9057
- <default><![CDATA[]]></default>
9058
- <type/>
9059
- </argument>
9060
- <argument line="821">
9061
- <name>$specification</name>
9062
- <default><![CDATA[]]></default>
9063
- <type/>
9064
- </argument>
9065
- </method>
9066
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="836" package="Media Library Assistant">
9067
- <name>mla_parse_view_specification</name>
9068
- <full_name>mla_parse_view_specification</full_name>
9069
- <docblock line="825">
9070
- <description><![CDATA[Analyze a Library View/Post MIME Type specification, returning an array of the placeholders it contains]]></description>
9071
- <long-description><![CDATA[<p>Compatibility shim for MLACore::mla_parse_view_specification</p>]]></long-description>
9072
- <tag line="825" name="since" description="1.40"/>
9073
- <tag line="825" name="param" description="A specification, e.g., &quot;custom:Field,null&quot; or &quot;audio,application/vnd.*ms*&quot;" type="string|array" variable="$specification">
9074
- <type by_reference="false">string</type>
9075
- <type by_reference="false">array</type>
9076
- </tag>
9077
- <tag line="825" name="return" description="( ['prefix'] =&gt; string, ['name'] =&gt; string, ['value'] =&gt; string, ['option'] =&gt; string, optional ['error'] =&gt; string )" type="array">
9078
- <type by_reference="false">array</type>
9079
- </tag>
9080
- </docblock>
9081
- <argument line="836">
9082
- <name>$specification</name>
9083
- <default><![CDATA[]]></default>
9084
- <type/>
9085
- </argument>
9086
- </method>
9087
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="849" package="Media Library Assistant">
9088
- <name>mla_add_post_mime_type</name>
9089
- <full_name>mla_add_post_mime_type</full_name>
9090
- <docblock line="840">
9091
- <description><![CDATA[Add an MLA post_mime_type object]]></description>
9092
- <long-description><![CDATA[]]></long-description>
9093
- <tag line="840" name="since" description="1.40"/>
9094
- <tag line="840" name="param" description="Query variables for a single object, including slug" type="array" variable="$request">
9095
- <type by_reference="false">array</type>
9096
- </tag>
9097
- <tag line="840" name="return" description="Message(s) reflecting the results of the operation" type="array">
9098
- <type by_reference="false">array</type>
9099
- </tag>
9100
- </docblock>
9101
- <argument line="849">
9102
- <name>$request</name>
9103
- <default><![CDATA[]]></default>
9104
- <type/>
9105
- </argument>
9106
- </method>
9107
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="928" package="Media Library Assistant">
9108
- <name>mla_update_post_mime_type</name>
9109
- <full_name>mla_update_post_mime_type</full_name>
9110
- <docblock line="919">
9111
- <description><![CDATA[Update an MLA post_mime_type object]]></description>
9112
- <long-description><![CDATA[]]></long-description>
9113
- <tag line="919" name="since" description="1.40"/>
9114
- <tag line="919" name="param" description="Query variables for new object values, including optional original_slug" type="array" variable="$request">
9115
- <type by_reference="false">array</type>
9116
- </tag>
9117
- <tag line="919" name="return" description="Message(s) reflecting the results of the operation" type="array">
9118
- <type by_reference="false">array</type>
9119
- </tag>
9120
- </docblock>
9121
- <argument line="928">
9122
- <name>$request</name>
9123
- <default><![CDATA[]]></default>
9124
- <type/>
9125
- </argument>
9126
- </method>
9127
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1040" package="Media Library Assistant">
9128
- <name>mla_get_post_mime_type_slug</name>
9129
- <full_name>mla_get_post_mime_type_slug</full_name>
9130
- <docblock line="1031">
9131
- <description><![CDATA[Retrieve an MLA post_mime_type slug given a post_ID]]></description>
9132
- <long-description><![CDATA[]]></long-description>
9133
- <tag line="1031" name="since" description="1.40"/>
9134
- <tag line="1031" name="param" description="MLA post_mime_type post_ID" type="integer" variable="$post_ID">
9135
- <type by_reference="false">integer</type>
9136
- </tag>
9137
- <tag line="1031" name="return" description="string with slug of the requested object; false if object not found" type="mixed">
9138
- <type by_reference="false">mixed</type>
9139
- </tag>
9140
- </docblock>
9141
- <argument line="1040">
9142
- <name>$post_ID</name>
9143
- <default><![CDATA[]]></default>
9144
- <type/>
9145
- </argument>
9146
- </method>
9147
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1063" package="Media Library Assistant">
9148
- <name>mla_get_post_mime_type</name>
9149
- <full_name>mla_get_post_mime_type</full_name>
9150
- <docblock line="1054">
9151
- <description><![CDATA[Retrieve an MLA post_mime_type object]]></description>
9152
- <long-description><![CDATA[]]></long-description>
9153
- <tag line="1054" name="since" description="1.40"/>
9154
- <tag line="1054" name="param" description="MLA post_mime_type slug" type="string" variable="$slug">
9155
- <type by_reference="false">string</type>
9156
- </tag>
9157
- <tag line="1054" name="return" description="Array of elements, including slug, for the requested object; false if object not found" type="mixed">
9158
- <type by_reference="false">mixed</type>
9159
- </tag>
9160
- </docblock>
9161
- <argument line="1063">
9162
- <name>$slug</name>
9163
- <default><![CDATA[]]></default>
9164
- <type/>
9165
- </argument>
9166
- </method>
9167
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1086" package="Media Library Assistant">
9168
- <name>mla_delete_post_mime_type</name>
9169
- <full_name>mla_delete_post_mime_type</full_name>
9170
- <docblock line="1077">
9171
- <description><![CDATA[Delete an MLA post_mime_type object]]></description>
9172
- <long-description><![CDATA[]]></long-description>
9173
- <tag line="1077" name="since" description="1.40"/>
9174
- <tag line="1077" name="param" description="MLA post_mime_type slug" type="string" variable="$slug">
9175
- <type by_reference="false">string</type>
9176
- </tag>
9177
- <tag line="1077" name="return" description="Message(s) reflecting the results of the operation" type="array">
9178
- <type by_reference="false">array</type>
9179
- </tag>
9180
- </docblock>
9181
- <argument line="1086">
9182
- <name>$slug</name>
9183
- <default><![CDATA[]]></default>
9184
- <type/>
9185
- </argument>
9186
- </method>
9187
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="1129" package="Media Library Assistant">
9188
- <name>_prepare_upload_items_query</name>
9189
- <full_name>_prepare_upload_items_query</full_name>
9190
- <docblock line="1118">
9191
- <description><![CDATA[Sanitize and expand Upload MIME Type query arguments from request variables]]></description>
9192
- <long-description><![CDATA[]]></long-description>
9193
- <tag line="1118" name="since" description="1.40"/>
9194
- <tag line="1118" name="param" description="query parameters from web page, usually found in $_REQUEST" type="array" variable="$raw_request">
9195
- <type by_reference="false">array</type>
9196
- </tag>
9197
- <tag line="1118" name="param" description="Optional number of rows (default 0) to skip over to reach desired page" type="int" variable="$offset">
9198
- <type by_reference="false">int</type>
9199
- </tag>
9200
- <tag line="1118" name="param" description="Optional number of rows on each page (0 = all rows, default)" type="int" variable="$count">
9201
- <type by_reference="false">int</type>
9202
- </tag>
9203
- <tag line="1118" name="return" description="revised arguments suitable for query" type="array">
9204
- <type by_reference="false">array</type>
9205
- </tag>
9206
- </docblock>
9207
- <argument line="1129">
9208
- <name>$raw_request</name>
9209
- <default><![CDATA[]]></default>
9210
- <type/>
9211
- </argument>
9212
- <argument line="1129">
9213
- <name>$offset</name>
9214
- <default><![CDATA[0]]></default>
9215
- <type/>
9216
- </argument>
9217
- <argument line="1129">
9218
- <name>$count</name>
9219
- <default><![CDATA[0]]></default>
9220
- <type/>
9221
- </argument>
9222
- </method>
9223
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="1206" package="Media Library Assistant">
9224
- <name>_execute_upload_items_query</name>
9225
- <full_name>_execute_upload_items_query</full_name>
9226
- <docblock line="1197">
9227
- <description><![CDATA[Execute an Upload MIME Types query]]></description>
9228
- <long-description><![CDATA[]]></long-description>
9229
- <tag line="1197" name="since" description="1.40"/>
9230
- <tag line="1197" name="param" description="query parameters from web page, usually found in $_REQUEST" type="array" variable="$request">
9231
- <type by_reference="false">array</type>
9232
- </tag>
9233
- <tag line="1197" name="return" description="query results; array of MLA Upload MIME Type objects" type="array">
9234
- <type by_reference="false">array</type>
9235
- </tag>
9236
- </docblock>
9237
- <argument line="1206">
9238
- <name>$request</name>
9239
- <default><![CDATA[]]></default>
9240
- <type/>
9241
- </argument>
9242
- </method>
9243
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1329" package="Media Library Assistant">
9244
- <name>mla_count_upload_items</name>
9245
- <full_name>mla_count_upload_items</full_name>
9246
- <docblock line="1320">
9247
- <description><![CDATA[Get the total number of MLA Upload MIME Type objects]]></description>
9248
- <long-description><![CDATA[]]></long-description>
9249
- <tag line="1320" name="since" description="1.40"/>
9250
- <tag line="1320" name="param" description="Query variables, e.g., from $_REQUEST" type="array" variable="$request">
9251
- <type by_reference="false">array</type>
9252
- </tag>
9253
- <tag line="1320" name="return" description="Number of MLA Upload MIME Type objects" type="integer">
9254
- <type by_reference="false">integer</type>
9255
- </tag>
9256
- </docblock>
9257
- <argument line="1329">
9258
- <name>$request</name>
9259
- <default><![CDATA[]]></default>
9260
- <type/>
9261
- </argument>
9262
- </method>
9263
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1346" package="Media Library Assistant">
9264
- <name>mla_query_upload_items</name>
9265
- <full_name>mla_query_upload_items</full_name>
9266
- <docblock line="1335">
9267
- <description><![CDATA[Retrieve MLA Upload MIME Type objects for list table display]]></description>
9268
- <long-description><![CDATA[]]></long-description>
9269
- <tag line="1335" name="since" description="1.40"/>
9270
- <tag line="1335" name="param" description="query parameters from web page, usually found in $_REQUEST" type="array" variable="$request">
9271
- <type by_reference="false">array</type>
9272
- </tag>
9273
- <tag line="1335" name="param" description="number of rows to skip over to reach desired page" type="int" variable="$offset">
9274
- <type by_reference="false">int</type>
9275
- </tag>
9276
- <tag line="1335" name="param" description="number of rows on each page" type="int" variable="$count">
9277
- <type by_reference="false">int</type>
9278
- </tag>
9279
- <tag line="1335" name="return" description="MLA Upload MIME Type objects" type="array">
9280
- <type by_reference="false">array</type>
9281
- </tag>
9282
- </docblock>
9283
- <argument line="1346">
9284
- <name>$request</name>
9285
- <default><![CDATA[]]></default>
9286
- <type/>
9287
- </argument>
9288
- <argument line="1346">
9289
- <name>$offset</name>
9290
- <default><![CDATA[]]></default>
9291
- <type/>
9292
- </argument>
9293
- <argument line="1346">
9294
- <name>$count</name>
9295
- <default><![CDATA[]]></default>
9296
- <type/>
9297
- </argument>
9298
- </method>
9299
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1361" package="Media Library Assistant">
9300
- <name>mla_tabulate_upload_items</name>
9301
- <full_name>mla_tabulate_upload_items</full_name>
9302
- <docblock line="1352">
9303
- <description><![CDATA[Tabulate MLA Upload MIME Type objects by view for list table display]]></description>
9304
- <long-description><![CDATA[]]></long-description>
9305
- <tag line="1352" name="since" description="1.40"/>
9306
- <tag line="1352" name="param" description="keyword search criterion, optional" type="string" variable="$s">
9307
- <type by_reference="false">string</type>
9308
- </tag>
9309
- <tag line="1352" name="return" description="( 'singular' label, 'plural' label, 'count' of items )" type="array">
9310
- <type by_reference="false">array</type>
9311
- </tag>
9312
- </docblock>
9313
- <argument line="1361">
9314
- <name>$s</name>
9315
- <default><![CDATA['']]></default>
9316
- <type/>
9317
- </argument>
9318
- </method>
9319
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="1458" package="Media Library Assistant">
9320
- <name>_get_core_icon_types</name>
9321
- <full_name>_get_core_icon_types</full_name>
9322
- <docblock line="1451">
9323
- <description><![CDATA[Assemble the list of icon types without MLA filtering]]></description>
9324
- <long-description><![CDATA[]]></long-description>
9325
- <tag line="1451" name="since" description="1.40"/>
9326
- <tag line="1451" name="return" description="Success (true) or failure (false) of the operation" type="boolean">
9327
- <type by_reference="false">boolean</type>
9328
- </tag>
9329
- </docblock>
9330
- </method>
9331
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="1496" package="Media Library Assistant">
9332
- <name>_get_current_icon_types</name>
9333
- <full_name>_get_current_icon_types</full_name>
9334
- <docblock line="1489">
9335
- <description><![CDATA[Assemble the list of icon types with MLA filtering]]></description>
9336
- <long-description><![CDATA[]]></long-description>
9337
- <tag line="1489" name="since" description="1.40"/>
9338
- <tag line="1489" name="return" description="Success (true) or failure (false) of the operation" type="boolean">
9339
- <type by_reference="false">boolean</type>
9340
- </tag>
9341
- </docblock>
9342
- </method>
9343
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1549" package="Media Library Assistant">
9344
- <name>mla_get_core_icon_type</name>
9345
- <full_name>mla_get_core_icon_type</full_name>
9346
- <docblock line="1540">
9347
- <description><![CDATA[Retrieve a standard icon type, i.e., without MLA filtering]]></description>
9348
- <long-description><![CDATA[]]></long-description>
9349
- <tag line="1540" name="since" description="1.40"/>
9350
- <tag line="1540" name="param" description="file extension" type="string" variable="$extension">
9351
- <type by_reference="false">string</type>
9352
- </tag>
9353
- <tag line="1540" name="return" description="icon type for the requested extension; 'default' if extension not found" type="string">
9354
- <type by_reference="false">string</type>
9355
- </tag>
9356
- </docblock>
9357
- <argument line="1549">
9358
- <name>$extension</name>
9359
- <default><![CDATA[]]></default>
9360
- <type/>
9361
- </argument>
9362
- </method>
9363
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1568" package="Media Library Assistant">
9364
- <name>mla_get_icon_type_size</name>
9365
- <full_name>mla_get_icon_type_size</full_name>
9366
- <docblock line="1559">
9367
- <description><![CDATA[Get an attachment icon height and width]]></description>
9368
- <long-description><![CDATA[]]></long-description>
9369
- <tag line="1559" name="since" description="2.14"/>
9370
- <tag line="1559" name="param" description="Icon Type, e.g., audio, video, spreadsheet" type="string" variable="$icon_type">
9371
- <type by_reference="false">string</type>
9372
- </tag>
9373
- <tag line="1559" name="return" description="( width, height )" type="array">
9374
- <type by_reference="false">array</type>
9375
- </tag>
9376
- </docblock>
9377
- <argument line="1568">
9378
- <name>$icon_type</name>
9379
- <default><![CDATA[]]></default>
9380
- <type/>
9381
- </argument>
9382
- </method>
9383
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1599" package="Media Library Assistant">
9384
- <name>mla_get_icon_type_image</name>
9385
- <full_name>mla_get_icon_type_image</full_name>
9386
- <docblock line="1589">
9387
- <description><![CDATA[Get an HTML img element representing an attachment icon]]></description>
9388
- <long-description><![CDATA[]]></long-description>
9389
- <tag line="1589" name="since" description="1.40"/>
9390
- <tag line="1589" name="param" description="Icon Type, e.g., audio, video, spreadsheet" type="string" variable="$icon_type">
9391
- <type by_reference="false">string</type>
9392
- </tag>
9393
- <tag line="1589" name="param" description="( width, height ) optional image size, default (64, 64)." type="array" variable="$size">
9394
- <type by_reference="false">array</type>
9395
- </tag>
9396
- <tag line="1589" name="return" description="HTML img element or empty string on failure." type="string">
9397
- <type by_reference="false">string</type>
9398
- </tag>
9399
- </docblock>
9400
- <argument line="1599">
9401
- <name>$icon_type</name>
9402
- <default><![CDATA[]]></default>
9403
- <type/>
9404
- </argument>
9405
- <argument line="1599">
9406
- <name>$size</name>
9407
- <default><![CDATA[NULL]]></default>
9408
- <type/>
9409
- </argument>
9410
- </method>
9411
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1634" package="Media Library Assistant">
9412
- <name>mla_get_current_icon_types</name>
9413
- <full_name>mla_get_current_icon_types</full_name>
9414
- <docblock line="1627">
9415
- <description><![CDATA[Get an array of current Icon Type names]]></description>
9416
- <long-description><![CDATA[]]></long-description>
9417
- <tag line="1627" name="since" description="1.40"/>
9418
- <tag line="1627" name="return" description="( icon_type ) or false on failure." type="array">
9419
- <type by_reference="false">array</type>
9420
- </tag>
9421
- </docblock>
9422
- </method>
9423
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="1650" package="Media Library Assistant">
9424
- <name>_get_upload_mime_templates</name>
9425
- <full_name>_get_upload_mime_templates</full_name>
9426
- <docblock line="1642">
9427
- <description><![CDATA[Assemble the in-memory representation of the Upload MIME Types]]></description>
9428
- <long-description><![CDATA[]]></long-description>
9429
- <tag line="1642" name="since" description="1.40"/>
9430
- <tag line="1642" name="param" description="Force a reload/recalculation of types" type="boolean" variable="$force_refresh">
9431
- <type by_reference="false">boolean</type>
9432
- </tag>
9433
- <tag line="1642" name="return" description="Success (true) or failure (false) of the operation" type="boolean">
9434
- <type by_reference="false">boolean</type>
9435
- </tag>
9436
- </docblock>
9437
- <argument line="1650">
9438
- <name>$force_refresh</name>
9439
- <default><![CDATA[false]]></default>
9440
- <type/>
9441
- </argument>
9442
- </method>
9443
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="1868" package="Media Library Assistant">
9444
- <name>_put_upload_mime_templates</name>
9445
- <full_name>_put_upload_mime_templates</full_name>
9446
- <docblock line="1861">
9447
- <description><![CDATA[Store the options portion of the Upload MIME Types]]></description>
9448
- <long-description><![CDATA[]]></long-description>
9449
- <tag line="1861" name="since" description="1.40"/>
9450
- <tag line="1861" name="return" description="Success (true) or failure (false) of the operation" type="boolean">
9451
- <type by_reference="false">boolean</type>
9452
- </tag>
9453
- </docblock>
9454
- </method>
9455
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1903" package="Media Library Assistant">
9456
- <name>mla_add_upload_mime</name>
9457
- <full_name>mla_add_upload_mime</full_name>
9458
- <docblock line="1894">
9459
- <description><![CDATA[Add an MLA Upload MIME Type object]]></description>
9460
- <long-description><![CDATA[]]></long-description>
9461
- <tag line="1894" name="since" description="1.40"/>
9462
- <tag line="1894" name="param" description="Query variables for a single object, including slug" type="array" variable="$request">
9463
- <type by_reference="false">array</type>
9464
- </tag>
9465
- <tag line="1894" name="return" description="Message(s) reflecting the results of the operation" type="array">
9466
- <type by_reference="false">array</type>
9467
- </tag>
9468
- </docblock>
9469
- <argument line="1903">
9470
- <name>$request</name>
9471
- <default><![CDATA[]]></default>
9472
- <type/>
9473
- </argument>
9474
- </method>
9475
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="2002" package="Media Library Assistant">
9476
- <name>mla_update_upload_mime</name>
9477
- <full_name>mla_update_upload_mime</full_name>
9478
- <docblock line="1993">
9479
- <description><![CDATA[Update an MLA Upload MIME Type object]]></description>
9480
- <long-description><![CDATA[]]></long-description>
9481
- <tag line="1993" name="since" description="1.40"/>
9482
- <tag line="1993" name="param" description="Query variables for new object values, including optional original_slug" type="array" variable="$request">
9483
- <type by_reference="false">array</type>
9484
- </tag>
9485
- <tag line="1993" name="return" description="Message(s) reflecting the results of the operation" type="array">
9486
- <type by_reference="false">array</type>
9487
- </tag>
9488
- </docblock>
9489
- <argument line="2002">
9490
- <name>$request</name>
9491
- <default><![CDATA[NULL]]></default>
9492
- <type/>
9493
- </argument>
9494
- </method>
9495
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="2191" package="Media Library Assistant">
9496
- <name>mla_get_upload_mime_slug</name>
9497
- <full_name>mla_get_upload_mime_slug</full_name>
9498
- <docblock line="2182">
9499
- <description><![CDATA[Retrieve an MLA Upload MIME Type slug given a post_ID]]></description>
9500
- <long-description><![CDATA[]]></long-description>
9501
- <tag line="2182" name="since" description="1.40"/>
9502
- <tag line="2182" name="param" description="MLA Upload MIME Type post_ID" type="integer" variable="$post_ID">
9503
- <type by_reference="false">integer</type>
9504
- </tag>
9505
- <tag line="2182" name="return" description="string with slug of the requested object; false if object not found" type="mixed">
9506
- <type by_reference="false">mixed</type>
9507
- </tag>
9508
- </docblock>
9509
- <argument line="2191">
9510
- <name>$post_ID</name>
9511
- <default><![CDATA[]]></default>
9512
- <type/>
9513
- </argument>
9514
- </method>
9515
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="2212" package="Media Library Assistant">
9516
- <name>mla_get_upload_mime</name>
9517
- <full_name>mla_get_upload_mime</full_name>
9518
- <docblock line="2203">
9519
- <description><![CDATA[Retrieve an MLA Upload MIME Type object]]></description>
9520
- <long-description><![CDATA[]]></long-description>
9521
- <tag line="2203" name="since" description="1.40"/>
9522
- <tag line="2203" name="param" description="MLA Upload MIME Type slug" type="string" variable="$slug">
9523
- <type by_reference="false">string</type>
9524
- </tag>
9525
- <tag line="2203" name="return" description="Array of elements, including slug, for the requested object; false if object not found" type="mixed">
9526
- <type by_reference="false">mixed</type>
9527
- </tag>
9528
- </docblock>
9529
- <argument line="2212">
9530
- <name>$slug</name>
9531
- <default><![CDATA[]]></default>
9532
- <type/>
9533
- </argument>
9534
- </method>
9535
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="2233" package="Media Library Assistant">
9536
- <name>mla_delete_upload_mime</name>
9537
- <full_name>mla_delete_upload_mime</full_name>
9538
- <docblock line="2224">
9539
- <description><![CDATA[Delete an MLA Upload MIME Type object]]></description>
9540
- <long-description><![CDATA[]]></long-description>
9541
- <tag line="2224" name="since" description="1.40"/>
9542
- <tag line="2224" name="param" description="MLA Upload MIME Type slug" type="string" variable="$slug">
9543
- <type by_reference="false">string</type>
9544
- </tag>
9545
- <tag line="2224" name="return" description="Message(s) reflecting the results of the operation" type="array">
9546
- <type by_reference="false">array</type>
9547
- </tag>
9548
- </docblock>
9549
- <argument line="2233">
9550
- <name>$slug</name>
9551
- <default><![CDATA[]]></default>
9552
- <type/>
9553
- </argument>
9554
- </method>
9555
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="2290" package="Media Library Assistant">
9556
- <name>_prepare_optional_upload_items_query</name>
9557
- <full_name>_prepare_optional_upload_items_query</full_name>
9558
- <docblock line="2279">
9559
- <description><![CDATA[Sanitize and expand Optional Upload MIME Type query arguments from request variables]]></description>
9560
- <long-description><![CDATA[]]></long-description>
9561
- <tag line="2279" name="since" description="1.40"/>
9562
- <tag line="2279" name="param" description="query parameters from web page, usually found in $_REQUEST" type="array" variable="$raw_request">
9563
- <type by_reference="false">array</type>
9564
- </tag>
9565
- <tag line="2279" name="param" description="Optional number of rows (default 0) to skip over to reach desired page" type="int" variable="$offset">
9566
- <type by_reference="false">int</type>
9567
- </tag>
9568
- <tag line="2279" name="param" description="Optional number of rows on each page (0 = all rows, default)" type="int" variable="$count">
9569
- <type by_reference="false">int</type>
9570
- </tag>
9571
- <tag line="2279" name="return" description="revised arguments suitable for query" type="array">
9572
- <type by_reference="false">array</type>
9573
- </tag>
9574
- </docblock>
9575
- <argument line="2290">
9576
- <name>$raw_request</name>
9577
- <default><![CDATA[]]></default>
9578
- <type/>
9579
- </argument>
9580
- <argument line="2290">
9581
- <name>$offset</name>
9582
- <default><![CDATA[0]]></default>
9583
- <type/>
9584
- </argument>
9585
- <argument line="2290">
9586
- <name>$count</name>
9587
- <default><![CDATA[0]]></default>
9588
- <type/>
9589
- </argument>
9590
- </method>
9591
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="2363" package="Media Library Assistant">
9592
- <name>_execute_optional_upload_items_query</name>
9593
- <full_name>_execute_optional_upload_items_query</full_name>
9594
- <docblock line="2354">
9595
- <description><![CDATA[Execute an Optional Upload MIME Types query]]></description>
9596
- <long-description><![CDATA[]]></long-description>
9597
- <tag line="2354" name="since" description="1.40"/>
9598
- <tag line="2354" name="param" description="query parameters from web page, usually found in $_REQUEST" type="array" variable="$request">
9599
- <type by_reference="false">array</type>
9600
- </tag>
9601
- <tag line="2354" name="return" description="query results; array of MLA Optional Upload MIME Type objects" type="array">
9602
- <type by_reference="false">array</type>
9603
- </tag>
9604
- </docblock>
9605
- <argument line="2363">
9606
- <name>$request</name>
9607
- <default><![CDATA[]]></default>
9608
- <type/>
9609
- </argument>
9610
- </method>
9611
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="2445" package="Media Library Assistant">
9612
- <name>mla_count_optional_upload_items</name>
9613
- <full_name>mla_count_optional_upload_items</full_name>
9614
- <docblock line="2436">
9615
- <description><![CDATA[Get the total number of MLA Upload MIME Type objects]]></description>
9616
- <long-description><![CDATA[]]></long-description>
9617
- <tag line="2436" name="since" description="1.40"/>
9618
- <tag line="2436" name="param" description="Query variables, e.g., from $_REQUEST" type="array" variable="$request">
9619
- <type by_reference="false">array</type>
9620
- </tag>
9621
- <tag line="2436" name="return" description="Number of MLA Upload MIME Type objects" type="integer">
9622
- <type by_reference="false">integer</type>
9623
- </tag>
9624
- </docblock>
9625
- <argument line="2445">
9626
- <name>$request</name>
9627
- <default><![CDATA[]]></default>
9628
- <type/>
9629
- </argument>
9630
- </method>
9631
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="2462" package="Media Library Assistant">
9632
- <name>mla_query_optional_upload_items</name>
9633
- <full_name>mla_query_optional_upload_items</full_name>
9634
- <docblock line="2451">
9635
- <description><![CDATA[Retrieve MLA Upload MIME Type objects for list table display]]></description>
9636
- <long-description><![CDATA[]]></long-description>
9637
- <tag line="2451" name="since" description="1.40"/>
9638
- <tag line="2451" name="param" description="query parameters from web page, usually found in $_REQUEST" type="array" variable="$request">
9639
- <type by_reference="false">array</type>
9640
- </tag>
9641
- <tag line="2451" name="param" description="number of rows to skip over to reach desired page" type="int" variable="$offset">
9642
- <type by_reference="false">int</type>
9643
- </tag>
9644
- <tag line="2451" name="param" description="number of rows on each page" type="int" variable="$count">
9645
- <type by_reference="false">int</type>
9646
- </tag>
9647
- <tag line="2451" name="return" description="MLA Upload MIME Type objects" type="array">
9648
- <type by_reference="false">array</type>
9649
- </tag>
9650
- </docblock>
9651
- <argument line="2462">
9652
- <name>$request</name>
9653
- <default><![CDATA[]]></default>
9654
- <type/>
9655
- </argument>
9656
- <argument line="2462">
9657
- <name>$offset</name>
9658
- <default><![CDATA[]]></default>
9659
- <type/>
9660
- </argument>
9661
- <argument line="2462">
9662
- <name>$count</name>
9663
- <default><![CDATA[]]></default>
9664
- <type/>
9665
- </argument>
9666
- </method>
9667
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="2475" package="Media Library Assistant">
9668
- <name>_get_optional_upload_mime_templates</name>
9669
- <full_name>_get_optional_upload_mime_templates</full_name>
9670
- <docblock line="2468">
9671
- <description><![CDATA[Assemble the in-memory representation of the (read-only) Optional Upload MIME Types]]></description>
9672
- <long-description><![CDATA[]]></long-description>
9673
- <tag line="2468" name="since" description="1.40"/>
9674
- <tag line="2468" name="return" description="Success (true) or failure (false) of the operation" type="boolean">
9675
- <type by_reference="false">boolean</type>
9676
- </tag>
9677
- </docblock>
9678
- </method>
9679
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="2520" package="Media Library Assistant">
9680
- <name>mla_get_optional_upload_mime</name>
9681
- <full_name>mla_get_optional_upload_mime</full_name>
9682
- <docblock line="2511">
9683
- <description><![CDATA[Retrieve an MLA Optional Upload MIME Type given an ID]]></description>
9684
- <long-description><![CDATA[]]></long-description>
9685
- <tag line="2511" name="since" description="1.40"/>
9686
- <tag line="2511" name="param" description="MLA Optional Upload MIME Type ID" type="integer" variable="$ID">
9687
- <type by_reference="false">integer</type>
9688
- </tag>
9689
- <tag line="2511" name="return" description="the requested object; false if object not found" type="mixed">
9690
- <type by_reference="false">mixed</type>
9691
- </tag>
9692
- </docblock>
9693
- <argument line="2520">
9694
- <name>$ID</name>
9695
- <default><![CDATA[]]></default>
9696
- <type/>
9697
- </argument>
9698
- </method>
9699
- </class>
9700
- </file>
9701
- <file path="includes\class-mla-objects.php" hash="9c481718701191c834e4f029a1bf96b1" package="Media Library Assistant">
9702
- <docblock line="2">
9703
- <description><![CDATA[Media Library Assistant Custom Taxonomy and Widget objects]]></description>
9704
- <long-description><![CDATA[]]></long-description>
9705
- <tag line="2" name="package" description="Media Library Assistant"/>
9706
- <tag line="2" name="since" description="0.1"/>
9707
- </docblock>
9708
- <include line="211" type="Require Once" package="Media Library Assistant">
9709
- <name/>
9710
- </include>
9711
- <class final="false" abstract="false" namespace="global" line="15" package="Media Library Assistant">
9712
- <extends/>
9713
- <name>MLAObjects</name>
9714
- <full_name>\MLAObjects</full_name>
9715
- <docblock line="9">
9716
- <description><![CDATA[Class MLA (Media Library Assistant) Objects defines and manages custom taxonomies for Attachment Categories and Tags]]></description>
9717
- <long-description><![CDATA[]]></long-description>
9718
- <tag line="9" name="package" description="Media Library Assistant"/>
9719
- <tag line="9" name="since" description="0.20"/>
9720
- </docblock>
9721
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="23" package="Media Library Assistant">
9722
- <name>initialize</name>
9723
- <full_name>initialize</full_name>
9724
- <docblock line="16">
9725
- <description><![CDATA[Initialization function, similar to __construct()]]></description>
9726
- <long-description><![CDATA[]]></long-description>
9727
- <tag line="16" name="since" description="0.20"/>
9728
- <tag line="16" name="return" description="" type="void">
9729
- <type by_reference="false">void</type>
9730
- </tag>
9731
- </docblock>
9732
- </method>
9733
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="34" package="Media Library Assistant">
9734
- <name>_build_taxonomies</name>
9735
- <full_name>_build_taxonomies</full_name>
9736
- <docblock line="27">
9737
- <description><![CDATA[Registers Attachment Categories and Attachment Tags custom taxonomies, adds taxonomy-related filters]]></description>
9738
- <long-description><![CDATA[]]></long-description>
9739
- <tag line="27" name="since" description="0.1"/>
9740
- <tag line="27" name="return" description="" type="void">
9741
- <type by_reference="false">void</type>
9742
- </tag>
9743
- </docblock>
9744
- </method>
9745
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="117" package="Media Library Assistant">
9746
- <name>mla_taxonomy_get_columns_filter</name>
9747
- <full_name>mla_taxonomy_get_columns_filter</full_name>
9748
- <docblock line="107">
9749
- <description><![CDATA[WordPress Filter for edit taxonomy "Attachments" column,
9750
- which replaces the "Posts" column with an equivalent "Attachments" column.]]></description>
9751
- <long-description><![CDATA[]]></long-description>
9752
- <tag line="107" name="since" description="0.30"/>
9753
- <tag line="107" name="param" description="column definitions for the edit taxonomy list table" type="array" variable="$columns">
9754
- <type by_reference="false">array</type>
9755
- </tag>
9756
- <tag line="107" name="return" description="updated column definitions for the edit taxonomy list table" type="array">
9757
- <type by_reference="false">array</type>
9758
- </tag>
9759
- </docblock>
9760
- <argument line="117">
9761
- <name>$columns</name>
9762
- <default><![CDATA[]]></default>
9763
- <type/>
9764
- </argument>
9765
- </method>
9766
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="159" package="Media Library Assistant">
9767
- <name>mla_taxonomy_column_filter</name>
9768
- <full_name>mla_taxonomy_column_filter</full_name>
9769
- <docblock line="146">
9770
- <description><![CDATA[WordPress Filter for edit taxonomy "Attachments" column,
9771
- which returns a count of the attachments assigned a given term]]></description>
9772
- <long-description><![CDATA[]]></long-description>
9773
- <tag line="146" name="since" description="0.30"/>
9774
- <tag line="146" name="param" description="current column value; filled in by earlier filter handlers" type="string" variable="$current_value">
9775
- <type by_reference="false">string</type>
9776
- </tag>
9777
- <tag line="146" name="param" description="name of the column" type="string" variable="$column_name">
9778
- <type by_reference="false">string</type>
9779
- </tag>
9780
- <tag line="146" name="param" description="ID of the term for which the count is desired" type="integer" variable="$term_id">
9781
- <type by_reference="false">integer</type>
9782
- </tag>
9783
- <tag line="146" name="return" description="HTML markup for the column content; number of attachments in the category and alink to retrieve a list of them" type="array">
9784
- <type by_reference="false">array</type>
9785
- </tag>
9786
- </docblock>
9787
- <argument line="159">
9788
- <name>$current_value</name>
9789
- <default><![CDATA[]]></default>
9790
- <type/>
9791
- </argument>
9792
- <argument line="159">
9793
- <name>$column_name</name>
9794
- <default><![CDATA[]]></default>
9795
- <type/>
9796
- </argument>
9797
- <argument line="159">
9798
- <name>$term_id</name>
9799
- <default><![CDATA[]]></default>
9800
- <type/>
9801
- </argument>
9802
- </method>
9803
- </class>
9804
- <class final="false" abstract="false" namespace="global" line="259" package="Media Library Assistant">
9805
- <extends>\WP_Widget</extends>
9806
- <name>MLATextWidget</name>
9807
- <full_name>\MLATextWidget</full_name>
9808
- <docblock line="253">
9809
- <description><![CDATA[Class MLA (Media Library Assistant) Text Widget defines a shortcode-enabled version of the WordPress Text widget]]></description>
9810
- <long-description><![CDATA[]]></long-description>
9811
- <tag line="253" name="package" description="Media Library Assistant"/>
9812
- <tag line="253" name="since" description="1.60"/>
9813
- </docblock>
9814
- <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="268" package="Media Library Assistant">
9815
- <name>__construct</name>
9816
- <full_name>__construct</full_name>
9817
- <docblock line="261">
9818
- <description><![CDATA[Calls the parent constructor to set some defaults.]]></description>
9819
- <long-description><![CDATA[]]></long-description>
9820
- <tag line="261" name="since" description="1.60"/>
9821
- <tag line="261" name="return" description="" type="void">
9822
- <type by_reference="false">void</type>
9823
- </tag>
9824
- </docblock>
9825
- </method>
9826
- <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="292" package="Media Library Assistant">
9827
- <name>widget</name>
9828
- <full_name>widget</full_name>
9829
- <docblock line="282">
9830
- <description><![CDATA[Display the widget content - called from the WordPress "front end"]]></description>
9831
- <long-description><![CDATA[]]></long-description>
9832
- <tag line="282" name="since" description="1.60"/>
9833
- <tag line="282" name="param" description="Widget arguments" type="array" variable="$args">
9834
- <type by_reference="false">array</type>
9835
- </tag>
9836
- <tag line="282" name="param" description="Widget definition, from the database" type="array" variable="$instance">
9837
- <type by_reference="false">array</type>
9838
- </tag>
9839
- <tag line="282" name="return" description="Echoes widget output" type="void">
9840
- <type by_reference="false">void</type>
9841
- </tag>
9842
- </docblock>
9843
- <argument line="292">
9844
- <name>$args</name>
9845
- <default><![CDATA[]]></default>
9846
- <type/>
9847
- </argument>
9848
- <argument line="292">
9849
- <name>$instance</name>
9850
- <default><![CDATA[]]></default>
9851
- <type/>
9852
- </argument>
9853
- </method>
9854
- <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="311" package="Media Library Assistant">
9855
- <name>form</name>
9856
- <full_name>form</full_name>
9857
- <docblock line="302">
9858
- <description><![CDATA[Echo the "edit widget" form on the Appearance/Widgets admin screen]]></description>
9859
- <long-description><![CDATA[]]></long-description>
9860
- <tag line="302" name="since" description="1.60"/>
9861
- <tag line="302" name="param" description="Previous definition values, from the database" type="array" variable="$instance">
9862
- <type by_reference="false">array</type>
9863
- </tag>
9864
- <tag line="302" name="return" description="Echoes &quot;edit widget&quot; form" type="void">
9865
- <type by_reference="false">void</type>
9866
- </tag>
9867
- </docblock>
9868
- <argument line="311">
9869
- <name>$instance</name>
9870
- <default><![CDATA[]]></default>
9871
- <type/>
9872
- </argument>
9873
- </method>
9874
- <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="335" package="Media Library Assistant">
9875
- <name>update</name>
9876
- <full_name>update</full_name>
9877
- <docblock line="325">
9878
- <description><![CDATA[Sanitize widget definition as it is saved to the database]]></description>
9879
- <long-description><![CDATA[]]></long-description>
9880
- <tag line="325" name="since" description="1.60"/>
9881
- <tag line="325" name="param" description="Current definition values, to be saved in the database" type="array" variable="$new_instance">
9882
- <type by_reference="false">array</type>
9883
- </tag>
9884
- <tag line="325" name="param" description="Previous definition values, from the database" type="array" variable="$old_instance">
9885
- <type by_reference="false">array</type>
9886
- </tag>
9887
- <tag line="325" name="return" description="Updated definition values to be saved in the database" type="array">
9888
- <type by_reference="false">array</type>
9889
- </tag>
9890
- </docblock>
9891
- <argument line="335">
9892
- <name>$new_instance</name>
9893
- <default><![CDATA[]]></default>
9894
- <type/>
9895
- </argument>
9896
- <argument line="335">
9897
- <name>$old_instance</name>
9898
- <default><![CDATA[]]></default>
9899
- <type/>
9900
- </argument>
9901
- </method>
9902
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="357" package="Media Library Assistant">
9903
- <name>mla_text_widget_widgets_init_action</name>
9904
- <full_name>mla_text_widget_widgets_init_action</full_name>
9905
- <docblock line="348">
9906
- <description><![CDATA[Register the widget with WordPress]]></description>
9907
- <long-description><![CDATA[<p>Defined as public because it's an action.</p>]]></long-description>
9908
- <tag line="348" name="since" description="1.60"/>
9909
- <tag line="348" name="return" description="" type="void">
9910
- <type by_reference="false">void</type>
9911
- </tag>
9912
- </docblock>
9913
- </method>
9914
- </class>
9915
- </file>
9916
- <file path="includes\class-mla-options.php" hash="1795abe7f3990f05c0147610cff268a9" package="Media Library Assistant">
9917
- <docblock line="2">
9918
- <description><![CDATA[Manages the plugin option settings]]></description>
9919
- <long-description><![CDATA[]]></long-description>
9920
- <tag line="2" name="package" description="Media Library Assistant"/>
9921
- <tag line="2" name="since" description="1.00"/>
9922
- </docblock>
9923
- <include line="886" type="Require Once" package="Media Library Assistant">
9924
- <name/>
9925
- </include>
9926
- <include line="917" type="Require" package="Media Library Assistant">
9927
- <name/>
9928
- </include>
9929
- <include line="1091" type="Require Once" package="Media Library Assistant">
9930
- <name/>
9931
- </include>
9932
- <include line="1110" type="Require Once" package="Media Library Assistant">
9933
- <name/>
9934
- </include>
9935
- <include line="1300" type="Require Once" package="Media Library Assistant">
9936
- <name/>
9937
- </include>
9938
- <class final="false" abstract="false" namespace="global" line="18" package="Media Library Assistant">
9939
- <extends/>
9940
- <name>MLAOptions</name>
9941
- <full_name>\MLAOptions</full_name>
9942
- <docblock line="9">
9943
- <description><![CDATA[Class MLA (Media Library Assistant) Options manages the plugin option settings
9944
- and provides functions to get and put them from/to WordPress option variables]]></description>
9945
- <long-description><![CDATA[<p>Separated from class MLASettings in version 1.00</p>]]></long-description>
9946
- <tag line="9" name="package" description="Media Library Assistant"/>
9947
- <tag line="9" name="since" description="1.00"/>
9948
- </docblock>
9949
- <constant namespace="global" line="22" package="Media Library Assistant">
9950
- <name>MLA_VERSION_OPTION</name>
9951
- <full_name>MLA_VERSION_OPTION</full_name>
9952
- <value><![CDATA[\MLACore::MLA_VERSION_OPTION]]></value>
9953
- <docblock line="19">
9954
- <description><![CDATA[Provides a unique name for the current version option]]></description>
9955
- <long-description><![CDATA[]]></long-description>
9956
- </docblock>
9957
- </constant>
9958
- <constant namespace="global" line="27" package="Media Library Assistant">
9959
- <name>MLA_EXCLUDE_REVISIONS</name>
9960
- <full_name>MLA_EXCLUDE_REVISIONS</full_name>
9961
- <value><![CDATA[\MLACore::MLA_EXCLUDE_REVISIONS]]></value>
9962
- <docblock line="24">
9963
- <description><![CDATA[Provides a unique name for the exclude revisions option]]></description>
9964
- <long-description><![CDATA[]]></long-description>
9965
- </docblock>
9966
- </constant>
9967
- <constant namespace="global" line="32" package="Media Library Assistant">
9968
- <name>MLA_FEATURED_IN_TUNING</name>
9969
- <full_name>MLA_FEATURED_IN_TUNING</full_name>
9970
- <value><![CDATA[\MLACore::MLA_FEATURED_IN_TUNING]]></value>
9971
- <docblock line="29">
9972
- <description><![CDATA[Provides a unique name for a database tuning option]]></description>
9973
- <long-description><![CDATA[]]></long-description>
9974
- </docblock>
9975
- </constant>
9976
- <constant namespace="global" line="37" package="Media Library Assistant">
9977
- <name>MLA_INSERTED_IN_TUNING</name>
9978
- <full_name>MLA_INSERTED_IN_TUNING</full_name>
9979
- <value><![CDATA[\MLACore::MLA_INSERTED_IN_TUNING]]></value>
9980
- <docblock line="34">
9981
- <description><![CDATA[Provides a unique name for a database tuning option]]></description>
9982
- <long-description><![CDATA[]]></long-description>
9983
- </docblock>
9984
- </constant>
9985
- <constant namespace="global" line="42" package="Media Library Assistant">
9986
- <name>MLA_GALLERY_IN_TUNING</name>
9987
- <full_name>MLA_GALLERY_IN_TUNING</full_name>
9988
- <value><![CDATA[\MLACore::MLA_GALLERY_IN_TUNING]]></value>
9989
- <docblock line="39">
9990
- <description><![CDATA[Provides a unique name for a database tuning option]]></description>
9991
- <long-description><![CDATA[]]></long-description>
9992
- </docblock>
9993
- </constant>
9994
- <constant namespace="global" line="47" package="Media Library Assistant">
9995
- <name>MLA_MLA_GALLERY_IN_TUNING</name>
9996
- <full_name>MLA_MLA_GALLERY_IN_TUNING</full_name>
9997
- <value><![CDATA[\MLACore::MLA_MLA_GALLERY_IN_TUNING]]></value>
9998
- <docblock line="44">
9999
- <description><![CDATA[Provides a unique name for a database tuning option]]></description>
10000
- <long-description><![CDATA[]]></long-description>
10001
- </docblock>
10002
- </constant>
10003
- <constant namespace="global" line="52" package="Media Library Assistant">
10004
- <name>MLA_COUNT_TERM_ATTACHMENTS</name>
10005
- <full_name>MLA_COUNT_TERM_ATTACHMENTS</full_name>
10006
- <value><![CDATA[\MLACore::MLA_COUNT_TERM_ATTACHMENTS]]></value>
10007
- <docblock line="49">
10008
- <description><![CDATA[Provides a unique name for the taxonomy count Attachments option]]></description>
10009
- <long-description><![CDATA[]]></long-description>
10010
- </docblock>
10011
- </constant>
10012
- <constant namespace="global" line="57" package="Media Library Assistant">
10013
- <name>MLA_TAXONOMY_SUPPORT</name>
10014
- <full_name>MLA_TAXONOMY_SUPPORT</full_name>
10015
- <value><![CDATA[\MLACore::MLA_TAXONOMY_SUPPORT]]></value>
10016
- <docblock line="54">
10017
- <description><![CDATA[Provides a unique name for the taxonomy support option]]></description>
10018
- <long-description><![CDATA[]]></long-description>
10019
- </docblock>
10020
- </constant>
10021
- <constant namespace="global" line="62" package="Media Library Assistant">
10022
- <name>MLA_SCREEN_PAGE_TITLE</name>
10023
- <full_name>MLA_SCREEN_PAGE_TITLE</full_name>
10024
- <value><![CDATA[\MLACore::MLA_SCREEN_PAGE_TITLE]]></value>
10025
- <docblock line="59">
10026
- <description><![CDATA[Provides a unique name for the admin screen page title option]]></description>
10027
- <long-description><![CDATA[]]></long-description>
10028
- </docblock>
10029
- </constant>
10030
- <constant namespace="global" line="67" package="Media Library Assistant">
10031
- <name>MLA_SCREEN_MENU_TITLE</name>
10032
- <full_name>MLA_SCREEN_MENU_TITLE</full_name>
10033
- <value><![CDATA[\MLACore::MLA_SCREEN_MENU_TITLE]]></value>
10034
- <docblock line="64">
10035
- <description><![CDATA[Provides a unique name for the admin screen menu title option]]></description>
10036
- <long-description><![CDATA[]]></long-description>
10037
- </docblock>
10038
- </constant>
10039
- <constant namespace="global" line="72" package="Media Library Assistant">
10040
- <name>MLA_SCREEN_ORDER</name>
10041
- <full_name>MLA_SCREEN_ORDER</full_name>
10042
- <value><![CDATA[\MLACore::MLA_SCREEN_ORDER]]></value>
10043
- <docblock line="69">
10044
- <description><![CDATA[Provides a unique name for the admin screen menu order option]]></description>
10045
- <long-description><![CDATA[]]></long-description>
10046
- </docblock>
10047
- </constant>
10048
- <constant namespace="global" line="77" package="Media Library Assistant">
10049
- <name>MLA_SCREEN_DISPLAY_LIBRARY</name>
10050
- <full_name>MLA_SCREEN_DISPLAY_LIBRARY</full_name>
10051
- <value><![CDATA[\MLACore::MLA_SCREEN_DISPLAY_LIBRARY]]></value>
10052
- <docblock line="74">
10053
- <description><![CDATA[Provides a unique name for the admin screen remove Media/Library option]]></description>
10054
- <long-description><![CDATA[]]></long-description>
10055
- </docblock>
10056
- </constant>
10057
- <constant namespace="global" line="82" package="Media Library Assistant">
10058
- <name>MLA_DEFAULT_ORDERBY</name>
10059
- <full_name>MLA_DEFAULT_ORDERBY</full_name>
10060
- <value><![CDATA[\MLACore::MLA_DEFAULT_ORDERBY]]></value>
10061
- <docblock line="79">
10062
- <description><![CDATA[Provides a unique name for the default orderby option]]></description>
10063
- <long-description><![CDATA[]]></long-description>
10064
- </docblock>
10065
- </constant>
10066
- <constant namespace="global" line="87" package="Media Library Assistant">
10067
- <name>MLA_DEFAULT_ORDER</name>
10068
- <full_name>MLA_DEFAULT_ORDER</full_name>
10069
- <value><![CDATA[\MLACore::MLA_DEFAULT_ORDER]]></value>
10070
- <docblock line="84">
10071
- <description><![CDATA[Provides a unique name for the default order option]]></description>
10072
- <long-description><![CDATA[]]></long-description>
10073
- </docblock>
10074
- </constant>
10075
- <constant namespace="global" line="92" package="Media Library Assistant">
10076
- <name>MLA_TABLE_VIEWS_WIDTH</name>
10077
- <full_name>MLA_TABLE_VIEWS_WIDTH</full_name>
10078
- <value><![CDATA[\MLACore::MLA_TABLE_VIEWS_WIDTH]]></value>
10079
- <docblock line="89">
10080
- <description><![CDATA[Provides a unique name for the Media/Assistant submenu table views width option]]></description>
10081
- <long-description><![CDATA[]]></long-description>
10082
- </docblock>
10083
- </constant>
10084
- <constant namespace="global" line="97" package="Media Library Assistant">
10085
- <name>MLA_TABLE_ICON_SIZE</name>
10086
- <full_name>MLA_TABLE_ICON_SIZE</full_name>
10087
- <value><![CDATA[\MLACore::MLA_TABLE_ICON_SIZE]]></value>
10088
- <docblock line="94">
10089
- <description><![CDATA[Provides a unique name for the Media/Assistant submenu table thumbnail/icon size option]]></description>
10090
- <long-description><![CDATA[]]></long-description>
10091
- </docblock>
10092
- </constant>
10093
- <constant namespace="global" line="102" package="Media Library Assistant">
10094
- <name>MLA_BULK_CHUNK_SIZE</name>
10095
- <full_name>MLA_BULK_CHUNK_SIZE</full_name>
10096
- <value><![CDATA[\MLACore::MLA_BULK_CHUNK_SIZE]]></value>
10097
- <docblock line="99">
10098
- <description><![CDATA[Provides a unique name for the Bulk Update and Map All chunk size option]]></description>
10099
- <long-description><![CDATA[]]></long-description>
10100
- </docblock>
10101
- </constant>
10102
- <constant namespace="global" line="107" package="Media Library Assistant">
10103
- <name>MLA_TAXONOMY_FILTER_DEPTH</name>
10104
- <full_name>MLA_TAXONOMY_FILTER_DEPTH</full_name>
10105
- <value><![CDATA[\MLACore::MLA_TAXONOMY_FILTER_DEPTH]]></value>
10106
- <docblock line="104">
10107
- <description><![CDATA[Provides a unique name for the taxonomy filter maximum depth option]]></description>
10108
- <long-description><![CDATA[]]></long-description>
10109
- </docblock>
10110
- </constant>
10111
- <constant namespace="global" line="112" package="Media Library Assistant">
10112
- <name>MLA_TAXONOMY_FILTER_INCLUDE_CHILDREN</name>
10113
- <full_name>MLA_TAXONOMY_FILTER_INCLUDE_CHILDREN</full_name>
10114
- <value><![CDATA[\MLACore::MLA_TAXONOMY_FILTER_INCLUDE_CHILDREN]]></value>
10115
- <docblock line="109">
10116
- <description><![CDATA[Provides a unique name for the taxonomy filter maximum depth option]]></description>
10117
- <long-description><![CDATA[]]></long-description>
10118
- </docblock>
10119
- </constant>
10120
- <constant namespace="global" line="117" package="Media Library Assistant">
10121
- <name>MLA_SEARCH_MEDIA_FILTER_SHOW_CONTROLS</name>
10122
- <full_name>MLA_SEARCH_MEDIA_FILTER_SHOW_CONTROLS</full_name>
10123
- <value><![CDATA[\MLACore::MLA_SEARCH_MEDIA_FILTER_SHOW_CONTROLS]]></value>
10124
- <docblock line="114">
10125
- <description><![CDATA[Provides a unique name for the display Search Media controls option]]></description>
10126
- <long-description><![CDATA[]]></long-description>
10127
- </docblock>
10128
- </constant>
10129
- <constant namespace="global" line="122" package="Media Library Assistant">
10130
- <name>MLA_SEARCH_MEDIA_FILTER_DEFAULTS</name>
10131
- <full_name>MLA_SEARCH_MEDIA_FILTER_DEFAULTS</full_name>
10132
- <value><![CDATA[\MLACore::MLA_SEARCH_MEDIA_FILTER_DEFAULTS]]></value>
10133
- <docblock line="119">
10134
- <description><![CDATA[Provides a unique name for the display Search Media controls option]]></description>
10135
- <long-description><![CDATA[]]></long-description>
10136
- </docblock>
10137
- </constant>
10138
- <constant namespace="global" line="127" package="Media Library Assistant">
10139
- <name>MLA_EXIF_SIZE</name>
10140
- <full_name>MLA_EXIF_SIZE</full_name>
10141
- <value><![CDATA[\MLACore::MLA_EXIF_SIZE]]></value>
10142
- <docblock line="124">
10143
- <description><![CDATA[Provides a "size" attribute value for the EXIF/Template Value field]]></description>
10144
- <long-description><![CDATA[]]></long-description>
10145
- </docblock>
10146
- </constant>
10147
- <constant namespace="global" line="132" package="Media Library Assistant">
10148
- <name>MLA_NEW_CUSTOM_RULE</name>
10149
- <full_name>MLA_NEW_CUSTOM_RULE</full_name>
10150
- <value><![CDATA[\MLACore::MLA_NEW_CUSTOM_RULE]]></value>
10151
- <docblock line="129">
10152
- <description><![CDATA[Provides a unique name for the Custom Field "new rule" key]]></description>
10153
- <long-description><![CDATA[]]></long-description>
10154
- </docblock>
10155
- </constant>
10156
- <constant namespace="global" line="137" package="Media Library Assistant">
10157
- <name>MLA_NEW_CUSTOM_FIELD</name>
10158
- <full_name>MLA_NEW_CUSTOM_FIELD</full_name>
10159
- <value><![CDATA[\MLACore::MLA_NEW_CUSTOM_FIELD]]></value>
10160
- <docblock line="134">
10161
- <description><![CDATA[Provides a unique name for the Custom Field "new field" key]]></description>
10162
- <long-description><![CDATA[]]></long-description>
10163
- </docblock>
10164
- </constant>
10165
- <constant namespace="global" line="142" package="Media Library Assistant">
10166
- <name>MLA_EDIT_MEDIA_SEARCH_TAXONOMY</name>
10167
- <full_name>MLA_EDIT_MEDIA_SEARCH_TAXONOMY</full_name>
10168
- <value><![CDATA[\MLACore::MLA_EDIT_MEDIA_SEARCH_TAXONOMY]]></value>
10169
- <docblock line="139">
10170
- <description><![CDATA[Provides a unique name for the "searchable taxonomies" option]]></description>
10171
- <long-description><![CDATA[]]></long-description>
10172
- </docblock>
10173
- </constant>
10174
- <constant namespace="global" line="147" package="Media Library Assistant">
10175
- <name>MLA_EDIT_MEDIA_META_BOXES</name>
10176
- <full_name>MLA_EDIT_MEDIA_META_BOXES</full_name>
10177
- <value><![CDATA[\MLACore::MLA_EDIT_MEDIA_META_BOXES]]></value>
10178
- <docblock line="144">
10179
- <description><![CDATA[Provides a unique name for the Edit Media additional meta boxes option]]></description>
10180
- <long-description><![CDATA[]]></long-description>
10181
- </docblock>
10182
- </constant>
10183
- <constant namespace="global" line="152" package="Media Library Assistant">
10184
- <name>MLA_ADD_NEW_BULK_EDIT</name>
10185
- <full_name>MLA_ADD_NEW_BULK_EDIT</full_name>
10186
- <value><![CDATA[\MLACore::MLA_ADD_NEW_BULK_EDIT]]></value>
10187
- <docblock line="149">
10188
- <description><![CDATA[Provides a unique name for the Media/Add New bulk edit option]]></description>
10189
- <long-description><![CDATA[]]></long-description>
10190
- </docblock>
10191
- </constant>
10192
- <constant namespace="global" line="157" package="Media Library Assistant">
10193
- <name>MLA_ADD_NEW_BULK_EDIT_ON_TOP</name>
10194
- <full_name>MLA_ADD_NEW_BULK_EDIT_ON_TOP</full_name>
10195
- <value><![CDATA[\MLACore::MLA_ADD_NEW_BULK_EDIT_ON_TOP]]></value>
10196
- <docblock line="154">
10197
- <description><![CDATA[Provides a unique name for the Media/Add New bulk edit "on top" option]]></description>
10198
- <long-description><![CDATA[]]></long-description>
10199
- </docblock>
10200
- </constant>
10201
- <constant namespace="global" line="163" package="Media Library Assistant">
10202
- <name>MLA_MEDIA_GRID_TOOLBAR</name>
10203
- <full_name>MLA_MEDIA_GRID_TOOLBAR</full_name>
10204
- <value><![CDATA[\MLACore::MLA_MEDIA_GRID_TOOLBAR]]></value>
10205
- <docblock line="159">
10206
- <description><![CDATA[Provides a unique name for the Media Grid toolbar option, which
10207
- also controls the ATTACHMENT DETAILS enhancements]]></description>
10208
- <long-description><![CDATA[]]></long-description>
10209
- </docblock>
10210
- </constant>
10211
- <constant namespace="global" line="169" package="Media Library Assistant">
10212
- <name>MLA_MEDIA_MODAL_TOOLBAR</name>
10213
- <full_name>MLA_MEDIA_MODAL_TOOLBAR</full_name>
10214
- <value><![CDATA[\MLACore::MLA_MEDIA_MODAL_TOOLBAR]]></value>
10215
- <docblock line="165">
10216
- <description><![CDATA[Provides a unique name for the Media Manager toolbar option, which
10217
- also controls the ATTACHMENT DETAILS enhancements]]></description>
10218
- <long-description><![CDATA[]]></long-description>
10219
- </docblock>
10220
- </constant>
10221
- <constant namespace="global" line="174" package="Media Library Assistant">
10222
- <name>MLA_MEDIA_MODAL_MIMETYPES</name>
10223
- <full_name>MLA_MEDIA_MODAL_MIMETYPES</full_name>
10224
- <value><![CDATA[\MLACore::MLA_MEDIA_MODAL_MIMETYPES]]></value>
10225
- <docblock line="171">
10226
- <description><![CDATA[Provides a unique name for the Media Manager toolbar MIME Types option]]></description>
10227
- <long-description><![CDATA[]]></long-description>
10228
- </docblock>
10229
- </constant>
10230
- <constant namespace="global" line="179" package="Media Library Assistant">
10231
- <name>MLA_MEDIA_MODAL_MONTHS</name>
10232
- <full_name>MLA_MEDIA_MODAL_MONTHS</full_name>
10233
- <value><![CDATA[\MLACore::MLA_MEDIA_MODAL_MONTHS]]></value>
10234
- <docblock line="176">
10235
- <description><![CDATA[Provides a unique name for the Media Manager toolbar Month and Year option]]></description>
10236
- <long-description><![CDATA[]]></long-description>
10237
- </docblock>
10238
- </constant>
10239
- <constant namespace="global" line="184" package="Media Library Assistant">
10240
- <name>MLA_MEDIA_MODAL_TERMS</name>
10241
- <full_name>MLA_MEDIA_MODAL_TERMS</full_name>
10242
- <value><![CDATA[\MLACore::MLA_MEDIA_MODAL_TERMS]]></value>
10243
- <docblock line="181">
10244
- <description><![CDATA[Provides a unique name for the Media Manager toolbar Taxonomy Terms option]]></description>
10245
- <long-description><![CDATA[]]></long-description>
10246
- </docblock>
10247
- </constant>
10248
- <constant namespace="global" line="189" package="Media Library Assistant">
10249
- <name>MLA_MEDIA_MODAL_TERMS_SEARCH</name>
10250
- <full_name>MLA_MEDIA_MODAL_TERMS_SEARCH</full_name>
10251
- <value><![CDATA[\MLACore::MLA_MEDIA_MODAL_TERMS_SEARCH]]></value>
10252
- <docblock line="186">
10253
- <description><![CDATA[Provides a unique name for the Media Manager toolbar Taxonomy "Terms Search" option]]></description>
10254
- <long-description><![CDATA[]]></long-description>
10255
- </docblock>
10256
- </constant>
10257
- <constant namespace="global" line="194" package="Media Library Assistant">
10258
- <name>MLA_MEDIA_MODAL_SEARCHBOX</name>
10259
- <full_name>MLA_MEDIA_MODAL_SEARCHBOX</full_name>
10260
- <value><![CDATA[\MLACore::MLA_MEDIA_MODAL_SEARCHBOX]]></value>
10261
- <docblock line="191">
10262
- <description><![CDATA[Provides a unique name for the Media Manager toolbar Search Box option]]></description>
10263
- <long-description><![CDATA[]]></long-description>
10264
- </docblock>
10265
- </constant>
10266
- <constant namespace="global" line="199" package="Media Library Assistant">
10267
- <name>MLA_MEDIA_MODAL_SEARCHBOX_CONTROLS</name>
10268
- <full_name>MLA_MEDIA_MODAL_SEARCHBOX_CONTROLS</full_name>
10269
- <value><![CDATA[\MLACore::MLA_MEDIA_MODAL_SEARCHBOX_CONTROLS]]></value>
10270
- <docblock line="196">
10271
- <description><![CDATA[Provides a unique name for the Media Manager toolbar Search Box Controls option]]></description>
10272
- <long-description><![CDATA[]]></long-description>
10273
- </docblock>
10274
- </constant>
10275
- <constant namespace="global" line="205" package="Media Library Assistant">
10276
- <name>MLA_MEDIA_MODAL_DETAILS_CATEGORY_METABOX</name>
10277
- <full_name>MLA_MEDIA_MODAL_DETAILS_CATEGORY_METABOX</full_name>
10278
- <value><![CDATA[\MLACore::MLA_MEDIA_MODAL_DETAILS_CATEGORY_METABOX]]></value>
10279
- <docblock line="201">
10280
- <description><![CDATA[Provides a unique name for the Media Manager Attachment Details searchable taxonomy option
10281
- This option is for hierarchical taxonomies, e.g., "Att.]]></description>
10282
- <long-description><![CDATA[<p>Categories".</p>]]></long-description>
10283
- </docblock>
10284
- </constant>
10285
- <constant namespace="global" line="211" package="Media Library Assistant">
10286
- <name>MLA_MEDIA_MODAL_DETAILS_TAG_METABOX</name>
10287
- <full_name>MLA_MEDIA_MODAL_DETAILS_TAG_METABOX</full_name>
10288
- <value><![CDATA[\MLACore::MLA_MEDIA_MODAL_DETAILS_TAG_METABOX]]></value>
10289
- <docblock line="207">
10290
- <description><![CDATA[Provides a unique name for the Media Manager Attachment Details searchable taxonomy option
10291
- This option is for flat taxonomies, e.g., "Att.]]></description>
10292
- <long-description><![CDATA[<p>Tags".</p>]]></long-description>
10293
- </docblock>
10294
- </constant>
10295
- <constant namespace="global" line="216" package="Media Library Assistant">
10296
- <name>MLA_MEDIA_MODAL_DETAILS_AUTOFILL</name>
10297
- <full_name>MLA_MEDIA_MODAL_DETAILS_AUTOFILL</full_name>
10298
- <value><![CDATA[\MLACore::MLA_MEDIA_MODAL_DETAILS_AUTOFILL]]></value>
10299
- <docblock line="213">
10300
- <description><![CDATA[Provides a unique name for the Media Manager Attachment Details auto-fill option]]></description>
10301
- <long-description><![CDATA[]]></long-description>
10302
- </docblock>
10303
- </constant>
10304
- <constant namespace="global" line="221" package="Media Library Assistant">
10305
- <name>MLA_MEDIA_MODAL_ORDERBY</name>
10306
- <full_name>MLA_MEDIA_MODAL_ORDERBY</full_name>
10307
- <value><![CDATA[\MLACore::MLA_MEDIA_MODAL_ORDERBY]]></value>
10308
- <docblock line="218">
10309
- <description><![CDATA[Provides a unique name for the Media Manager orderby option]]></description>
10310
- <long-description><![CDATA[]]></long-description>
10311
- </docblock>
10312
- </constant>
10313
- <constant namespace="global" line="226" package="Media Library Assistant">
10314
- <name>MLA_MEDIA_MODAL_ORDER</name>
10315
- <full_name>MLA_MEDIA_MODAL_ORDER</full_name>
10316
- <value><![CDATA[\MLACore::MLA_MEDIA_MODAL_ORDER]]></value>
10317
- <docblock line="223">
10318
- <description><![CDATA[Provides a unique name for the Media Manager order option]]></description>
10319
- <long-description><![CDATA[]]></long-description>
10320
- </docblock>
10321
- </constant>
10322
- <constant namespace="global" line="231" package="Media Library Assistant">
10323
- <name>MLA_POST_MIME_TYPES</name>
10324
- <full_name>MLA_POST_MIME_TYPES</full_name>
10325
- <value><![CDATA[\MLACore::MLA_POST_MIME_TYPES]]></value>
10326
- <docblock line="228">
10327
- <description><![CDATA[Provides a unique name for the Post MIME Types option]]></description>
10328
- <long-description><![CDATA[]]></long-description>
10329
- </docblock>
10330
- </constant>
10331
- <constant namespace="global" line="236" package="Media Library Assistant">
10332
- <name>MLA_ENABLE_POST_MIME_TYPES</name>
10333
- <full_name>MLA_ENABLE_POST_MIME_TYPES</full_name>
10334
- <value><![CDATA[\MLACore::MLA_ENABLE_POST_MIME_TYPES]]></value>
10335
- <docblock line="233">
10336
- <description><![CDATA[Provides a unique name for the Enable Post MIME Types option]]></description>
10337
- <long-description><![CDATA[]]></long-description>
10338
- </docblock>
10339
- </constant>
10340
- <constant namespace="global" line="241" package="Media Library Assistant">
10341
- <name>MLA_UPLOAD_MIMES</name>
10342
- <full_name>MLA_UPLOAD_MIMES</full_name>
10343
- <value><![CDATA[\MLACore::MLA_UPLOAD_MIMES]]></value>
10344
- <docblock line="238">
10345
- <description><![CDATA[Provides a unique name for the Upload MIME Types option]]></description>
10346
- <long-description><![CDATA[]]></long-description>
10347
- </docblock>
10348
- </constant>
10349
- <constant namespace="global" line="246" package="Media Library Assistant">
10350
- <name>MLA_ENABLE_UPLOAD_MIMES</name>
10351
- <full_name>MLA_ENABLE_UPLOAD_MIMES</full_name>
10352
- <value><![CDATA[\MLACore::MLA_ENABLE_UPLOAD_MIMES]]></value>
10353
- <docblock line="243">
10354
- <description><![CDATA[Provides a unique name for the Enable Upload MIME Types option]]></description>
10355
- <long-description><![CDATA[]]></long-description>
10356
- </docblock>
10357
- </constant>
10358
- <constant namespace="global" line="251" package="Media Library Assistant">
10359
- <name>MLA_ENABLE_MLA_ICONS</name>
10360
- <full_name>MLA_ENABLE_MLA_ICONS</full_name>
10361
- <value><![CDATA[\MLACore::MLA_ENABLE_MLA_ICONS]]></value>
10362
- <docblock line="248">
10363
- <description><![CDATA[Provides a unique name for the Enable MLA Icons option]]></description>
10364
- <long-description><![CDATA[]]></long-description>
10365
- </docblock>
10366
- </constant>
10367
- <constant namespace="global" line="256" package="Media Library Assistant">
10368
- <name>MLA_DEBUG_DISPLAY_LIMIT</name>
10369
- <full_name>MLA_DEBUG_DISPLAY_LIMIT</full_name>
10370
- <value><![CDATA[\MLACore::MLA_DEBUG_DISPLAY_LIMIT]]></value>
10371
- <docblock line="253">
10372
- <description><![CDATA[Provides a unique name for the Debug display limit option]]></description>
10373
- <long-description><![CDATA[]]></long-description>
10374
- </docblock>
10375
- </constant>
10376
- <constant namespace="global" line="261" package="Media Library Assistant">
10377
- <name>MLA_DEBUG_FILE</name>
10378
- <full_name>MLA_DEBUG_FILE</full_name>
10379
- <value><![CDATA[\MLACore::MLA_DEBUG_FILE]]></value>
10380
- <docblock line="258">
10381
- <description><![CDATA[Provides a unique name for the Debug alternate log file option]]></description>
10382
- <long-description><![CDATA[]]></long-description>
10383
- </docblock>
10384
- </constant>
10385
- <constant namespace="global" line="266" package="Media Library Assistant">
10386
- <name>MLA_DEBUG_REPLACE_PHP_LOG</name>
10387
- <full_name>MLA_DEBUG_REPLACE_PHP_LOG</full_name>
10388
- <value><![CDATA[\MLACore::MLA_DEBUG_REPLACE_PHP_LOG]]></value>
10389
- <docblock line="263">
10390
- <description><![CDATA[Provides a unique name for the Debug replace PHP log file option]]></description>
10391
- <long-description><![CDATA[]]></long-description>
10392
- </docblock>
10393
- </constant>
10394
- <constant namespace="global" line="271" package="Media Library Assistant">
10395
- <name>MLA_DEBUG_REPLACE_PHP_REPORTING</name>
10396
- <full_name>MLA_DEBUG_REPLACE_PHP_REPORTING</full_name>
10397
- <value><![CDATA[\MLACore::MLA_DEBUG_REPLACE_PHP_REPORTING]]></value>
10398
- <docblock line="268">
10399
- <description><![CDATA[Provides a unique name for the Debug replace PHP error_reporting option]]></description>
10400
- <long-description><![CDATA[]]></long-description>
10401
- </docblock>
10402
- </constant>
10403
- <constant namespace="global" line="276" package="Media Library Assistant">
10404
- <name>MLA_DEBUG_REPLACE_LEVEL</name>
10405
- <full_name>MLA_DEBUG_REPLACE_LEVEL</full_name>
10406
- <value><![CDATA[\MLACore::MLA_DEBUG_REPLACE_LEVEL]]></value>
10407
- <docblock line="273">
10408
- <description><![CDATA[Provides a unique name for the Debug replace MLA_DEBUG_LEVEL option]]></description>
10409
- <long-description><![CDATA[]]></long-description>
10410
- </docblock>
10411
- </constant>
10412
- <property final="false" static="true" visibility="private" line="313" namespace="global" package="Media Library Assistant">
10413
- <name>$mla_option_templates</name>
10414
- <default><![CDATA[NULL]]></default>
10415
- <docblock line="306">
10416
- <description><![CDATA[Style and Markup templates]]></description>
10417
- <long-description><![CDATA[]]></long-description>
10418
- <tag line="306" name="since" description="0.80"/>
10419
- <tag line="306" name="var" description="" type="array">
10420
- <type by_reference="false">array</type>
10421
- </tag>
10422
- </docblock>
10423
- </property>
10424
- <property final="false" static="true" visibility="private" line="938" namespace="global" package="Media Library Assistant">
10425
- <name>$add_attachment_id</name>
10426
- <default><![CDATA[0]]></default>
10427
- <docblock line="928">
10428
- <description><![CDATA[Attachment ID passed from mla_add_attachment_action to mla_update_attachment_metadata_filter]]></description>
10429
- <long-description><![CDATA[<p>Ensures that IPTC/EXIF and Custom Field mapping is only performed when the attachment is first
10430
- added to the Media Library.</p>]]></long-description>
10431
- <tag line="928" name="since" description="1.70"/>
10432
- <tag line="928" name="var" description="" type="integer">
10433
- <type by_reference="false">integer</type>
10434
- </tag>
10435
- </docblock>
10436
- </property>
10437
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="291" package="Media Library Assistant">
10438
- <name>initialize</name>
10439
- <full_name>initialize</full_name>
10440
- <docblock line="284">
10441
- <description><![CDATA[Initialization function, similar to __construct()]]></description>
10442
- <long-description><![CDATA[]]></long-description>
10443
- <tag line="284" name="since" description="1.00"/>
10444
- <tag line="284" name="return" description="" type="void">
10445
- <type by_reference="false">void</type>
10446
- </tag>
10447
- </docblock>
10448
- </method>
10449
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="322" package="Media Library Assistant">
10450
- <name>_load_option_templates</name>
10451
- <full_name>_load_option_templates</full_name>
10452
- <docblock line="315">
10453
- <description><![CDATA[Load style and markup templates to $mla_templates]]></description>
10454
- <long-description><![CDATA[]]></long-description>
10455
- <tag line="315" name="since" description="0.80"/>
10456
- <tag line="315" name="return" description="" type="void">
10457
- <type by_reference="false">void</type>
10458
- </tag>
10459
- </docblock>
10460
- </method>
10461
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="348" package="Media Library Assistant">
10462
- <name>mla_localize_option_definitions_array</name>
10463
- <full_name>mla_localize_option_definitions_array</full_name>
10464
- <docblock line="338">
10465
- <description><![CDATA[Localize $mla_option_definitions array]]></description>
10466
- <long-description><![CDATA[<p>Localization must be done at runtime; these calls cannot be placed in the
10467
- "public static" array definition itself. Called from MLATest::initialize.</p>]]></long-description>
10468
- <tag line="338" name="since" description="1.70"/>
10469
- <tag line="338" name="return" description="" type="void">
10470
- <type by_reference="false">void</type>
10471
- </tag>
10472
- </docblock>
10473
- </method>
10474
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="359" package="Media Library Assistant">
10475
- <name>mla_get_style_templates</name>
10476
- <full_name>mla_get_style_templates</full_name>
10477
- <docblock line="352">
10478
- <description><![CDATA[Get ALL style templates from $mla_templates, including 'default']]></description>
10479
- <long-description><![CDATA[]]></long-description>
10480
- <tag line="352" name="since" description="0.80"/>
10481
- <tag line="352" name="return" description="name =&gt; value for all style templates or null if no templates" type="array|null">
10482
- <type by_reference="false">array</type>
10483
- <type by_reference="false">null</type>
10484
- </tag>
10485
- </docblock>
10486
- </method>
10487
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="385" package="Media Library Assistant">
10488
- <name>mla_put_style_templates</name>
10489
- <full_name>mla_put_style_templates</full_name>
10490
- <docblock line="377">
10491
- <description><![CDATA[Put user-defined style templates to $mla_templates and database]]></description>
10492
- <long-description><![CDATA[]]></long-description>
10493
- <tag line="377" name="since" description="0.80"/>
10494
- <tag line="377" name="param" description="name =&gt; value for all user-defined style templates" type="array" variable="$templates">
10495
- <type by_reference="false">array</type>
10496
- </tag>
10497
- <tag line="377" name="return" description="true if success, false if failure" type="boolean">
10498
- <type by_reference="false">boolean</type>
10499
- </tag>
10500
- </docblock>
10501
- <argument line="385">
10502
- <name>$templates</name>
10503
- <default><![CDATA[]]></default>
10504
- <type/>
10505
- </argument>
10506
- </method>
10507
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="401" package="Media Library Assistant">
10508
- <name>mla_get_markup_templates</name>
10509
- <full_name>mla_get_markup_templates</full_name>
10510
- <docblock line="394">
10511
- <description><![CDATA[Get ALL markup templates from $mla_templates, including 'default']]></description>
10512
- <long-description><![CDATA[]]></long-description>
10513
- <tag line="394" name="since" description="0.80"/>
10514
- <tag line="394" name="return" description="name =&gt; value for all markup templates or null if no templates" type="array|null">
10515
- <type by_reference="false">array</type>
10516
- <type by_reference="false">null</type>
10517
- </tag>
10518
- </docblock>
10519
- </method>
10520
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="456" package="Media Library Assistant">
10521
- <name>mla_put_markup_templates</name>
10522
- <full_name>mla_put_markup_templates</full_name>
10523
- <docblock line="448">
10524
- <description><![CDATA[Put user-defined markup templates to $mla_templates and database]]></description>
10525
- <long-description><![CDATA[]]></long-description>
10526
- <tag line="448" name="since" description="0.80"/>
10527
- <tag line="448" name="param" description="name =&gt; value for all user-defined markup templates" type="array" variable="$templates">
10528
- <type by_reference="false">array</type>
10529
- </tag>
10530
- <tag line="448" name="return" description="true if success, false if failure" type="boolean">
10531
- <type by_reference="false">boolean</type>
10532
- </tag>
10533
- </docblock>
10534
- <argument line="456">
10535
- <name>$templates</name>
10536
- <default><![CDATA[]]></default>
10537
- <type/>
10538
- </argument>
10539
- </method>
10540
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="480" package="Media Library Assistant">
10541
- <name>mla_get_option</name>
10542
- <full_name>mla_get_option</full_name>
10543
- <docblock line="465">
10544
- <description><![CDATA[Return the stored value or default value of a defined MLA option]]></description>
10545
- <long-description><![CDATA[<p>Compatibility shim for MLACore::mla_get_option</p>]]></long-description>
10546
- <tag line="465" name="since" description="0.1"/>
10547
- <tag line="465" name="param" description="Name of the desired option" type="string" variable="$option">
10548
- <type by_reference="false">string</type>
10549
- </tag>
10550
- <tag line="465" name="param" description="True to ignore current setting and return default values" type="boolean" variable="$get_default">
10551
- <type by_reference="false">boolean</type>
10552
- </tag>
10553
- <tag line="465" name="param" description="True to ignore default values and return only stored values" type="boolean" variable="$get_stored">
10554
- <type by_reference="false">boolean</type>
10555
- </tag>
10556
- <tag line="465" name="param" description="Custom option definitions" type="array" variable="$option_table">
10557
- <type by_reference="false">array</type>
10558
- </tag>
10559
- <tag line="465" name="return" description="Value(s) for the option or false if the option is not a defined MLA option" type="mixed">
10560
- <type by_reference="false">mixed</type>
10561
- </tag>
10562
- </docblock>
10563
- <argument line="480">
10564
- <name>$option</name>
10565
- <default><![CDATA[]]></default>
10566
- <type/>
10567
- </argument>
10568
- <argument line="480">
10569
- <name>$get_default</name>
10570
- <default><![CDATA[false]]></default>
10571
- <type/>
10572
- </argument>
10573
- <argument line="480">
10574
- <name>$get_stored</name>
10575
- <default><![CDATA[false]]></default>
10576
- <type/>
10577
- </argument>
10578
- <argument line="480">
10579
- <name>$option_table</name>
10580
- <default><![CDATA[NULL]]></default>
10581
- <type/>
10582
- </argument>
10583
- </method>
10584
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="497" package="Media Library Assistant">
10585
- <name>mla_update_option</name>
10586
- <full_name>mla_update_option</full_name>
10587
- <docblock line="484">
10588
- <description><![CDATA[Add or update the stored value of a defined MLA option]]></description>
10589
- <long-description><![CDATA[<p>Compatibility shim for MLACore::mla_update_option</p>]]></long-description>
10590
- <tag line="484" name="since" description="0.1"/>
10591
- <tag line="484" name="param" description="Name of the desired option" type="string" variable="$option">
10592
- <type by_reference="false">string</type>
10593
- </tag>
10594
- <tag line="484" name="param" description="New value for the desired option" type="mixed" variable="$newvalue">
10595
- <type by_reference="false">mixed</type>
10596
- </tag>
10597
- <tag line="484" name="param" description="Custom option definitions" type="array" variable="$option_table">
10598
- <type by_reference="false">array</type>
10599
- </tag>
10600
- <tag line="484" name="return" description="True if the value was changed or false if the update failed" type="boolean">
10601
- <type by_reference="false">boolean</type>
10602
- </tag>
10603
- </docblock>
10604
- <argument line="497">
10605
- <name>$option</name>
10606
- <default><![CDATA[]]></default>
10607
- <type/>
10608
- </argument>
10609
- <argument line="497">
10610
- <name>$newvalue</name>
10611
- <default><![CDATA[]]></default>
10612
- <type/>
10613
- </argument>
10614
- <argument line="497">
10615
- <name>$option_table</name>
10616
- <default><![CDATA[NULL]]></default>
10617
- <type/>
10618
- </argument>
10619
- </method>
10620
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="513" package="Media Library Assistant">
10621
- <name>mla_delete_option</name>
10622
- <full_name>mla_delete_option</full_name>
10623
- <docblock line="501">
10624
- <description><![CDATA[Delete the stored value of a defined MLA option]]></description>
10625
- <long-description><![CDATA[<p>Compatibility shim for MLACore::mla_delete_option</p>]]></long-description>
10626
- <tag line="501" name="since" description="0.1"/>
10627
- <tag line="501" name="param" description="Name of the desired option" type="string" variable="$option">
10628
- <type by_reference="false">string</type>
10629
- </tag>
10630
- <tag line="501" name="param" description="Custom option definitions" type="array" variable="$option_table">
10631
- <type by_reference="false">array</type>
10632
- </tag>
10633
- <tag line="501" name="return" description="True if the option was deleted, otherwise false" type="boolean">
10634
- <type by_reference="false">boolean</type>
10635
- </tag>
10636
- </docblock>
10637
- <argument line="513">
10638
- <name>$option</name>
10639
- <default><![CDATA[]]></default>
10640
- <type/>
10641
- </argument>
10642
- <argument line="513">
10643
- <name>$option_table</name>
10644
- <default><![CDATA[NULL]]></default>
10645
- <type/>
10646
- </argument>
10647
- </method>
10648
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="532" package="Media Library Assistant">
10649
- <name>mla_taxonomy_support</name>
10650
- <full_name>mla_taxonomy_support</full_name>
10651
- <docblock line="517">
10652
- <description><![CDATA[Determine MLA support for a taxonomy, handling the special case where the
10653
- settings are being updated or reset.]]></description>
10654
- <long-description><![CDATA[<p>Compatibility shim for MLACore::mla_taxonomy_support</p>]]></long-description>
10655
- <tag line="517" name="since" description="0.30"/>
10656
- <tag line="517" name="param" description="Taxonomy name, e.g., attachment_category" type="string" variable="$tax_name">
10657
- <type by_reference="false">string</type>
10658
- </tag>
10659
- <tag line="517" name="param" description="Optional. 'support' (default), 'quick-edit' or 'filter'" type="string" variable="$support_type">
10660
- <type by_reference="false">string</type>
10661
- </tag>
10662
- <tag line="517" name="return" description="true if the taxonomy is supported in this way else false. string if $tax_name is '' and $support_type is 'filter', returns the taxonomy to filter by." type="boolean|string">
10663
- <type by_reference="false">boolean</type>
10664
- <type by_reference="false">string</type>
10665
- </tag>
10666
- </docblock>
10667
- <argument line="532">
10668
- <name>$tax_name</name>
10669
- <default><![CDATA[]]></default>
10670
- <type/>
10671
- </argument>
10672
- <argument line="532">
10673
- <name>$support_type</name>
10674
- <default><![CDATA['support']]></default>
10675
- <type/>
10676
- </argument>
10677
- </method>
10678
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="547" package="Media Library Assistant">
10679
- <name>mla_supported_taxonomies</name>
10680
- <full_name>mla_supported_taxonomies</full_name>
10681
- <docblock line="536">
10682
- <description><![CDATA[Returns an array of taxonomy names assigned to $support_type]]></description>
10683
- <long-description><![CDATA[<p>Compatibility shim for MLACore::mla_taxonomy_support</p>]]></long-description>
10684
- <tag line="536" name="since" description="1.90"/>
10685
- <tag line="536" name="param" description="Optional. 'support' (default), 'quick-edit', 'flat-checklist', 'term-search' or 'filter'" type="string" variable="$support_type">
10686
- <type by_reference="false">string</type>
10687
- </tag>
10688
- <tag line="536" name="return" description="taxonomies assigned to $support_type; can be empty." type="array">
10689
- <type by_reference="false">array</type>
10690
- </tag>
10691
- </docblock>
10692
- <argument line="547">
10693
- <name>$support_type</name>
10694
- <default><![CDATA['support']]></default>
10695
- <type/>
10696
- </argument>
10697
- </method>
10698
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="564" package="Media Library Assistant">
10699
- <name>mla_attachment_display_settings_option_handler</name>
10700
- <full_name>mla_attachment_display_settings_option_handler</full_name>
10701
- <docblock line="551">
10702
- <description><![CDATA[Render and manage Attachment Display Settings options; alignment, link type and size]]></description>
10703
- <long-description><![CDATA[]]></long-description>
10704
- <tag line="551" name="since" description="1.71"/>
10705
- <tag line="551" name="uses" description="\global\MLASettings::$page_template_array" refers="\global\MLASettings::$page_template_array"/>
10706
- <tag line="551" name="param" description="'render', 'update', 'delete', or 'reset'" type="string" variable="$action">
10707
- <type by_reference="false">string</type>
10708
- </tag>
10709
- <tag line="551" name="param" description="option name, e.g., 'image_default_align'" type="string" variable="$key">
10710
- <type by_reference="false">string</type>
10711
- </tag>
10712
- <tag line="551" name="param" description="option parameters" type="array" variable="$value">
10713
- <type by_reference="false">array</type>
10714
- </tag>
10715
- <tag line="551" name="param" description="Optional. null (default) for 'render' else option data, e.g., $_REQUEST" type="array" variable="$args">
10716
- <type by_reference="false">array</type>
10717
- </tag>
10718
- <tag line="551" name="return" description="HTML table row markup for 'render' else message(s) reflecting the results of the operation." type="string">
10719
- <type by_reference="false">string</type>
10720
- </tag>
10721
- </docblock>
10722
- <argument line="564">
10723
- <name>$action</name>
10724
- <default><![CDATA[]]></default>
10725
- <type/>
10726
- </argument>
10727
- <argument line="564">
10728
- <name>$key</name>
10729
- <default><![CDATA[]]></default>
10730
- <type/>
10731
- </argument>
10732
- <argument line="564">
10733
- <name>$value</name>
10734
- <default><![CDATA[]]></default>
10735
- <type/>
10736
- </argument>
10737
- <argument line="564">
10738
- <name>$args</name>
10739
- <default><![CDATA[NULL]]></default>
10740
- <type/>
10741
- </argument>
10742
- </method>
10743
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="628" package="Media Library Assistant">
10744
- <name>mla_taxonomy_option_handler</name>
10745
- <full_name>mla_taxonomy_option_handler</full_name>
10746
- <docblock line="615">
10747
- <description><![CDATA[Render and manage taxonomy support options, e.g., Categories and Post Tags]]></description>
10748
- <long-description><![CDATA[]]></long-description>
10749
- <tag line="615" name="since" description="0.30"/>
10750
- <tag line="615" name="uses" description="\global\$mla_option_templates" refers="\global\$mla_option_templates"/>
10751
- <tag line="615" name="param" description="'render', 'update', 'delete', or 'reset'" type="string" variable="$action">
10752
- <type by_reference="false">string</type>
10753
- </tag>
10754
- <tag line="615" name="param" description="option name, e.g., 'tax_support', or 'tax_flat_checklist'" type="string" variable="$key">
10755
- <type by_reference="false">string</type>
10756
- </tag>
10757
- <tag line="615" name="param" description="option parameters" type="array" variable="$value">
10758
- <type by_reference="false">array</type>
10759
- </tag>
10760
- <tag line="615" name="param" description="Optional. null (default) for 'render' else option data, e.g., $_REQUEST" type="array" variable="$args">
10761
- <type by_reference="false">array</type>
10762
- </tag>
10763
- <tag line="615" name="return" description="HTML table row markup for 'render' else message(s) reflecting the results of the operation." type="string">
10764
- <type by_reference="false">string</type>
10765
- </tag>
10766
- </docblock>
10767
- <argument line="628">
10768
- <name>$action</name>
10769
- <default><![CDATA[]]></default>
10770
- <type/>
10771
- </argument>
10772
- <argument line="628">
10773
- <name>$key</name>
10774
- <default><![CDATA[]]></default>
10775
- <type/>
10776
- </argument>
10777
- <argument line="628">
10778
- <name>$value</name>
10779
- <default><![CDATA[]]></default>
10780
- <type/>
10781
- </argument>
10782
- <argument line="628">
10783
- <name>$args</name>
10784
- <default><![CDATA[NULL]]></default>
10785
- <type/>
10786
- </argument>
10787
- </method>
10788
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="805" package="Media Library Assistant">
10789
- <name>mla_search_option_handler</name>
10790
- <full_name>mla_search_option_handler</full_name>
10791
- <docblock line="792">
10792
- <description><![CDATA[Render and manage Search box options, e.g., connector and search fields]]></description>
10793
- <long-description><![CDATA[]]></long-description>
10794
- <tag line="792" name="since" description="1.90"/>
10795
- <tag line="792" name="uses" description="\global\$mla_option_templates" refers="\global\$mla_option_templates"/>
10796
- <tag line="792" name="param" description="'render', 'update', 'delete', or 'reset'" type="string" variable="$action">
10797
- <type by_reference="false">string</type>
10798
- </tag>
10799
- <tag line="792" name="param" description="option name; 'search_connector' or 'search_fields'" type="string" variable="$key">
10800
- <type by_reference="false">string</type>
10801
- </tag>
10802
- <tag line="792" name="param" description="option parameters" type="array" variable="$value">
10803
- <type by_reference="false">array</type>
10804
- </tag>
10805
- <tag line="792" name="param" description="Optional. null (default) for 'render' else option data, e.g., $_REQUEST" type="array" variable="$args">
10806
- <type by_reference="false">array</type>
10807
- </tag>
10808
- <tag line="792" name="return" description="HTML table row markup for 'render' else message(s) reflecting the results of the operation." type="string">
10809
- <type by_reference="false">string</type>
10810
- </tag>
10811
- </docblock>
10812
- <argument line="805">
10813
- <name>$action</name>
10814
- <default><![CDATA[]]></default>
10815
- <type/>
10816
- </argument>
10817
- <argument line="805">
10818
- <name>$key</name>
10819
- <default><![CDATA[]]></default>
10820
- <type/>
10821
- </argument>
10822
- <argument line="805">
10823
- <name>$value</name>
10824
- <default><![CDATA[]]></default>
10825
- <type/>
10826
- </argument>
10827
- <argument line="805">
10828
- <name>$args</name>
10829
- <default><![CDATA[NULL]]></default>
10830
- <type/>
10831
- </argument>
10832
- </method>
10833
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="876" package="Media Library Assistant">
10834
- <name>mla_wp_handle_upload_prefilter_filter</name>
10835
- <full_name>mla_wp_handle_upload_prefilter_filter</full_name>
10836
- <docblock line="867">
10837
- <description><![CDATA[Examine or alter the filename before the file is made permanent]]></description>
10838
- <long-description><![CDATA[]]></long-description>
10839
- <tag line="867" name="since" description="1.70"/>
10840
- <tag line="867" name="param" description="file parameters ( 'name' )" type="array" variable="$file">
10841
- <type by_reference="false">array</type>
10842
- </tag>
10843
- <tag line="867" name="return" description="updated file parameters" type="array">
10844
- <type by_reference="false">array</type>
10845
- </tag>
10846
- </docblock>
10847
- <argument line="876">
10848
- <name>$file</name>
10849
- <default><![CDATA[]]></default>
10850
- <type/>
10851
- </argument>
10852
- </method>
10853
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="907" package="Media Library Assistant">
10854
- <name>mla_wp_handle_upload_filter</name>
10855
- <full_name>mla_wp_handle_upload_filter</full_name>
10856
- <docblock line="898">
10857
- <description><![CDATA[Called once for each file uploaded]]></description>
10858
- <long-description><![CDATA[]]></long-description>
10859
- <tag line="898" name="since" description="1.70"/>
10860
- <tag line="898" name="param" description="file parameters ( 'name' )" type="array" variable="$file">
10861
- <type by_reference="false">array</type>
10862
- </tag>
10863
- <tag line="898" name="return" description="updated file parameters" type="array">
10864
- <type by_reference="false">array</type>
10865
- </tag>
10866
- </docblock>
10867
- <argument line="907">
10868
- <name>$file</name>
10869
- <default><![CDATA[]]></default>
10870
- <type/>
10871
- </argument>
10872
- </method>
10873
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="951" package="Media Library Assistant">
10874
- <name>mla_add_attachment_action</name>
10875
- <full_name>mla_add_attachment_action</full_name>
10876
- <docblock line="940">
10877
- <description><![CDATA[Set $add_attachment_id to just-inserted attachment]]></description>
10878
- <long-description><![CDATA[<p>All of the actual processing is done later, in mla_update_attachment_metadata_filter.</p>]]></long-description>
10879
- <tag line="940" name="since" description="1.00"/>
10880
- <tag line="940" name="param" description="ID of just-inserted attachment" type="integer" variable="$post_ID">
10881
- <type by_reference="false">integer</type>
10882
- </tag>
10883
- <tag line="940" name="return" description="" type="void">
10884
- <type by_reference="false">void</type>
10885
- </tag>
10886
- </docblock>
10887
- <argument line="951">
10888
- <name>$post_ID</name>
10889
- <default><![CDATA[]]></default>
10890
- <type/>
10891
- </argument>
10892
- </method>
10893
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="966" package="Media Library Assistant">
10894
- <name>_update_attachment_metadata</name>
10895
- <full_name>_update_attachment_metadata</full_name>
10896
- <docblock line="956">
10897
- <description><![CDATA[Update _wp_attachment_metadata for just-inserted attachment]]></description>
10898
- <long-description><![CDATA[]]></long-description>
10899
- <tag line="956" name="since" description="1.70"/>
10900
- <tag line="956" name="param" description="Attachment metadata updates" type="array" variable="$updates">
10901
- <type by_reference="false">array</type>
10902
- </tag>
10903
- <tag line="956" name="param" description="Attachment metadata, by reference; updated by this function" type="array" variable="$data">
10904
- <type by_reference="false">array</type>
10905
- </tag>
10906
- <tag line="956" name="return" description="Attachment metadata updates, with &quot;meta:&quot; elements removed" type="array">
10907
- <type by_reference="false">array</type>
10908
- </tag>
10909
- </docblock>
10910
- <argument line="966">
10911
- <name>$updates</name>
10912
- <default><![CDATA[]]></default>
10913
- <type/>
10914
- </argument>
10915
- <argument line="966">
10916
- <name>$data</name>
10917
- <default><![CDATA[]]></default>
10918
- <type/>
10919
- </argument>
10920
- </method>
10921
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1002" package="Media Library Assistant">
10922
- <name>mla_update_attachment_metadata_filter</name>
10923
- <full_name>mla_update_attachment_metadata_filter</full_name>
10924
- <docblock line="989">
10925
- <description><![CDATA[Perform IPTC/EXIF and Custom Field mapping on just-inserted attachment]]></description>
10926
- <long-description><![CDATA[<p>This filter tests the $add_attachment_id variable set by the mla_add_attachment_action
10927
- to ensure that mapping is only performed for new additions, not metadata updates.</p>]]></long-description>
10928
- <tag line="989" name="since" description="1.10"/>
10929
- <tag line="989" name="param" description="Attachment metadata for just-inserted attachment" type="array" variable="$data">
10930
- <type by_reference="false">array</type>
10931
- </tag>
10932
- <tag line="989" name="param" description="ID of just-inserted attachment" type="integer" variable="$post_id">
10933
- <type by_reference="false">integer</type>
10934
- </tag>
10935
- <tag line="989" name="return" description="Updated attachment metadata" type="array">
10936
- <type by_reference="false">array</type>
10937
- </tag>
10938
- </docblock>
10939
- <argument line="1002">
10940
- <name>$data</name>
10941
- <default><![CDATA[]]></default>
10942
- <type/>
10943
- </argument>
10944
- <argument line="1002">
10945
- <name>$post_id</name>
10946
- <default><![CDATA[]]></default>
10947
- <type/>
10948
- </argument>
10949
- </method>
10950
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1089" package="Media Library Assistant">
10951
- <name>mla_get_data_source</name>
10952
- <full_name>mla_get_data_source</full_name>
10953
- <docblock line="1075">
10954
- <description><![CDATA[Get IPTC/EXIF or custom field mapping data source; WP_ADMIN mode]]></description>
10955
- <long-description><![CDATA[<p>Compatibility shim for MLAData_Source::mla_get_data_source.</p>]]></long-description>
10956
- <tag line="1075" name="since" description="1.70"/>
10957
- <tag line="1075" name="param" description="post-&gt;ID of attachment" type="integer" variable="$post_id">
10958
- <type by_reference="false">integer</type>
10959
- </tag>
10960
- <tag line="1075" name="param" description="category/scope to evaluate against: custom_field_mapping or single_attachment_mapping" type="string" variable="$category">
10961
- <type by_reference="false">string</type>
10962
- </tag>
10963
- <tag line="1075" name="param" description="data source specification ( name, *data_source, *keep_existing, *format, mla_column, quick_edit, bulk_edit, *meta_name, *option, no_null )" type="array" variable="$data_value">
10964
- <type by_reference="false">array</type>
10965
- </tag>
10966
- <tag line="1075" name="param" description="(optional) _wp_attachment_metadata, default NULL (use current postmeta database value)" type="array" variable="$attachment_metadata">
10967
- <type by_reference="false">array</type>
10968
- </tag>
10969
- <tag line="1075" name="return" description="data source value" type="string|array">
10970
- <type by_reference="false">string</type>
10971
- <type by_reference="false">array</type>
10972
- </tag>
10973
- </docblock>
10974
- <argument line="1089">
10975
- <name>$post_id</name>
10976
- <default><![CDATA[]]></default>
10977
- <type/>
10978
- </argument>
10979
- <argument line="1089">
10980
- <name>$category</name>
10981
- <default><![CDATA[]]></default>
10982
- <type/>
10983
- </argument>
10984
- <argument line="1089">
10985
- <name>$data_value</name>
10986
- <default><![CDATA[]]></default>
10987
- <type/>
10988
- </argument>
10989
- <argument line="1089">
10990
- <name>$attachment_metadata</name>
10991
- <default><![CDATA[NULL]]></default>
10992
- <type/>
10993
- </argument>
10994
- </method>
10995
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1108" package="Media Library Assistant">
10996
- <name>mla_is_data_source</name>
10997
- <full_name>mla_is_data_source</full_name>
10998
- <docblock line="1097">
10999
- <description><![CDATA[Identify custom field mapping data source; WP_ADMIN mode]]></description>
11000
- <long-description><![CDATA[<p>Compatibility shim for MLAData_Source::mla_is_data_source.</p>]]></long-description>
11001
- <tag line="1097" name="since" description="1.80"/>
11002
- <tag line="1097" name="param" description="candidate data source name" type="string" variable="$candidate_name">
11003
- <type by_reference="false">string</type>
11004
- </tag>
11005
- <tag line="1097" name="return" description="true if candidate name matches a data source" type="boolean">
11006
- <type by_reference="false">boolean</type>
11007
- </tag>
11008
- </docblock>
11009
- <argument line="1108">
11010
- <name>$candidate_name</name>
11011
- <default><![CDATA[]]></default>
11012
- <type/>
11013
- </argument>
11014
- </method>
11015
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1128" package="Media Library Assistant">
11016
- <name>mla_evaluate_custom_field_mapping</name>
11017
- <full_name>mla_evaluate_custom_field_mapping</full_name>
11018
- <docblock line="1116">
11019
- <description><![CDATA[Evaluate custom field mapping updates for a post]]></description>
11020
- <long-description><![CDATA[]]></long-description>
11021
- <tag line="1116" name="since" description="1.10"/>
11022
- <tag line="1116" name="param" description="post ID to be evaluated" type="integer" variable="$post_id">
11023
- <type by_reference="false">integer</type>
11024
- </tag>
11025
- <tag line="1116" name="param" description="category/scope to evaluate against: custom_field_mapping or single_attachment_mapping" type="string" variable="$category">
11026
- <type by_reference="false">string</type>
11027
- </tag>
11028
- <tag line="1116" name="param" description="(optional) custom_field_mapping values, default NULL (use current option value)" type="array" variable="$settings">
11029
- <type by_reference="false">array</type>
11030
- </tag>
11031
- <tag line="1116" name="param" description="(optional) attachment_metadata, default NULL (use current postmeta database value)" type="array" variable="$attachment_metadata">
11032
- <type by_reference="false">array</type>
11033
- </tag>
11034
- <tag line="1116" name="return" description="Updates suitable for MLAData::mla_update_single_item, if any" type="array">
11035
- <type by_reference="false">array</type>
11036
- </tag>
11037
- </docblock>
11038
- <argument line="1128">
11039
- <name>$post_id</name>
11040
- <default><![CDATA[]]></default>
11041
- <type/>
11042
- </argument>
11043
- <argument line="1128">
11044
- <name>$category</name>
11045
- <default><![CDATA[]]></default>
11046
- <type/>
11047
- </argument>
11048
- <argument line="1128">
11049
- <name>$settings</name>
11050
- <default><![CDATA[NULL]]></default>
11051
- <type/>
11052
- </argument>
11053
- <argument line="1128">
11054
- <name>$attachment_metadata</name>
11055
- <default><![CDATA[NULL]]></default>
11056
- <type/>
11057
- </argument>
11058
- </method>
11059
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="1227" package="Media Library Assistant">
11060
- <name>_compose_custom_field_option_list</name>
11061
- <full_name>_compose_custom_field_option_list</full_name>
11062
- <docblock line="1216">
11063
- <description><![CDATA[Compose a Custom Field Options list with current selection]]></description>
11064
- <long-description><![CDATA[]]></long-description>
11065
- <tag line="1216" name="since" description="1.10"/>
11066
- <tag line="1216" name="uses" description="\global\$mla_option_templates" refers="\global\$mla_option_templates"/>
11067
- <tag line="1216" name="param" description="current selection or 'none' (default)" type="string" variable="$selection">
11068
- <type by_reference="false">string</type>
11069
- </tag>
11070
- <tag line="1216" name="param" description="optional list of terms to exclude from the list" type="array" variable="$blacklist">
11071
- <type by_reference="false">array</type>
11072
- </tag>
11073
- <tag line="1216" name="return" description="HTML markup with select field options" type="string">
11074
- <type by_reference="false">string</type>
11075
- </tag>
11076
- </docblock>
11077
- <argument line="1227">
11078
- <name>$selection</name>
11079
- <default><![CDATA['none']]></default>
11080
- <type/>
11081
- </argument>
11082
- <argument line="1227">
11083
- <name>$blacklist</name>
11084
- <default><![CDATA[array()]]></default>
11085
- <type/>
11086
- </argument>
11087
- </method>
11088
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="1275" package="Media Library Assistant">
11089
- <name>_compose_data_source_option_list</name>
11090
- <full_name>_compose_data_source_option_list</full_name>
11091
- <docblock line="1265">
11092
- <description><![CDATA[Compose a (Custom Field) Data Source Options list with current selection]]></description>
11093
- <long-description><![CDATA[]]></long-description>
11094
- <tag line="1265" name="since" description="1.10"/>
11095
- <tag line="1265" name="uses" description="\global\$mla_option_templates" refers="\global\$mla_option_templates"/>
11096
- <tag line="1265" name="param" description="current selection or 'none' (default)" type="string" variable="$selection">
11097
- <type by_reference="false">string</type>
11098
- </tag>
11099
- <tag line="1265" name="return" description="HTML markup with select field options" type="string">
11100
- <type by_reference="false">string</type>
11101
- </tag>
11102
- </docblock>
11103
- <argument line="1275">
11104
- <name>$selection</name>
11105
- <default><![CDATA['none']]></default>
11106
- <type/>
11107
- </argument>
11108
- </method>
11109
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="1343" package="Media Library Assistant">
11110
- <name>_update_custom_field_mapping</name>
11111
- <full_name>_update_custom_field_mapping</full_name>
11112
- <docblock line="1333">
11113
- <description><![CDATA[Update custom field mappings]]></description>
11114
- <long-description><![CDATA[]]></long-description>
11115
- <tag line="1333" name="since" description="1.10"/>
11116
- <tag line="1333" name="param" description="current custom_field_mapping values" type="array" variable="$current_values">
11117
- <type by_reference="false">array</type>
11118
- </tag>
11119
- <tag line="1333" name="param" description="new values" type="array" variable="$new_values">
11120
- <type by_reference="false">array</type>
11121
- </tag>
11122
- <tag line="1333" name="return" description="( 'message' =&gt; HTML message(s) reflecting results, 'values' =&gt; updated custom_field_mapping values, 'changed' =&gt; true if any changes detected else false )" type="array">
11123
- <type by_reference="false">array</type>
11124
- </tag>
11125
- </docblock>
11126
- <argument line="1343">
11127
- <name>$current_values</name>
11128
- <default><![CDATA[]]></default>
11129
- <type/>
11130
- </argument>
11131
- <argument line="1343">
11132
- <name>$new_values</name>
11133
- <default><![CDATA[]]></default>
11134
- <type/>
11135
- </argument>
11136
- </method>
11137
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1552" package="Media Library Assistant">
11138
- <name>mla_custom_field_option_handler</name>
11139
- <full_name>mla_custom_field_option_handler</full_name>
11140
- <docblock line="1539">
11141
- <description><![CDATA[Render and manage custom field mapping options]]></description>
11142
- <long-description><![CDATA[]]></long-description>
11143
- <tag line="1539" name="since" description="1.10"/>
11144
- <tag line="1539" name="uses" description="\global\$mla_option_templates" refers="\global\$mla_option_templates"/>
11145
- <tag line="1539" name="param" description="'render', 'update', 'delete', or 'reset'" type="string" variable="$action">
11146
- <type by_reference="false">string</type>
11147
- </tag>
11148
- <tag line="1539" name="param" description="option name, e.g., 'custom_field_mapping'" type="string" variable="$key">
11149
- <type by_reference="false">string</type>
11150
- </tag>
11151
- <tag line="1539" name="param" description="option parameters" type="array" variable="$value">
11152
- <type by_reference="false">array</type>
11153
- </tag>
11154
- <tag line="1539" name="param" description="Optional. null (default) for 'render' else option data, e.g., $_REQUEST" type="array" variable="$args">
11155
- <type by_reference="false">array</type>
11156
- </tag>
11157
- <tag line="1539" name="return" description="HTML table row markup for 'render' else message(s) reflecting the results of the operation." type="string">
11158
- <type by_reference="false">string</type>
11159
- </tag>
11160
- </docblock>
11161
- <argument line="1552">
11162
- <name>$action</name>
11163
- <default><![CDATA[]]></default>
11164
- <type/>
11165
- </argument>
11166
- <argument line="1552">
11167
- <name>$key</name>
11168
- <default><![CDATA[]]></default>
11169
- <type/>
11170
- </argument>
11171
- <argument line="1552">
11172
- <name>$value</name>
11173
- <default><![CDATA[]]></default>
11174
- <type/>
11175
- </argument>
11176
- <argument line="1552">
11177
- <name>$args</name>
11178
- <default><![CDATA[NULL]]></default>
11179
- <type/>
11180
- </argument>
11181
- </method>
11182
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="1837" package="Media Library Assistant">
11183
- <name>_get_term_id</name>
11184
- <full_name>_get_term_id</full_name>
11185
- <docblock line="1825">
11186
- <description><![CDATA[Build and search a cache of taxonomy and term name to term ID mappings]]></description>
11187
- <long-description><![CDATA[]]></long-description>
11188
- <tag line="1825" name="since" description="2.01"/>
11189
- <tag line="1825" name="param" description="term name (not slug)" type="string" variable="$term_name">
11190
- <type by_reference="false">string</type>
11191
- </tag>
11192
- <tag line="1825" name="param" description="zero or term's parent term_id" type="integer" variable="$term_parent">
11193
- <type by_reference="false">integer</type>
11194
- </tag>
11195
- <tag line="1825" name="param" description="taxonomy slug" type="string" variable="$taxonomy">
11196
- <type by_reference="false">string</type>
11197
- </tag>
11198
- <tag line="1825" name="param" description="term objects currently assigned to the item" type="array" variable="$post_terms">
11199
- <type by_reference="false">array</type>
11200
- </tag>
11201
- <tag line="1825" name="return" description="term_id for the term name" type="integer">
11202
- <type by_reference="false">integer</type>
11203
- </tag>
11204
- </docblock>
11205
- <argument line="1837">
11206
- <name>$term_name</name>
11207
- <default><![CDATA[]]></default>
11208
- <type/>
11209
- </argument>
11210
- <argument line="1837">
11211
- <name>$term_parent</name>
11212
- <default><![CDATA[]]></default>
11213
- <type/>
11214
- </argument>
11215
- <argument line="1837">
11216
- <name>$taxonomy</name>
11217
- <default><![CDATA[]]></default>
11218
- <type/>
11219
- </argument>
11220
- <argument line="1837">
11221
- <name>$post_terms</name>
11222
- <default><![CDATA[]]></default>
11223
- <type/>
11224
- </argument>
11225
- </method>
11226
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1886" package="Media Library Assistant">
11227
- <name>mla_evaluate_iptc_exif_mapping</name>
11228
- <full_name>mla_evaluate_iptc_exif_mapping</full_name>
11229
- <docblock line="1873">
11230
- <description><![CDATA[Evaluate IPTC/EXIF mapping updates for a post]]></description>
11231
- <long-description><![CDATA[]]></long-description>
11232
- <tag line="1873" name="since" description="1.00"/>
11233
- <tag line="1873" name="param" description="post object with current values" type="object" variable="$post">
11234
- <type by_reference="false">object</type>
11235
- </tag>
11236
- <tag line="1873" name="param" description="category to evaluate against, e.g., iptc_exif_standard_mapping or iptc_exif_mapping" type="string" variable="$category">
11237
- <type by_reference="false">string</type>
11238
- </tag>
11239
- <tag line="1873" name="param" description="(optional) iptc_exif_mapping values, default - current option value" type="array" variable="$settings">
11240
- <type by_reference="false">array</type>
11241
- </tag>
11242
- <tag line="1873" name="param" description="(optional) _wp_attachment_metadata, for MLAOptions::mla_update_attachment_metadata_filter" type="array" variable="$attachment_metadata">
11243
- <type by_reference="false">array</type>
11244
- </tag>
11245
- <tag line="1873" name="param" description="(optional) true if uploading a new item else false (default)" type="boolean" variable="$is_upload">
11246
- <type by_reference="false">boolean</type>
11247
- </tag>
11248
- <tag line="1873" name="return" description="Updates suitable for MLAData::mla_update_single_item, if any" type="array">
11249
- <type by_reference="false">array</type>
11250
- </tag>
11251
- </docblock>
11252
- <argument line="1886">
11253
- <name>$post</name>
11254
- <default><![CDATA[]]></default>
11255
- <type/>
11256
- </argument>
11257
- <argument line="1886">
11258
- <name>$category</name>
11259
- <default><![CDATA[]]></default>
11260
- <type/>
11261
- </argument>
11262
- <argument line="1886">
11263
- <name>$settings</name>
11264
- <default><![CDATA[NULL]]></default>
11265
- <type/>
11266
- </argument>
11267
- <argument line="1886">
11268
- <name>$attachment_metadata</name>
11269
- <default><![CDATA[NULL]]></default>
11270
- <type/>
11271
- </argument>
11272
- <argument line="1886">
11273
- <name>$is_upload</name>
11274
- <default><![CDATA[false]]></default>
11275
- <type/>
11276
- </argument>
11277
- </method>
11278
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="2302" package="Media Library Assistant">
11279
- <name>_compose_iptc_option_list</name>
11280
- <full_name>_compose_iptc_option_list</full_name>
11281
- <docblock line="2292">
11282
- <description><![CDATA[Compose an IPTC Options list with current selection]]></description>
11283
- <long-description><![CDATA[]]></long-description>
11284
- <tag line="2292" name="since" description="1.00"/>
11285
- <tag line="2292" name="uses" description="\global\$mla_option_templates" refers="\global\$mla_option_templates"/>
11286
- <tag line="2292" name="param" description="current selection or 'none' (default)" type="string" variable="$selection">
11287
- <type by_reference="false">string</type>
11288
- </tag>
11289
- <tag line="2292" name="return" description="HTML markup with select field options" type="string">
11290
- <type by_reference="false">string</type>
11291
- </tag>
11292
- </docblock>
11293
- <argument line="2302">
11294
- <name>$selection</name>
11295
- <default><![CDATA['none']]></default>
11296
- <type/>
11297
- </argument>
11298
- </method>
11299
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="2335" package="Media Library Assistant">
11300
- <name>_compose_parent_option_list</name>
11301
- <full_name>_compose_parent_option_list</full_name>
11302
- <docblock line="2324">
11303
- <description><![CDATA[Compose an hierarchical taxonomy Parent options list with current selection]]></description>
11304
- <long-description><![CDATA[]]></long-description>
11305
- <tag line="2324" name="since" description="1.00"/>
11306
- <tag line="2324" name="uses" description="\global\$mla_option_templates" refers="\global\$mla_option_templates"/>
11307
- <tag line="2324" name="param" description="taxonomy slug" type="string" variable="$taxonomy">
11308
- <type by_reference="false">string</type>
11309
- </tag>
11310
- <tag line="2324" name="param" description="current selection or 0 (zero, default)" type="integer" variable="$selection">
11311
- <type by_reference="false">integer</type>
11312
- </tag>
11313
- <tag line="2324" name="return" description="HTML markup with select field options" type="string">
11314
- <type by_reference="false">string</type>
11315
- </tag>
11316
- </docblock>
11317
- <argument line="2335">
11318
- <name>$taxonomy</name>
11319
- <default><![CDATA[]]></default>
11320
- <type/>
11321
- </argument>
11322
- <argument line="2335">
11323
- <name>$selection</name>
11324
- <default><![CDATA[0]]></default>
11325
- <type/>
11326
- </argument>
11327
- </method>
11328
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="2381" package="Media Library Assistant">
11329
- <name>_update_iptc_exif_standard_mapping</name>
11330
- <full_name>_update_iptc_exif_standard_mapping</full_name>
11331
- <docblock line="2371">
11332
- <description><![CDATA[Update Standard field portion of IPTC/EXIF mappings]]></description>
11333
- <long-description><![CDATA[]]></long-description>
11334
- <tag line="2371" name="since" description="1.00"/>
11335
- <tag line="2371" name="param" description="current iptc_exif_mapping values" type="array" variable="$current_values">
11336
- <type by_reference="false">array</type>
11337
- </tag>
11338
- <tag line="2371" name="param" description="new values" type="array" variable="$new_values">
11339
- <type by_reference="false">array</type>
11340
- </tag>
11341
- <tag line="2371" name="return" description="( 'message' =&gt; HTML message(s) reflecting results, 'values' =&gt; updated iptc_exif_mapping values, 'changed' =&gt; true if any changes detected else false )" type="array">
11342
- <type by_reference="false">array</type>
11343
- </tag>
11344
- </docblock>
11345
- <argument line="2381">
11346
- <name>$current_values</name>
11347
- <default><![CDATA[]]></default>
11348
- <type/>
11349
- </argument>
11350
- <argument line="2381">
11351
- <name>$new_values</name>
11352
- <default><![CDATA[]]></default>
11353
- <type/>
11354
- </argument>
11355
- </method>
11356
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="2475" package="Media Library Assistant">
11357
- <name>_update_iptc_exif_taxonomy_mapping</name>
11358
- <full_name>_update_iptc_exif_taxonomy_mapping</full_name>
11359
- <docblock line="2465">
11360
- <description><![CDATA[Update Taxonomy term portion of IPTC/EXIF mappings]]></description>
11361
- <long-description><![CDATA[]]></long-description>
11362
- <tag line="2465" name="since" description="1.00"/>
11363
- <tag line="2465" name="param" description="current iptc_exif_mapping values" type="array" variable="$current_values">
11364
- <type by_reference="false">array</type>
11365
- </tag>
11366
- <tag line="2465" name="param" description="new values" type="array" variable="$new_values">
11367
- <type by_reference="false">array</type>
11368
- </tag>
11369
- <tag line="2465" name="return" description="( 'message' =&gt; HTML message(s) reflecting results, 'values' =&gt; updated iptc_exif_mapping values, 'changed' =&gt; true if any changes detected else false )" type="array">
11370
- <type by_reference="false">array</type>
11371
- </tag>
11372
- </docblock>
11373
- <argument line="2475">
11374
- <name>$current_values</name>
11375
- <default><![CDATA[]]></default>
11376
- <type/>
11377
- </argument>
11378
- <argument line="2475">
11379
- <name>$new_values</name>
11380
- <default><![CDATA[]]></default>
11381
- <type/>
11382
- </argument>
11383
- </method>
11384
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="2591" package="Media Library Assistant">
11385
- <name>_update_iptc_exif_custom_mapping</name>
11386
- <full_name>_update_iptc_exif_custom_mapping</full_name>
11387
- <docblock line="2581">
11388
- <description><![CDATA[Update Custom field portion of IPTC/EXIF mappings]]></description>
11389
- <long-description><![CDATA[]]></long-description>
11390
- <tag line="2581" name="since" description="1.00"/>
11391
- <tag line="2581" name="param" description="current iptc_exif_mapping values" type="array" variable="$current_values">
11392
- <type by_reference="false">array</type>
11393
- </tag>
11394
- <tag line="2581" name="param" description="new values" type="array" variable="$new_values">
11395
- <type by_reference="false">array</type>
11396
- </tag>
11397
- <tag line="2581" name="return" description="( 'message' =&gt; HTML message(s) reflecting results, 'values' =&gt; updated iptc_exif_mapping values, 'changed' =&gt; true if any changes detected else false )" type="array">
11398
- <type by_reference="false">array</type>
11399
- </tag>
11400
- </docblock>
11401
- <argument line="2591">
11402
- <name>$current_values</name>
11403
- <default><![CDATA[]]></default>
11404
- <type/>
11405
- </argument>
11406
- <argument line="2591">
11407
- <name>$new_values</name>
11408
- <default><![CDATA[]]></default>
11409
- <type/>
11410
- </argument>
11411
- </method>
11412
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="2755" package="Media Library Assistant">
11413
- <name>_get_custom_field_names</name>
11414
- <full_name>_get_custom_field_names</full_name>
11415
- <docblock line="2745">
11416
- <description><![CDATA[Generate a list of all (post) Custom Field names]]></description>
11417
- <long-description><![CDATA[<p>The list will include any Custom Field and IPTC/EXIF rules that
11418
- haven't been mapped to any attachments, yet.</p>]]></long-description>
11419
- <tag line="2745" name="since" description="1.00"/>
11420
- <tag line="2745" name="return" description="Custom field names from the postmeta table and MLA rules" type="array">
11421
- <type by_reference="false">array</type>
11422
- </tag>
11423
- </docblock>
11424
- </method>
11425
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="2804" package="Media Library Assistant">
11426
- <name>mla_iptc_exif_option_handler</name>
11427
- <full_name>mla_iptc_exif_option_handler</full_name>
11428
- <docblock line="2791">
11429
- <description><![CDATA[Render and manage iptc/exif support options]]></description>
11430
- <long-description><![CDATA[]]></long-description>
11431
- <tag line="2791" name="since" description="1.00"/>
11432
- <tag line="2791" name="uses" description="\global\$mla_option_templates" refers="\global\$mla_option_templates"/>
11433
- <tag line="2791" name="param" description="'render', 'update', 'delete', or 'reset'" type="string" variable="$action">
11434
- <type by_reference="false">string</type>
11435
- </tag>
11436
- <tag line="2791" name="param" description="option name, e.g., 'iptc_exif_mapping'" type="string" variable="$key">
11437
- <type by_reference="false">string</type>
11438
- </tag>
11439
- <tag line="2791" name="param" description="option parameters" type="array" variable="$value">
11440
- <type by_reference="false">array</type>
11441
- </tag>
11442
- <tag line="2791" name="param" description="Optional. null (default) for 'render' else option data, e.g., $_REQUEST" type="array" variable="$args">
11443
- <type by_reference="false">array</type>
11444
- </tag>
11445
- <tag line="2791" name="return" description="HTML table row markup for 'render' else message(s) reflecting the results of the operation." type="string">
11446
- <type by_reference="false">string</type>
11447
- </tag>
11448
- </docblock>
11449
- <argument line="2804">
11450
- <name>$action</name>
11451
- <default><![CDATA[]]></default>
11452
- <type/>
11453
- </argument>
11454
- <argument line="2804">
11455
- <name>$key</name>
11456
- <default><![CDATA[]]></default>
11457
- <type/>
11458
- </argument>
11459
- <argument line="2804">
11460
- <name>$value</name>
11461
- <default><![CDATA[]]></default>
11462
- <type/>
11463
- </argument>
11464
- <argument line="2804">
11465
- <name>$args</name>
11466
- <default><![CDATA[NULL]]></default>
11467
- <type/>
11468
- </argument>
11469
- </method>
11470
- </class>
11471
- </file>
11472
- <file path="includes\class-mla-polylang-support.php" hash="65f3ae388141af10260d6570a476f5c0" package="Media Library Assistant">
11473
- <docblock line="2">
11474
- <description><![CDATA[Media Library Assistant Polylang Support classes]]></description>
11475
- <long-description><![CDATA[<p>This file is conditionally loaded in MLA::initialize after a check for Polylang presence.</p>]]></long-description>
11476
- <tag line="2" name="package" description="Media Library Assistant"/>
11477
- <tag line="2" name="since" description="2.11"/>
11478
- </docblock>
11479
- <class final="false" abstract="false" namespace="global" line="18" package="Media Library Assistant">
11480
- <extends/>
11481
- <name>MLA_Polylang</name>
11482
- <full_name>\MLA_Polylang</full_name>
11483
- <docblock line="11">
11484
- <description><![CDATA[Class MLA (Media Library Assistant) Polylang provides support for the
11485
- Polylang Multilingual plugin]]></description>
11486
- <long-description><![CDATA[]]></long-description>
11487
- <tag line="11" name="package" description="Media Library Assistant"/>
11488
- <tag line="11" name="since" description="2.11"/>
11489
- </docblock>
11490
- <constant namespace="global" line="26" package="Media Library Assistant">
11491
- <name>MLA_PLL_QUICK_TRANSLATE</name>
11492
- <full_name>MLA_PLL_QUICK_TRANSLATE</full_name>
11493
- <value><![CDATA['mla-polylang-quick-translate']]></value>
11494
- <docblock line="19">
11495
- <description><![CDATA[Uniquely identifies the Quick Translate action]]></description>
11496
- <long-description><![CDATA[]]></long-description>
11497
- <tag line="19" name="since" description="2.11"/>
11498
- <tag line="19" name="var" description="" type="string">
11499
- <type by_reference="false">string</type>
11500
- </tag>
11501
- </docblock>
11502
- </constant>
11503
- <property final="false" static="true" visibility="private" line="153" namespace="global" package="Media Library Assistant">
11504
- <name>$all_query_parameters</name>
11505
- <default><![CDATA[array()]]></default>
11506
- <docblock line="146">
11507
- <description><![CDATA[Save the query arguments]]></description>
11508
- <long-description><![CDATA[]]></long-description>
11509
- <tag line="146" name="since" description="2.11"/>
11510
- <tag line="146" name="var" description="" type="array">
11511
- <type by_reference="false">array</type>
11512
- </tag>
11513
- </docblock>
11514
- </property>
11515
- <property final="false" static="true" visibility="private" line="409" namespace="global" package="Media Library Assistant">
11516
- <name>$duplicate_attachments</name>
11517
- <default><![CDATA[array()]]></default>
11518
- <docblock line="402">
11519
- <description><![CDATA[Duplicates created during media upload]]></description>
11520
- <long-description><![CDATA[]]></long-description>
11521
- <tag line="402" name="since" description="2.11"/>
11522
- <tag line="402" name="var" description="[ $post_id ] =&gt; $language;" type="array">
11523
- <type by_reference="false">array</type>
11524
- </tag>
11525
- </docblock>
11526
- </property>
11527
- <property final="false" static="true" visibility="private" line="510" namespace="global" package="Media Library Assistant">
11528
- <name>$current_mapping_rule</name>
11529
- <default><![CDATA[array()]]></default>
11530
- <docblock line="503">
11531
- <description><![CDATA[Current mapping rule for term creation]]></description>
11532
- <long-description><![CDATA[]]></long-description>
11533
- <tag line="503" name="since" description="2.20"/>
11534
- <tag line="503" name="var" description="mapping rule" type="array">
11535
- <type by_reference="false">array</type>
11536
- </tag>
11537
- </docblock>
11538
- </property>
11539
- <property final="false" static="true" visibility="private" line="683" namespace="global" package="Media Library Assistant">
11540
- <name>$relevant_terms</name>
11541
- <default><![CDATA[array()]]></default>
11542
- <docblock line="673">
11543
- <description><![CDATA[Taxonomy terms and translations]]></description>
11544
- <long-description><![CDATA[<p>NOTE: WPML uses term_taxonomy_id as the "element_id" in its translations;
11545
- Polylang uses term_id as the "element_id".</p>]]></long-description>
11546
- <tag line="673" name="since" description="2.11"/>
11547
- <tag line="673" name="var" description="[ $term_taxonomy_id ] =&gt; array( $term, $translations )" type="array">
11548
- <type by_reference="false">array</type>
11549
- </tag>
11550
- </docblock>
11551
- </property>
11552
- <property final="false" static="true" visibility="private" line="815" namespace="global" package="Media Library Assistant">
11553
- <name>$existing_terms</name>
11554
- <default><![CDATA[array('element_id' => 0)]]></default>
11555
- <docblock line="804">
11556
- <description><![CDATA[Taxonomy terms for the current item translation in the database]]></description>
11557
- <long-description><![CDATA[]]></long-description>
11558
- <tag line="804" name="since" description="2.11"/>
11559
- <tag line="804" name="var" description="['element_id'] =&gt; $post_id; [ 'language_code' ] =&gt; WPML item language or default language, e.g., 'en' [ 'slug' ] =&gt; Polylang item language or default language, e.g., 'en' [ $language ][ translation_details ] [ $language ][ $taxonomy ][ $term_taxonomy_id ] =&gt; $term" type="array">
11560
- <type by_reference="false">array</type>
11561
- </tag>
11562
- </docblock>
11563
- </property>
11564
- <property final="false" static="true" visibility="private" line="976" namespace="global" package="Media Library Assistant">
11565
- <name>$tax_input</name>
11566
- <default><![CDATA[array('tax_input_post_id' => 0)]]></default>
11567
- <docblock line="967">
11568
- <description><![CDATA[Replacement tax_input values in all languages]]></description>
11569
- <long-description><![CDATA[]]></long-description>
11570
- <tag line="967" name="since" description="2.11"/>
11571
- <tag line="967" name="var" description="['tax_input_post_id'] =&gt; $post_id; [ $language ][ $taxonomy ] =&gt; array of integer term_ids (hierarchical) [ $language ][ $taxonomy ] =&gt; comma-delimited string of term names (flat)" type="array">
11572
- <type by_reference="false">array</type>
11573
- </tag>
11574
- </docblock>
11575
- </property>
11576
- <property final="false" static="true" visibility="private" line="1564" namespace="global" package="Media Library Assistant">
11577
- <name>$bulk_edit_map</name>
11578
- <default><![CDATA[NULL]]></default>
11579
- <docblock line="1557">
11580
- <description><![CDATA[Custom Field Map during Bulk Edit, "Upload New Media"]]></description>
11581
- <long-description><![CDATA[]]></long-description>
11582
- <tag line="1557" name="since" description="2.11"/>
11583
- <tag line="1557" name="var" description="[ id ] =&gt; field name" type="array">
11584
- <type by_reference="false">array</type>
11585
- </tag>
11586
- </docblock>
11587
- </property>
11588
- <property final="false" static="true" visibility="private" line="1573" namespace="global" package="Media Library Assistant">
11589
- <name>$bulk_edit_request</name>
11590
- <default><![CDATA[NULL]]></default>
11591
- <docblock line="1566">
11592
- <description><![CDATA[Bulk Edit parameters during Bulk Edit, "Upload New Media"]]></description>
11593
- <long-description><![CDATA[]]></long-description>
11594
- <tag line="1566" name="since" description="2.11"/>
11595
- <tag line="1566" name="var" description="[ field ] =&gt; new value" type="array">
11596
- <type by_reference="false">array</type>
11597
- </tag>
11598
- </docblock>
11599
- </property>
11600
- <property final="false" static="true" visibility="private" line="1661" namespace="global" package="Media Library Assistant">
11601
- <name>$bulk_action_includes</name>
11602
- <default><![CDATA[array()]]></default>
11603
- <docblock line="1654">
11604
- <description><![CDATA[Items returned by custom bulk action(s)]]></description>
11605
- <long-description><![CDATA[]]></long-description>
11606
- <tag line="1654" name="since" description="2.11"/>
11607
- <tag line="1654" name="var" description="" type="array">
11608
- <type by_reference="false">array</type>
11609
- </tag>
11610
- </docblock>
11611
- </property>
11612
- <property final="false" static="true" visibility="protected" line="1882" namespace="global" package="Media Library Assistant">
11613
- <name>$language_columns</name>
11614
- <default><![CDATA[NULL]]></default>
11615
- <docblock line="1875">
11616
- <description><![CDATA[Table language column definitions]]></description>
11617
- <long-description><![CDATA[]]></long-description>
11618
- <tag line="1875" name="since" description="2.11"/>
11619
- <tag line="1875" name="var" description="" type="array">
11620
- <type by_reference="false">array</type>
11621
- </tag>
11622
- </docblock>
11623
- </property>
11624
- <property final="false" static="true" visibility="private" line="2016" namespace="global" package="Media Library Assistant">
11625
- <name>$list_table_parameters</name>
11626
- <default><![CDATA[array('total_items' => NULL, 'per_page' => NULL, 'current_page' => NULL)]]></default>
11627
- <docblock line="2009">
11628
- <description><![CDATA[Data selection parameters for custom views]]></description>
11629
- <long-description><![CDATA[]]></long-description>
11630
- <tag line="2009" name="since" description="2.11"/>
11631
- <tag line="2009" name="var" description="" type="array">
11632
- <type by_reference="false">array</type>
11633
- </tag>
11634
- </docblock>
11635
- </property>
11636
- <property final="false" static="true" visibility="public" line="2224" namespace="global" package="Media Library Assistant">
11637
- <name>$mla_language_option_definitions</name>
11638
- <default><![CDATA[array()]]></default>
11639
- <docblock line="2214">
11640
- <description><![CDATA[$mla_language_option_definitions defines the language-specific database options and
11641
- admin page areas for setting/updating them]]></description>
11642
- <long-description><![CDATA[<p>The array must be populated at runtime in MLA_Polylang::mla_localize_language_option_definitions(),
11643
- because localization calls cannot be placed in the "public static" array definition itself.</p>
11644
-
11645
- <p>Each option is defined by an array with the elements documented in class-mla-options.php</p>]]></long-description>
11646
- </docblock>
11647
- </property>
11648
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="35" package="Media Library Assistant">
11649
- <name>initialize</name>
11650
- <full_name>initialize</full_name>
11651
- <docblock line="28">
11652
- <description><![CDATA[Initialization function, similar to __construct()]]></description>
11653
- <long-description><![CDATA[]]></long-description>
11654
- <tag line="28" name="since" description="2.11"/>
11655
- <tag line="28" name="return" description="" type="void">
11656
- <type by_reference="false">void</type>
11657
- </tag>
11658
- </docblock>
11659
- </method>
11660
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="140" package="Media Library Assistant">
11661
- <name>mla_get_terms_query_arguments</name>
11662
- <full_name>mla_get_terms_query_arguments</full_name>
11663
- <docblock line="128">
11664
- <description><![CDATA[MLA Tag Cloud Query Arguments]]></description>
11665
- <long-description><![CDATA[<p>Saves [mla_tag_cloud] query parameters for use in MLA_Polylang::mla_get_terms_clauses.</p>]]></long-description>
11666
- <tag line="128" name="since" description="2.11"/>
11667
- <tag line="128" name="uses" description="\global\MLA_Polylang::$all_query_parameters" refers="\global\MLA_Polylang::$all_query_parameters"/>
11668
- <tag line="128" name="param" description="shortcode arguments merged with attachment selection defaults, so every possible parameter is present" type="array" variable="$all_query_parameters">
11669
- <type by_reference="false">array</type>
11670
- </tag>
11671
- <tag line="128" name="return" description="updated attachment query arguments" type="array">
11672
- <type by_reference="false">array</type>
11673
- </tag>
11674
- </docblock>
11675
- <argument line="140">
11676
- <name>$all_query_parameters</name>
11677
- <default><![CDATA[]]></default>
11678
- <type/>
11679
- </argument>
11680
- </method>
11681
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="166" package="Media Library Assistant">
11682
- <name>mla_get_terms_clauses</name>
11683
- <full_name>mla_get_terms_clauses</full_name>
11684
- <docblock line="155">
11685
- <description><![CDATA[MLA Tag Cloud Query Clauses]]></description>
11686
- <long-description><![CDATA[<p>Adds language-specific clauses to filter the cloud terms.</p>]]></long-description>
11687
- <tag line="155" name="since" description="2.11"/>
11688
- <tag line="155" name="param" description="SQL clauses ( 'fields', 'join', 'where', 'order', 'orderby', 'limits' )" type="array" variable="$clauses">
11689
- <type by_reference="false">array</type>
11690
- </tag>
11691
- <tag line="155" name="return" description="updated SQL clauses" type="array">
11692
- <type by_reference="false">array</type>
11693
- </tag>
11694
- </docblock>
11695
- <argument line="166">
11696
- <name>$clauses</name>
11697
- <default><![CDATA[]]></default>
11698
- <type/>
11699
- </argument>
11700
- </method>
11701
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="181" package="Media Library Assistant">
11702
- <name>admin_init</name>
11703
- <full_name>admin_init</full_name>
11704
- <docblock line="174">
11705
- <description><![CDATA[Load the plugin's Ajax handler(s)]]></description>
11706
- <long-description><![CDATA[]]></long-description>
11707
- <tag line="174" name="since" description="2.11"/>
11708
- <tag line="174" name="return" description="" type="void">
11709
- <type by_reference="false">void</type>
11710
- </tag>
11711
- </docblock>
11712
- </method>
11713
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="216" package="Media Library Assistant">
11714
- <name>_get_translation</name>
11715
- <full_name>_get_translation</full_name>
11716
- <docblock line="206">
11717
- <description><![CDATA[Find or create an item translation]]></description>
11718
- <long-description><![CDATA[]]></long-description>
11719
- <tag line="206" name="since" description="2.11"/>
11720
- <tag line="206" name="param" description="item ID" type="integer" variable="$post_id">
11721
- <type by_reference="false">integer</type>
11722
- </tag>
11723
- <tag line="206" name="param" description="Slug of the desired language" type="string" variable="$new_language">
11724
- <type by_reference="false">string</type>
11725
- </tag>
11726
- <tag line="206" name="return" description="ID of the corresponding item in the desired language" type="integer">
11727
- <type by_reference="false">integer</type>
11728
- </tag>
11729
- </docblock>
11730
- <argument line="216">
11731
- <name>$post_id</name>
11732
- <default><![CDATA[]]></default>
11733
- <type/>
11734
- </argument>
11735
- <argument line="216">
11736
- <name>$new_language</name>
11737
- <default><![CDATA[]]></default>
11738
- <type/>
11739
- </argument>
11740
- </method>
11741
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="277" package="Media Library Assistant">
11742
- <name>quick_translate</name>
11743
- <full_name>quick_translate</full_name>
11744
- <docblock line="270">
11745
- <description><![CDATA[Ajax handler to Quick Translate a single attachment]]></description>
11746
- <long-description><![CDATA[]]></long-description>
11747
- <tag line="270" name="since" description="2.11"/>
11748
- <tag line="270" name="return" description="echo HTML &lt;td&gt; innerHTML for updated call or error message, then die()" type="void">
11749
- <type by_reference="false">void</type>
11750
- </tag>
11751
- </docblock>
11752
- </method>
11753
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="365" package="Media Library Assistant">
11754
- <name>admin_enqueue_scripts</name>
11755
- <full_name>admin_enqueue_scripts</full_name>
11756
- <docblock line="356">
11757
- <description><![CDATA[Load the plugin's Style Sheet and Javascript files]]></description>
11758
- <long-description><![CDATA[]]></long-description>
11759
- <tag line="356" name="since" description="2.11"/>
11760
- <tag line="356" name="param" description="Name of the page being loaded" type="string" variable="$page_hook">
11761
- <type by_reference="false">string</type>
11762
- </tag>
11763
- <tag line="356" name="return" description="" type="void">
11764
- <type by_reference="false">void</type>
11765
- </tag>
11766
- </docblock>
11767
- <argument line="365">
11768
- <name>$page_hook</name>
11769
- <default><![CDATA[]]></default>
11770
- <type/>
11771
- </argument>
11772
- </method>
11773
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="420" package="Media Library Assistant">
11774
- <name>pll_translate_media</name>
11775
- <full_name>pll_translate_media</full_name>
11776
- <docblock line="411">
11777
- <description><![CDATA[Copies taxonomy terms from the source item to the new translated item]]></description>
11778
- <long-description><![CDATA[]]></long-description>
11779
- <tag line="411" name="since" description="2.11"/>
11780
- <tag line="411" name="param" description="ID of the new item" type="integer" variable="$duplicated_attachment_id">
11781
- <type by_reference="false">integer</type>
11782
- </tag>
11783
- <tag line="411" name="param" description="post object of the new item" type="object" variable="$duplicated_attachment_object">
11784
- <type by_reference="false">object</type>
11785
- </tag>
11786
- <tag line="411" name="param" description="an associative array of translations with language code as key and translation id as value" type="array" variable="$translations">
11787
- <type by_reference="false">array</type>
11788
- </tag>
11789
- </docblock>
11790
- <argument line="420">
11791
- <name>$duplicated_attachment_id</name>
11792
- <default><![CDATA[]]></default>
11793
- <type/>
11794
- </argument>
11795
- <argument line="420">
11796
- <name>$duplicated_attachment_object</name>
11797
- <default><![CDATA[]]></default>
11798
- <type/>
11799
- </argument>
11800
- <argument line="420">
11801
- <name>$translations</name>
11802
- <default><![CDATA[]]></default>
11803
- <type/>
11804
- </argument>
11805
- </method>
11806
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="463" package="Media Library Assistant">
11807
- <name>mla_get_shortcode_attachments_final_terms</name>
11808
- <full_name>mla_get_shortcode_attachments_final_terms</full_name>
11809
- <docblock line="455">
11810
- <description><![CDATA[Force "All languages" mode for IPTC/EXIF mapping, which uses mla_get_shortcode_attachments]]></description>
11811
- <long-description><![CDATA[]]></long-description>
11812
- <tag line="455" name="since" description="2.20"/>
11813
- <tag line="455" name="param" description="Arguments for mla_get_shortcode_attachments" type="array" variable="$arguments">
11814
- <type by_reference="false">array</type>
11815
- </tag>
11816
- <tag line="455" name="param" description="true to calculate and return ['found_posts'] as an array element" type="boolean" variable="$return_found_rows">
11817
- <type by_reference="false">boolean</type>
11818
- </tag>
11819
- </docblock>
11820
- <argument line="463">
11821
- <name>$arguments</name>
11822
- <default><![CDATA[]]></default>
11823
- <type/>
11824
- </argument>
11825
- <argument line="463">
11826
- <name>$return_found_rows</name>
11827
- <default><![CDATA[]]></default>
11828
- <type/>
11829
- </argument>
11830
- </method>
11831
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="481" package="Media Library Assistant">
11832
- <name>mla_begin_mapping</name>
11833
- <full_name>mla_begin_mapping</full_name>
11834
- <docblock line="469">
11835
- <description><![CDATA[Force "All languages" mode for IPTC/EXIF mapping, which uses mla_get_shortcode_attachments]]></description>
11836
- <long-description><![CDATA[]]></long-description>
11837
- <tag line="469" name="since" description="2.20"/>
11838
- <tag line="469" name="param" description="what kind of mapping action is starting: single_custom, single_iptc_exif, bulk_custom, bulk_iptc_exif, create_metadata, update_metadata, custom_fields, custom_rule, iptc_exif_standard, iptc_exif_taxonomy, iptc_exif_custom, iptc_exif_custom_rule" type="string" variable="$source">
11839
- <type by_reference="false">string</type>
11840
- </tag>
11841
- <tag line="469" name="param" description="Attachment ID or NULL, depending on scope" type="mixed" variable="$post_id">
11842
- <type by_reference="false">mixed</type>
11843
- </tag>
11844
- </docblock>
11845
- <argument line="481">
11846
- <name>$source</name>
11847
- <default><![CDATA[]]></default>
11848
- <type/>
11849
- </argument>
11850
- <argument line="481">
11851
- <name>$post_id</name>
11852
- <default><![CDATA[NULL]]></default>
11853
- <type/>
11854
- </argument>
11855
- </method>
11856
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="499" package="Media Library Assistant">
11857
- <name>mla_mapping_rule</name>
11858
- <full_name>mla_mapping_rule</full_name>
11859
- <docblock line="489">
11860
- <description><![CDATA[Saves the current mapping rule for term creation]]></description>
11861
- <long-description><![CDATA[]]></long-description>
11862
- <tag line="489" name="since" description="2.20"/>
11863
- <tag line="489" name="param" description="mapping rule" type="array" variable="$setting_value">
11864
- <type by_reference="false">array</type>
11865
- </tag>
11866
- <tag line="489" name="param" description="post ID to be evaluated" type="integer" variable="$post_id">
11867
- <type by_reference="false">integer</type>
11868
- </tag>
11869
- <tag line="489" name="param" description="category/scope to evaluate against: iptc_exif_standard_mapping, iptc_exif_taxonomy_mapping or iptc_exif_custom_mapping" type="string" variable="$category">
11870
- <type by_reference="false">string</type>
11871
- </tag>
11872
- <tag line="489" name="param" description="attachment_metadata, default NULL" type="array" variable="$attachment_metadata">
11873
- <type by_reference="false">array</type>
11874
- </tag>
11875
- </docblock>
11876
- <argument line="499">
11877
- <name>$setting_value</name>
11878
- <default><![CDATA[]]></default>
11879
- <type/>
11880
- </argument>
11881
- <argument line="499">
11882
- <name>$post_id</name>
11883
- <default><![CDATA[]]></default>
11884
- <type/>
11885
- </argument>
11886
- <argument line="499">
11887
- <name>$category</name>
11888
- <default><![CDATA[]]></default>
11889
- <type/>
11890
- </argument>
11891
- <argument line="499">
11892
- <name>$attachment_metadata</name>
11893
- <default><![CDATA[]]></default>
11894
- <type/>
11895
- </argument>
11896
- </method>
11897
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="525" package="Media Library Assistant">
11898
- <name>mla_mapping_new_text</name>
11899
- <full_name>mla_mapping_new_text</full_name>
11900
- <docblock line="512">
11901
- <description><![CDATA[Manages the creation of new taxonomy terms from metadata values]]></description>
11902
- <long-description><![CDATA[]]></long-description>
11903
- <tag line="512" name="since" description="2.20"/>
11904
- <tag line="512" name="param" description="string or array value returned by the rule" type="mixed" variable="$new_text">
11905
- <type by_reference="false">mixed</type>
11906
- </tag>
11907
- <tag line="512" name="param" description="field name or taxonomy name" type="string" variable="$setting_key">
11908
- <type by_reference="false">string</type>
11909
- </tag>
11910
- <tag line="512" name="param" description="post ID to be evaluated" type="integer" variable="$post_id">
11911
- <type by_reference="false">integer</type>
11912
- </tag>
11913
- <tag line="512" name="param" description="category/scope to evaluate against: iptc_exif_standard_mapping, iptc_exif_taxonomy_mapping or iptc_exif_custom_mapping" type="string" variable="$category">
11914
- <type by_reference="false">string</type>
11915
- </tag>
11916
- <tag line="512" name="param" description="attachment_metadata, default NULL" type="array" variable="$attachment_metadata">
11917
- <type by_reference="false">array</type>
11918
- </tag>
11919
- <tag line="512" name="return" description="updated rule EXIF/Template value" type="array">
11920
- <type by_reference="false">array</type>
11921
- </tag>
11922
- </docblock>
11923
- <argument line="525">
11924
- <name>$new_text</name>
11925
- <default><![CDATA[]]></default>
11926
- <type/>
11927
- </argument>
11928
- <argument line="525">
11929
- <name>$setting_key</name>
11930
- <default><![CDATA[]]></default>
11931
- <type/>
11932
- </argument>
11933
- <argument line="525">
11934
- <name>$post_id</name>
11935
- <default><![CDATA[]]></default>
11936
- <type/>
11937
- </argument>
11938
- <argument line="525">
11939
- <name>$category</name>
11940
- <default><![CDATA[]]></default>
11941
- <type/>
11942
- </argument>
11943
- <argument line="525">
11944
- <name>$attachment_metadata</name>
11945
- <default><![CDATA[]]></default>
11946
- <type/>
11947
- </argument>
11948
- </method>
11949
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="669" package="Media Library Assistant">
11950
- <name>mla_end_mapping</name>
11951
- <full_name>mla_end_mapping</full_name>
11952
- <docblock line="662">
11953
- <description><![CDATA[Remove "All languages" filter]]></description>
11954
- <long-description><![CDATA[]]></long-description>
11955
- <tag line="662" name="since" description="2.20"/>
11956
- <tag line="662" name="return" description="" type="void">
11957
- <type by_reference="false">void</type>
11958
- </tag>
11959
- </docblock>
11960
- </method>
11961
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="694" package="Media Library Assistant">
11962
- <name>_add_relevant_term</name>
11963
- <full_name>_add_relevant_term</full_name>
11964
- <docblock line="685">
11965
- <description><![CDATA[Adds a term and its translations to $relevant_terms]]></description>
11966
- <long-description><![CDATA[]]></long-description>
11967
- <tag line="685" name="since" description="2.11"/>
11968
- <tag line="685" name="uses" description="\global\MLA_Polylang::$relevant_terms" refers="\global\MLA_Polylang::$relevant_terms"/>
11969
- <tag line="685" name="param" description="WordPress term object" type="object" variable="$term">
11970
- <type by_reference="false">object</type>
11971
- </tag>
11972
- <tag line="685" name="param" description="Polylang translations object; optional" type="object" variable="$translations">
11973
- <type by_reference="false">object</type>
11974
- </tag>
11975
- </docblock>
11976
- <argument line="694">
11977
- <name>$term</name>
11978
- <default><![CDATA[]]></default>
11979
- <type/>
11980
- </argument>
11981
- <argument line="694">
11982
- <name>$translations</name>
11983
- <default><![CDATA[NULL]]></default>
11984
- <type/>
11985
- </argument>
11986
- </method>
11987
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="733" package="Media Library Assistant">
11988
- <name>_get_relevant_term</name>
11989
- <full_name>_get_relevant_term</full_name>
11990
- <docblock line="721">
11991
- <description><![CDATA[Finds a $relevant_term (if defined) given a key and (optional) a language]]></description>
11992
- <long-description><![CDATA[]]></long-description>
11993
- <tag line="721" name="since" description="2.11"/>
11994
- <tag line="721" name="uses" description="\global\MLA_Polylang::$relevant_terms" refers="\global\MLA_Polylang::$relevant_terms"/>
11995
- <tag line="721" name="param" description="to search in; 'id', 'name', or 'term_taxonomy_id'" type="string" variable="$field">
11996
- <type by_reference="false">string</type>
11997
- </tag>
11998
- <tag line="721" name="param" description="to search for; integer, string or integer" type="mixed" variable="$value">
11999
- <type by_reference="false">mixed</type>
12000
- </tag>
12001
- <tag line="721" name="param" description="to search in; slug" type="string" variable="$taxonomy">
12002
- <type by_reference="false">string</type>
12003
- </tag>
12004
- <tag line="721" name="param" description="code; string; optional" type="string" variable="$language">
12005
- <type by_reference="false">string</type>
12006
- </tag>
12007
- <tag line="721" name="param" description="false (default) to add missing term, true to leave term out" type="boolean" variable="$test_only">
12008
- <type by_reference="false">boolean</type>
12009
- </tag>
12010
- </docblock>
12011
- <argument line="733">
12012
- <name>$field</name>
12013
- <default><![CDATA[]]></default>
12014
- <type/>
12015
- </argument>
12016
- <argument line="733">
12017
- <name>$value</name>
12018
- <default><![CDATA[]]></default>
12019
- <type/>
12020
- </argument>
12021
- <argument line="733">
12022
- <name>$taxonomy</name>
12023
- <default><![CDATA[]]></default>
12024
- <type/>
12025
- </argument>
12026
- <argument line="733">
12027
- <name>$language</name>
12028
- <default><![CDATA[NULL]]></default>
12029
- <type/>
12030
- </argument>
12031
- <argument line="733">
12032
- <name>$test_only</name>
12033
- <default><![CDATA[false]]></default>
12034
- <type/>
12035
- </argument>
12036
- </method>
12037
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="831" package="Media Library Assistant">
12038
- <name>_build_existing_terms</name>
12039
- <full_name>_build_existing_terms</full_name>
12040
- <docblock line="817">
12041
- <description><![CDATA[Build the $existing_terms array]]></description>
12042
- <long-description><![CDATA[<p>Takes each translatable taxonomy and builds an array of
12043
- language-specific term_id to term_id/term_name mappings
12044
- for terms already assigned to the item translation.</p>]]></long-description>
12045
- <tag line="817" name="since" description="2.11"/>
12046
- <tag line="817" name="uses" description="\global\MLA_Polylang::$existing_terms" refers="\global\MLA_Polylang::$existing_terms"/>
12047
- <tag line="817" name="uses" description="\global\MLA_Polylang::$relevant_terms" refers="\global\MLA_Polylang::$relevant_terms"/>
12048
- <tag line="817" name="param" description="ID of the current post" type="integer" variable="$post_id">
12049
- <type by_reference="false">integer</type>
12050
- </tag>
12051
- </docblock>
12052
- <argument line="831">
12053
- <name>$post_id</name>
12054
- <default><![CDATA[]]></default>
12055
- <type/>
12056
- </argument>
12057
- </method>
12058
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="912" package="Media Library Assistant">
12059
- <name>_update_existing_terms</name>
12060
- <full_name>_update_existing_terms</full_name>
12061
- <docblock line="897">
12062
- <description><![CDATA[Update the $existing_terms array]]></description>
12063
- <long-description><![CDATA[<p>Takes each translatable taxonomy and rebuilds the array of
12064
- language-specific term_id to term_id/term_name mappings
12065
- for the "current translation" represented by the $post_id.</p>]]></long-description>
12066
- <tag line="897" name="since" description="2.11"/>
12067
- <tag line="897" name="uses" description="\global\MLA_Polylang::$existing_terms" refers="\global\MLA_Polylang::$existing_terms"/>
12068
- <tag line="897" name="uses" description="\global\MLA_Polylang::$relevant_terms" refers="\global\MLA_Polylang::$relevant_terms"/>
12069
- <tag line="897" name="param" description="ID of the current post" type="integer" variable="$post_id">
12070
- <type by_reference="false">integer</type>
12071
- </tag>
12072
- <tag line="897" name="return" description="( taxonomy =&gt; term assignments ) before the update" type="array">
12073
- <type by_reference="false">array</type>
12074
- </tag>
12075
- </docblock>
12076
- <argument line="912">
12077
- <name>$post_id</name>
12078
- <default><![CDATA[]]></default>
12079
- <type/>
12080
- </argument>
12081
- </method>
12082
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="992" package="Media Library Assistant">
12083
- <name>_build_tax_input</name>
12084
- <full_name>_build_tax_input</full_name>
12085
- <docblock line="978">
12086
- <description><![CDATA[Build the $tax_input array]]></description>
12087
- <long-description><![CDATA[<p>Takes each term from the $tax_inputs parameter and builds an array of
12088
- language-specific term_id to term_id/term_name mappings for all languages.</p>]]></long-description>
12089
- <tag line="978" name="since" description="2.11"/>
12090
- <tag line="978" name="uses" description="\global\MLA_Polylang::$tax_input" refers="\global\MLA_Polylang::$tax_input"/>
12091
- <tag line="978" name="uses" description="\global\MLA_Polylang::$existing_terms" refers="\global\MLA_Polylang::$existing_terms"/>
12092
- <tag line="978" name="param" description="ID of the current post" type="integer" variable="$post_id">
12093
- <type by_reference="false">integer</type>
12094
- </tag>
12095
- <tag line="978" name="param" description="'tax_input' request parameter" type="array" variable="$tax_inputs">
12096
- <type by_reference="false">array</type>
12097
- </tag>
12098
- <tag line="978" name="param" description="'tax_action' request parameter" type="array" variable="$tax_actions">
12099
- <type by_reference="false">array</type>
12100
- </tag>
12101
- </docblock>
12102
- <argument line="992">
12103
- <name>$post_id</name>
12104
- <default><![CDATA[]]></default>
12105
- <type/>
12106
- </argument>
12107
- <argument line="992">
12108
- <name>$tax_inputs</name>
12109
- <default><![CDATA[NULL]]></default>
12110
- <type/>
12111
- </argument>
12112
- <argument line="992">
12113
- <name>$tax_actions</name>
12114
- <default><![CDATA[NULL]]></default>
12115
- <type/>
12116
- </argument>
12117
- </method>
12118
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="1121" package="Media Library Assistant">
12119
- <name>_apply_tax_input</name>
12120
- <full_name>_apply_tax_input</full_name>
12121
- <docblock line="1109">
12122
- <description><![CDATA[Filter the $tax_input array to a specific language]]></description>
12123
- <long-description><![CDATA[]]></long-description>
12124
- <tag line="1109" name="since" description="2.11"/>
12125
- <tag line="1109" name="uses" description="\global\MLA_Polylang::$tax_input" refers="\global\MLA_Polylang::$tax_input"/>
12126
- <tag line="1109" name="uses" description="\global\MLA_Polylang::$existing_terms" refers="\global\MLA_Polylang::$existing_terms"/>
12127
- <tag line="1109" name="param" description="ID of the post to be updated" type="integer" variable="$post_id">
12128
- <type by_reference="false">integer</type>
12129
- </tag>
12130
- <tag line="1109" name="param" description="explicit language_code; optional" type="string" variable="$post_language">
12131
- <type by_reference="false">string</type>
12132
- </tag>
12133
- <tag line="1109" name="return" description="language-specific $tax_inputs" type="array">
12134
- <type by_reference="false">array</type>
12135
- </tag>
12136
- </docblock>
12137
- <argument line="1121">
12138
- <name>$post_id</name>
12139
- <default><![CDATA[]]></default>
12140
- <type/>
12141
- </argument>
12142
- <argument line="1121">
12143
- <name>$post_language</name>
12144
- <default><![CDATA[NULL]]></default>
12145
- <type/>
12146
- </argument>
12147
- </method>
12148
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="1151" package="Media Library Assistant">
12149
- <name>_apply_synch_input</name>
12150
- <full_name>_apply_synch_input</full_name>
12151
- <docblock line="1138">
12152
- <description><![CDATA[Compute Term Synchronization replacement $tax_inputs]]></description>
12153
- <long-description><![CDATA[<p>Assumes the "current post" in $existing_terms is the source
12154
- and $existing_terms contains the target translation</p>]]></long-description>
12155
- <tag line="1138" name="since" description="2.11"/>
12156
- <tag line="1138" name="uses" description="\global\MLA_Polylang::$existing_terms" refers="\global\MLA_Polylang::$existing_terms"/>
12157
- <tag line="1138" name="param" description="the target translation code" type="string" variable="$language">
12158
- <type by_reference="false">string</type>
12159
- </tag>
12160
- <tag line="1138" name="return" description="$tax_inputs for Term Synchronization" type="array">
12161
- <type by_reference="false">array</type>
12162
- </tag>
12163
- </docblock>
12164
- <argument line="1151">
12165
- <name>$language</name>
12166
- <default><![CDATA[]]></default>
12167
- <type/>
12168
- </argument>
12169
- </method>
12170
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="1273" package="Media Library Assistant">
12171
- <name>_apply_term_synchronization</name>
12172
- <full_name>_apply_term_synchronization</full_name>
12173
- <docblock line="1263">
12174
- <description><![CDATA[Apply Term Synchronization]]></description>
12175
- <long-description><![CDATA[]]></long-description>
12176
- <tag line="1263" name="since" description="2.15"/>
12177
- <tag line="1263" name="uses" description="\global\MLA_Polylang::$existing_terms" refers="\global\MLA_Polylang::$existing_terms"/>
12178
- <tag line="1263" name="param" description="the item we're synchronizing to" type="integer" variable="$post_id">
12179
- <type by_reference="false">integer</type>
12180
- </tag>
12181
- <tag line="1263" name="return" description="$tax_inputs for Term Synchronization" type="array">
12182
- <type by_reference="false">array</type>
12183
- </tag>
12184
- </docblock>
12185
- <argument line="1273">
12186
- <name>$post_id</name>
12187
- <default><![CDATA[]]></default>
12188
- <type/>
12189
- </argument>
12190
- </method>
12191
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1307" package="Media Library Assistant">
12192
- <name>mla_updated_single_item</name>
12193
- <full_name>mla_updated_single_item</full_name>
12194
- <docblock line="1299">
12195
- <description><![CDATA[Applies Term Synchronization after item updates]]></description>
12196
- <long-description><![CDATA[]]></long-description>
12197
- <tag line="1299" name="since" description="2.15"/>
12198
- <tag line="1299" name="param" description="ID of the item that was updated." type="integer" variable="$post_id">
12199
- <type by_reference="false">integer</type>
12200
- </tag>
12201
- <tag line="1299" name="param" description="Zero if the update failed else ID of the item that was updated." type="integer" variable="$result">
12202
- <type by_reference="false">integer</type>
12203
- </tag>
12204
- </docblock>
12205
- <argument line="1307">
12206
- <name>$post_id</name>
12207
- <default><![CDATA[]]></default>
12208
- <type/>
12209
- </argument>
12210
- <argument line="1307">
12211
- <name>$result</name>
12212
- <default><![CDATA[]]></default>
12213
- <type/>
12214
- </argument>
12215
- </method>
12216
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1326" package="Media Library Assistant">
12217
- <name>attachment_fields_to_save</name>
12218
- <full_name>attachment_fields_to_save</full_name>
12219
- <docblock line="1318">
12220
- <description><![CDATA[Captures "before update" term assignments from the Media/Edit Media screen]]></description>
12221
- <long-description><![CDATA[]]></long-description>
12222
- <tag line="1318" name="since" description="2.13"/>
12223
- <tag line="1318" name="param" description="The WP_Post object." type="\WP_Post" variable="$post">
12224
- <type by_reference="false">\WP_Post</type>
12225
- </tag>
12226
- <tag line="1318" name="param" description="An array of attachment metadata." type="array" variable="$attachment">
12227
- <type by_reference="false">array</type>
12228
- </tag>
12229
- </docblock>
12230
- <argument line="1326">
12231
- <name>$post</name>
12232
- <default><![CDATA[]]></default>
12233
- <type/>
12234
- </argument>
12235
- <argument line="1326">
12236
- <name>$attachment</name>
12237
- <default><![CDATA[]]></default>
12238
- <type/>
12239
- </argument>
12240
- </method>
12241
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1344" package="Media Library Assistant">
12242
- <name>edit_attachment</name>
12243
- <full_name>edit_attachment</full_name>
12244
- <docblock line="1336">
12245
- <description><![CDATA[Filters taxonomy updates by language for Bulk Edit during Add New Media
12246
- and the Media/Edit Media screen]]></description>
12247
- <long-description><![CDATA[]]></long-description>
12248
- <tag line="1336" name="since" description="2.11"/>
12249
- <tag line="1336" name="param" description="ID of the current post" type="integer" variable="$post_id">
12250
- <type by_reference="false">integer</type>
12251
- </tag>
12252
- </docblock>
12253
- <argument line="1344">
12254
- <name>$post_id</name>
12255
- <default><![CDATA[]]></default>
12256
- <type/>
12257
- </argument>
12258
- </method>
12259
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1425" package="Media Library Assistant">
12260
- <name>mla_media_modal_begin_update_compat_fields</name>
12261
- <full_name>mla_media_modal_begin_update_compat_fields</full_name>
12262
- <docblock line="1417">
12263
- <description><![CDATA[Captures the existing term assignments before the
12264
- Media Manager Modal Window ATTACHMENT DETAILS taxonomy meta boxes updates]]></description>
12265
- <long-description><![CDATA[]]></long-description>
12266
- <tag line="1417" name="since" description="2.11"/>
12267
- <tag line="1417" name="param" description="the current post" type="object" variable="$post">
12268
- <type by_reference="false">object</type>
12269
- </tag>
12270
- </docblock>
12271
- <argument line="1425">
12272
- <name>$post</name>
12273
- <default><![CDATA[]]></default>
12274
- <type/>
12275
- </argument>
12276
- </method>
12277
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1445" package="Media Library Assistant">
12278
- <name>mla_media_modal_update_compat_fields_terms</name>
12279
- <full_name>mla_media_modal_update_compat_fields_terms</full_name>
12280
- <docblock line="1434">
12281
- <description><![CDATA[Applies Term Assignment to the terms assigned to one
12282
- Media Manager Modal Window ATTACHMENT DETAILS taxonomy]]></description>
12283
- <long-description><![CDATA[]]></long-description>
12284
- <tag line="1434" name="since" description="2.11"/>
12285
- <tag line="1434" name="param" description="assigned term id/name values" type="array" variable="$terms">
12286
- <type by_reference="false">array</type>
12287
- </tag>
12288
- <tag line="1434" name="param" description="taxonomy slug" type="string" variable="$key">
12289
- <type by_reference="false">string</type>
12290
- </tag>
12291
- <tag line="1434" name="param" description="taxonomy object" type="object" variable="$value">
12292
- <type by_reference="false">object</type>
12293
- </tag>
12294
- <tag line="1434" name="param" description="current post ID" type="integer" variable="$post_id">
12295
- <type by_reference="false">integer</type>
12296
- </tag>
12297
- </docblock>
12298
- <argument line="1445">
12299
- <name>$terms</name>
12300
- <default><![CDATA[]]></default>
12301
- <type/>
12302
- </argument>
12303
- <argument line="1445">
12304
- <name>$key</name>
12305
- <default><![CDATA[]]></default>
12306
- <type/>
12307
- </argument>
12308
- <argument line="1445">
12309
- <name>$value</name>
12310
- <default><![CDATA[]]></default>
12311
- <type/>
12312
- </argument>
12313
- <argument line="1445">
12314
- <name>$post_id</name>
12315
- <default><![CDATA[]]></default>
12316
- <type/>
12317
- </argument>
12318
- </method>
12319
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1473" package="Media Library Assistant">
12320
- <name>mla_media_modal_end_update_compat_fields</name>
12321
- <full_name>mla_media_modal_end_update_compat_fields</full_name>
12322
- <docblock line="1463">
12323
- <description><![CDATA[Applies Term Synchronization after the
12324
- Media Manager Modal Window taxonomy updates]]></description>
12325
- <long-description><![CDATA[]]></long-description>
12326
- <tag line="1463" name="since" description="2.11"/>
12327
- <tag line="1463" name="param" description="HTML markup for the taxonomy meta box elements" type="string" variable="$results">
12328
- <type by_reference="false">string</type>
12329
- </tag>
12330
- <tag line="1463" name="param" description="supported taxonomy objects" type="array" variable="$taxonomies">
12331
- <type by_reference="false">array</type>
12332
- </tag>
12333
- <tag line="1463" name="param" description="current post object" type="object" variable="$post">
12334
- <type by_reference="false">object</type>
12335
- </tag>
12336
- </docblock>
12337
- <argument line="1473">
12338
- <name>$results</name>
12339
- <default><![CDATA[]]></default>
12340
- <type/>
12341
- </argument>
12342
- <argument line="1473">
12343
- <name>$taxonomies</name>
12344
- <default><![CDATA[]]></default>
12345
- <type/>
12346
- </argument>
12347
- <argument line="1473">
12348
- <name>$post</name>
12349
- <default><![CDATA[]]></default>
12350
- <type/>
12351
- </argument>
12352
- </method>
12353
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1497" package="Media Library Assistant">
12354
- <name>mla_list_table_inline_action</name>
12355
- <full_name>mla_list_table_inline_action</full_name>
12356
- <docblock line="1484">
12357
- <description><![CDATA[Captures the Quick Edit "before update" term assignments and
12358
- process the Language dropdown selection, if changed]]></description>
12359
- <long-description><![CDATA[]]></long-description>
12360
- <tag line="1484" name="since" description="2.11"/>
12361
- <tag line="1484" name="param" description="NULL, to indicate no handler." type="array" variable="$item_content">
12362
- <type by_reference="false">array</type>
12363
- </tag>
12364
- <tag line="1484" name="param" description="the affected attachment." type="integer" variable="$post_id">
12365
- <type by_reference="false">integer</type>
12366
- </tag>
12367
- <tag line="1484" name="return" description="updated $item_content. NULL if no handler, otherwise ( 'message' =&gt; error or status message(s), 'body' =&gt; '', 'prevent_default' =&gt; true to bypass the MLA handler )" type="object">
12368
- <type by_reference="false">object</type>
12369
- </tag>
12370
- </docblock>
12371
- <argument line="1497">
12372
- <name>$item_content</name>
12373
- <default><![CDATA[]]></default>
12374
- <type/>
12375
- </argument>
12376
- <argument line="1497">
12377
- <name>$post_id</name>
12378
- <default><![CDATA[]]></default>
12379
- <type/>
12380
- </argument>
12381
- </method>
12382
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1548" package="Media Library Assistant">
12383
- <name>mla_list_table_bulk_action_initial_request</name>
12384
- <full_name>mla_list_table_bulk_action_initial_request</full_name>
12385
- <docblock line="1537">
12386
- <description><![CDATA[Captures the Bulk Edit, "Upload New Media" parameters]]></description>
12387
- <long-description><![CDATA[]]></long-description>
12388
- <tag line="1537" name="since" description="2.11"/>
12389
- <tag line="1537" name="param" description="bulk action request parameters, including ['mla_bulk_action_do_cleanup']." type="array" variable="$request">
12390
- <type by_reference="false">array</type>
12391
- </tag>
12392
- <tag line="1537" name="param" description="the requested action." type="string" variable="$bulk_action">
12393
- <type by_reference="false">string</type>
12394
- </tag>
12395
- <tag line="1537" name="param" description="[ slug =&gt; field_name ]" type="array" variable="$custom_field_map">
12396
- <type by_reference="false">array</type>
12397
- </tag>
12398
- <tag line="1537" name="return" description="updated bulk action request parameters" type="array">
12399
- <type by_reference="false">array</type>
12400
- </tag>
12401
- </docblock>
12402
- <argument line="1548">
12403
- <name>$request</name>
12404
- <default><![CDATA[]]></default>
12405
- <type/>
12406
- </argument>
12407
- <argument line="1548">
12408
- <name>$bulk_action</name>
12409
- <default><![CDATA[]]></default>
12410
- <type/>
12411
- </argument>
12412
- <argument line="1548">
12413
- <name>$custom_field_map</name>
12414
- <default><![CDATA[]]></default>
12415
- <type/>
12416
- </argument>
12417
- </method>
12418
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1587" package="Media Library Assistant">
12419
- <name>mla_list_table_bulk_action_item_request</name>
12420
- <full_name>mla_list_table_bulk_action_item_request</full_name>
12421
- <docblock line="1575">
12422
- <description><![CDATA[Converts Bulk Edit taxonomy inputs to language-specific values]]></description>
12423
- <long-description><![CDATA[]]></long-description>
12424
- <tag line="1575" name="since" description="2.11"/>
12425
- <tag line="1575" name="param" description="bulk action request parameters, including ['mla_bulk_action_do_cleanup']." type="array" variable="$request">
12426
- <type by_reference="false">array</type>
12427
- </tag>
12428
- <tag line="1575" name="param" description="the requested action." type="string" variable="$bulk_action">
12429
- <type by_reference="false">string</type>
12430
- </tag>
12431
- <tag line="1575" name="param" description="the affected attachment." type="integer" variable="$post_id">
12432
- <type by_reference="false">integer</type>
12433
- </tag>
12434
- <tag line="1575" name="param" description="[ slug =&gt; field_name ]" type="array" variable="$custom_field_map">
12435
- <type by_reference="false">array</type>
12436
- </tag>
12437
- <tag line="1575" name="return" description="updated bulk action request parameters" type="array">
12438
- <type by_reference="false">array</type>
12439
- </tag>
12440
- </docblock>
12441
- <argument line="1587">
12442
- <name>$request</name>
12443
- <default><![CDATA[]]></default>
12444
- <type/>
12445
- </argument>
12446
- <argument line="1587">
12447
- <name>$bulk_action</name>
12448
- <default><![CDATA[]]></default>
12449
- <type/>
12450
- </argument>
12451
- <argument line="1587">
12452
- <name>$post_id</name>
12453
- <default><![CDATA[]]></default>
12454
- <type/>
12455
- </argument>
12456
- <argument line="1587">
12457
- <name>$custom_field_map</name>
12458
- <default><![CDATA[]]></default>
12459
- <type/>
12460
- </argument>
12461
- </method>
12462
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1633" package="Media Library Assistant">
12463
- <name>mla_list_table_bulk_action</name>
12464
- <full_name>mla_list_table_bulk_action</full_name>
12465
- <docblock line="1620">
12466
- <description><![CDATA[Sets the new item language from the Language dropdown selection.]]></description>
12467
- <long-description><![CDATA[]]></long-description>
12468
- <tag line="1620" name="since" description="2.11"/>
12469
- <tag line="1620" name="param" description="NULL, to indicate no handler." type="array" variable="$item_content">
12470
- <type by_reference="false">array</type>
12471
- </tag>
12472
- <tag line="1620" name="param" description="the requested action." type="string" variable="$bulk_action">
12473
- <type by_reference="false">string</type>
12474
- </tag>
12475
- <tag line="1620" name="param" description="the affected attachment." type="integer" variable="$post_id">
12476
- <type by_reference="false">integer</type>
12477
- </tag>
12478
- <tag line="1620" name="return" description="updated $item_content. NULL if no handler, otherwise ( 'message' =&gt; error or status message(s), 'body' =&gt; '', 'prevent_default' =&gt; true to bypass the MLA handler )" type="object">
12479
- <type by_reference="false">object</type>
12480
- </tag>
12481
- </docblock>
12482
- <argument line="1633">
12483
- <name>$item_content</name>
12484
- <default><![CDATA[]]></default>
12485
- <type/>
12486
- </argument>
12487
- <argument line="1633">
12488
- <name>$bulk_action</name>
12489
- <default><![CDATA[]]></default>
12490
- <type/>
12491
- </argument>
12492
- <argument line="1633">
12493
- <name>$post_id</name>
12494
- <default><![CDATA[]]></default>
12495
- <type/>
12496
- </argument>
12497
- </method>
12498
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1675" package="Media Library Assistant">
12499
- <name>mla_list_table_custom_bulk_action</name>
12500
- <full_name>mla_list_table_custom_bulk_action</full_name>
12501
- <docblock line="1663">
12502
- <description><![CDATA[Creates new items from the "Bulk Translate" list.]]></description>
12503
- <long-description><![CDATA[]]></long-description>
12504
- <tag line="1663" name="since" description="2.11"/>
12505
- <tag line="1663" name="param" description="NULL, to indicate no handler." type="array" variable="$item_content">
12506
- <type by_reference="false">array</type>
12507
- </tag>
12508
- <tag line="1663" name="param" description="the requested action." type="string" variable="$bulk_action">
12509
- <type by_reference="false">string</type>
12510
- </tag>
12511
- <tag line="1663" name="param" description="the affected attachment." type="integer" variable="$post_id">
12512
- <type by_reference="false">integer</type>
12513
- </tag>
12514
- <tag line="1663" name="return" description="updated $item_content. NULL if no handler, otherwise ( 'message' =&gt; error or status message(s), 'body' =&gt; '' )" type="object">
12515
- <type by_reference="false">object</type>
12516
- </tag>
12517
- </docblock>
12518
- <argument line="1675">
12519
- <name>$item_content</name>
12520
- <default><![CDATA[]]></default>
12521
- <type/>
12522
- </argument>
12523
- <argument line="1675">
12524
- <name>$bulk_action</name>
12525
- <default><![CDATA[]]></default>
12526
- <type/>
12527
- </argument>
12528
- <argument line="1675">
12529
- <name>$post_id</name>
12530
- <default><![CDATA[]]></default>
12531
- <type/>
12532
- </argument>
12533
- </method>
12534
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1731" package="Media Library Assistant">
12535
- <name>mla_list_table_get_bulk_actions</name>
12536
- <full_name>mla_list_table_get_bulk_actions</full_name>
12537
- <docblock line="1719">
12538
- <description><![CDATA[Filter the MLA_List_Table bulk actions]]></description>
12539
- <long-description><![CDATA[<p>Adds the "Translate" action to the Bulk Actions list.</p>]]></long-description>
12540
- <tag line="1719" name="since" description="2.11"/>
12541
- <tag line="1719" name="param" description="An array of bulk actions. Format: 'slug' =&gt; 'Label'" type="array" variable="$actions">
12542
- <type by_reference="false">array</type>
12543
- </tag>
12544
- <tag line="1719" name="return" description="updated array of actions." type="array">
12545
- <type by_reference="false">array</type>
12546
- </tag>
12547
- </docblock>
12548
- <argument line="1731">
12549
- <name>$actions</name>
12550
- <default><![CDATA[]]></default>
12551
- <type/>
12552
- </argument>
12553
- </method>
12554
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1751" package="Media Library Assistant">
12555
- <name>mla_list_table_inline_values</name>
12556
- <full_name>mla_list_table_inline_values</full_name>
12557
- <docblock line="1738">
12558
- <description><![CDATA[MLA_List_Table inline edit item values]]></description>
12559
- <long-description><![CDATA[<p>Builds the Language dropdown and edit translation links for the
12560
- Quick and Bulk Edit forms, adding them to the 'custom_fields'
12561
- and 'bulk_custom_fields' substitution parameters.</p>]]></long-description>
12562
- <tag line="1738" name="since" description="2.11"/>
12563
- <tag line="1738" name="param" description="parameter_name =&gt; parameter_value pairs" type="array" variable="$item_values">
12564
- <type by_reference="false">array</type>
12565
- </tag>
12566
- <tag line="1738" name="return" description="updated substitution parameter name =&gt; value pairs" type="array">
12567
- <type by_reference="false">array</type>
12568
- </tag>
12569
- </docblock>
12570
- <argument line="1751">
12571
- <name>$item_values</name>
12572
- <default><![CDATA[]]></default>
12573
- <type/>
12574
- </argument>
12575
- </method>
12576
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1819" package="Media Library Assistant">
12577
- <name>mla_list_table_inline_parse</name>
12578
- <full_name>mla_list_table_inline_parse</full_name>
12579
- <docblock line="1805">
12580
- <description><![CDATA[MLA_List_Table inline edit parse]]></description>
12581
- <long-description><![CDATA[]]></long-description>
12582
- <tag line="1805" name="since" description="2.11&#13;&#10;Adds Bulk Translate form and the Language dropdown&#13;&#10;markup used for the Quick and Bulk Edit forms."/>
12583
- <tag line="1805" name="param" description="HTML markup returned by the template parser" type="string" variable="$html_markup">
12584
- <type by_reference="false">string</type>
12585
- </tag>
12586
- <tag line="1805" name="param" description="template used to generate the HTML markup" type="string" variable="$item_template">
12587
- <type by_reference="false">string</type>
12588
- </tag>
12589
- <tag line="1805" name="param" description="parameter_name =&gt; parameter_value pairs" type="array" variable="$item_values">
12590
- <type by_reference="false">array</type>
12591
- </tag>
12592
- <tag line="1805" name="return" description="updated HTML markup for the Quick and Bulk Edit forms" type="array">
12593
- <type by_reference="false">array</type>
12594
- </tag>
12595
- </docblock>
12596
- <argument line="1819">
12597
- <name>$html_markup</name>
12598
- <default><![CDATA[]]></default>
12599
- <type/>
12600
- </argument>
12601
- <argument line="1819">
12602
- <name>$item_template</name>
12603
- <default><![CDATA[]]></default>
12604
- <type/>
12605
- </argument>
12606
- <argument line="1819">
12607
- <name>$item_values</name>
12608
- <default><![CDATA[]]></default>
12609
- <type/>
12610
- </argument>
12611
- </method>
12612
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1896" package="Media Library Assistant">
12613
- <name>mla_list_table_get_columns</name>
12614
- <full_name>mla_list_table_get_columns</full_name>
12615
- <docblock line="1884">
12616
- <description><![CDATA[Filter the MLA_List_Table columns]]></description>
12617
- <long-description><![CDATA[<p>Inserts the language columns just after the item thumbnail column</p>]]></long-description>
12618
- <tag line="1884" name="since" description="2.11"/>
12619
- <tag line="1884" name="param" description="An array of columns. format: column_slug =&gt; Column Label" type="array" variable="$columns">
12620
- <type by_reference="false">array</type>
12621
- </tag>
12622
- <tag line="1884" name="return" description="updated array of columns." type="array">
12623
- <type by_reference="false">array</type>
12624
- </tag>
12625
- </docblock>
12626
- <argument line="1896">
12627
- <name>$columns</name>
12628
- <default><![CDATA[]]></default>
12629
- <type/>
12630
- </argument>
12631
- </method>
12632
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1944" package="Media Library Assistant">
12633
- <name>mla_list_table_add_pll_styles</name>
12634
- <full_name>mla_list_table_add_pll_styles</full_name>
12635
- <docblock line="1937">
12636
- <description><![CDATA[Add styles for the pll_translations table column]]></description>
12637
- <long-description><![CDATA[]]></long-description>
12638
- <tag line="1937" name="since" description="2.11"/>
12639
- <tag line="1937" name="return" description="echoes CSS styles before returning" type="void">
12640
- <type by_reference="false">void</type>
12641
- </tag>
12642
- </docblock>
12643
- </method>
12644
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1969" package="Media Library Assistant">
12645
- <name>mla_list_table_column_default</name>
12646
- <full_name>mla_list_table_column_default</full_name>
12647
- <docblock line="1957">
12648
- <description><![CDATA[Supply a column value if no column-specific function has been defined]]></description>
12649
- <long-description><![CDATA[<p>Fills in the Language columns with the item's translation status values.</p>]]></long-description>
12650
- <tag line="1957" name="since" description="2.11"/>
12651
- <tag line="1957" name="param" description="NULL, indicating no default content" type="string" variable="$content">
12652
- <type by_reference="false">string</type>
12653
- </tag>
12654
- <tag line="1957" name="param" description="A singular item (one full row's worth of data)" type="array" variable="$item">
12655
- <type by_reference="false">array</type>
12656
- </tag>
12657
- <tag line="1957" name="param" description="The name/slug of the column to be processed" type="array" variable="$column_name">
12658
- <type by_reference="false">array</type>
12659
- </tag>
12660
- <tag line="1957" name="return" description="Text or HTML to be placed inside the column" type="string">
12661
- <type by_reference="false">string</type>
12662
- </tag>
12663
- </docblock>
12664
- <argument line="1969">
12665
- <name>$content</name>
12666
- <default><![CDATA[]]></default>
12667
- <type/>
12668
- </argument>
12669
- <argument line="1969">
12670
- <name>$item</name>
12671
- <default><![CDATA[]]></default>
12672
- <type/>
12673
- </argument>
12674
- <argument line="1969">
12675
- <name>$column_name</name>
12676
- <default><![CDATA[]]></default>
12677
- <type/>
12678
- </argument>
12679
- </method>
12680
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="2037" package="Media Library Assistant">
12681
- <name>mla_list_table_submenu_arguments</name>
12682
- <full_name>mla_list_table_submenu_arguments</full_name>
12683
- <docblock line="2022">
12684
- <description><![CDATA[Filter the "sticky" submenu URL parameters]]></description>
12685
- <long-description><![CDATA[<p>Adds a language ('lang') parameter to the URL parameters that
12686
- will be retained when the submenu page refreshes.
12687
- Maintains the list of Bulk Translate items in the URLs for
12688
- paging through the results.</p>]]></long-description>
12689
- <tag line="2022" name="since" description="2.11"/>
12690
- <tag line="2022" name="param" description="Current view, pagination and sort parameters." type="array" variable="$submenu_arguments">
12691
- <type by_reference="false">array</type>
12692
- </tag>
12693
- <tag line="2022" name="param" description="True to include &quot;filter-by&quot; parameters, e.g., year/month dropdown." type="object" variable="$include_filters">
12694
- <type by_reference="false">object</type>
12695
- </tag>
12696
- <tag line="2022" name="return" description="updated submenu_arguments." type="array">
12697
- <type by_reference="false">array</type>
12698
- </tag>
12699
- </docblock>
12700
- <argument line="2037">
12701
- <name>$submenu_arguments</name>
12702
- <default><![CDATA[]]></default>
12703
- <type/>
12704
- </argument>
12705
- <argument line="2037">
12706
- <name>$include_filters</name>
12707
- <default><![CDATA[]]></default>
12708
- <type/>
12709
- </argument>
12710
- </method>
12711
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="2068" package="Media Library Assistant">
12712
- <name>mla_list_table_prepare_items_pagination</name>
12713
- <full_name>mla_list_table_prepare_items_pagination</full_name>
12714
- <docblock line="2056">
12715
- <description><![CDATA[Filter the pagination parameters for prepare_items()]]></description>
12716
- <long-description><![CDATA[<p>Records the pagination parameters for use with custom table views, e.g., "attached".</p>]]></long-description>
12717
- <tag line="2056" name="since" description="2.11"/>
12718
- <tag line="2056" name="param" description="Contains 'per_page', 'current_page'." type="array" variable="$pagination">
12719
- <type by_reference="false">array</type>
12720
- </tag>
12721
- <tag line="2056" name="param" description="The MLA_List_Table object, passed by reference." type="object" variable="$mla_list_table">
12722
- <type by_reference="false">object</type>
12723
- </tag>
12724
- <tag line="2056" name="return" description="updated pagination array." type="array">
12725
- <type by_reference="false">array</type>
12726
- </tag>
12727
- </docblock>
12728
- <argument line="2068">
12729
- <name>$pagination</name>
12730
- <default><![CDATA[]]></default>
12731
- <type/>
12732
- </argument>
12733
- <argument line="2068">
12734
- <name>$mla_list_table</name>
12735
- <default><![CDATA[]]></default>
12736
- <type/>
12737
- </argument>
12738
- </method>
12739
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="2087" package="Media Library Assistant">
12740
- <name>mla_list_table_prepare_items_total_items</name>
12741
- <full_name>mla_list_table_prepare_items_total_items</full_name>
12742
- <docblock line="2074">
12743
- <description><![CDATA[Filter the total items count for prepare_items()]]></description>
12744
- <long-description><![CDATA[<p>A convenient place to add the query argument required for the
12745
- "Bulk Translate" custom view.</p>]]></long-description>
12746
- <tag line="2074" name="since" description="2.11"/>
12747
- <tag line="2074" name="param" description="NULL, indicating no substitution." type="integer" variable="$total_items">
12748
- <type by_reference="false">integer</type>
12749
- </tag>
12750
- <tag line="2074" name="param" description="The MLA_List_Table object, passed by reference." type="object" variable="$mla_list_table">
12751
- <type by_reference="false">object</type>
12752
- </tag>
12753
- <tag line="2074" name="return" description="updated total_items." type="integer">
12754
- <type by_reference="false">integer</type>
12755
- </tag>
12756
- </docblock>
12757
- <argument line="2087">
12758
- <name>$total_items</name>
12759
- <default><![CDATA[]]></default>
12760
- <type/>
12761
- </argument>
12762
- <argument line="2087">
12763
- <name>$mla_list_table</name>
12764
- <default><![CDATA[]]></default>
12765
- <type/>
12766
- </argument>
12767
- </method>
12768
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="2110" package="Media Library Assistant">
12769
- <name>mla_list_table_build_rollover_actions</name>
12770
- <full_name>mla_list_table_build_rollover_actions</full_name>
12771
- <docblock line="2097">
12772
- <description><![CDATA[Filter the list of item "Rollover" actions]]></description>
12773
- <long-description><![CDATA[<p>Adds "Quick Translate" to the list of item-level "Rollover" actions.</p>]]></long-description>
12774
- <tag line="2097" name="since" description="2.11"/>
12775
- <tag line="2097" name="param" description="The list of item &quot;Rollover&quot; actions." type="array" variable="$actions">
12776
- <type by_reference="false">array</type>
12777
- </tag>
12778
- <tag line="2097" name="param" description="The current Media Library item." type="object" variable="$item">
12779
- <type by_reference="false">object</type>
12780
- </tag>
12781
- <tag line="2097" name="param" description="The List Table column slug." type="string" variable="$column">
12782
- <type by_reference="false">string</type>
12783
- </tag>
12784
- <tag line="2097" name="return" description="updated &quot;Rollover&quot; actions." type="array">
12785
- <type by_reference="false">array</type>
12786
- </tag>
12787
- </docblock>
12788
- <argument line="2110">
12789
- <name>$actions</name>
12790
- <default><![CDATA[]]></default>
12791
- <type/>
12792
- </argument>
12793
- <argument line="2110">
12794
- <name>$item</name>
12795
- <default><![CDATA[]]></default>
12796
- <type/>
12797
- </argument>
12798
- <argument line="2110">
12799
- <name>$column</name>
12800
- <default><![CDATA[]]></default>
12801
- <type/>
12802
- </argument>
12803
- </method>
12804
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="2132" package="Media Library Assistant">
12805
- <name>mla_list_table_inline_fields</name>
12806
- <full_name>mla_list_table_inline_fields</full_name>
12807
- <docblock line="2121">
12808
- <description><![CDATA[Define the fields for inline (Quick) editing]]></description>
12809
- <long-description><![CDATA[<p>Adds Language dropdown and Quick Translate links.</p>]]></long-description>
12810
- <tag line="2121" name="since" description="2.11"/>
12811
- <tag line="2121" name="param" description="The field names for inline data." type="array" variable="$fields">
12812
- <type by_reference="false">array</type>
12813
- </tag>
12814
- <tag line="2121" name="return" description="updated fields for inline data." type="string">
12815
- <type by_reference="false">string</type>
12816
- </tag>
12817
- </docblock>
12818
- <argument line="2132">
12819
- <name>$fields</name>
12820
- <default><![CDATA[]]></default>
12821
- <type/>
12822
- </argument>
12823
- </method>
12824
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="2153" package="Media Library Assistant">
12825
- <name>mla_list_table_build_inline_data</name>
12826
- <full_name>mla_list_table_build_inline_data</full_name>
12827
- <docblock line="2141">
12828
- <description><![CDATA[Filter the data for inline (Quick and Bulk) editing]]></description>
12829
- <long-description><![CDATA[<p>Adds item-specific translations data for the JS quick and bulk edit functions.</p>]]></long-description>
12830
- <tag line="2141" name="since" description="2.11"/>
12831
- <tag line="2141" name="param" description="The HTML markup for inline data." type="string" variable="$inline_data">
12832
- <type by_reference="false">string</type>
12833
- </tag>
12834
- <tag line="2141" name="param" description="The current Media Library item." type="object" variable="$item">
12835
- <type by_reference="false">object</type>
12836
- </tag>
12837
- <tag line="2141" name="return" description="updated HTML markup for inline data." type="string">
12838
- <type by_reference="false">string</type>
12839
- </tag>
12840
- </docblock>
12841
- <argument line="2153">
12842
- <name>$inline_data</name>
12843
- <default><![CDATA[]]></default>
12844
- <type/>
12845
- </argument>
12846
- <argument line="2153">
12847
- <name>$item</name>
12848
- <default><![CDATA[]]></default>
12849
- <type/>
12850
- </argument>
12851
- </method>
12852
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="2188" package="Media Library Assistant">
12853
- <name>mla_taxonomy_get_columns</name>
12854
- <full_name>mla_taxonomy_get_columns</full_name>
12855
- <docblock line="2177">
12856
- <description><![CDATA[Not used in this version of the plugin]]></description>
12857
- <long-description><![CDATA[]]></long-description>
12858
- <tag line="2177" name="since" description="2.15"/>
12859
- <tag line="2177" name="param" description="NULL to indicate no changes to the default processing." type="NULL" variable="$filter_columns">
12860
- <type by_reference="false">NULL</type>
12861
- </tag>
12862
- <tag line="2177" name="param" description="Column definitions for the edit taxonomy list table." type="array" variable="$columns">
12863
- <type by_reference="false">array</type>
12864
- </tag>
12865
- <tag line="2177" name="param" description="Slug of the taxonomy for this submenu." type="string" variable="$taxonomy">
12866
- <type by_reference="false">string</type>
12867
- </tag>
12868
- <tag line="2177" name="return" description="NULL or replacement columns array." type="array">
12869
- <type by_reference="false">array</type>
12870
- </tag>
12871
- </docblock>
12872
- <argument line="2188">
12873
- <name>$filter_columns</name>
12874
- <default><![CDATA[]]></default>
12875
- <type/>
12876
- </argument>
12877
- <argument line="2188">
12878
- <name>$columns</name>
12879
- <default><![CDATA[]]></default>
12880
- <type/>
12881
- </argument>
12882
- <argument line="2188">
12883
- <name>$taxonomy</name>
12884
- <default><![CDATA[]]></default>
12885
- <type/>
12886
- </argument>
12887
- </method>
12888
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="2203" package="Media Library Assistant">
12889
- <name>mla_get_options_tablist</name>
12890
- <full_name>mla_get_options_tablist</full_name>
12891
- <docblock line="2192">
12892
- <description><![CDATA[Adds the "Language" tab to the Settings/Media Library Assistant list]]></description>
12893
- <long-description><![CDATA[]]></long-description>
12894
- <tag line="2192" name="since" description="2.11"/>
12895
- <tag line="2192" name="param" description="The entire tablist ( $tab = NULL ), a single tab entry or false if not found/not allowed." type="array|false" variable="$results">
12896
- <type by_reference="false">array</type>
12897
- <type by_reference="false">false</type>
12898
- </tag>
12899
- <tag line="2192" name="param" description="The entire default tablist" type="array" variable="$mla_tablist">
12900
- <type by_reference="false">array</type>
12901
- </tag>
12902
- <tag line="2192" name="param" description="tab slug for single-element return or NULL to return entire tablist" type="string|NULL" variable="$tab">
12903
- <type by_reference="false">string</type>
12904
- <type by_reference="false">NULL</type>
12905
- </tag>
12906
- <tag line="2192" name="return" description="updated tablist or single tab element" type="array">
12907
- <type by_reference="false">array</type>
12908
- </tag>
12909
- </docblock>
12910
- <argument line="2203">
12911
- <name>$results</name>
12912
- <default><![CDATA[]]></default>
12913
- <type/>
12914
- </argument>
12915
- <argument line="2203">
12916
- <name>$mla_tablist</name>
12917
- <default><![CDATA[]]></default>
12918
- <type/>
12919
- </argument>
12920
- <argument line="2203">
12921
- <name>$tab</name>
12922
- <default><![CDATA[]]></default>
12923
- <type/>
12924
- </argument>
12925
- </method>
12926
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="2236" package="Media Library Assistant">
12927
- <name>mla_localize_language_option_definitions</name>
12928
- <full_name>mla_localize_language_option_definitions</full_name>
12929
- <docblock line="2226">
12930
- <description><![CDATA[Localize $mla_language_option_definitions array]]></description>
12931
- <long-description><![CDATA[<p>Localization must be done at runtime, and these calls cannot be placed
12932
- in the "public static" array definition itself.</p>]]></long-description>
12933
- <tag line="2226" name="since" description="2.11"/>
12934
- <tag line="2226" name="return" description="" type="void">
12935
- <type by_reference="false">void</type>
12936
- </tag>
12937
- </docblock>
12938
- </method>
12939
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="2306" package="Media Library Assistant">
12940
- <name>mla_render_language_tab</name>
12941
- <full_name>mla_render_language_tab</full_name>
12942
- <docblock line="2299">
12943
- <description><![CDATA[Renders the Settings/Media Library Assistant "Language" tab]]></description>
12944
- <long-description><![CDATA[]]></long-description>
12945
- <tag line="2299" name="since" description="2.11"/>
12946
- <tag line="2299" name="return" description="( 'message' =&gt; '', 'body' =&gt; '' )" type="array">
12947
- <type by_reference="false">array</type>
12948
- </tag>
12949
- </docblock>
12950
- </method>
12951
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="2372" package="Media Library Assistant">
12952
- <name>_save_language_settings</name>
12953
- <full_name>_save_language_settings</full_name>
12954
- <docblock line="2363">
12955
- <description><![CDATA[Save Language settings to the options table]]></description>
12956
- <long-description><![CDATA[]]></long-description>
12957
- <tag line="2363" name="since" description="2.11"/>
12958
- <tag line="2363" name="uses" description="\global\$_REQUEST" refers="\global\$_REQUEST"/>
12959
- <tag line="2363" name="return" description="Message(s) reflecting the results of the operation" type="array">
12960
- <type by_reference="false">array</type>
12961
- </tag>
12962
- </docblock>
12963
- </method>
12964
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="2401" package="Media Library Assistant">
12965
- <name>_reset_language_settings</name>
12966
- <full_name>_reset_language_settings</full_name>
12967
- <docblock line="2394">
12968
- <description><![CDATA[Delete saved settings, restoring default values]]></description>
12969
- <long-description><![CDATA[]]></long-description>
12970
- <tag line="2394" name="since" description="2.11"/>
12971
- <tag line="2394" name="return" description="Message(s) reflecting the results of the operation" type="array">
12972
- <type by_reference="false">array</type>
12973
- </tag>
12974
- </docblock>
12975
- </method>
12976
- </class>
12977
- </file>
12978
- <file path="includes\class-mla-settings.php" hash="9552933c09c78b4bd2469a011cb9e5b6" package="Media Library Assistant">
12979
- <docblock line="2">
12980
- <description><![CDATA[Manages the settings page to edit the plugin option settings]]></description>
12981
- <long-description><![CDATA[]]></long-description>
12982
- <tag line="2" name="package" description="Media Library Assistant"/>
12983
- <tag line="2" name="since" description="0.1"/>
12984
- </docblock>
12985
- <class final="false" abstract="false" namespace="global" line="15" package="Media Library Assistant">
12986
- <extends/>
12987
- <name>MLASettings</name>
12988
- <full_name>\MLASettings</full_name>
12989
- <docblock line="9">
12990
- <description><![CDATA[Class MLA (Media Library Assistant) Settings provides the settings page to edit the plugin option settings]]></description>
12991
- <long-description><![CDATA[]]></long-description>
12992
- <tag line="9" name="package" description="Media Library Assistant"/>
12993
- <tag line="9" name="since" description="0.1"/>
12994
- </docblock>
12995
- <constant namespace="global" line="23" package="Media Library Assistant">
12996
- <name>JAVASCRIPT_INLINE_EDIT_VIEW_SLUG</name>
12997
- <full_name>JAVASCRIPT_INLINE_EDIT_VIEW_SLUG</full_name>
12998
- <value><![CDATA['mla-inline-edit-view-scripts']]></value>
12999
- <docblock line="16">
13000
- <description><![CDATA[Slug for localizing and enqueueing JavaScript - MLA View List Table]]></description>
13001
- <long-description><![CDATA[]]></long-description>
13002
- <tag line="16" name="since" description="1.40"/>
13003
- <tag line="16" name="var" description="" type="string">
13004
- <type by_reference="false">string</type>
13005
- </tag>
13006
- </docblock>
13007
- </constant>
13008
- <constant namespace="global" line="32" package="Media Library Assistant">
13009
- <name>JAVASCRIPT_INLINE_EDIT_VIEW_OBJECT</name>
13010
- <full_name>JAVASCRIPT_INLINE_EDIT_VIEW_OBJECT</full_name>
13011
- <value><![CDATA['mla_inline_edit_view_vars']]></value>
13012
- <docblock line="25">
13013
- <description><![CDATA[Object name for localizing JavaScript - MLA View List Table]]></description>
13014
- <long-description><![CDATA[]]></long-description>
13015
- <tag line="25" name="since" description="1.40"/>
13016
- <tag line="25" name="var" description="" type="string">
13017
- <type by_reference="false">string</type>
13018
- </tag>
13019
- </docblock>
13020
- </constant>
13021
- <constant namespace="global" line="41" package="Media Library Assistant">
13022
- <name>JAVASCRIPT_INLINE_EDIT_UPLOAD_SLUG</name>
13023
- <full_name>JAVASCRIPT_INLINE_EDIT_UPLOAD_SLUG</full_name>
13024
- <value><![CDATA['mla-inline-edit-upload-scripts']]></value>
13025
- <docblock line="34">
13026
- <description><![CDATA[Slug for localizing and enqueueing JavaScript - MLA Upload List Table]]></description>
13027
- <long-description><![CDATA[]]></long-description>
13028
- <tag line="34" name="since" description="1.40"/>
13029
- <tag line="34" name="var" description="" type="string">
13030
- <type by_reference="false">string</type>
13031
- </tag>
13032
- </docblock>
13033
- </constant>
13034
- <constant namespace="global" line="50" package="Media Library Assistant">
13035
- <name>JAVASCRIPT_INLINE_EDIT_UPLOAD_OBJECT</name>
13036
- <full_name>JAVASCRIPT_INLINE_EDIT_UPLOAD_OBJECT</full_name>
13037
- <value><![CDATA['mla_inline_edit_upload_vars']]></value>
13038
- <docblock line="43">
13039
- <description><![CDATA[Object name for localizing JavaScript - MLA Upload List Table]]></description>
13040
- <long-description><![CDATA[]]></long-description>
13041
- <tag line="43" name="since" description="1.40"/>
13042
- <tag line="43" name="var" description="" type="string">
13043
- <type by_reference="false">string</type>
13044
- </tag>
13045
- </docblock>
13046
- </constant>
13047
- <constant namespace="global" line="59" package="Media Library Assistant">
13048
- <name>JAVASCRIPT_INLINE_MAPPING_CUSTOM_SLUG</name>
13049
- <full_name>JAVASCRIPT_INLINE_MAPPING_CUSTOM_SLUG</full_name>
13050
- <value><![CDATA['mla-inline-mapping-custom-scripts']]></value>
13051
- <docblock line="52">
13052
- <description><![CDATA[Slug for localizing and enqueueing JavaScript - MLA Custom tab]]></description>
13053
- <long-description><![CDATA[]]></long-description>
13054
- <tag line="52" name="since" description="2.00"/>
13055
- <tag line="52" name="var" description="" type="string">
13056
- <type by_reference="false">string</type>
13057
- </tag>
13058
- </docblock>
13059
- </constant>
13060
- <constant namespace="global" line="68" package="Media Library Assistant">
13061
- <name>JAVASCRIPT_INLINE_MAPPING_IPTC_EXIF_SLUG</name>
13062
- <full_name>JAVASCRIPT_INLINE_MAPPING_IPTC_EXIF_SLUG</full_name>
13063
- <value><![CDATA['mla-inline-mapping-iptc-exif-scripts']]></value>
13064
- <docblock line="61">
13065
- <description><![CDATA[Slug for localizing and enqueueing JavaScript - MLA IPTC/EXIF tab]]></description>
13066
- <long-description><![CDATA[]]></long-description>
13067
- <tag line="61" name="since" description="2.00"/>
13068
- <tag line="61" name="var" description="" type="string">
13069
- <type by_reference="false">string</type>
13070
- </tag>
13071
- </docblock>
13072
- </constant>
13073
- <constant namespace="global" line="77" package="Media Library Assistant">
13074
- <name>JAVASCRIPT_INLINE_MAPPING_OBJECT</name>
13075
- <full_name>JAVASCRIPT_INLINE_MAPPING_OBJECT</full_name>
13076
- <value><![CDATA['mla_inline_mapping_vars']]></value>
13077
- <docblock line="70">
13078
- <description><![CDATA[Object name for localizing JavaScript - MLA Custom and IPTC/EXIF tabs]]></description>
13079
- <long-description><![CDATA[]]></long-description>
13080
- <tag line="70" name="since" description="2.00"/>
13081
- <tag line="70" name="var" description="" type="string">
13082
- <type by_reference="false">string</type>
13083
- </tag>
13084
- </docblock>
13085
- </constant>
13086
- <property final="false" static="true" visibility="private" line="86" namespace="global" package="Media Library Assistant">
13087
- <name>$current_page_hook</name>
13088
- <default><![CDATA['']]></default>
13089
- <docblock line="79">
13090
- <description><![CDATA[Holds screen id to match help text to corresponding screen]]></description>
13091
- <long-description><![CDATA[]]></long-description>
13092
- <tag line="79" name="since" description="1.40"/>
13093
- <tag line="79" name="var" description="" type="array">
13094
- <type by_reference="false">array</type>
13095
- </tag>
13096
- </docblock>
13097
- </property>
13098
- <property final="false" static="true" visibility="public" line="1208" namespace="global" package="Media Library Assistant">
13099
- <name>$page_template_array</name>
13100
- <default><![CDATA[NULL]]></default>
13101
- <docblock line="1198">
13102
- <description><![CDATA[Template file for the Settings page(s) and parts]]></description>
13103
- <long-description><![CDATA[<p>This array contains all of the template parts for the Settings page(s). The array is built once
13104
- each page load and cached for subsequent use.</p>]]></long-description>
13105
- <tag line="1198" name="since" description="0.80"/>
13106
- <tag line="1198" name="var" description="" type="array">
13107
- <type by_reference="false">array</type>
13108
- </tag>
13109
- </docblock>
13110
- </property>
13111
- <property final="false" static="true" visibility="private" line="1227" namespace="global" package="Media Library Assistant">
13112
- <name>$mla_tablist</name>
13113
- <default><![CDATA[array()]]></default>
13114
- <docblock line="1210">
13115
- <description><![CDATA[Definitions for Settings page tab ids, titles and handlers
13116
- Each tab is defined by an array with the following elements:]]></description>
13117
- <long-description><![CDATA[<p>array key => HTML id/name attribute and option database key (OMIT MLA_OPTION_PREFIX)</p>
13118
-
13119
- <p>title => tab label / heading text
13120
- render => rendering function for tab messages and content. Usage:
13121
- $tab_content = <a href="">'render'</a>;</p>
13122
-
13123
- <p>The array must be populated at runtime in MLASettings::mla_localize_tablist();
13124
- localization calls cannot be placed in the "public static" array definition itself.</p>]]></long-description>
13125
- <tag line="1210" name="since" description="0.80"/>
13126
- <tag line="1210" name="var" description="" type="array">
13127
- <type by_reference="false">array</type>
13128
- </tag>
13129
- </docblock>
13130
- </property>
13131
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="95" package="Media Library Assistant">
13132
- <name>initialize</name>
13133
- <full_name>initialize</full_name>
13134
- <docblock line="88">
13135
- <description><![CDATA[Initialization function, similar to __construct()]]></description>
13136
- <long-description><![CDATA[]]></long-description>
13137
- <tag line="88" name="since" description="0.1"/>
13138
- <tag line="88" name="return" description="" type="void">
13139
- <type by_reference="false">void</type>
13140
- </tag>
13141
- </docblock>
13142
- </method>
13143
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="112" package="Media Library Assistant">
13144
- <name>_version_upgrade</name>
13145
- <full_name>_version_upgrade</full_name>
13146
- <docblock line="105">
13147
- <description><![CDATA[Database and option update check, for installing new versions]]></description>
13148
- <long-description><![CDATA[]]></long-description>
13149
- <tag line="105" name="since" description="0.30"/>
13150
- <tag line="105" name="return" description="" type="void">
13151
- <type by_reference="false">void</type>
13152
- </tag>
13153
- </docblock>
13154
- </method>
13155
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="251" package="Media Library Assistant">
13156
- <name>mla_activation_hook</name>
13157
- <full_name>mla_activation_hook</full_name>
13158
- <docblock line="244">
13159
- <description><![CDATA[Perform one-time actions on plugin activation]]></description>
13160
- <long-description><![CDATA[]]></long-description>
13161
- <tag line="244" name="since" description="0.40"/>
13162
- <tag line="244" name="return" description="" type="void">
13163
- <type by_reference="false">void</type>
13164
- </tag>
13165
- </docblock>
13166
- </method>
13167
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="261" package="Media Library Assistant">
13168
- <name>mla_deactivation_hook</name>
13169
- <full_name>mla_deactivation_hook</full_name>
13170
- <docblock line="254">
13171
- <description><![CDATA[Perform one-time actions on plugin deactivation]]></description>
13172
- <long-description><![CDATA[]]></long-description>
13173
- <tag line="254" name="since" description="0.40"/>
13174
- <tag line="254" name="return" description="" type="void">
13175
- <type by_reference="false">void</type>
13176
- </tag>
13177
- </docblock>
13178
- </method>
13179
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="301" package="Media Library Assistant">
13180
- <name>mla_admin_init_action</name>
13181
- <full_name>mla_admin_init_action</full_name>
13182
- <docblock line="294">
13183
- <description><![CDATA[Load the plugin's Ajax handler]]></description>
13184
- <long-description><![CDATA[]]></long-description>
13185
- <tag line="294" name="since" description="1.40"/>
13186
- <tag line="294" name="return" description="" type="void">
13187
- <type by_reference="false">void</type>
13188
- </tag>
13189
- </docblock>
13190
- </method>
13191
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="317" package="Media Library Assistant">
13192
- <name>mla_admin_enqueue_scripts_action</name>
13193
- <full_name>mla_admin_enqueue_scripts_action</full_name>
13194
- <docblock line="308">
13195
- <description><![CDATA[Load the plugin's Style Sheet and Javascript files]]></description>
13196
- <long-description><![CDATA[]]></long-description>
13197
- <tag line="308" name="since" description="1.40"/>
13198
- <tag line="308" name="param" description="Name of the page being loaded" type="string" variable="$page_hook">
13199
- <type by_reference="false">string</type>
13200
- </tag>
13201
- <tag line="308" name="return" description="" type="void">
13202
- <type by_reference="false">void</type>
13203
- </tag>
13204
- </docblock>
13205
- <argument line="317">
13206
- <name>$page_hook</name>
13207
- <default><![CDATA[]]></default>
13208
- <type/>
13209
- </argument>
13210
- </method>
13211
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="445" package="Media Library Assistant">
13212
- <name>mla_admin_menu_action</name>
13213
- <full_name>mla_admin_menu_action</full_name>
13214
- <docblock line="436">
13215
- <description><![CDATA[Add settings page in the "Settings" section,
13216
- add screen options and help tabs,
13217
- add settings link in the Plugins section entry for MLA.]]></description>
13218
- <long-description><![CDATA[]]></long-description>
13219
- <tag line="436" name="since" description="0.1"/>
13220
- <tag line="436" name="return" description="" type="void">
13221
- <type by_reference="false">void</type>
13222
- </tag>
13223
- </docblock>
13224
- </method>
13225
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="471" package="Media Library Assistant">
13226
- <name>mla_add_menu_options_action</name>
13227
- <full_name>mla_add_menu_options_action</full_name>
13228
- <docblock line="464">
13229
- <description><![CDATA[Add the "XX Entries per page" filter to the Screen Options tab]]></description>
13230
- <long-description><![CDATA[]]></long-description>
13231
- <tag line="464" name="since" description="1.40"/>
13232
- <tag line="464" name="return" description="" type="void">
13233
- <type by_reference="false">void</type>
13234
- </tag>
13235
- </docblock>
13236
- </method>
13237
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="516" package="Media Library Assistant">
13238
- <name>mla_add_help_tab_action</name>
13239
- <full_name>mla_add_help_tab_action</full_name>
13240
- <docblock line="509">
13241
- <description><![CDATA[Add contextual help tabs to all the MLA pages]]></description>
13242
- <long-description><![CDATA[]]></long-description>
13243
- <tag line="509" name="since" description="1.40"/>
13244
- <tag line="509" name="return" description="" type="void">
13245
- <type by_reference="false">void</type>
13246
- </tag>
13247
- </docblock>
13248
- </method>
13249
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="591" package="Media Library Assistant">
13250
- <name>mla_screen_options_show_screen_filter</name>
13251
- <full_name>mla_screen_options_show_screen_filter</full_name>
13252
- <docblock line="581">
13253
- <description><![CDATA[Only show screen options on the View and Upload tabs]]></description>
13254
- <long-description><![CDATA[]]></long-description>
13255
- <tag line="581" name="since" description="1.40"/>
13256
- <tag line="581" name="param" description="True to display &quot;Screen Options&quot;, false to suppress them" type="boolean" variable="$show_screen">
13257
- <type by_reference="false">boolean</type>
13258
- </tag>
13259
- <tag line="581" name="param" description="Name of the page being loaded" type="string" variable="$this_screen">
13260
- <type by_reference="false">string</type>
13261
- </tag>
13262
- <tag line="581" name="return" description="True to display &quot;Screen Options&quot;, false to suppress them" type="boolean">
13263
- <type by_reference="false">boolean</type>
13264
- </tag>
13265
- </docblock>
13266
- <argument line="591">
13267
- <name>$show_screen</name>
13268
- <default><![CDATA[]]></default>
13269
- <type/>
13270
- </argument>
13271
- <argument line="591">
13272
- <name>$this_screen</name>
13273
- <default><![CDATA[]]></default>
13274
- <type/>
13275
- </argument>
13276
- </method>
13277
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="612" package="Media Library Assistant">
13278
- <name>mla_set_screen_option_filter</name>
13279
- <full_name>mla_set_screen_option_filter</full_name>
13280
- <docblock line="601">
13281
- <description><![CDATA[Save the "Views/Uploads per page" option set by this user]]></description>
13282
- <long-description><![CDATA[]]></long-description>
13283
- <tag line="601" name="since" description="1.40"/>
13284
- <tag line="601" name="param" description="false or value returned by previous filter" type="mixed" variable="$status">
13285
- <type by_reference="false">mixed</type>
13286
- </tag>
13287
- <tag line="601" name="param" description="Name of the option being changed" type="string" variable="$option">
13288
- <type by_reference="false">string</type>
13289
- </tag>
13290
- <tag line="601" name="param" description="New value of the option" type="string" variable="$value">
13291
- <type by_reference="false">string</type>
13292
- </tag>
13293
- <tag line="601" name="return" description="New value if this is our option, otherwise nothing" type="string|void">
13294
- <type by_reference="false">string</type>
13295
- <type by_reference="false">void</type>
13296
- </tag>
13297
- </docblock>
13298
- <argument line="612">
13299
- <name>$status</name>
13300
- <default><![CDATA[]]></default>
13301
- <type/>
13302
- </argument>
13303
- <argument line="612">
13304
- <name>$option</name>
13305
- <default><![CDATA[]]></default>
13306
- <type/>
13307
- </argument>
13308
- <argument line="612">
13309
- <name>$value</name>
13310
- <default><![CDATA[]]></default>
13311
- <type/>
13312
- </argument>
13313
- </method>
13314
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="629" package="Media Library Assistant">
13315
- <name>mla_inline_edit_view_action</name>
13316
- <full_name>mla_inline_edit_view_action</full_name>
13317
- <docblock line="620">
13318
- <description><![CDATA[Ajax handler for Post MIME Types inline editing (quick and bulk edit)]]></description>
13319
- <long-description><![CDATA[<p>Adapted from wp_ajax_inline_save in /wp-admin/includes/ajax-actions.php</p>]]></long-description>
13320
- <tag line="620" name="since" description="1.40"/>
13321
- <tag line="620" name="return" description="echo HTML &lt;tr&gt; markup for updated row or error message, then die()" type="void">
13322
- <type by_reference="false">void</type>
13323
- </tag>
13324
- </docblock>
13325
- </method>
13326
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="672" package="Media Library Assistant">
13327
- <name>mla_inline_edit_upload_action</name>
13328
- <full_name>mla_inline_edit_upload_action</full_name>
13329
- <docblock line="663">
13330
- <description><![CDATA[Ajax handler for Upload MIME Types inline editing (quick and bulk edit)]]></description>
13331
- <long-description><![CDATA[<p>Adapted from wp_ajax_inline_save in /wp-admin/includes/ajax-actions.php</p>]]></long-description>
13332
- <tag line="663" name="since" description="1.40"/>
13333
- <tag line="663" name="return" description="echo HTML &lt;tr&gt; markup for updated row or error message, then die()" type="void">
13334
- <type by_reference="false">void</type>
13335
- </tag>
13336
- </docblock>
13337
- </method>
13338
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="709" package="Media Library Assistant">
13339
- <name>mla_inline_mapping_custom_action</name>
13340
- <full_name>mla_inline_mapping_custom_action</full_name>
13341
- <docblock line="702">
13342
- <description><![CDATA[Ajax handler for Custom Fields tab inline mapping]]></description>
13343
- <long-description><![CDATA[]]></long-description>
13344
- <tag line="702" name="since" description="2.00"/>
13345
- <tag line="702" name="return" description="echo json response object, then die()" type="void">
13346
- <type by_reference="false">void</type>
13347
- </tag>
13348
- </docblock>
13349
- </method>
13350
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="832" package="Media Library Assistant">
13351
- <name>mla_inline_mapping_iptc_exif_action</name>
13352
- <full_name>mla_inline_mapping_iptc_exif_action</full_name>
13353
- <docblock line="825">
13354
- <description><![CDATA[Ajax handler for IPTC/EXIF tab inline mapping]]></description>
13355
- <long-description><![CDATA[]]></long-description>
13356
- <tag line="825" name="since" description="2.00"/>
13357
- <tag line="825" name="return" description="echo json response object, then die()" type="void">
13358
- <type by_reference="false">void</type>
13359
- </tag>
13360
- </docblock>
13361
- </method>
13362
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="969" package="Media Library Assistant">
13363
- <name>mla_add_plugin_settings_link_filter</name>
13364
- <full_name>mla_add_plugin_settings_link_filter</full_name>
13365
- <docblock line="959">
13366
- <description><![CDATA[Add the "Settings" link to the MLA entry in the Plugins section]]></description>
13367
- <long-description><![CDATA[]]></long-description>
13368
- <tag line="959" name="since" description="0.1"/>
13369
- <tag line="959" name="param" description="array of links for the Plugin, e.g., &quot;Activate&quot;" type="array" variable="$links">
13370
- <type by_reference="false">array</type>
13371
- </tag>
13372
- <tag line="959" name="param" description="Directory and name of the plugin Index file" type="string" variable="$file">
13373
- <type by_reference="false">string</type>
13374
- </tag>
13375
- <tag line="959" name="return" description="Updated array of links for the Plugin" type="array">
13376
- <type by_reference="false">array</type>
13377
- </tag>
13378
- </docblock>
13379
- <argument line="969">
13380
- <name>$links</name>
13381
- <default><![CDATA[]]></default>
13382
- <type/>
13383
- </argument>
13384
- <argument line="969">
13385
- <name>$file</name>
13386
- <default><![CDATA[]]></default>
13387
- <type/>
13388
- </argument>
13389
- </method>
13390
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="990" package="Media Library Assistant">
13391
- <name>mla_update_option_row</name>
13392
- <full_name>mla_update_option_row</full_name>
13393
- <docblock line="978">
13394
- <description><![CDATA[Update or delete a single MLA option value]]></description>
13395
- <long-description><![CDATA[]]></long-description>
13396
- <tag line="978" name="since" description="0.80"/>
13397
- <tag line="978" name="uses" description="\global\$_REQUEST" refers="\global\$_REQUEST"/>
13398
- <tag line="978" name="param" description="HTML id/name attribute and option database key (OMIT MLA_OPTION_PREFIX)" type="string" variable="$key">
13399
- <type by_reference="false">string</type>
13400
- </tag>
13401
- <tag line="978" name="param" description="Option parameters, e.g., 'type', 'std'" type="array" variable="$value">
13402
- <type by_reference="false">array</type>
13403
- </tag>
13404
- <tag line="978" name="param" description="Custom option definitions" type="array" variable="$option_table">
13405
- <type by_reference="false">array</type>
13406
- </tag>
13407
- <tag line="978" name="return" description="HTML markup for the option's table row" type="string">
13408
- <type by_reference="false">string</type>
13409
- </tag>
13410
- </docblock>
13411
- <argument line="990">
13412
- <name>$key</name>
13413
- <default><![CDATA[]]></default>
13414
- <type/>
13415
- </argument>
13416
- <argument line="990">
13417
- <name>$value</name>
13418
- <default><![CDATA[]]></default>
13419
- <type/>
13420
- </argument>
13421
- <argument line="990">
13422
- <name>$option_table</name>
13423
- <default><![CDATA[NULL]]></default>
13424
- <type/>
13425
- </argument>
13426
- </method>
13427
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1072" package="Media Library Assistant">
13428
- <name>mla_compose_option_row</name>
13429
- <full_name>mla_compose_option_row</full_name>
13430
- <docblock line="1060">
13431
- <description><![CDATA[Compose the table row for a single MLA option]]></description>
13432
- <long-description><![CDATA[]]></long-description>
13433
- <tag line="1060" name="since" description="0.80"/>
13434
- <tag line="1060" name="uses" description="\global\$page_template_array" refers="\global\$page_template_array"/>
13435
- <tag line="1060" name="param" description="HTML id/name attribute and option database key (OMIT MLA_OPTION_PREFIX)" type="string" variable="$key">
13436
- <type by_reference="false">string</type>
13437
- </tag>
13438
- <tag line="1060" name="param" description="Option parameters, e.g., 'type', 'std'" type="array" variable="$value">
13439
- <type by_reference="false">array</type>
13440
- </tag>
13441
- <tag line="1060" name="param" description="Custom option definitions" type="array" variable="$option_table">
13442
- <type by_reference="false">array</type>
13443
- </tag>
13444
- <tag line="1060" name="return" description="HTML markup for the option's table row" type="string">
13445
- <type by_reference="false">string</type>
13446
- </tag>
13447
- </docblock>
13448
- <argument line="1072">
13449
- <name>$key</name>
13450
- <default><![CDATA[]]></default>
13451
- <type/>
13452
- </argument>
13453
- <argument line="1072">
13454
- <name>$value</name>
13455
- <default><![CDATA[]]></default>
13456
- <type/>
13457
- </argument>
13458
- <argument line="1072">
13459
- <name>$option_table</name>
13460
- <default><![CDATA[NULL]]></default>
13461
- <type/>
13462
- </argument>
13463
- </method>
13464
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1239" package="Media Library Assistant">
13465
- <name>mla_localize_tablist</name>
13466
- <full_name>mla_localize_tablist</full_name>
13467
- <docblock line="1229">
13468
- <description><![CDATA[Localize $mla_tablist array]]></description>
13469
- <long-description><![CDATA[<p>Localization must be done at runtime; these calls cannot be placed in the
13470
- "public static" array definition itself. Called from MLATest::initialize.</p>]]></long-description>
13471
- <tag line="1229" name="since" description="1.70"/>
13472
- <tag line="1229" name="return" description="" type="void">
13473
- <type by_reference="false">void</type>
13474
- </tag>
13475
- </docblock>
13476
- </method>
13477
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="1261" package="Media Library Assistant">
13478
- <name>mla_get_options_tablist</name>
13479
- <full_name>mla_get_options_tablist</full_name>
13480
- <docblock line="1252">
13481
- <description><![CDATA[Retrieve the list of options tabs or a specific tab value]]></description>
13482
- <long-description><![CDATA[]]></long-description>
13483
- <tag line="1252" name="since" description="1.82"/>
13484
- <tag line="1252" name="param" description="Tab slug, to retrieve a single entry" type="string" variable="$tab">
13485
- <type by_reference="false">string</type>
13486
- </tag>
13487
- <tag line="1252" name="return" description="The entire tablist ( $tab = NULL ), a single tab entry or false if not found/not allowed" type="array|false">
13488
- <type by_reference="false">array</type>
13489
- <type by_reference="false">false</type>
13490
- </tag>
13491
- </docblock>
13492
- <argument line="1261">
13493
- <name>$tab</name>
13494
- <default><![CDATA[NULL]]></default>
13495
- <type/>
13496
- </argument>
13497
- </method>
13498
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="1293" package="Media Library Assistant">
13499
- <name>_compose_settings_tabs</name>
13500
- <full_name>_compose_settings_tabs</full_name>
13501
- <docblock line="1283">
13502
- <description><![CDATA[Compose the navigation tabs for the Settings subpage]]></description>
13503
- <long-description><![CDATA[]]></long-description>
13504
- <tag line="1283" name="since" description="0.80"/>
13505
- <tag line="1283" name="uses" description="\global\$page_template_array" refers="\global\$page_template_array"/>
13506
- <tag line="1283" name="param" description="Optional data-tab-id value for the active tab, default 'general'" type="string" variable="$active_tab">
13507
- <type by_reference="false">string</type>
13508
- </tag>
13509
- <tag line="1283" name="return" description="HTML markup for the Settings subpage navigation tabs" type="string">
13510
- <type by_reference="false">string</type>
13511
- </tag>
13512
- </docblock>
13513
- <argument line="1293">
13514
- <name>$active_tab</name>
13515
- <default><![CDATA['general']]></default>
13516
- <type/>
13517
- </argument>
13518
- </method>
13519
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="1319" package="Media Library Assistant">
13520
- <name>_compose_general_tab</name>
13521
- <full_name>_compose_general_tab</full_name>
13522
- <docblock line="1311">
13523
- <description><![CDATA[Compose the General tab content for the Settings subpage]]></description>
13524
- <long-description><![CDATA[]]></long-description>
13525
- <tag line="1311" name="since" description="0.80"/>
13526
- <tag line="1311" name="uses" description="\global\$page_template_array" refers="\global\$page_template_array"/>
13527
- <tag line="1311" name="return" description="'message' =&gt; status/error messages, 'body' =&gt; tab content" type="array">
13528
- <type by_reference="false">array</type>
13529
- </tag>
13530
- </docblock>
13531
- </method>
13532
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="1468" package="Media Library Assistant">
13533
- <name>_current_bulk_action</name>
13534
- <full_name>_current_bulk_action</full_name>
13535
- <docblock line="1461">
13536
- <description><![CDATA[Get the current action selected from the bulk actions dropdown]]></description>
13537
- <long-description><![CDATA[]]></long-description>
13538
- <tag line="1461" name="since" description="1.40"/>
13539
- <tag line="1461" name="return" description="The action name or False if no action was selected" type="string|false">
13540
- <type by_reference="false">string</type>
13541
- <type by_reference="false">false</type>
13542
- </tag>
13543
- </docblock>
13544
- </method>
13545
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="1500" package="Media Library Assistant">
13546
- <name>_compose_edit_view_tab</name>
13547
- <full_name>_compose_edit_view_tab</full_name>
13548
- <docblock line="1490">
13549
- <description><![CDATA[Compose the Edit View tab content for the Settings subpage]]></description>
13550
- <long-description><![CDATA[]]></long-description>
13551
- <tag line="1490" name="since" description="1.40"/>
13552
- <tag line="1490" name="param" description="data values for the item" type="array" variable="$view">
13553
- <type by_reference="false">array</type>
13554
- </tag>
13555
- <tag line="1490" name="param" description="Display template" type="string" variable="$template">
13556
- <type by_reference="false">string</type>
13557
- </tag>
13558
- <tag line="1490" name="return" description="'message' =&gt; status/error messages, 'body' =&gt; tab content" type="array">
13559
- <type by_reference="false">array</type>
13560
- </tag>
13561
- </docblock>
13562
- <argument line="1500">
13563
- <name>$view</name>
13564
- <default><![CDATA[]]></default>
13565
- <type/>
13566
- </argument>
13567
- <argument line="1500">
13568
- <name>$template</name>
13569
- <default><![CDATA[]]></default>
13570
- <type/>
13571
- </argument>
13572
- </method>
13573
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="1550" package="Media Library Assistant">
13574
- <name>_compose_view_tab</name>
13575
- <full_name>_compose_view_tab</full_name>
13576
- <docblock line="1543">
13577
- <description><![CDATA[Compose the Post MIME Type Views tab content for the Settings subpage]]></description>
13578
- <long-description><![CDATA[]]></long-description>
13579
- <tag line="1543" name="since" description="1.40"/>
13580
- <tag line="1543" name="return" description="'message' =&gt; status/error messages, 'body' =&gt; tab content" type="array">
13581
- <type by_reference="false">array</type>
13582
- </tag>
13583
- </docblock>
13584
- </method>
13585
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1817" package="Media Library Assistant">
13586
- <name>mla_get_icon_type_dropdown</name>
13587
- <full_name>mla_get_icon_type_dropdown</full_name>
13588
- <docblock line="1806">
13589
- <description><![CDATA[Get an HTML select element representing a list of icon types]]></description>
13590
- <long-description><![CDATA[]]></long-description>
13591
- <tag line="1806" name="since" description="1.40"/>
13592
- <tag line="1806" name="param" description="Display template array" type="array" variable="$templates">
13593
- <type by_reference="false">array</type>
13594
- </tag>
13595
- <tag line="1806" name="param" description="HTML name attribute value" type="string" variable="$name">
13596
- <type by_reference="false">string</type>
13597
- </tag>
13598
- <tag line="1806" name="param" description="currently selected Icon Type" type="string" variable="$selection">
13599
- <type by_reference="false">string</type>
13600
- </tag>
13601
- <tag line="1806" name="return" description="HTML select element or empty string on failure." type="string">
13602
- <type by_reference="false">string</type>
13603
- </tag>
13604
- </docblock>
13605
- <argument line="1817">
13606
- <name>$templates</name>
13607
- <default><![CDATA[]]></default>
13608
- <type/>
13609
- </argument>
13610
- <argument line="1817">
13611
- <name>$name</name>
13612
- <default><![CDATA[]]></default>
13613
- <type/>
13614
- </argument>
13615
- <argument line="1817">
13616
- <name>$selection</name>
13617
- <default><![CDATA['.none.']]></default>
13618
- <type/>
13619
- </argument>
13620
- </method>
13621
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="1859" package="Media Library Assistant">
13622
- <name>_compose_edit_upload_tab</name>
13623
- <full_name>_compose_edit_upload_tab</full_name>
13624
- <docblock line="1849">
13625
- <description><![CDATA[Compose the Edit Upload type tab content for the Settings subpage]]></description>
13626
- <long-description><![CDATA[]]></long-description>
13627
- <tag line="1849" name="since" description="1.40"/>
13628
- <tag line="1849" name="param" description="data values for the item" type="array" variable="$item">
13629
- <type by_reference="false">array</type>
13630
- </tag>
13631
- <tag line="1849" name="param" description="Display template array" type="string" variable="$templates">
13632
- <type by_reference="false">string</type>
13633
- </tag>
13634
- <tag line="1849" name="return" description="'message' =&gt; status/error messages, 'body' =&gt; tab content" type="array">
13635
- <type by_reference="false">array</type>
13636
- </tag>
13637
- </docblock>
13638
- <argument line="1859">
13639
- <name>$item</name>
13640
- <default><![CDATA[]]></default>
13641
- <type/>
13642
- </argument>
13643
- <argument line="1859">
13644
- <name>$templates</name>
13645
- <default><![CDATA[]]></default>
13646
- <type/>
13647
- </argument>
13648
- </method>
13649
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="1906" package="Media Library Assistant">
13650
- <name>_compose_optional_upload_tab</name>
13651
- <full_name>_compose_optional_upload_tab</full_name>
13652
- <docblock line="1897">
13653
- <description><![CDATA[Compose the Optional File Upload MIME Types tab content for the Settings subpage]]></description>
13654
- <long-description><![CDATA[]]></long-description>
13655
- <tag line="1897" name="since" description="1.40"/>
13656
- <tag line="1897" name="param" description="Display templates" type="string" variable="$page_template_array">
13657
- <type by_reference="false">string</type>
13658
- </tag>
13659
- <tag line="1897" name="return" description="'message' =&gt; status/error messages, 'body' =&gt; tab content" type="array">
13660
- <type by_reference="false">array</type>
13661
- </tag>
13662
- </docblock>
13663
- <argument line="1906">
13664
- <name>$page_template_array</name>
13665
- <default><![CDATA[]]></default>
13666
- <type/>
13667
- </argument>
13668
- </method>
13669
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="1976" package="Media Library Assistant">
13670
- <name>_process_optional_upload_mime</name>
13671
- <full_name>_process_optional_upload_mime</full_name>
13672
- <docblock line="1967">
13673
- <description><![CDATA[Process an Optional Upload MIME Type selection]]></description>
13674
- <long-description><![CDATA[]]></long-description>
13675
- <tag line="1967" name="since" description="1.40"/>
13676
- <tag line="1967" name="param" description="MLA Optional Upload MIME Type ID" type="\intger" variable="$ID">
13677
- <type by_reference="false">\intger</type>
13678
- </tag>
13679
- <tag line="1967" name="return" description="'message' =&gt; status/error messages, 'body' =&gt; tab content" type="array">
13680
- <type by_reference="false">array</type>
13681
- </tag>
13682
- </docblock>
13683
- <argument line="1976">
13684
- <name>$ID</name>
13685
- <default><![CDATA[]]></default>
13686
- <type/>
13687
- </argument>
13688
- </method>
13689
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="1996" package="Media Library Assistant">
13690
- <name>_compose_upload_tab</name>
13691
- <full_name>_compose_upload_tab</full_name>
13692
- <docblock line="1989">
13693
- <description><![CDATA[Compose the File Upload MIME Types tab content for the Settings subpage]]></description>
13694
- <long-description><![CDATA[]]></long-description>
13695
- <tag line="1989" name="since" description="1.40"/>
13696
- <tag line="1989" name="return" description="'message' =&gt; status/error messages, 'body' =&gt; tab content" type="array">
13697
- <type by_reference="false">array</type>
13698
- </tag>
13699
- </docblock>
13700
- </method>
13701
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="2284" package="Media Library Assistant">
13702
- <name>_compose_mla_gallery_tab</name>
13703
- <full_name>_compose_mla_gallery_tab</full_name>
13704
- <docblock line="2276">
13705
- <description><![CDATA[Compose the MLA Gallery tab content for the Settings subpage]]></description>
13706
- <long-description><![CDATA[]]></long-description>
13707
- <tag line="2276" name="since" description="0.80"/>
13708
- <tag line="2276" name="uses" description="\global\$page_template_array" refers="\global\$page_template_array"/>
13709
- <tag line="2276" name="return" description="'message' =&gt; status/error messages, 'body' =&gt; tab content" type="array">
13710
- <type by_reference="false">array</type>
13711
- </tag>
13712
- </docblock>
13713
- </method>
13714
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="2654" package="Media Library Assistant">
13715
- <name>_compose_custom_field_tab</name>
13716
- <full_name>_compose_custom_field_tab</full_name>
13717
- <docblock line="2646">
13718
- <description><![CDATA[Compose the Custom Field tab content for the Settings subpage]]></description>
13719
- <long-description><![CDATA[]]></long-description>
13720
- <tag line="2646" name="since" description="1.10"/>
13721
- <tag line="2646" name="uses" description="\global\$page_template_array" refers="\global\$page_template_array"/>
13722
- <tag line="2646" name="return" description="'message' =&gt; status/error messages, 'body' =&gt; tab content" type="array">
13723
- <type by_reference="false">array</type>
13724
- </tag>
13725
- </docblock>
13726
- </method>
13727
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="2796" package="Media Library Assistant">
13728
- <name>_compose_iptc_exif_tab</name>
13729
- <full_name>_compose_iptc_exif_tab</full_name>
13730
- <docblock line="2788">
13731
- <description><![CDATA[Compose the IPTC/EXIF tab content for the Settings subpage]]></description>
13732
- <long-description><![CDATA[]]></long-description>
13733
- <tag line="2788" name="since" description="1.00"/>
13734
- <tag line="2788" name="uses" description="\global\$page_template_array" refers="\global\$page_template_array"/>
13735
- <tag line="2788" name="return" description="'message' =&gt; status/error messages, 'body' =&gt; tab content" type="array">
13736
- <type by_reference="false">array</type>
13737
- </tag>
13738
- </docblock>
13739
- </method>
13740
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="2939" package="Media Library Assistant">
13741
- <name>_compose_documentation_tab</name>
13742
- <full_name>_compose_documentation_tab</full_name>
13743
- <docblock line="2931">
13744
- <description><![CDATA[Compose the Documentation tab content for the Settings subpage]]></description>
13745
- <long-description><![CDATA[]]></long-description>
13746
- <tag line="2931" name="since" description="0.80"/>
13747
- <tag line="2931" name="uses" description="\global\$page_template_array" refers="\global\$page_template_array"/>
13748
- <tag line="2931" name="return" description="'message' =&gt; status/error messages, 'body' =&gt; tab content" type="array">
13749
- <type by_reference="false">array</type>
13750
- </tag>
13751
- </docblock>
13752
- </method>
13753
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="2962" package="Media Library Assistant">
13754
- <name>_save_debug_settings</name>
13755
- <full_name>_save_debug_settings</full_name>
13756
- <docblock line="2953">
13757
- <description><![CDATA[Save Debug settings to the options table]]></description>
13758
- <long-description><![CDATA[]]></long-description>
13759
- <tag line="2953" name="since" description="2.10"/>
13760
- <tag line="2953" name="uses" description="\global\$_REQUEST" refers="\global\$_REQUEST"/>
13761
- <tag line="2953" name="return" description="Message(s) reflecting the results of the operation" type="array">
13762
- <type by_reference="false">array</type>
13763
- </tag>
13764
- </docblock>
13765
- </method>
13766
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="2994" package="Media Library Assistant">
13767
- <name>_compose_settings_row</name>
13768
- <full_name>_compose_settings_row</full_name>
13769
- <docblock line="2984">
13770
- <description><![CDATA[Compose the Debug tab Debug Settings content for one setting]]></description>
13771
- <long-description><![CDATA[]]></long-description>
13772
- <tag line="2984" name="since" description="2.14"/>
13773
- <tag line="2984" name="param" description="Display name for the setting" type="string" variable="$label">
13774
- <type by_reference="false">string</type>
13775
- </tag>
13776
- <tag line="2984" name="param" description="Current value for the setting" type="string" variable="$value">
13777
- <type by_reference="false">string</type>
13778
- </tag>
13779
- <tag line="2984" name="return" description="HTML table row markup for the label setting pair" type="string">
13780
- <type by_reference="false">string</type>
13781
- </tag>
13782
- </docblock>
13783
- <argument line="2994">
13784
- <name>$label</name>
13785
- <default><![CDATA[]]></default>
13786
- <type/>
13787
- </argument>
13788
- <argument line="2994">
13789
- <name>$value</name>
13790
- <default><![CDATA[]]></default>
13791
- <type/>
13792
- </argument>
13793
- </method>
13794
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="3012" package="Media Library Assistant">
13795
- <name>_compose_debug_tab</name>
13796
- <full_name>_compose_debug_tab</full_name>
13797
- <docblock line="3004">
13798
- <description><![CDATA[Compose the Debug tab content for the Settings subpage]]></description>
13799
- <long-description><![CDATA[]]></long-description>
13800
- <tag line="3004" name="since" description="2.10"/>
13801
- <tag line="3004" name="uses" description="\global\$page_template_array" refers="\global\$page_template_array"/>
13802
- <tag line="3004" name="return" description="'message' =&gt; status/error messages, 'body' =&gt; tab content" type="array">
13803
- <type by_reference="false">array</type>
13804
- </tag>
13805
- </docblock>
13806
- </method>
13807
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="3203" package="Media Library Assistant">
13808
- <name>mla_render_settings_page</name>
13809
- <full_name>mla_render_settings_page</full_name>
13810
- <docblock line="3196">
13811
- <description><![CDATA[Render (echo) the "Media Library Assistant" subpage in the Settings section]]></description>
13812
- <long-description><![CDATA[]]></long-description>
13813
- <tag line="3196" name="since" description="0.1"/>
13814
- <tag line="3196" name="return" description="Echoes HTML markup for the Settings subpage" type="void">
13815
- <type by_reference="false">void</type>
13816
- </tag>
13817
- </docblock>
13818
- </method>
13819
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="3269" package="Media Library Assistant">
13820
- <name>_save_gallery_settings</name>
13821
- <full_name>_save_gallery_settings</full_name>
13822
- <docblock line="3260">
13823
- <description><![CDATA[Save MLA Gallery settings to the options table]]></description>
13824
- <long-description><![CDATA[]]></long-description>
13825
- <tag line="3260" name="since" description="0.80"/>
13826
- <tag line="3260" name="uses" description="\global\$_REQUEST" refers="\global\$_REQUEST"/>
13827
- <tag line="3260" name="return" description="Message(s) reflecting the results of the operation" type="array">
13828
- <type by_reference="false">array</type>
13829
- </tag>
13830
- </docblock>
13831
- </method>
13832
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="3547" package="Media Library Assistant">
13833
- <name>_save_view_settings</name>
13834
- <full_name>_save_view_settings</full_name>
13835
- <docblock line="3538">
13836
- <description><![CDATA[Save View settings to the options table]]></description>
13837
- <long-description><![CDATA[]]></long-description>
13838
- <tag line="3538" name="since" description="1.40"/>
13839
- <tag line="3538" name="uses" description="\global\$_REQUEST" refers="\global\$_REQUEST"/>
13840
- <tag line="3538" name="return" description="Message(s) reflecting the results of the operation" type="array">
13841
- <type by_reference="false">array</type>
13842
- </tag>
13843
- </docblock>
13844
- </method>
13845
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="3578" package="Media Library Assistant">
13846
- <name>_save_upload_settings</name>
13847
- <full_name>_save_upload_settings</full_name>
13848
- <docblock line="3569">
13849
- <description><![CDATA[Save Upload settings to the options table]]></description>
13850
- <long-description><![CDATA[]]></long-description>
13851
- <tag line="3569" name="since" description="1.40"/>
13852
- <tag line="3569" name="uses" description="\global\$_REQUEST" refers="\global\$_REQUEST"/>
13853
- <tag line="3569" name="return" description="Message(s) reflecting the results of the operation" type="array">
13854
- <type by_reference="false">array</type>
13855
- </tag>
13856
- </docblock>
13857
- </method>
13858
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="3616" package="Media Library Assistant">
13859
- <name>_process_custom_field_mapping</name>
13860
- <full_name>_process_custom_field_mapping</full_name>
13861
- <docblock line="3603">
13862
- <description><![CDATA[Process custom field settings against all image attachments
13863
- without saving the settings to the mla_option]]></description>
13864
- <long-description><![CDATA[]]></long-description>
13865
- <tag line="3603" name="since" description="1.10"/>
13866
- <tag line="3603" name="uses" description="\global\$_REQUEST" refers="\global\$_REQUEST"/>
13867
- <tag line="3603" name="param" description="| NULL specific custom_field_mapping values" type="array" variable="$settings">
13868
- <type by_reference="false">array</type>
13869
- </tag>
13870
- <tag line="3603" name="param" description="offset for chunk mapping" type="integer" variable="$offset">
13871
- <type by_reference="false">integer</type>
13872
- </tag>
13873
- <tag line="3603" name="param" description="length for chunk mapping" type="integer" variable="$length">
13874
- <type by_reference="false">integer</type>
13875
- </tag>
13876
- <tag line="3603" name="return" description="Message(s) reflecting the results of the operation" type="array">
13877
- <type by_reference="false">array</type>
13878
- </tag>
13879
- </docblock>
13880
- <argument line="3616">
13881
- <name>$settings</name>
13882
- <default><![CDATA[NULL]]></default>
13883
- <type/>
13884
- </argument>
13885
- <argument line="3616">
13886
- <name>$offset</name>
13887
- <default><![CDATA[0]]></default>
13888
- <type/>
13889
- </argument>
13890
- <argument line="3616">
13891
- <name>$length</name>
13892
- <default><![CDATA[0]]></default>
13893
- <type/>
13894
- </argument>
13895
- </method>
13896
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="3691" package="Media Library Assistant">
13897
- <name>_delete_custom_field</name>
13898
- <full_name>_delete_custom_field</full_name>
13899
- <docblock line="3682">
13900
- <description><![CDATA[Delete a custom field from the wp_postmeta table]]></description>
13901
- <long-description><![CDATA[]]></long-description>
13902
- <tag line="3682" name="since" description="1.10"/>
13903
- <tag line="3682" name="param" description="specific custom_field_mapping rule" type="array" variable="$value">
13904
- <type by_reference="false">array</type>
13905
- </tag>
13906
- <tag line="3682" name="return" description="Message(s) reflecting the results of the operation" type="array">
13907
- <type by_reference="false">array</type>
13908
- </tag>
13909
- </docblock>
13910
- <argument line="3691">
13911
- <name>$value</name>
13912
- <default><![CDATA[]]></default>
13913
- <type/>
13914
- </argument>
13915
- </method>
13916
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="3719" package="Media Library Assistant">
13917
- <name>_save_custom_field_settings</name>
13918
- <full_name>_save_custom_field_settings</full_name>
13919
- <docblock line="3709">
13920
- <description><![CDATA[Save custom field settings to the options table]]></description>
13921
- <long-description><![CDATA[]]></long-description>
13922
- <tag line="3709" name="since" description="1.10"/>
13923
- <tag line="3709" name="uses" description="\global\$_REQUEST" refers="\global\$_REQUEST"/>
13924
- <tag line="3709" name="param" description="| NULL specific custom_field_mapping values" type="array" variable="$new_values">
13925
- <type by_reference="false">array</type>
13926
- </tag>
13927
- <tag line="3709" name="return" description="Message(s) reflecting the results of the operation" type="array">
13928
- <type by_reference="false">array</type>
13929
- </tag>
13930
- </docblock>
13931
- <argument line="3719">
13932
- <name>$new_values</name>
13933
- <default><![CDATA[NULL]]></default>
13934
- <type/>
13935
- </argument>
13936
- </method>
13937
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="3763" package="Media Library Assistant">
13938
- <name>_process_iptc_exif_standard</name>
13939
- <full_name>_process_iptc_exif_standard</full_name>
13940
- <docblock line="3750">
13941
- <description><![CDATA[Process IPTC/EXIF standard field settings against all image attachments
13942
- without saving the settings to the mla_option]]></description>
13943
- <long-description><![CDATA[]]></long-description>
13944
- <tag line="3750" name="since" description="1.00"/>
13945
- <tag line="3750" name="uses" description="\global\$_REQUEST" refers="\global\$_REQUEST"/>
13946
- <tag line="3750" name="param" description="offset for chunk mapping" type="integer" variable="$offset">
13947
- <type by_reference="false">integer</type>
13948
- </tag>
13949
- <tag line="3750" name="param" description="length for chunk mapping" type="integer" variable="$length">
13950
- <type by_reference="false">integer</type>
13951
- </tag>
13952
- <tag line="3750" name="return" description="Message(s) reflecting the results of the operation" type="array">
13953
- <type by_reference="false">array</type>
13954
- </tag>
13955
- </docblock>
13956
- <argument line="3763">
13957
- <name>$offset</name>
13958
- <default><![CDATA[0]]></default>
13959
- <type/>
13960
- </argument>
13961
- <argument line="3763">
13962
- <name>$length</name>
13963
- <default><![CDATA[0]]></default>
13964
- <type/>
13965
- </argument>
13966
- </method>
13967
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="3837" package="Media Library Assistant">
13968
- <name>_process_iptc_exif_taxonomy</name>
13969
- <full_name>_process_iptc_exif_taxonomy</full_name>
13970
- <docblock line="3824">
13971
- <description><![CDATA[Process IPTC/EXIF taxonomy term settings against all image attachments
13972
- without saving the settings to the mla_option]]></description>
13973
- <long-description><![CDATA[]]></long-description>
13974
- <tag line="3824" name="since" description="1.00"/>
13975
- <tag line="3824" name="uses" description="\global\$_REQUEST" refers="\global\$_REQUEST"/>
13976
- <tag line="3824" name="param" description="offset for chunk mapping" type="integer" variable="$offset">
13977
- <type by_reference="false">integer</type>
13978
- </tag>
13979
- <tag line="3824" name="param" description="length for chunk mapping" type="integer" variable="$length">
13980
- <type by_reference="false">integer</type>
13981
- </tag>
13982
- <tag line="3824" name="return" description="Message(s) reflecting the results of the operation" type="array">
13983
- <type by_reference="false">array</type>
13984
- </tag>
13985
- </docblock>
13986
- <argument line="3837">
13987
- <name>$offset</name>
13988
- <default><![CDATA[0]]></default>
13989
- <type/>
13990
- </argument>
13991
- <argument line="3837">
13992
- <name>$length</name>
13993
- <default><![CDATA[0]]></default>
13994
- <type/>
13995
- </argument>
13996
- </method>
13997
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="3912" package="Media Library Assistant">
13998
- <name>_process_iptc_exif_custom</name>
13999
- <full_name>_process_iptc_exif_custom</full_name>
14000
- <docblock line="3898">
14001
- <description><![CDATA[Process IPTC/EXIF custom field settings against all image attachments
14002
- without saving the settings to the mla_option]]></description>
14003
- <long-description><![CDATA[]]></long-description>
14004
- <tag line="3898" name="since" description="1.00"/>
14005
- <tag line="3898" name="uses" description="\global\$_REQUEST" refers="\global\$_REQUEST"/>
14006
- <tag line="3898" name="param" description="| NULL specific iptc_exif_custom_mapping values" type="array" variable="$settings">
14007
- <type by_reference="false">array</type>
14008
- </tag>
14009
- <tag line="3898" name="param" description="offset for chunk mapping" type="integer" variable="$offset">
14010
- <type by_reference="false">integer</type>
14011
- </tag>
14012
- <tag line="3898" name="param" description="length for chunk mapping" type="integer" variable="$length">
14013
- <type by_reference="false">integer</type>
14014
- </tag>
14015
- <tag line="3898" name="return" description="Message(s) reflecting the results of the operation" type="array">
14016
- <type by_reference="false">array</type>
14017
- </tag>
14018
- </docblock>
14019
- <argument line="3912">
14020
- <name>$settings</name>
14021
- <default><![CDATA[NULL]]></default>
14022
- <type/>
14023
- </argument>
14024
- <argument line="3912">
14025
- <name>$offset</name>
14026
- <default><![CDATA[0]]></default>
14027
- <type/>
14028
- </argument>
14029
- <argument line="3912">
14030
- <name>$length</name>
14031
- <default><![CDATA[0]]></default>
14032
- <type/>
14033
- </argument>
14034
- </method>
14035
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="3996" package="Media Library Assistant">
14036
- <name>_save_iptc_exif_custom_settings</name>
14037
- <full_name>_save_iptc_exif_custom_settings</full_name>
14038
- <docblock line="3987">
14039
- <description><![CDATA[Save IPTC/EXIF custom field settings to the options table]]></description>
14040
- <long-description><![CDATA[]]></long-description>
14041
- <tag line="3987" name="since" description="1.30"/>
14042
- <tag line="3987" name="param" description="specific iptc_exif_custom_mapping values" type="array" variable="$new_values">
14043
- <type by_reference="false">array</type>
14044
- </tag>
14045
- <tag line="3987" name="return" description="Message(s) reflecting the results of the operation" type="array">
14046
- <type by_reference="false">array</type>
14047
- </tag>
14048
- </docblock>
14049
- <argument line="3996">
14050
- <name>$new_values</name>
14051
- <default><![CDATA[]]></default>
14052
- <type/>
14053
- </argument>
14054
- </method>
14055
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="4012" package="Media Library Assistant">
14056
- <name>_save_iptc_exif_settings</name>
14057
- <full_name>_save_iptc_exif_settings</full_name>
14058
- <docblock line="4003">
14059
- <description><![CDATA[Save IPTC/EXIF settings to the options table]]></description>
14060
- <long-description><![CDATA[]]></long-description>
14061
- <tag line="4003" name="since" description="1.00"/>
14062
- <tag line="4003" name="uses" description="\global\$_REQUEST" refers="\global\$_REQUEST"/>
14063
- <tag line="4003" name="return" description="Message(s) reflecting the results of the operation" type="array">
14064
- <type by_reference="false">array</type>
14065
- </tag>
14066
- </docblock>
14067
- </method>
14068
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="4050" package="Media Library Assistant">
14069
- <name>_save_general_settings</name>
14070
- <full_name>_save_general_settings</full_name>
14071
- <docblock line="4041">
14072
- <description><![CDATA[Save General settings to the options table]]></description>
14073
- <long-description><![CDATA[]]></long-description>
14074
- <tag line="4041" name="since" description="0.1"/>
14075
- <tag line="4041" name="uses" description="\global\$_REQUEST" refers="\global\$_REQUEST"/>
14076
- <tag line="4041" name="return" description="Message(s) reflecting the results of the operation" type="array">
14077
- <type by_reference="false">array</type>
14078
- </tag>
14079
- </docblock>
14080
- </method>
14081
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="4140" package="Media Library Assistant">
14082
- <name>_reset_general_settings</name>
14083
- <full_name>_reset_general_settings</full_name>
14084
- <docblock line="4133">
14085
- <description><![CDATA[Delete saved settings, restoring default values]]></description>
14086
- <long-description><![CDATA[]]></long-description>
14087
- <tag line="4133" name="since" description="0.1"/>
14088
- <tag line="4133" name="return" description="Message(s) reflecting the results of the operation" type="array">
14089
- <type by_reference="false">array</type>
14090
- </tag>
14091
- </docblock>
14092
- </method>
14093
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="4179" package="Media Library Assistant">
14094
- <name>_compose_import_settings</name>
14095
- <full_name>_compose_import_settings</full_name>
14096
- <docblock line="4172">
14097
- <description><![CDATA[Compose HTML markup for the import settings if any settings files exist]]></description>
14098
- <long-description><![CDATA[]]></long-description>
14099
- <tag line="4172" name="since" description="1.50"/>
14100
- <tag line="4172" name="return" description="HTML markup for the Import All Settings button and dropdown list, if any" type="string">
14101
- <type by_reference="false">string</type>
14102
- </tag>
14103
- </docblock>
14104
- </method>
14105
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="4234" package="Media Library Assistant">
14106
- <name>_export_settings</name>
14107
- <full_name>_export_settings</full_name>
14108
- <docblock line="4225">
14109
- <description><![CDATA[Serialize option settings and write them to a file]]></description>
14110
- <long-description><![CDATA[<p>Options with a default value, i.e., not stored in the database are NOT written to the file.</p>]]></long-description>
14111
- <tag line="4225" name="since" description="1.50"/>
14112
- <tag line="4225" name="return" description="Message(s) reflecting the results of the operation" type="array">
14113
- <type by_reference="false">array</type>
14114
- </tag>
14115
- </docblock>
14116
- </method>
14117
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="4321" package="Media Library Assistant">
14118
- <name>_import_settings</name>
14119
- <full_name>_import_settings</full_name>
14120
- <docblock line="4314">
14121
- <description><![CDATA[Read a serialized file of option settings and write them to the database]]></description>
14122
- <long-description><![CDATA[]]></long-description>
14123
- <tag line="4314" name="since" description="1.50"/>
14124
- <tag line="4314" name="return" description="Message(s) reflecting the results of the operation" type="array">
14125
- <type by_reference="false">array</type>
14126
- </tag>
14127
- </docblock>
14128
- </method>
14129
- </class>
14130
- </file>
14131
- <file path="includes\class-mla-shortcode-support.php" hash="b27d7f022d56980921f3e8af6f2bcec0" package="Media Library Assistant">
14132
- <docblock line="2">
14133
- <description><![CDATA[Media Library Assistant Shortcode handler(s)]]></description>
14134
- <long-description><![CDATA[]]></long-description>
14135
- <tag line="2" name="package" description="Media Library Assistant"/>
14136
- <tag line="2" name="since" description="2.20"/>
14137
- </docblock>
14138
- <include line="13" type="Require Once" package="Media Library Assistant">
14139
- <name/>
14140
- </include>
14141
- <include line="16" type="Require Once" package="Media Library Assistant">
14142
- <name/>
14143
- </include>
14144
- <class final="false" abstract="false" namespace="global" line="28" package="Media Library Assistant">
14145
- <extends/>
14146
- <name>MLAShortcode_Support</name>
14147
- <full_name>\MLAShortcode_Support</full_name>
14148
- <docblock line="20">
14149
- <description><![CDATA[Class MLA (Media Library Assistant) Shortcode Support provides the functions that
14150
- implement the [mla_gallery] and [mla_tag_cloud] shortcodes.]]></description>
14151
- <long-description><![CDATA[<p>It also implements the
14152
- mla_get_shortcode_attachments() and mla_get_terms() database access functions.</p>]]></long-description>
14153
- <tag line="20" name="package" description="Media Library Assistant"/>
14154
- <tag line="20" name="since" description="2.20"/>
14155
- </docblock>
14156
- <property final="false" static="true" visibility="public" line="36" namespace="global" package="Media Library Assistant">
14157
- <name>$mla_custom_templates</name>
14158
- <default><![CDATA[NULL]]></default>
14159
- <docblock line="29">
14160
- <description><![CDATA[Style and Markup templates]]></description>
14161
- <long-description><![CDATA[]]></long-description>
14162
- <tag line="29" name="since" description="2.20"/>
14163
- <tag line="29" name="var" description="" type="array">
14164
- <type by_reference="false">array</type>
14165
- </tag>
14166
- </docblock>
14167
- </property>
14168
- <property final="false" static="true" visibility="private" line="267" namespace="global" package="Media Library Assistant">
14169
- <name>$mla_debug</name>
14170
- <default><![CDATA[false]]></default>
14171
- <docblock line="260">
14172
- <description><![CDATA[Turn debug collection and display on or off]]></description>
14173
- <long-description><![CDATA[]]></long-description>
14174
- <tag line="260" name="since" description="2.20"/>
14175
- <tag line="260" name="var" description="" type="boolean">
14176
- <type by_reference="false">boolean</type>
14177
- </tag>
14178
- </docblock>
14179
- </property>
14180
- <property final="false" static="true" visibility="private" line="2777" namespace="global" package="Media Library Assistant">
14181
- <name>$query_parameters</name>
14182
- <default><![CDATA[array()]]></default>
14183
- <docblock line="2764">
14184
- <description><![CDATA[WP_Query filter "parameters"]]></description>
14185
- <long-description><![CDATA[<p>This array defines parameters for the query's join, where and orderby filters.
14186
- The parameters are set up in the mla_get_shortcode_attachments function, and
14187
- any further logic required to translate those values is contained in the filter.</p>
14188
-
14189
- <p>Array index values are: orderby, post_parent</p>]]></long-description>
14190
- <tag line="2764" name="since" description="2.20"/>
14191
- <tag line="2764" name="var" description="" type="array">
14192
- <type by_reference="false">array</type>
14193
- </tag>
14194
- </docblock>
14195
- </property>
14196
- <property final="false" static="true" visibility="private" line="2918" namespace="global" package="Media Library Assistant">
14197
- <name>$mla_get_shortcode_attachments_parameters</name>
14198
- <default><![CDATA[array('order' => 'ASC', 'orderby' => 'menu_order,ID', 'id' => NULL, 'ids' => array(), 'include' => array(), 'exclude' => array(), 'post_parent' => NULL, 'author' => NULL, 'author_name' => '', 'cat' => 0, 'category_name' => '', 'category__and' => array(), 'category__in' => array(), 'category__not_in' => array(), 'tag' => '', 'tag_id' => 0, 'tag__and' => array(), 'tag__in' => array(), 'tag__not_in' => array(), 'tag_slug__and' => array(), 'tag_slug__in' => array(), 'post_type' => 'attachment', 'post_status' => 'inherit', 'post_mime_type' => 'image', 'nopaging' => true, 'numberposts' => 0, 'posts_per_page' => 0, 'posts_per_archive_page' => 0, 'paged' => NULL, 'offset' => NULL, 'mla_page_parameter' => 'mla_paginate_current', 'mla_paginate_current' => NULL, 'mla_paginate_total' => NULL, 'date_query' => '', 'meta_key' => '', 'meta_value' => '', 'meta_value_num' => NULL, 'meta_compare' => '', 'meta_query' => '', 'mla_terms_phrases' => '', 'mla_terms_taxonomies' => '', 'mla_phrase_connector' => '', 'mla_term_connector' => '', 's' => '', 'mla_search_fields' => '', 'mla_search_connector' => '', 'sentence' => '', 'exact' => '', 'fields' => '', 'cache_results' => NULL, 'update_post_meta_cache' => NULL, 'update_post_term_cache' => NULL)]]></default>
14199
- <docblock line="2911">
14200
- <description><![CDATA[Data selection parameters for the WP_Query in [mla_gallery]]]></description>
14201
- <long-description><![CDATA[]]></long-description>
14202
- <tag line="2911" name="since" description="2.20"/>
14203
- <tag line="2911" name="var" description="" type="array">
14204
- <type by_reference="false">array</type>
14205
- </tag>
14206
- </docblock>
14207
- </property>
14208
- <property final="false" static="true" visibility="private" line="3882" namespace="global" package="Media Library Assistant">
14209
- <name>$mla_get_terms_parameters</name>
14210
- <default><![CDATA[array('taxonomy' => 'post_tag', 'post_mime_type' => 'all', 'post_type' => 'attachment', 'post_status' => 'inherit', 'ids' => array(), 'fields' => 't.term_id, t.name, t.slug, t.term_group, tt.term_taxonomy_id, tt.taxonomy, tt.description, tt.parent, COUNT(p.ID) AS `count`', 'include' => '', 'exclude' => '', 'parent' => '', 'minimum' => 0, 'no_count' => false, 'number' => 0, 'orderby' => 'name', 'order' => 'ASC', 'no_orderby' => false, 'preserve_case' => false, 'pad_counts' => false, 'limit' => 0, 'offset' => 0)]]></default>
14211
- <docblock line="3875">
14212
- <description><![CDATA[Data selection parameters for [mla_tag_cloud]]]></description>
14213
- <long-description><![CDATA[]]></long-description>
14214
- <tag line="3875" name="since" description="2.20"/>
14215
- <tag line="3875" name="var" description="" type="array">
14216
- <type by_reference="false">array</type>
14217
- </tag>
14218
- </docblock>
14219
- </property>
14220
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="45" package="Media Library Assistant">
14221
- <name>mla_load_custom_templates</name>
14222
- <full_name>mla_load_custom_templates</full_name>
14223
- <docblock line="38">
14224
- <description><![CDATA[Load style and markup templates to $mla_custom_templates]]></description>
14225
- <long-description><![CDATA[]]></long-description>
14226
- <tag line="38" name="since" description="2.20"/>
14227
- <tag line="38" name="return" description="" type="void">
14228
- <type by_reference="false">void</type>
14229
- </tag>
14230
- </docblock>
14231
- </method>
14232
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="92" package="Media Library Assistant">
14233
- <name>mla_fetch_gallery_template</name>
14234
- <full_name>mla_fetch_gallery_template</full_name>
14235
- <docblock line="82">
14236
- <description><![CDATA[Fetch style or markup template from $mla_templates]]></description>
14237
- <long-description><![CDATA[]]></long-description>
14238
- <tag line="82" name="since" description="2.20"/>
14239
- <tag line="82" name="param" description="Template name" type="string" variable="$key">
14240
- <type by_reference="false">string</type>
14241
- </tag>
14242
- <tag line="82" name="param" description="Template type; 'style' (default) or 'markup'" type="string" variable="$type">
14243
- <type by_reference="false">string</type>
14244
- </tag>
14245
- <tag line="82" name="return" description="requested template, false if not found or null if no templates" type="string|boolean|null">
14246
- <type by_reference="false">string</type>
14247
- <type by_reference="false">boolean</type>
14248
- <type by_reference="false">null</type>
14249
- </tag>
14250
- </docblock>
14251
- <argument line="92">
14252
- <name>$key</name>
14253
- <default><![CDATA[]]></default>
14254
- <type/>
14255
- </argument>
14256
- <argument line="92">
14257
- <name>$type</name>
14258
- <default><![CDATA['style']]></default>
14259
- <type/>
14260
- </argument>
14261
- </method>
14262
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="118" package="Media Library Assistant">
14263
- <name>mla_ghostscript_present</name>
14264
- <full_name>mla_ghostscript_present</full_name>
14265
- <docblock line="107">
14266
- <description><![CDATA[Verify the presence of Ghostscript for mla_viewer]]></description>
14267
- <long-description><![CDATA[]]></long-description>
14268
- <tag line="107" name="since" description="2.20"/>
14269
- <tag line="107" name="param" description="Non-standard location to override default search, e.g., 'C:\Program Files (x86)\gs\gs9.15\bin\gswin32c.exe'" type="string" variable="$explicit_path">
14270
- <type by_reference="false">string</type>
14271
- </tag>
14272
- <tag line="107" name="param" description="Force ghostscript-only tests, used by MLASettings::_compose_mla_gallery_tab()" type="boolean" variable="$ghostscript_only">
14273
- <type by_reference="false">boolean</type>
14274
- </tag>
14275
- <tag line="107" name="return" description="true if Ghostscript available else false" type="boolean">
14276
- <type by_reference="false">boolean</type>
14277
- </tag>
14278
- </docblock>
14279
- <argument line="118">
14280
- <name>$explicit_path</name>
14281
- <default><![CDATA['']]></default>
14282
- <type/>
14283
- </argument>
14284
- <argument line="118">
14285
- <name>$ghostscript_only</name>
14286
- <default><![CDATA[false]]></default>
14287
- <type/>
14288
- </argument>
14289
- </method>
14290
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="216" package="Media Library Assistant">
14291
- <name>_validate_attributes</name>
14292
- <full_name>_validate_attributes</full_name>
14293
- <docblock line="207">
14294
- <description><![CDATA[Make sure $attr is an array and repair line-break damage]]></description>
14295
- <long-description><![CDATA[]]></long-description>
14296
- <tag line="207" name="since" description="2.20"/>
14297
- <tag line="207" name="param" description="array or string containing shortcode attributes" type="mixed" variable="$attr">
14298
- <type by_reference="false">mixed</type>
14299
- </tag>
14300
- <tag line="207" name="return" description="clean attributes array" type="array">
14301
- <type by_reference="false">array</type>
14302
- </tag>
14303
- </docblock>
14304
- <argument line="216">
14305
- <name>$attr</name>
14306
- <default><![CDATA[]]></default>
14307
- <type/>
14308
- </argument>
14309
- </method>
14310
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="283" package="Media Library Assistant">
14311
- <name>mla_gallery_shortcode</name>
14312
- <full_name>mla_gallery_shortcode</full_name>
14313
- <docblock line="269">
14314
- <description><![CDATA[The MLA Gallery shortcode.]]></description>
14315
- <long-description><![CDATA[<p>This is a superset of the WordPress Gallery shortcode for displaying images on a post,
14316
- page or custom post type. It is adapted from /wp-includes/media.php gallery_shortcode.
14317
- Enhancements include many additional selection parameters and full taxonomy support.</p>]]></long-description>
14318
- <tag line="269" name="since" description="2.20"/>
14319
- <tag line="269" name="param" description="Attributes of the shortcode" type="array" variable="$attr">
14320
- <type by_reference="false">array</type>
14321
- </tag>
14322
- <tag line="269" name="param" description="Optional content for enclosing shortcodes; used with mla_alt_shortcode" type="string" variable="$content">
14323
- <type by_reference="false">string</type>
14324
- </tag>
14325
- <tag line="269" name="return" description="HTML content to display gallery." type="string">
14326
- <type by_reference="false">string</type>
14327
- </tag>
14328
- </docblock>
14329
- <argument line="283">
14330
- <name>$attr</name>
14331
- <default><![CDATA[]]></default>
14332
- <type/>
14333
- </argument>
14334
- <argument line="283">
14335
- <name>$content</name>
14336
- <default><![CDATA[NULL]]></default>
14337
- <type/>
14338
- </argument>
14339
- </method>
14340
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1513" package="Media Library Assistant">
14341
- <name>mla_tag_cloud</name>
14342
- <full_name>mla_tag_cloud</full_name>
14343
- <docblock line="1501">
14344
- <description><![CDATA[The MLA Tag Cloud support function.]]></description>
14345
- <long-description><![CDATA[<p>This is an alternative to the WordPress wp_tag_cloud function, with additional
14346
- options to customize the hyperlink behind each term.</p>]]></long-description>
14347
- <tag line="1501" name="since" description="2.20"/>
14348
- <tag line="1501" name="param" description="Attributes of the shortcode." type="array" variable="$attr">
14349
- <type by_reference="false">array</type>
14350
- </tag>
14351
- <tag line="1501" name="return" description="HTML content to display the tag cloud." type="string">
14352
- <type by_reference="false">string</type>
14353
- </tag>
14354
- </docblock>
14355
- <argument line="1513">
14356
- <name>$attr</name>
14357
- <default><![CDATA[]]></default>
14358
- <type/>
14359
- </argument>
14360
- </method>
14361
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="2331" package="Media Library Assistant">
14362
- <name>mla_tag_cloud_shortcode</name>
14363
- <full_name>mla_tag_cloud_shortcode</full_name>
14364
- <docblock line="2320">
14365
- <description><![CDATA[The MLA Tag Cloud shortcode.]]></description>
14366
- <long-description><![CDATA[<p>This is an interface to the mla_tag_cloud function.</p>]]></long-description>
14367
- <tag line="2320" name="since" description="2.20"/>
14368
- <tag line="2320" name="param" description="Attributes of the shortcode." type="array" variable="$attr">
14369
- <type by_reference="false">array</type>
14370
- </tag>
14371
- <tag line="2320" name="return" description="HTML content to display the tag cloud." type="string">
14372
- <type by_reference="false">string</type>
14373
- </tag>
14374
- </docblock>
14375
- <argument line="2331">
14376
- <name>$attr</name>
14377
- <default><![CDATA[]]></default>
14378
- <type/>
14379
- </argument>
14380
- </method>
14381
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="2360" package="Media Library Assistant">
14382
- <name>_registered_dimensions</name>
14383
- <full_name>_registered_dimensions</full_name>
14384
- <docblock line="2353">
14385
- <description><![CDATA[Computes image dimensions for scalable graphics, e.g., SVG]]></description>
14386
- <long-description><![CDATA[]]></long-description>
14387
- <tag line="2353" name="since" description="2.20"/>
14388
- <tag line="2353" name="return" description="" type="array">
14389
- <type by_reference="false">array</type>
14390
- </tag>
14391
- </docblock>
14392
- </method>
14393
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="2395" package="Media Library Assistant">
14394
- <name>_process_shortcode_parameter</name>
14395
- <full_name>_process_shortcode_parameter</full_name>
14396
- <docblock line="2385">
14397
- <description><![CDATA[Handles brace/bracket escaping and parses template for a shortcode parameter]]></description>
14398
- <long-description><![CDATA[]]></long-description>
14399
- <tag line="2385" name="since" description="2.20"/>
14400
- <tag line="2385" name="param" description="raw shortcode parameter, e.g., &quot;text {+field+} {brackets} \\{braces\\}&quot;" type="string" variable="$text">
14401
- <type by_reference="false">string</type>
14402
- </tag>
14403
- <tag line="2385" name="param" description="template substitution values, e.g., ('instance' =&gt; '1', ... )" type="string" variable="$markup_values">
14404
- <type by_reference="false">string</type>
14405
- </tag>
14406
- <tag line="2385" name="return" description="parameter with brackets, braces, substitution parameters and templates processed" type="string">
14407
- <type by_reference="false">string</type>
14408
- </tag>
14409
- </docblock>
14410
- <argument line="2395">
14411
- <name>$text</name>
14412
- <default><![CDATA[]]></default>
14413
- <type/>
14414
- </argument>
14415
- <argument line="2395">
14416
- <name>$markup_values</name>
14417
- <default><![CDATA[]]></default>
14418
- <type/>
14419
- </argument>
14420
- </method>
14421
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="2414" package="Media Library Assistant">
14422
- <name>_paginate_links</name>
14423
- <full_name>_paginate_links</full_name>
14424
- <docblock line="2401">
14425
- <description><![CDATA[Handles pagnation output types 'previous_page', 'next_page', and 'paginate_links']]></description>
14426
- <long-description><![CDATA[]]></long-description>
14427
- <tag line="2401" name="since" description="2.20"/>
14428
- <tag line="2401" name="param" description="value(s) for mla_output_type parameter" type="array" variable="$output_parameters">
14429
- <type by_reference="false">array</type>
14430
- </tag>
14431
- <tag line="2401" name="param" description="template substitution values, e.g., ('instance' =&gt; '1', ... )" type="string" variable="$markup_values">
14432
- <type by_reference="false">string</type>
14433
- </tag>
14434
- <tag line="2401" name="param" description="merged default and passed shortcode parameter values" type="string" variable="$arguments">
14435
- <type by_reference="false">string</type>
14436
- </tag>
14437
- <tag line="2401" name="param" description="number of attachments in the gallery, without pagination" type="integer" variable="$found_rows">
14438
- <type by_reference="false">integer</type>
14439
- </tag>
14440
- <tag line="2401" name="param" description="output text so far, may include debug values" type="string" variable="$output">
14441
- <type by_reference="false">string</type>
14442
- </tag>
14443
- <tag line="2401" name="return" description="false or string with HTML for pagination output types" type="mixed">
14444
- <type by_reference="false">mixed</type>
14445
- </tag>
14446
- </docblock>
14447
- <argument line="2414">
14448
- <name>$output_parameters</name>
14449
- <default><![CDATA[]]></default>
14450
- <type/>
14451
- </argument>
14452
- <argument line="2414">
14453
- <name>$markup_values</name>
14454
- <default><![CDATA[]]></default>
14455
- <type/>
14456
- </argument>
14457
- <argument line="2414">
14458
- <name>$arguments</name>
14459
- <default><![CDATA[]]></default>
14460
- <type/>
14461
- </argument>
14462
- <argument line="2414">
14463
- <name>$found_rows</name>
14464
- <default><![CDATA[]]></default>
14465
- <type/>
14466
- </argument>
14467
- <argument line="2414">
14468
- <name>$output</name>
14469
- <default><![CDATA['']]></default>
14470
- <type/>
14471
- </argument>
14472
- </method>
14473
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="2548" package="Media Library Assistant">
14474
- <name>_process_pagination_output_types</name>
14475
- <full_name>_process_pagination_output_types</full_name>
14476
- <docblock line="2534">
14477
- <description><![CDATA[Handles pagnation output types 'previous_page', 'next_page', and 'paginate_links']]></description>
14478
- <long-description><![CDATA[]]></long-description>
14479
- <tag line="2534" name="since" description="2.20"/>
14480
- <tag line="2534" name="param" description="value(s) for mla_output_type parameter" type="array" variable="$output_parameters">
14481
- <type by_reference="false">array</type>
14482
- </tag>
14483
- <tag line="2534" name="param" description="template substitution values, e.g., ('instance' =&gt; '1', ... )" type="string" variable="$markup_values">
14484
- <type by_reference="false">string</type>
14485
- </tag>
14486
- <tag line="2534" name="param" description="merged default and passed shortcode parameter values" type="string" variable="$arguments">
14487
- <type by_reference="false">string</type>
14488
- </tag>
14489
- <tag line="2534" name="param" description="raw passed shortcode parameter values" type="string" variable="$attr">
14490
- <type by_reference="false">string</type>
14491
- </tag>
14492
- <tag line="2534" name="param" description="number of attachments in the gallery, without pagination" type="integer" variable="$found_rows">
14493
- <type by_reference="false">integer</type>
14494
- </tag>
14495
- <tag line="2534" name="param" description="output text so far, may include debug values" type="string" variable="$output">
14496
- <type by_reference="false">string</type>
14497
- </tag>
14498
- <tag line="2534" name="return" description="false or string with HTML for pagination output types" type="mixed">
14499
- <type by_reference="false">mixed</type>
14500
- </tag>
14501
- </docblock>
14502
- <argument line="2548">
14503
- <name>$output_parameters</name>
14504
- <default><![CDATA[]]></default>
14505
- <type/>
14506
- </argument>
14507
- <argument line="2548">
14508
- <name>$markup_values</name>
14509
- <default><![CDATA[]]></default>
14510
- <type/>
14511
- </argument>
14512
- <argument line="2548">
14513
- <name>$arguments</name>
14514
- <default><![CDATA[]]></default>
14515
- <type/>
14516
- </argument>
14517
- <argument line="2548">
14518
- <name>$attr</name>
14519
- <default><![CDATA[]]></default>
14520
- <type/>
14521
- </argument>
14522
- <argument line="2548">
14523
- <name>$found_rows</name>
14524
- <default><![CDATA[]]></default>
14525
- <type/>
14526
- </argument>
14527
- <argument line="2548">
14528
- <name>$output</name>
14529
- <default><![CDATA['']]></default>
14530
- <type/>
14531
- </argument>
14532
- </method>
14533
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="2788" package="Media Library Assistant">
14534
- <name>_sanitize_query_specification</name>
14535
- <full_name>_sanitize_query_specification</full_name>
14536
- <docblock line="2779">
14537
- <description><![CDATA[Cleans up damage caused by the Visual Editor to the tax_query and meta_query specifications]]></description>
14538
- <long-description><![CDATA[]]></long-description>
14539
- <tag line="2779" name="since" description="2.20"/>
14540
- <tag line="2779" name="param" description="query specification; PHP nested arrays" type="string" variable="$specification">
14541
- <type by_reference="false">string</type>
14542
- </tag>
14543
- <tag line="2779" name="return" description="query specification with HTML escape sequences and line breaks removed" type="string">
14544
- <type by_reference="false">string</type>
14545
- </tag>
14546
- </docblock>
14547
- <argument line="2788">
14548
- <name>$specification</name>
14549
- <default><![CDATA[]]></default>
14550
- <type/>
14551
- </argument>
14552
- </method>
14553
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="2808" package="Media Library Assistant">
14554
- <name>_validate_sql_orderby</name>
14555
- <full_name>_validate_sql_orderby</full_name>
14556
- <docblock line="2794">
14557
- <description><![CDATA[Translates query parameters to a valid SQL order by clause.]]></description>
14558
- <long-description><![CDATA[<p>Accepts one or more valid columns, with or without ASC/DESC.
14559
- Enhanced version of /wp-includes/formatting.php function sanitize_sql_orderby().</p>]]></long-description>
14560
- <tag line="2794" name="since" description="2.20"/>
14561
- <tag line="2794" name="param" description="Validated query parameters; 'order', 'orderby', 'meta_key', 'post__in'." type="array" variable="$query_parameters">
14562
- <type by_reference="false">array</type>
14563
- </tag>
14564
- <tag line="2794" name="param" description="Optional. Database table prefix; can be empty. Default taken from $wpdb-&gt;posts." type="string" variable="$table_prefix">
14565
- <type by_reference="false">string</type>
14566
- </tag>
14567
- <tag line="2794" name="param" description="Optional. Field names (keys) and database column equivalents (values). Defaults from [mla_gallery]." type="array" variable="$allowed_keys">
14568
- <type by_reference="false">array</type>
14569
- </tag>
14570
- <tag line="2794" name="param" description="Optional. Field names (values) that require a BINARY prefix to preserve case order. Default array()" type="array" variable="$binary_keys">
14571
- <type by_reference="false">array</type>
14572
- </tag>
14573
- <tag line="2794" name="return" description="Returns the orderby clause if present, false otherwise." type="string|bool">
14574
- <type by_reference="false">string</type>
14575
- <type by_reference="false">bool</type>
14576
- </tag>
14577
- </docblock>
14578
- <argument line="2808">
14579
- <name>$query_parameters</name>
14580
- <default><![CDATA[]]></default>
14581
- <type/>
14582
- </argument>
14583
- <argument line="2808">
14584
- <name>$table_prefix</name>
14585
- <default><![CDATA[NULL]]></default>
14586
- <type/>
14587
- </argument>
14588
- <argument line="2808">
14589
- <name>$allowed_keys</name>
14590
- <default><![CDATA[NULL]]></default>
14591
- <type/>
14592
- </argument>
14593
- <argument line="2808">
14594
- <name>$binary_keys</name>
14595
- <default><![CDATA[array()]]></default>
14596
- <type/>
14597
- </argument>
14598
- </method>
14599
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="3003" package="Media Library Assistant">
14600
- <name>mla_get_shortcode_attachments</name>
14601
- <full_name>mla_get_shortcode_attachments</full_name>
14602
- <docblock line="2992">
14603
- <description><![CDATA[Parses shortcode parameters and returns the gallery objects]]></description>
14604
- <long-description><![CDATA[]]></long-description>
14605
- <tag line="2992" name="since" description="2.20"/>
14606
- <tag line="2992" name="param" description="Post ID of the parent" type="int" variable="$post_parent">
14607
- <type by_reference="false">int</type>
14608
- </tag>
14609
- <tag line="2992" name="param" description="Attributes of the shortcode" type="array" variable="$attr">
14610
- <type by_reference="false">array</type>
14611
- </tag>
14612
- <tag line="2992" name="param" description="true to calculate and return ['found_posts'] as an array element" type="boolean" variable="$return_found_rows">
14613
- <type by_reference="false">boolean</type>
14614
- </tag>
14615
- <tag line="2992" name="return" description="List of attachments returned from WP_Query" type="array">
14616
- <type by_reference="false">array</type>
14617
- </tag>
14618
- </docblock>
14619
- <argument line="3003">
14620
- <name>$post_parent</name>
14621
- <default><![CDATA[]]></default>
14622
- <type/>
14623
- </argument>
14624
- <argument line="3003">
14625
- <name>$attr</name>
14626
- <default><![CDATA[]]></default>
14627
- <type/>
14628
- </argument>
14629
- <argument line="3003">
14630
- <name>$return_found_rows</name>
14631
- <default><![CDATA[NULL]]></default>
14632
- <type/>
14633
- </argument>
14634
- </method>
14635
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="3737" package="Media Library Assistant">
14636
- <name>mla_shortcode_query_posts_join_filter</name>
14637
- <full_name>mla_shortcode_query_posts_join_filter</full_name>
14638
- <docblock line="3726">
14639
- <description><![CDATA[Filters the JOIN clause for shortcode queries]]></description>
14640
- <long-description><![CDATA[<p>Defined as public because it's a filter.</p>]]></long-description>
14641
- <tag line="3726" name="since" description="2.20"/>
14642
- <tag line="3726" name="param" description="query clause before modification" type="string" variable="$join_clause">
14643
- <type by_reference="false">string</type>
14644
- </tag>
14645
- <tag line="3726" name="return" description="query clause after item modification" type="string">
14646
- <type by_reference="false">string</type>
14647
- </tag>
14648
- </docblock>
14649
- <argument line="3737">
14650
- <name>$join_clause</name>
14651
- <default><![CDATA[]]></default>
14652
- <type/>
14653
- </argument>
14654
- </method>
14655
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="3782" package="Media Library Assistant">
14656
- <name>mla_shortcode_query_posts_where_filter</name>
14657
- <full_name>mla_shortcode_query_posts_where_filter</full_name>
14658
- <docblock line="3768">
14659
- <description><![CDATA[Filters the WHERE clause for shortcode queries]]></description>
14660
- <long-description><![CDATA[<p>Captures debug information. Adds whitespace to the post_type = 'attachment'
14661
- phrase to circumvent subsequent Role Scoper modification of the clause.
14662
- Handles post_parent "any" and "none" cases.
14663
- Defined as public because it's a filter.</p>]]></long-description>
14664
- <tag line="3768" name="since" description="2.20"/>
14665
- <tag line="3768" name="param" description="query clause before modification" type="string" variable="$where_clause">
14666
- <type by_reference="false">string</type>
14667
- </tag>
14668
- <tag line="3768" name="return" description="query clause after modification" type="string">
14669
- <type by_reference="false">string</type>
14670
- </tag>
14671
- </docblock>
14672
- <argument line="3782">
14673
- <name>$where_clause</name>
14674
- <default><![CDATA[]]></default>
14675
- <type/>
14676
- </argument>
14677
- </method>
14678
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="3824" package="Media Library Assistant">
14679
- <name>mla_shortcode_query_posts_orderby_filter</name>
14680
- <full_name>mla_shortcode_query_posts_orderby_filter</full_name>
14681
- <docblock line="3812">
14682
- <description><![CDATA[Filters the ORDERBY clause for shortcode queries]]></description>
14683
- <long-description><![CDATA[<p>This is an enhanced version of the code found in wp-includes/query.php, function get_posts.
14684
- Defined as public because it's a filter.</p>]]></long-description>
14685
- <tag line="3812" name="since" description="2.20"/>
14686
- <tag line="3812" name="param" description="query clause before modification" type="string" variable="$orderby_clause">
14687
- <type by_reference="false">string</type>
14688
- </tag>
14689
- <tag line="3812" name="return" description="query clause after modification" type="string">
14690
- <type by_reference="false">string</type>
14691
- </tag>
14692
- </docblock>
14693
- <argument line="3824">
14694
- <name>$orderby_clause</name>
14695
- <default><![CDATA[]]></default>
14696
- <type/>
14697
- </argument>
14698
- </method>
14699
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="3851" package="Media Library Assistant">
14700
- <name>mla_shortcode_query_posts_clauses_filter</name>
14701
- <full_name>mla_shortcode_query_posts_clauses_filter</full_name>
14702
- <docblock line="3839">
14703
- <description><![CDATA[Filters all clauses for shortcode queries, pre caching plugins]]></description>
14704
- <long-description><![CDATA[<p>This is for debug purposes only.
14705
- Defined as public because it's a filter.</p>]]></long-description>
14706
- <tag line="3839" name="since" description="2.20"/>
14707
- <tag line="3839" name="param" description="query clauses before modification" type="array" variable="$pieces">
14708
- <type by_reference="false">array</type>
14709
- </tag>
14710
- <tag line="3839" name="return" description="query clauses after modification (none)" type="array">
14711
- <type by_reference="false">array</type>
14712
- </tag>
14713
- </docblock>
14714
- <argument line="3851">
14715
- <name>$pieces</name>
14716
- <default><![CDATA[]]></default>
14717
- <type/>
14718
- </argument>
14719
- </method>
14720
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="3869" package="Media Library Assistant">
14721
- <name>mla_shortcode_query_posts_clauses_request_filter</name>
14722
- <full_name>mla_shortcode_query_posts_clauses_request_filter</full_name>
14723
- <docblock line="3857">
14724
- <description><![CDATA[Filters all clauses for shortcode queries, post caching plugins]]></description>
14725
- <long-description><![CDATA[<p>This is for debug purposes only.
14726
- Defined as public because it's a filter.</p>]]></long-description>
14727
- <tag line="3857" name="since" description="2.20"/>
14728
- <tag line="3857" name="param" description="query clauses before modification" type="array" variable="$pieces">
14729
- <type by_reference="false">array</type>
14730
- </tag>
14731
- <tag line="3857" name="return" description="query clauses after modification (none)" type="array">
14732
- <type by_reference="false">array</type>
14733
- </tag>
14734
- </docblock>
14735
- <argument line="3869">
14736
- <name>$pieces</name>
14737
- <default><![CDATA[]]></default>
14738
- <type/>
14739
- </argument>
14740
- </method>
14741
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="3959" package="Media Library Assistant">
14742
- <name>mla_get_terms</name>
14743
- <full_name>mla_get_terms</full_name>
14744
- <docblock line="3905">
14745
- <description><![CDATA[Retrieve the terms in one or more taxonomies.]]></description>
14746
- <long-description><![CDATA[<p>Alternative to WordPress /wp-includes/taxonomy.php function get_terms() that provides
14747
- an accurate count of attachments associated with each term.</p>
14748
-
14749
- <p>taxonomy - string containing one or more (comma-delimited) taxonomy names
14750
- or an array of taxonomy names. Default 'post_tag'.</p>
14751
-
14752
- <p>post_mime_type - MIME type(s) of the items to include in the term-specific counts. Default 'all'.</p>
14753
-
14754
- <p>post_type - The post type(s) of the items to include in the term-specific counts.
14755
- The default is "attachment".</p>
14756
-
14757
- <p>post_status - The post status value(s) of the items to include in the term-specific counts.
14758
- The default is "inherit".</p>
14759
-
14760
- <p>ids - A comma-separated list of attachment ID values for an item-specific cloud.</p>
14761
-
14762
- <p>include - An array, comma- or space-delimited string of term ids to include
14763
- in the return array.</p>
14764
-
14765
- <p>exclude - An array, comma- or space-delimited string of term ids to exclude
14766
- from the return array. If 'include' is non-empty, 'exclude' is ignored.</p>
14767
-
14768
- <p>parent - term_id of the terms' immediate parent; 0 for top-level terms.</p>
14769
-
14770
- <p>minimum - minimum number of attachments a term must have to be included. Default 0.</p>
14771
-
14772
- <p>no_count - 'true', 'false' (default) to suppress term-specific attachment-counting process.</p>
14773
-
14774
- <p>number - maximum number of term objects to return. Terms are ordered by count,
14775
- descending and then by term_id before this value is applied. Default 0.</p>
14776
-
14777
- <p>orderby - 'count', 'id', 'name' (default), 'none', 'random', 'slug'</p>
14778
-
14779
- <p>order - 'ASC' (default), 'DESC'</p>
14780
-
14781
- <p>no_orderby - 'true', 'false' (default) to suppress ALL sorting clauses else false.</p>
14782
-
14783
- <p>preserve_case - 'true', 'false' (default) to make orderby case-sensitive.</p>
14784
-
14785
- <p>pad_counts - 'true', 'false' (default) to to include the count of all children in their parents' count.</p>
14786
-
14787
- <p>limit - final number of term objects to return, for pagination. Default 0.</p>
14788
-
14789
- <p>offset - number of term objects to skip, for pagination. Default 0.</p>]]></long-description>
14790
- <tag line="3905" name="since" description="2.20"/>
14791
- <tag line="3905" name="param" description="taxonomies to search and query parameters" type="array" variable="$attr">
14792
- <type by_reference="false">array</type>
14793
- </tag>
14794
- <tag line="3905" name="return" description="array of term objects, empty if none found" type="array">
14795
- <type by_reference="false">array</type>
14796
- </tag>
14797
- </docblock>
14798
- <argument line="3959">
14799
- <name>$attr</name>
14800
- <default><![CDATA[]]></default>
14801
- <type/>
14802
- </argument>
14803
- </method>
14804
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="4297" package="Media Library Assistant">
14805
- <name>_pad_term_counts</name>
14806
- <full_name>_pad_term_counts</full_name>
14807
- <docblock line="4283">
14808
- <description><![CDATA[Add count of children to parent count.]]></description>
14809
- <long-description><![CDATA[<p>Recalculates term counts by including items from child terms. Assumes all
14810
- relevant children are already in the $terms argument.</p>]]></long-description>
14811
- <tag line="4283" name="since" description="2.20"/>
14812
- <tag line="4283" name="param" description="Array of Term objects, by reference" type="array" variable="$terms">
14813
- <type by_reference="false">array</type>
14814
- </tag>
14815
- <tag line="4283" name="param" description="Term Context" type="string" variable="$taxonomy">
14816
- <type by_reference="false">string</type>
14817
- </tag>
14818
- <tag line="4283" name="param" description="Qualifying post type value(s)" type="array" variable="$post_types">
14819
- <type by_reference="false">array</type>
14820
- </tag>
14821
- <tag line="4283" name="param" description="Qualifying post status value(s)" type="array" variable="$post_stati">
14822
- <type by_reference="false">array</type>
14823
- </tag>
14824
- <tag line="4283" name="return" description="Will break from function if conditions are not met." type="null">
14825
- <type by_reference="false">null</type>
14826
- </tag>
14827
- </docblock>
14828
- <argument line="4297">
14829
- <name>$terms</name>
14830
- <default><![CDATA[]]></default>
14831
- <type/>
14832
- </argument>
14833
- <argument line="4297">
14834
- <name>$taxonomy</name>
14835
- <default><![CDATA[]]></default>
14836
- <type/>
14837
- </argument>
14838
- <argument line="4297">
14839
- <name>$post_types</name>
14840
- <default><![CDATA[NULL]]></default>
14841
- <type/>
14842
- </argument>
14843
- <argument line="4297">
14844
- <name>$post_stati</name>
14845
- <default><![CDATA[NULL]]></default>
14846
- <type/>
14847
- </argument>
14848
- </method>
14849
- </class>
14850
- </file>
14851
- <file path="includes\class-mla-shortcodes.php" hash="69aec0d88b99cdb26086a52d31005640" package="Media Library Assistant">
14852
- <docblock line="2">
14853
- <description><![CDATA[Media Library Assistant Shortcode interface functions]]></description>
14854
- <long-description><![CDATA[]]></long-description>
14855
- <tag line="2" name="package" description="Media Library Assistant"/>
14856
- <tag line="2" name="since" description="0.1"/>
14857
- </docblock>
14858
- <include line="70" type="Require Once" package="Media Library Assistant">
14859
- <name/>
14860
- </include>
14861
- <include line="89" type="Require Once" package="Media Library Assistant">
14862
- <name/>
14863
- </include>
14864
- <include line="122" type="Require Once" package="Media Library Assistant">
14865
- <name/>
14866
- </include>
14867
- <include line="141" type="Require Once" package="Media Library Assistant">
14868
- <name/>
14869
- </include>
14870
- <include line="163" type="Require Once" package="Media Library Assistant">
14871
- <name/>
14872
- </include>
14873
- <include line="182" type="Require Once" package="Media Library Assistant">
14874
- <name/>
14875
- </include>
14876
- <class final="false" abstract="false" namespace="global" line="16" package="Media Library Assistant">
14877
- <extends/>
14878
- <name>MLAShortcodes</name>
14879
- <full_name>\MLAShortcodes</full_name>
14880
- <docblock line="9">
14881
- <description><![CDATA[Class MLA (Media Library Assistant) Shortcodes defines the shortcodes available
14882
- to MLA users and loads the support class if the shortcodes are executed.]]></description>
14883
- <long-description><![CDATA[]]></long-description>
14884
- <tag line="9" name="package" description="Media Library Assistant"/>
14885
- <tag line="9" name="since" description="0.20"/>
14886
- </docblock>
14887
- <property final="false" static="true" visibility="public" line="105" namespace="global" package="Media Library Assistant">
14888
- <name>$mla_gallery_wp_query_object</name>
14889
- <default><![CDATA[NULL]]></default>
14890
- <docblock line="95">
14891
- <description><![CDATA[The WP_Query object used to select items for the gallery.]]></description>
14892
- <long-description><![CDATA[<p>Defined as a public, static variable so it can be inspected from the
14893
- "mla_gallery_wp_query_object" action. Set to NULL at all other times.</p>]]></long-description>
14894
- <tag line="95" name="since" description="1.51"/>
14895
- <tag line="95" name="var" description="" type="object">
14896
- <type by_reference="false">object</type>
14897
- </tag>
14898
- </docblock>
14899
- </property>
14900
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="24" package="Media Library Assistant">
14901
- <name>initialize</name>
14902
- <full_name>initialize</full_name>
14903
- <docblock line="17">
14904
- <description><![CDATA[Initialization function, similar to __construct()]]></description>
14905
- <long-description><![CDATA[]]></long-description>
14906
- <tag line="17" name="since" description="0.20"/>
14907
- <tag line="17" name="return" description="" type="void">
14908
- <type by_reference="false">void</type>
14909
- </tag>
14910
- </docblock>
14911
- </method>
14912
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="47" package="Media Library Assistant">
14913
- <name>mla_no_texturize_shortcodes_filter</name>
14914
- <full_name>mla_no_texturize_shortcodes_filter</full_name>
14915
- <docblock line="36">
14916
- <description><![CDATA[Prevents wptexturizing of the [mla_gallery] shortcode, avoiding a bug in WP 4.0.]]></description>
14917
- <long-description><![CDATA[<p>Defined as public because it's a filter.</p>]]></long-description>
14918
- <tag line="36" name="since" description="1.94"/>
14919
- <tag line="36" name="param" description="list of &quot;do not texturize&quot; shortcodes" type="array" variable="$no_texturize_shortcodes">
14920
- <type by_reference="false">array</type>
14921
- </tag>
14922
- <tag line="36" name="return" description="updated list of &quot;do not texturize&quot; shortcodes" type="array">
14923
- <type by_reference="false">array</type>
14924
- </tag>
14925
- </docblock>
14926
- <argument line="47">
14927
- <name>$no_texturize_shortcodes</name>
14928
- <default><![CDATA[]]></default>
14929
- <type/>
14930
- </argument>
14931
- </method>
14932
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="68" package="Media Library Assistant">
14933
- <name>mla_gallery_shortcode</name>
14934
- <full_name>mla_gallery_shortcode</full_name>
14935
- <docblock line="56">
14936
- <description><![CDATA[The MLA Gallery shortcode.]]></description>
14937
- <long-description><![CDATA[<p>Compatibility shim for MLAShortcode_Support::mla_gallery_shortcode</p>]]></long-description>
14938
- <tag line="56" name="since" description=".50"/>
14939
- <tag line="56" name="param" description="Attributes of the shortcode" type="array" variable="$attr">
14940
- <type by_reference="false">array</type>
14941
- </tag>
14942
- <tag line="56" name="param" description="Optional content for enclosing shortcodes; used with mla_alt_shortcode" type="string" variable="$content">
14943
- <type by_reference="false">string</type>
14944
- </tag>
14945
- <tag line="56" name="return" description="HTML content to display gallery." type="string">
14946
- <type by_reference="false">string</type>
14947
- </tag>
14948
- </docblock>
14949
- <argument line="68">
14950
- <name>$attr</name>
14951
- <default><![CDATA[]]></default>
14952
- <type/>
14953
- </argument>
14954
- <argument line="68">
14955
- <name>$content</name>
14956
- <default><![CDATA[NULL]]></default>
14957
- <type/>
14958
- </argument>
14959
- </method>
14960
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="87" package="Media Library Assistant">
14961
- <name>mla_tag_cloud_shortcode</name>
14962
- <full_name>mla_tag_cloud_shortcode</full_name>
14963
- <docblock line="76">
14964
- <description><![CDATA[The MLA Tag Cloud shortcode.]]></description>
14965
- <long-description><![CDATA[<p>Compatibility shim for MLAShortcode_Support::mla_gallery_shortcode</p>]]></long-description>
14966
- <tag line="76" name="since" description="1.60"/>
14967
- <tag line="76" name="param" description="Attributes of the shortcode." type="array" variable="$attr">
14968
- <type by_reference="false">array</type>
14969
- </tag>
14970
- <tag line="76" name="return" description="HTML content to display the tag cloud." type="string">
14971
- <type by_reference="false">string</type>
14972
- </tag>
14973
- </docblock>
14974
- <argument line="87">
14975
- <name>$attr</name>
14976
- <default><![CDATA[]]></default>
14977
- <type/>
14978
- </argument>
14979
- </method>
14980
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="120" package="Media Library Assistant">
14981
- <name>mla_get_shortcode_attachments</name>
14982
- <full_name>mla_get_shortcode_attachments</full_name>
14983
- <docblock line="107">
14984
- <description><![CDATA[Parses shortcode parameters and returns the gallery objects]]></description>
14985
- <long-description><![CDATA[<p>Compatibility shim for MLAShortcode_Support::mla_get_shortcode_attachments</p>]]></long-description>
14986
- <tag line="107" name="since" description=".50"/>
14987
- <tag line="107" name="param" description="Post ID of the parent" type="int" variable="$post_parent">
14988
- <type by_reference="false">int</type>
14989
- </tag>
14990
- <tag line="107" name="param" description="Attributes of the shortcode" type="array" variable="$attr">
14991
- <type by_reference="false">array</type>
14992
- </tag>
14993
- <tag line="107" name="param" description="true to calculate and return ['found_posts'] as an array element" type="bo