Version Description
= 7.11.19 = Please update to 7.11.18 or above to ensure you are using the latest security enhancements.
= 6.3.15 = Please update your WP Google Maps version to 6.3.15 to ensure you are using the latest security enhancements.
= 6.3.14 = Please update your WP Google Maps version to 6.3.14 to ensure you are using the latest security enhancements.
= 6.2.1 = Please update your WP Google Maps version to 6.2.1 to ensure you are using the latest security enhancements.
= 6.1.10 = Please update WP Google Maps to version 6.1.10 to enable our latest security enhancements.
= 6.1.5 = We no longer support timthumb and we have opted to remove it from WP Google Maps. Please update to 6.1.5 to ensure the removal of the timthumb script.
= 6.0.27 = Please upgrade your version of WP Google Maps to version 6.0.27 as it includes multiple security improvements.
Release Info
Developer | perryrylance |
Plugin | WP Google Maps |
Version | 7.11.22 |
Comparing to | |
See all releases |
Code changes from version 7.11.21 to 7.11.22
- base/includes/credits.php.bak +0 -91
- base/includes/welcome.php.bak +0 -117
- css/common.css.bak +0 -119
- docs/php/404.html +12 -2
- docs/php/class-WPGMZA.AdminMarkerDataTable.html +477 -0
- docs/php/class-WPGMZA.AjaxTable.html +867 -0
- docs/php/class-WPGMZA.AutoLoader.html +18 -8
- docs/php/class-WPGMZA.Crud.html +29 -4
- docs/php/class-WPGMZA.DOMDocument.html +45 -5
- docs/php/class-WPGMZA.DOMElement.html +48 -8
- docs/php/class-WPGMZA.DataTable.html +552 -0
- docs/php/class-WPGMZA.Database.html +423 -0
- docs/php/class-WPGMZA.Distance.html +312 -0
- docs/php/class-WPGMZA.Factory.html +27 -2
- docs/php/class-WPGMZA.GDPRCompliance.html +17 -7
- docs/php/class-WPGMZA.GlobalSettings.html +547 -0
- docs/php/class-WPGMZA.GoogleGeocoder.html +11 -1
- docs/php/class-WPGMZA.GoogleMap.html +29 -4
- docs/php/class-WPGMZA.GoogleMapsAPILoader.html +30 -20
- docs/php/class-WPGMZA.GoogleMapsLoader.html +11 -1
- docs/php/class-WPGMZA.Integration.Gutenberg.html +5 -5
- docs/php/class-WPGMZA.Integration.WPMigrateDB.html +33 -3
- docs/php/class-WPGMZA.LatLng.html +11 -1
- docs/php/class-WPGMZA.Map.html +74 -6
- docs/php/class-WPGMZA.MapsEngineDialog.html +11 -1
- docs/php/class-WPGMZA.Marker.html +128 -13
- docs/php/class-WPGMZA.MarkerDataTable.html +351 -0
- docs/php/class-WPGMZA.MarkerFilter.html +508 -0
- docs/php/class-WPGMZA.ModalDialog.html +13 -2
- docs/php/class-WPGMZA.NominatimGeocodeCache.html +11 -1
- docs/php/class-WPGMZA.OLLoader.html +13 -3
- docs/php/class-WPGMZA.Plugin.html +95 -97
- docs/php/class-WPGMZA.Query.html +333 -0
- docs/php/class-WPGMZA.QueryFragment.html +380 -0
- docs/php/class-WPGMZA.RestAPI.html +126 -4
- docs/php/class-WPGMZA.ScriptLoader.html +27 -47
- docs/php/class-WPGMZA.Strings.html +14 -4
- docs/php/class-WPGMZA.Table.html +435 -0
- docs/php/elementlist.js +1 -1
- docs/php/function-WPGMZA.Selector.trace.html +2 -2
- docs/php/function-WPGMZA.create_marker_instance_delegate.html +14 -4
- docs/php/function-WPGMZA.query_nominatim_cache.html +13 -3
- docs/php/function-WPGMZA.store_nominatim_cache.html +13 -3
- docs/php/function-wpgmza_backwards_compat_get_all_circle_data.html +3 -3
- docs/php/function-wpgmza_backwards_compat_get_all_rectangle_data.html +3 -3
- docs/php/function-wpgmza_check_admin_head_backwards_compat_v6.html +2 -2
- docs/php/function-wpgmza_check_map_editor_backwards_compat_v6.html +3 -3
- docs/php/function-wpgmza_check_pro_compat_required_v6.html +3 -3
- docs/php/function-wpgmza_check_user_backwards_compat_v6.html +3 -3
- docs/php/index.html +13 -3
- docs/php/namespace-None.html +2 -2
- docs/php/namespace-WPGMZA.Integration.html +2 -2
- docs/php/namespace-WPGMZA.Selector.html +2 -2
- docs/php/namespace-WPGMZA.html +75 -7
- docs/php/resources/combined.js +1 -1
- docs/php/source-class-WPGMZA.AdminMarkerDataTable.html +265 -0
- docs/php/source-class-WPGMZA.AjaxTable.html +492 -0
- docs/php/source-class-WPGMZA.AutoLoader.html +199 -188
- docs/php/source-class-WPGMZA.Crud.html +49 -38
- docs/php/source-class-WPGMZA.DOMDocument.html +62 -45
- docs/php/source-class-WPGMZA.DOMElement.html +212 -164
- docs/php/source-class-WPGMZA.DataTable.html +268 -0
- docs/php/source-class-WPGMZA.Database.html +351 -0
- docs/php/source-class-WPGMZA.Distance.html +199 -0
- docs/php/source-class-WPGMZA.Factory.html +13 -3
- docs/php/source-class-WPGMZA.GDPRCompliance.html +100 -87
- docs/php/source-class-WPGMZA.GlobalSettings.html +317 -0
- docs/php/source-class-WPGMZA.GoogleGeocoder.html +13 -3
- docs/php/source-class-WPGMZA.GoogleMap.html +13 -3
- docs/php/source-class-WPGMZA.GoogleMapsAPILoader.html +388 -354
- docs/php/source-class-WPGMZA.GoogleMapsLoader.html +13 -3
- docs/php/source-class-WPGMZA.Integration.Gutenberg.html +87 -66
- docs/php/source-class-WPGMZA.Integration.WPMigrateDB.html +40 -22
- docs/php/source-class-WPGMZA.LatLng.html +13 -3
- docs/php/source-class-WPGMZA.Map.html +22 -21
@@ -1,91 +0,0 @@
|
|
1 |
-
<div class="wrap about-wrap">
|
2 |
-
|
3 |
-
<h1><?php _e("Welcome to WP Google Maps version 7.0","wp-google-maps"); ?></h1>
|
4 |
-
|
5 |
-
<div class="about-text"><?php _e("Thank you for updating! WP Google Maps version 7 helps you build amazing maps through a simple interface and powerful functionality along with world class support.","wp-google-maps"); ?></div>
|
6 |
-
|
7 |
-
<div class="wpgmza-badge" style=''></div>
|
8 |
-
|
9 |
-
<h2 class="nav-tab-wrapper wp-clearfix">
|
10 |
-
<a href="admin.php?page=wp-google-maps-menu&action=welcome_page" class="nav-tab"><?php _e("Welcome","wp-google-maps"); ?></a>
|
11 |
-
<a href="admin.php?page=wp-google-maps-menu&action=credits" class="nav-tab nav-tab-active"><?php _e("Credits","wp-google-maps"); ?></a>
|
12 |
-
|
13 |
-
</h2>
|
14 |
-
|
15 |
-
<p class="about-description"><?php _e("WP Google Maps is created by an international team of developers.","wp-google-maps"); ?></p>
|
16 |
-
<h3 class="wp-people-group"><?php _e("Project Leaders","wp-google-maps"); ?></h3>
|
17 |
-
<ul class="wp-people-group " id="wp-people-group-project-leaders">
|
18 |
-
|
19 |
-
<li class="wp-person" id="wp-person-nickduncan">
|
20 |
-
<a href="https://profiles.wordpress.org/nickduncan/" class="web"><img src="https://secure.gravatar.com/avatar/38d79f24b5a649e132f8ed93f6dc2d37?s=60&d=mm&r=g" srcset="https://secure.gravatar.com/avatar/38d79f24b5a649e132f8ed93f6dc2d37?s=64&d=mm&r=g 2x" class="gravatar" alt="">
|
21 |
-
Nick Duncan</a>
|
22 |
-
<span class="title"><?php _e("Founder & Lead Developer","wp-google-maps"); ?></span>
|
23 |
-
</li>
|
24 |
-
<li class="wp-person" id="wp-person-perry">
|
25 |
-
<a href="https://github.com/orgs/CodeCabin/people/PerryRylance" class="web"><img src="https://avatars3.githubusercontent.com/u/14136738?s=96&v=4" srcset="https://avatars3.githubusercontent.com/u/14136738?s=96&v=4 2x" class="gravatar" alt="">
|
26 |
-
Perry Rylance</a>
|
27 |
-
<span class="title"><?php _e("Lead Developer & Support","wp-google-maps"); ?></span>
|
28 |
-
</li>
|
29 |
-
</ul>
|
30 |
-
<h3 class="wp-people-group"><?php _e("Contributors","wp-google-maps"); ?></h3>
|
31 |
-
<ul class="wp-people-group " id="wp-people-group-core-developers">
|
32 |
-
|
33 |
-
<li class="wp-person" id="wp-person-dylanauty">
|
34 |
-
<a href="https://profiles.wordpress.org/dylanauty/" class="web"><img src="https://secure.gravatar.com/avatar/3e032ec3258ebc08eeed69568141164a?s=64&d=mm&r=g" srcset="https://secure.gravatar.com/avatar/3e032ec3258ebc08eeed69568141164a?s=64&d=mm&r=g 2x" class="gravatar" alt="">
|
35 |
-
Dylan Auty</a>
|
36 |
-
<span class="title"><?php _e("Support & Developer","wp-google-maps"); ?></span>
|
37 |
-
</li>
|
38 |
-
|
39 |
-
<li class="wp-person" id="wp-person-dylanauty">
|
40 |
-
<a href="https://github.com/JarekCodeCabin" class="web"><img src="https://avatars3.githubusercontent.com/u/25925938?s=460&v=4" srcset="https://avatars3.githubusercontent.com/u/25925938?s=460&v=4 2x" class="gravatar" alt="">
|
41 |
-
Jarek Kacprzak</a>
|
42 |
-
<span class="title"><?php _e("Support & Developer","wp-google-maps"); ?></span>
|
43 |
-
</li>
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
<li class="wp-person" id="wp-person-tamduncan">
|
48 |
-
<a href="https://twitter.com/thebossybabe" class="web"><img src="https://pbs.twimg.com/profile_images/378800000229252467/623181616d530dc6e8088939814b0f5d_400x400.jpeg" srcset="https://pbs.twimg.com/profile_images/378800000229252467/623181616d530dc6e8088939814b0f5d_400x400.jpeg 2x" class="gravatar" alt="">
|
49 |
-
Tam Duncan</a>
|
50 |
-
<span class="title"><?php _e("Marketing","wp-google-maps"); ?></span>
|
51 |
-
</li>
|
52 |
-
<li class="wp-person" id="wp-person-dylank">
|
53 |
-
<a href="https://github.com/orgs/CodeCabin/people/dylank6169" class="web"><img src="https://avatars3.githubusercontent.com/u/25743655?s=96&v=4" srcset="https://avatars3.githubusercontent.com/u/25743655?s=96&v=4 2x" class="gravatar" alt="">
|
54 |
-
Dylan Kotzé</a>
|
55 |
-
<span class="title"><?php _e("Support & Developer","wp-google-maps"); ?></span>
|
56 |
-
</li>
|
57 |
-
<li class="wp-person" id="wp-person-trevor">
|
58 |
-
<a href="https://github.com/orgs/CodeCabin/people/andtrev" class="web"><img src="https://avatars3.githubusercontent.com/u/13884866?s=96&v=4" class="gravatar" alt="">
|
59 |
-
Trevor Anderson</a>
|
60 |
-
<span class="title"><?php _e("Support & Developer","wp-google-maps"); ?></span>
|
61 |
-
</li>
|
62 |
-
|
63 |
-
<li class="wp-person" id="wp-person-veronique">
|
64 |
-
<a href="https://github.com/orgs/CodeCabin/people/VeroniqueSmit" class="web"><img src="https://avatars1.githubusercontent.com/u/22832458?s=96&v=4" class="gravatar" alt="">
|
65 |
-
Veronique Smit</a>
|
66 |
-
<span class="title"><?php _e("Support","wp-google-maps"); ?></span>
|
67 |
-
</li>
|
68 |
-
|
69 |
-
<li class="wp-person" id="wp-person-pat">
|
70 |
-
<a href="https://github.com/patdumond" class="web"><img src="https://avatars3.githubusercontent.com/u/9320495?s=460&v=4" class="gravatar" alt="">
|
71 |
-
Pat Dumond</a>
|
72 |
-
<span class="title"><?php _e("Documentation","wp-google-maps"); ?></span>
|
73 |
-
</li>
|
74 |
-
<li class="wp-person" id="wp-person-nathanmiller">
|
75 |
-
<a href="https://profiles.wordpress.org/jarryd-long/" class="web"><img src="https://ca.slack-edge.com/T0CCUAUDD-U0CDJ724Q-g4e0ca967af9-1024" srcset="https://ca.slack-edge.com/T0CCUAUDD-U0CDJ724Q-g4e0ca967af9-1024 2x" class="gravatar" alt="">
|
76 |
-
Nathan Miller</a>
|
77 |
-
<span class="title"><?php _e("Support","wp-google-maps"); ?></span>
|
78 |
-
</li>
|
79 |
-
|
80 |
-
<li class="wp-person" id="wp-person-gerardarall">
|
81 |
-
<a href="https://github.com/arall" class="web"><img src="https://avatars2.githubusercontent.com/u/1453137?s=60&v=4" srcset="https://avatars2.githubusercontent.com/u/1453137?s=60&v=4 2x" class="gravatar" alt="">
|
82 |
-
Gerard Arall</a>
|
83 |
-
<span class="title"><?php _e("Security suggestions","wp-google-maps"); ?></span>
|
84 |
-
</li>
|
85 |
-
|
86 |
-
|
87 |
-
<p class="clear"><?php _e("Want to see your name on this page?","wp-google-maps"); ?> <a href="https://github.com/CodeCabin/wp-google-maps/"><?php _e("Get involved on GitHub.","wp-google-maps"); ?></a></p>
|
88 |
-
|
89 |
-
<a class="button-primary" style='padding:10px; height:inherit;' href="admin.php?page=wp-google-maps-menu&override=1"><?php echo __("OK! Let's start","wp-google-maps"); ?></a>
|
90 |
-
|
91 |
-
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@@ -1,117 +0,0 @@
|
|
1 |
-
<?php global $wpgmza_global_array; ?>
|
2 |
-
<div class="wrap about-wrap">
|
3 |
-
<p> </p>
|
4 |
-
<h1><?php echo sprintf( __( "Welcome to WP Google Maps version %s","wp-google-maps"), "7.0" ); ?></h1>
|
5 |
-
|
6 |
-
<div class="about-text"><?php _e("Build amazing maps through a simple interface and powerful functionality along with world class support.","wp-google-maps"); ?></div>
|
7 |
-
|
8 |
-
<div class="wpgmza-badge" style=''></div>
|
9 |
-
|
10 |
-
<a class="button-primary" style='padding:5px; padding-right:15px; padding-left:15px; height:inherit;' href="admin.php?page=wp-google-maps-menu&override=1"><?php echo __("Skip intro and create a map","wp-google-maps"); ?></a>
|
11 |
-
<p> </p>
|
12 |
-
|
13 |
-
|
14 |
-
<h2 class="nav-tab-wrapper wp-clearfix">
|
15 |
-
<a href="admin.php?page=wp-google-maps-menu&action=welcome_page" class="nav-tab nav-tab-active"><?php _e("Welcome","wp-google-maps"); ?></a>
|
16 |
-
<a href="admin.php?page=wp-google-maps-menu&action=credits" class="nav-tab"><?php _e("Credits","wp-google-maps"); ?></a>
|
17 |
-
|
18 |
-
</h2>
|
19 |
-
|
20 |
-
<div class="feature-section two-col">
|
21 |
-
<div class="col">
|
22 |
-
<h4><?php _e("Unlimited Markers","wp-google-maps"); ?></h4>
|
23 |
-
<p><?php _e("Create as many markers as you like","wp-google-maps"); ?></p>
|
24 |
-
<img src='<?php echo WPGMAPS_DIR; ?>base/assets/feature1.jpg' style="border:1px solid #ccc;" />
|
25 |
-
</div>
|
26 |
-
<div class="col">
|
27 |
-
<h4><?php _e("Store Locator","wp-google-maps"); ?></h4>
|
28 |
-
<p><?php _e("Let users search for products, branches and stores near them","wp-google-maps"); ?></p>
|
29 |
-
<img src='<?php echo WPGMAPS_DIR; ?>base/assets/feature2.jpg?1=2' style="border:1px solid #ccc;" />
|
30 |
-
</div>
|
31 |
-
</div>
|
32 |
-
<div class="feature-section two-col">
|
33 |
-
<div class="col">
|
34 |
-
<h4><?php _e("Themes","wp-google-maps"); ?></h4>
|
35 |
-
<p><?php _e("Select from various <a href='http://wpgmaps.com/map-themes/' target='_BLANK'>map themes</a>, or make your own.","wp-google-maps"); ?></p>
|
36 |
-
<img src='<?php echo WPGMAPS_DIR; ?>base/assets/feature3.jpg' style="border:1px solid #ccc;" />
|
37 |
-
</div>
|
38 |
-
<div class="col">
|
39 |
-
<h4><?php _e("Polylines","wp-google-maps"); ?>, <?php _e("Polygons","wp-google-maps"); ?>, <?php _e("Circles","wp-google-maps"); ?>, <?php _e("and Squares","wp-google-maps"); ?></h4>
|
40 |
-
<p><?php _e("Add custom shapes such as polygons, polylines, circles and sqaures!","wp-google-maps"); ?></p>
|
41 |
-
<img src='<?php echo WPGMAPS_DIR; ?>base/assets/feature4.jpg' style="border:1px solid #ccc;" />
|
42 |
-
</div>
|
43 |
-
</div>
|
44 |
-
|
45 |
-
|
46 |
-
<hr />
|
47 |
-
|
48 |
-
<div class="feature-section normal clear" >
|
49 |
-
<div class="changelog ">
|
50 |
-
|
51 |
-
<?php if ($wpgmza_global_array['code'] != "100") {
|
52 |
-
|
53 |
-
// NB: GDPR
|
54 |
-
?>
|
55 |
-
|
56 |
-
<!--<h3 style='margin-top:20px;'><?php _e("How did you find out about us?","wp-google-maps"); ?></h3>
|
57 |
-
|
58 |
-
<div class="feature-section normal">
|
59 |
-
<form action='' method='POST' name='wpgmaps_feedback'>
|
60 |
-
<p><ul class="wpgmza_welcome_poll" style="list-style: none outside none;">
|
61 |
-
<li style="list-style: none outside none;">
|
62 |
-
<input type="radio" id="wpgmaps_findus_repository" value="repository" name="wpgmaps_findus">
|
63 |
-
<label for="wpgmaps_search_term"><?php _e("WordPress.org plugin repository","wp-google-maps"); ?></label>
|
64 |
-
<br /><input type="text" id="wpgmaps_search_term" class="regular-text" style='margin-top:5px; margin-left:40px;' name="wpgmaps_search_term" placeholder="<?php _e("What search term did you use?","wp-google-maps"); ?>">
|
65 |
-
</li>
|
66 |
-
<li style="list-style: none outside none;">
|
67 |
-
<input type="radio" id="wpgmaps_findus_searchengine" value="search_engine" name="wpgmaps_findus">
|
68 |
-
<label for="wpgmaps_findus_searchengine"><?php _e("Google or other search engine","wp-google-maps"); ?></label>
|
69 |
-
</li>
|
70 |
-
<li style="list-style: none outside none;">
|
71 |
-
<input type="radio" id="wpgmaps_findus_friend" value="friend" name="wpgmaps_findus">
|
72 |
-
<label for="wpgmaps_findus_friend"><?php _e("Friend recommendation","wp-google-maps"); ?></label>
|
73 |
-
</li>
|
74 |
-
<li style="list-style: none outside none;">
|
75 |
-
<input type="radio" id="wpgmaps_findus_other" value="other" name="wpgmaps_findus">
|
76 |
-
<label for="wpgmaps_findus_other"><?php _e("Other","wp-google-maps"); ?></label>
|
77 |
-
<br /><input type="text" id="wpgmaps_findus_other_url" class="regular-text" style='margin-top:5px; margin-left:40px;' name="wpgmaps_findus_other_url" placeholder="<?php _e("Please explain","wp-google-maps"); ?>">
|
78 |
-
|
79 |
-
</li>
|
80 |
-
|
81 |
-
|
82 |
-
</ul></p>
|
83 |
-
<input class='button-primary' type='submit' name='wpgmza_save_feedback' value='<?php _e("Submit and create a map","wp-google-maps"); ?>'>
|
84 |
-
|
85 |
-
</form>-->
|
86 |
-
</div>
|
87 |
-
<?php } else { ?>
|
88 |
-
<div class="wpgm_notice_message">
|
89 |
-
<ul>
|
90 |
-
<li>
|
91 |
-
<?php echo $wpgmza_global_array['message']; ?>
|
92 |
-
</li>
|
93 |
-
</ul>
|
94 |
-
</div>
|
95 |
-
<?php } ?>
|
96 |
-
|
97 |
-
<div class="feature-section three-col">
|
98 |
-
<div class='col'>
|
99 |
-
<h4><?php _e("New to WP Google Maps?","wp-google-maps"); ?></h4>
|
100 |
-
<p><?php _e("You may want to","wp-google-maps"); ?> <a href='http://wpgmaps.com/documentation/' target='_blank' title='Documentation'><?php _e("review our documentation","wp-google-maps"); ?></a> <?php _e("before you get started. If you're a tech-savvy individual, you may skip this step.","wp-google-maps"); ?></p>
|
101 |
-
</div>
|
102 |
-
<div class='col'>
|
103 |
-
<h4><?php _e("Help me!","wp-google-maps"); ?></h4>
|
104 |
-
<p><?php _e("Visit our","wp-google-maps"); ?> <a title='Support Desk' target='_blank' href='http://www.wpgmaps.com/support/'><?php _e("Support Desk","wp-google-maps"); ?></a> <?php _e("for quick and friendly help. We'll answer your request within 24hours.","wp-google-maps"); ?></p>
|
105 |
-
</div>
|
106 |
-
<div class='col'>
|
107 |
-
<h4><?php _e("Feedback","wp-google-maps"); ?></h4>
|
108 |
-
<p><?php _e("We need you to help us make this plugin better.","wp-google-maps"); ?> <a href='http://www.wpgmaps.com/contact-us/' title='Feedback' target='_BLANK'><?php _e("Send us your feedback","wp-google-maps"); ?></a> <?php _e("and we'll act on it as soon as humanly possible.","wp-google-maps"); ?></p>
|
109 |
-
</div>
|
110 |
-
</div>
|
111 |
-
|
112 |
-
<a class="button-primary" style='padding:5px; padding-right:15px; padding-left:15px; height:inherit;' href="admin.php?page=wp-google-maps-menu&override=1"><?php echo __("OK! Let's start","wp-google-maps"); ?></a>
|
113 |
-
|
114 |
-
</div>
|
115 |
-
</div>
|
116 |
-
|
117 |
-
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@@ -1,119 +0,0 @@
|
|
1 |
-
/** Override the auto complete styles */
|
2 |
-
.pac-container {
|
3 |
-
border-radius: 2px;
|
4 |
-
border-top: none;
|
5 |
-
font-family: Roboto, sans-serif;
|
6 |
-
|
7 |
-
box-shadow: rgba(0, 0, 0, 0.3) 0px 1px 4px -1px;
|
8 |
-
-webkit-box-shadow: rgba(0, 0, 0, 0.3) 0px 1px 4px -1px;
|
9 |
-
-moz-box-shadow: rgba(0, 0, 0, 0.3) 0px 1px 4px -1px;
|
10 |
-
-o-box-shadow: rgba(0, 0, 0, 0.3) 0px 1px 4px -1px;
|
11 |
-
}
|
12 |
-
|
13 |
-
.pac-container .pac-item{
|
14 |
-
border-top: none;
|
15 |
-
}
|
16 |
-
|
17 |
-
.pac-container .pac-item .pac-item-query{
|
18 |
-
color: #333;
|
19 |
-
|
20 |
-
}
|
21 |
-
|
22 |
-
.wpgmza-google-maps-api-error-overlay,
|
23 |
-
.wpgmza-google-maps-api-error-overlay *
|
24 |
-
{
|
25 |
-
text-align: left;
|
26 |
-
}
|
27 |
-
|
28 |
-
.wpgmza-google-api-error-list
|
29 |
-
{
|
30 |
-
list-style: none;
|
31 |
-
}
|
32 |
-
|
33 |
-
.wpgmza-google-api-error-list li
|
34 |
-
{
|
35 |
-
background: ghostwhite;
|
36 |
-
padding: 0.5em;
|
37 |
-
margin: 0.5em;
|
38 |
-
}
|
39 |
-
|
40 |
-
.wpgmza-google-api-error-list li:before
|
41 |
-
{
|
42 |
-
content: "\26D4";
|
43 |
-
color: red;
|
44 |
-
}
|
45 |
-
|
46 |
-
.wpgmza-google-maps-api-error-overlay a
|
47 |
-
{
|
48 |
-
color: blue;
|
49 |
-
}
|
50 |
-
|
51 |
-
.wpgmza-google-maps-api-error-overlay .wpgmza-documentation-buttons
|
52 |
-
{
|
53 |
-
float: right;
|
54 |
-
}
|
55 |
-
|
56 |
-
.wpgmza-google-maps-api-error-overlay .wpgmza-documentation-buttons a
|
57 |
-
{
|
58 |
-
color: #444444;
|
59 |
-
background: #F3F3F3;
|
60 |
-
border: 1px #DADADA solid;
|
61 |
-
padding: 5px 10px;
|
62 |
-
border-radius: 2px;
|
63 |
-
cursor: pointer;
|
64 |
-
font-size: 9pt;
|
65 |
-
outline: none;
|
66 |
-
}
|
67 |
-
|
68 |
-
.wpgmza-google-maps-api-error-overlay .wpgmza-documentation-buttons a:hover {
|
69 |
-
border: 1px #C6C6C6 solid;
|
70 |
-
box-shadow: 1px 1px 1px #EAEAEA;
|
71 |
-
color: #333333;
|
72 |
-
background: #F7F7F7;
|
73 |
-
}
|
74 |
-
|
75 |
-
.wpgmza-google-maps-api-error-overlay .wpgmza-documentation-buttons a:active {
|
76 |
-
box-shadow: inset 1px 1px 1px #DFDFDF;
|
77 |
-
}
|
78 |
-
|
79 |
-
.wpgmza-google-maps-api-error-overlay .wpgmza-documentation-buttons a i
|
80 |
-
{
|
81 |
-
font-weight: bold;
|
82 |
-
padding-right: 0.3em;
|
83 |
-
}
|
84 |
-
|
85 |
-
.wpgmza-google-maps-api-error-overlay .wpgmza-front-end-only
|
86 |
-
{
|
87 |
-
color: red;
|
88 |
-
font-size: 0.8em;
|
89 |
-
}
|
90 |
-
|
91 |
-
.wpgmza-google-html-overlay
|
92 |
-
{
|
93 |
-
position: absolute;
|
94 |
-
}
|
95 |
-
|
96 |
-
.wpgmza-google-maps-api-error-overlay
|
97 |
-
{
|
98 |
-
position: absolute;
|
99 |
-
|
100 |
-
top: 0px;
|
101 |
-
left: 0px;
|
102 |
-
|
103 |
-
width: 100%;
|
104 |
-
height: 100%;
|
105 |
-
|
106 |
-
background: rgba(255,255,255,0.8);
|
107 |
-
padding: 1em;
|
108 |
-
|
109 |
-
text-align: center;
|
110 |
-
z-index: 2;
|
111 |
-
|
112 |
-
overflow-y: scroll;
|
113 |
-
}
|
114 |
-
|
115 |
-
.wpgmza-modern-store-locator .wpgmza_cat_checkbox_holder
|
116 |
-
{
|
117 |
-
margin: 0 auto;
|
118 |
-
pointer-events: all;
|
119 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@@ -50,12 +50,18 @@
|
|
50 |
<div id="elements">
|
51 |
<h3>Classes</h3>
|
52 |
<ul>
|
|
|
|
|
53 |
<li><a href="class-WPGMZA.AutoLoader.html">WPGMZA\AutoLoader</a></li>
|
54 |
<li><a href="class-WPGMZA.Crud.html">WPGMZA\Crud</a></li>
|
|
|
|
|
|
|
55 |
<li><a href="class-WPGMZA.DOMDocument.html">WPGMZA\DOMDocument</a></li>
|
56 |
<li><a href="class-WPGMZA.DOMElement.html">WPGMZA\DOMElement</a></li>
|
57 |
<li><a href="class-WPGMZA.Factory.html">WPGMZA\Factory</a></li>
|
58 |
<li><a href="class-WPGMZA.GDPRCompliance.html">WPGMZA\GDPRCompliance</a></li>
|
|
|
59 |
<li><a href="class-WPGMZA.GoogleGeocoder.html">WPGMZA\GoogleGeocoder</a></li>
|
60 |
<li><a href="class-WPGMZA.GoogleMap.html">WPGMZA\GoogleMap</a></li>
|
61 |
<li><a href="class-WPGMZA.GoogleMapsAPILoader.html" class="deprecated">WPGMZA\GoogleMapsAPILoader</a></li>
|
@@ -66,10 +72,14 @@
|
|
66 |
<li><a href="class-WPGMZA.Map.html">WPGMZA\Map</a></li>
|
67 |
<li><a href="class-WPGMZA.MapsEngineDialog.html">WPGMZA\MapsEngineDialog</a></li>
|
68 |
<li><a href="class-WPGMZA.Marker.html">WPGMZA\Marker</a></li>
|
|
|
|
|
69 |
<li><a href="class-WPGMZA.ModalDialog.html">WPGMZA\ModalDialog</a></li>
|
70 |
<li><a href="class-WPGMZA.NominatimGeocodeCache.html">WPGMZA\NominatimGeocodeCache</a></li>
|
71 |
<li><a href="class-WPGMZA.OLLoader.html">WPGMZA\OLLoader</a></li>
|
72 |
<li><a href="class-WPGMZA.Plugin.html">WPGMZA\Plugin</a></li>
|
|
|
|
|
73 |
<li><a href="class-WPGMZA.RestAPI.html">WPGMZA\RestAPI</a></li>
|
74 |
<li><a href="class-WPGMZA.ScriptLoader.html">WPGMZA\ScriptLoader</a></li>
|
75 |
<li><a href="class-WPGMZA.Selector.AttributeSelector.html">WPGMZA\Selector\AttributeSelector</a></li>
|
@@ -81,6 +91,7 @@
|
|
81 |
<li><a href="class-WPGMZA.Selector.TokenStream.html">WPGMZA\Selector\TokenStream</a></li>
|
82 |
<li><a href="class-WPGMZA.Selector.XPathConverter.html">WPGMZA\Selector\XPathConverter</a></li>
|
83 |
<li><a href="class-WPGMZA.Strings.html">WPGMZA\Strings</a></li>
|
|
|
84 |
</ul>
|
85 |
|
86 |
|
@@ -95,7 +106,6 @@
|
|
95 |
<h3>Functions</h3>
|
96 |
<ul>
|
97 |
<li><a href="function-WPGMZA.create_marker_instance_delegate.html">WPGMZA\create_marker_instance_delegate</a></li>
|
98 |
-
<li><a href="function-WPGMZA.create_plugin_instance.html" class="deprecated">WPGMZA\create_plugin_instance</a></li>
|
99 |
<li><a href="function-WPGMZA.query_nominatim_cache.html" class="deprecated">WPGMZA\query_nominatim_cache</a></li>
|
100 |
<li><a href="function-WPGMZA.Selector.trace.html">WPGMZA\Selector\trace</a></li>
|
101 |
<li><a href="function-WPGMZA.store_nominatim_cache.html" class="deprecated">WPGMZA\store_nominatim_cache</a></li>
|
@@ -148,7 +158,7 @@
|
|
148 |
</div>
|
149 |
</div>
|
150 |
</div>
|
151 |
-
<script src="resources/combined.js?
|
152 |
<script src="elementlist.js"></script>
|
153 |
</body>
|
154 |
</html>
|
50 |
<div id="elements">
|
51 |
<h3>Classes</h3>
|
52 |
<ul>
|
53 |
+
<li><a href="class-WPGMZA.AdminMarkerDataTable.html">WPGMZA\AdminMarkerDataTable</a></li>
|
54 |
+
<li><a href="class-WPGMZA.AjaxTable.html">WPGMZA\AjaxTable</a></li>
|
55 |
<li><a href="class-WPGMZA.AutoLoader.html">WPGMZA\AutoLoader</a></li>
|
56 |
<li><a href="class-WPGMZA.Crud.html">WPGMZA\Crud</a></li>
|
57 |
+
<li><a href="class-WPGMZA.Database.html">WPGMZA\Database</a></li>
|
58 |
+
<li><a href="class-WPGMZA.DataTable.html">WPGMZA\DataTable</a></li>
|
59 |
+
<li><a href="class-WPGMZA.Distance.html">WPGMZA\Distance</a></li>
|
60 |
<li><a href="class-WPGMZA.DOMDocument.html">WPGMZA\DOMDocument</a></li>
|
61 |
<li><a href="class-WPGMZA.DOMElement.html">WPGMZA\DOMElement</a></li>
|
62 |
<li><a href="class-WPGMZA.Factory.html">WPGMZA\Factory</a></li>
|
63 |
<li><a href="class-WPGMZA.GDPRCompliance.html">WPGMZA\GDPRCompliance</a></li>
|
64 |
+
<li><a href="class-WPGMZA.GlobalSettings.html">WPGMZA\GlobalSettings</a></li>
|
65 |
<li><a href="class-WPGMZA.GoogleGeocoder.html">WPGMZA\GoogleGeocoder</a></li>
|
66 |
<li><a href="class-WPGMZA.GoogleMap.html">WPGMZA\GoogleMap</a></li>
|
67 |
<li><a href="class-WPGMZA.GoogleMapsAPILoader.html" class="deprecated">WPGMZA\GoogleMapsAPILoader</a></li>
|
72 |
<li><a href="class-WPGMZA.Map.html">WPGMZA\Map</a></li>
|
73 |
<li><a href="class-WPGMZA.MapsEngineDialog.html">WPGMZA\MapsEngineDialog</a></li>
|
74 |
<li><a href="class-WPGMZA.Marker.html">WPGMZA\Marker</a></li>
|
75 |
+
<li><a href="class-WPGMZA.MarkerDataTable.html">WPGMZA\MarkerDataTable</a></li>
|
76 |
+
<li><a href="class-WPGMZA.MarkerFilter.html">WPGMZA\MarkerFilter</a></li>
|
77 |
<li><a href="class-WPGMZA.ModalDialog.html">WPGMZA\ModalDialog</a></li>
|
78 |
<li><a href="class-WPGMZA.NominatimGeocodeCache.html">WPGMZA\NominatimGeocodeCache</a></li>
|
79 |
<li><a href="class-WPGMZA.OLLoader.html">WPGMZA\OLLoader</a></li>
|
80 |
<li><a href="class-WPGMZA.Plugin.html">WPGMZA\Plugin</a></li>
|
81 |
+
<li><a href="class-WPGMZA.Query.html">WPGMZA\Query</a></li>
|
82 |
+
<li><a href="class-WPGMZA.QueryFragment.html">WPGMZA\QueryFragment</a></li>
|
83 |
<li><a href="class-WPGMZA.RestAPI.html">WPGMZA\RestAPI</a></li>
|
84 |
<li><a href="class-WPGMZA.ScriptLoader.html">WPGMZA\ScriptLoader</a></li>
|
85 |
<li><a href="class-WPGMZA.Selector.AttributeSelector.html">WPGMZA\Selector\AttributeSelector</a></li>
|
91 |
<li><a href="class-WPGMZA.Selector.TokenStream.html">WPGMZA\Selector\TokenStream</a></li>
|
92 |
<li><a href="class-WPGMZA.Selector.XPathConverter.html">WPGMZA\Selector\XPathConverter</a></li>
|
93 |
<li><a href="class-WPGMZA.Strings.html">WPGMZA\Strings</a></li>
|
94 |
+
<li><a href="class-WPGMZA.Table.html">WPGMZA\Table</a></li>
|
95 |
</ul>
|
96 |
|
97 |
|
106 |
<h3>Functions</h3>
|
107 |
<ul>
|
108 |
<li><a href="function-WPGMZA.create_marker_instance_delegate.html">WPGMZA\create_marker_instance_delegate</a></li>
|
|
|
109 |
<li><a href="function-WPGMZA.query_nominatim_cache.html" class="deprecated">WPGMZA\query_nominatim_cache</a></li>
|
110 |
<li><a href="function-WPGMZA.Selector.trace.html">WPGMZA\Selector\trace</a></li>
|
111 |
<li><a href="function-WPGMZA.store_nominatim_cache.html" class="deprecated">WPGMZA\store_nominatim_cache</a></li>
|
158 |
</div>
|
159 |
</div>
|
160 |
</div>
|
161 |
+
<script src="resources/combined.js?bdf41a0492319853d610bde7b68b95e93d08fae3"></script>
|
162 |
<script src="elementlist.js"></script>
|
163 |
</body>
|
164 |
</html>
|
@@ -0,0 +1,477 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<!DOCTYPE html>
|
2 |
+
<html>
|
3 |
+
<head>
|
4 |
+
<meta charset="utf-8">
|
5 |
+
|
6 |
+
<title>Class WPGMZA\AdminMarkerDataTable</title>
|
7 |
+
|
8 |
+
<link rel="stylesheet" href="resources/style.css?c2f33731c1948fbed7c333554678bfa68d4817da">
|
9 |
+
|
10 |
+
</head>
|
11 |
+
|
12 |
+
<body>
|
13 |
+
<div id="left">
|
14 |
+
<div id="menu">
|
15 |
+
<a href="index.html" title="Overview"><span>Overview</span></a>
|
16 |
+
|
17 |
+
|
18 |
+
<div id="groups">
|
19 |
+
<h3>Namespaces</h3>
|
20 |
+
<ul>
|
21 |
+
<li>
|
22 |
+
<a href="namespace-None.html">
|
23 |
+
None </a>
|
24 |
+
|
25 |
+
</li>
|
26 |
+
<li class="active">
|
27 |
+
<a href="namespace-WPGMZA.html">
|
28 |
+
WPGMZA<span></span>
|
29 |
+
</a>
|
30 |
+
|
31 |
+
<ul>
|
32 |
+
<li>
|
33 |
+
<a href="namespace-WPGMZA.Integration.html">
|
34 |
+
Integration </a>
|
35 |
+
|
36 |
+
</li>
|
37 |
+
<li>
|
38 |
+
<a href="namespace-WPGMZA.Selector.html">
|
39 |
+
Selector </a>
|
40 |
+
|
41 |
+
</li>
|
42 |
+
</ul></li>
|
43 |
+
</ul>
|
44 |
+
</div>
|
45 |
+
|
46 |
+
<hr>
|
47 |
+
|
48 |
+
|
49 |
+
<div id="elements">
|
50 |
+
<h3>Classes</h3>
|
51 |
+
<ul>
|
52 |
+
<li class="active"><a href="class-WPGMZA.AdminMarkerDataTable.html">AdminMarkerDataTable</a></li>
|
53 |
+
<li><a href="class-WPGMZA.AjaxTable.html">AjaxTable</a></li>
|
54 |
+
<li><a href="class-WPGMZA.AutoLoader.html">AutoLoader</a></li>
|
55 |
+
<li><a href="class-WPGMZA.Crud.html">Crud</a></li>
|
56 |
+
<li><a href="class-WPGMZA.Database.html">Database</a></li>
|
57 |
+
<li><a href="class-WPGMZA.DataTable.html">DataTable</a></li>
|
58 |
+
<li><a href="class-WPGMZA.Distance.html">Distance</a></li>
|
59 |
+
<li><a href="class-WPGMZA.DOMDocument.html">DOMDocument</a></li>
|
60 |
+
<li><a href="class-WPGMZA.DOMElement.html">DOMElement</a></li>
|
61 |
+
<li><a href="class-WPGMZA.Factory.html">Factory</a></li>
|
62 |
+
<li><a href="class-WPGMZA.GDPRCompliance.html">GDPRCompliance</a></li>
|
63 |
+
<li><a href="class-WPGMZA.GlobalSettings.html">GlobalSettings</a></li>
|
64 |
+
<li><a href="class-WPGMZA.GoogleGeocoder.html">GoogleGeocoder</a></li>
|
65 |
+
<li><a href="class-WPGMZA.GoogleMap.html">GoogleMap</a></li>
|
66 |
+
<li><a href="class-WPGMZA.GoogleMapsAPILoader.html" class="deprecated">GoogleMapsAPILoader</a></li>
|
67 |
+
<li><a href="class-WPGMZA.GoogleMapsLoader.html" class="deprecated">GoogleMapsLoader</a></li>
|
68 |
+
<li><a href="class-WPGMZA.LatLng.html">LatLng</a></li>
|
69 |
+
<li><a href="class-WPGMZA.Map.html">Map</a></li>
|
70 |
+
<li><a href="class-WPGMZA.MapsEngineDialog.html">MapsEngineDialog</a></li>
|
71 |
+
<li><a href="class-WPGMZA.Marker.html">Marker</a></li>
|
72 |
+
<li><a href="class-WPGMZA.MarkerDataTable.html">MarkerDataTable</a></li>
|
73 |
+
<li><a href="class-WPGMZA.MarkerFilter.html">MarkerFilter</a></li>
|
74 |
+
<li><a href="class-WPGMZA.ModalDialog.html">ModalDialog</a></li>
|
75 |
+
<li><a href="class-WPGMZA.NominatimGeocodeCache.html">NominatimGeocodeCache</a></li>
|
76 |
+
<li><a href="class-WPGMZA.OLLoader.html">OLLoader</a></li>
|
77 |
+
<li><a href="class-WPGMZA.Plugin.html">Plugin</a></li>
|
78 |
+
<li><a href="class-WPGMZA.Query.html">Query</a></li>
|
79 |
+
<li><a href="class-WPGMZA.QueryFragment.html">QueryFragment</a></li>
|
80 |
+
<li><a href="class-WPGMZA.RestAPI.html">RestAPI</a></li>
|
81 |
+
<li><a href="class-WPGMZA.ScriptLoader.html">ScriptLoader</a></li>
|
82 |
+
<li><a href="class-WPGMZA.Strings.html">Strings</a></li>
|
83 |
+
<li><a href="class-WPGMZA.Table.html">Table</a></li>
|
84 |
+
</ul>
|
85 |
+
|
86 |
+
|
87 |
+
|
88 |
+
|
89 |
+
|
90 |
+
<h3>Functions</h3>
|
91 |
+
<ul>
|
92 |
+
<li><a href="function-WPGMZA.create_marker_instance_delegate.html">create_marker_instance_delegate</a></li>
|
93 |
+
<li><a href="function-WPGMZA.query_nominatim_cache.html" class="deprecated">query_nominatim_cache</a></li>
|
94 |
+
<li><a href="function-WPGMZA.store_nominatim_cache.html" class="deprecated">store_nominatim_cache</a></li>
|
95 |
+
</ul>
|
96 |
+
</div>
|
97 |
+
</div>
|
98 |
+
</div>
|
99 |
+
|
100 |
+
<div id="splitter"></div>
|
101 |
+
|
102 |
+
<div id="right">
|
103 |
+
<div id="rightInner">
|
104 |
+
<form id="search">
|
105 |
+
<input type="hidden" name="cx" value="">
|
106 |
+
<input type="hidden" name="ie" value="UTF-8">
|
107 |
+
<input type="text" name="q" class="text" placeholder="Search">
|
108 |
+
</form>
|
109 |
+
|
110 |
+
<div id="navigation">
|
111 |
+
<ul>
|
112 |
+
<li>
|
113 |
+
<a href="index.html" title="Overview"><span>Overview</span></a>
|
114 |
+
</li>
|
115 |
+
<li>
|
116 |
+
<a href="namespace-WPGMZA.html" title="Summary of WPGMZA"><span>Namespace</span></a>
|
117 |
+
</li>
|
118 |
+
<li class="active">
|
119 |
+
<span>Class</span> </li>
|
120 |
+
</ul>
|
121 |
+
<ul>
|
122 |
+
</ul>
|
123 |
+
<ul>
|
124 |
+
</ul>
|
125 |
+
</div>
|
126 |
+
|
127 |
+
<div id="content" class="class">
|
128 |
+
<h1>Class AdminMarkerDataTable</h1>
|
129 |
+
|
130 |
+
|
131 |
+
<div class="description">
|
132 |
+
<p>The Factory class is a base class which can be used to make any classes
|
133 |
+
externally extensible. A filter is added for wpgmza_create_{class} which
|
134 |
+
is called by createInstance. If this filter returns a subclass of Factory,
|
135 |
+
that filter will override the default class and will be used.</p>
|
136 |
+
|
137 |
+
<p>IMPORTANT: Any objects which subclass Factory MUST be created by calling
|
138 |
+
createInstance on the subclass. Calling new on the constructor directly will
|
139 |
+
not cause this filter to fire, and the extended class will not be used.</p>
|
140 |
+
</div>
|
141 |
+
|
142 |
+
<dl class="tree">
|
143 |
+
<dd style="padding-left:0px">
|
144 |
+
<a href="class-WPGMZA.Factory.html"><span>WPGMZA\Factory</span></a>
|
145 |
+
|
146 |
+
|
147 |
+
|
148 |
+
</dd>
|
149 |
+
<dd style="padding-left:30px">
|
150 |
+
<img src="resources/inherit.png" alt="Extended by">
|
151 |
+
<a href="class-WPGMZA.Table.html"><span>WPGMZA\Table</span></a>
|
152 |
+
|
153 |
+
|
154 |
+
|
155 |
+
</dd>
|
156 |
+
<dd style="padding-left:60px">
|
157 |
+
<img src="resources/inherit.png" alt="Extended by">
|
158 |
+
<a href="class-WPGMZA.AjaxTable.html"><span>WPGMZA\AjaxTable</span></a>
|
159 |
+
|
160 |
+
|
161 |
+
|
162 |
+
</dd>
|
163 |
+
<dd style="padding-left:90px">
|
164 |
+
<img src="resources/inherit.png" alt="Extended by">
|
165 |
+
<a href="class-WPGMZA.DataTable.html"><span>WPGMZA\DataTable</span></a>
|
166 |
+
|
167 |
+
|
168 |
+
|
169 |
+
</dd>
|
170 |
+
<dd style="padding-left:120px">
|
171 |
+
<img src="resources/inherit.png" alt="Extended by">
|
172 |
+
<a href="class-WPGMZA.MarkerDataTable.html"><span>WPGMZA\MarkerDataTable</span></a>
|
173 |
+
|
174 |
+
|
175 |
+
|
176 |
+
</dd>
|
177 |
+
<dd style="padding-left:150px">
|
178 |
+
<img src="resources/inherit.png" alt="Extended by">
|
179 |
+
<b><span>WPGMZA\AdminMarkerDataTable</span></b>
|
180 |
+
|
181 |
+
|
182 |
+
</dd>
|
183 |
+
</dl>
|
184 |
+
|
185 |
+
|
186 |
+
|
187 |
+
|
188 |
+
|
189 |
+
|
190 |
+
|
191 |
+
|
192 |
+
<div class="info">
|
193 |
+
|
194 |
+
|
195 |
+
<b>Namespace:</b> <a href="namespace-WPGMZA.html">WPGMZA</a><br>
|
196 |
+
|
197 |
+
|
198 |
+
<b>Located at</b> <a href="source-class-WPGMZA.AdminMarkerDataTable.html#5-106" title="Go to source code">tables/class.admin-marker-datatable.php</a>
|
199 |
+
<br>
|
200 |
+
</div>
|
201 |
+
|
202 |
+
|
203 |
+
|
204 |
+
<table class="summary methods" id="methods">
|
205 |
+
<caption>Methods summary</caption>
|
206 |
+
<tr data-order="__construct" id="___construct">
|
207 |
+
|
208 |
+
<td class="attributes"><code>
|
209 |
+
public
|
210 |
+
|
211 |
+
|
212 |
+
|
213 |
+
</code>
|
214 |
+
</td>
|
215 |
+
|
216 |
+
<td class="name"><div>
|
217 |
+
<a class="anchor" href="#___construct">#</a>
|
218 |
+
<code><a href="source-class-WPGMZA.AdminMarkerDataTable.html#9-25" title="Go to source code">__construct</a>( <span> <var>$ajax_parameters</var> = <span class="php-keyword1">null</span></span> )</code>
|
219 |
+
|
220 |
+
<div class="description short">
|
221 |
+
|
222 |
+
</div>
|
223 |
+
|
224 |
+
<div class="description detailed hidden">
|
225 |
+
|
226 |
+
|
227 |
+
|
228 |
+
|
229 |
+
|
230 |
+
|
231 |
+
|
232 |
+
<h4>Overrides</h4>
|
233 |
+
<div class="list"><code><a href="class-WPGMZA.MarkerDataTable.html#___construct">WPGMZA\MarkerDataTable::__construct()</a></code></div>
|
234 |
+
|
235 |
+
</div>
|
236 |
+
</div></td>
|
237 |
+
</tr>
|
238 |
+
<tr data-order="getColumns" id="_getColumns">
|
239 |
+
|
240 |
+
<td class="attributes"><code>
|
241 |
+
protected
|
242 |
+
|
243 |
+
|
244 |
+
|
245 |
+
</code>
|
246 |
+
</td>
|
247 |
+
|
248 |
+
<td class="name"><div>
|
249 |
+
<a class="anchor" href="#_getColumns">#</a>
|
250 |
+
<code><a href="source-class-WPGMZA.AdminMarkerDataTable.html#27-41" title="Go to source code">getColumns</a>( )</code>
|
251 |
+
|
252 |
+
<div class="description short">
|
253 |
+
|
254 |
+
</div>
|
255 |
+
|
256 |
+
<div class="description detailed hidden">
|
257 |
+
|
258 |
+
|
259 |
+
|
260 |
+
|
261 |
+
|
262 |
+
|
263 |
+
|
264 |
+
<h4>Overrides</h4>
|
265 |
+
<div class="list"><code><a href="class-WPGMZA.MarkerDataTable.html#_getColumns">WPGMZA\MarkerDataTable::getColumns()</a></code></div>
|
266 |
+
|
267 |
+
</div>
|
268 |
+
</div></td>
|
269 |
+
</tr>
|
270 |
+
<tr data-order="getActionButtons" id="_getActionButtons">
|
271 |
+
|
272 |
+
<td class="attributes"><code>
|
273 |
+
protected
|
274 |
+
|
275 |
+
|
276 |
+
|
277 |
+
</code>
|
278 |
+
</td>
|
279 |
+
|
280 |
+
<td class="name"><div>
|
281 |
+
<a class="anchor" href="#_getActionButtons">#</a>
|
282 |
+
<code><a href="source-class-WPGMZA.AdminMarkerDataTable.html#43-68" title="Go to source code">getActionButtons</a>( )</code>
|
283 |
+
|
284 |
+
<div class="description short">
|
285 |
+
|
286 |
+
</div>
|
287 |
+
|
288 |
+
<div class="description detailed hidden">
|
289 |
+
|
290 |
+
|
291 |
+
|
292 |
+
|
293 |
+
|
294 |
+
|
295 |
+
|
296 |
+
|
297 |
+
</div>
|
298 |
+
</div></td>
|
299 |
+
</tr>
|
300 |
+
<tr data-order="filterColumns" id="_filterColumns">
|
301 |
+
|
302 |
+
<td class="attributes"><code>
|
303 |
+
protected
|
304 |
+
|
305 |
+
array
|
306 |
+
|
307 |
+
</code>
|
308 |
+
</td>
|
309 |
+
|
310 |
+
<td class="name"><div>
|
311 |
+
<a class="anchor" href="#_filterColumns">#</a>
|
312 |
+
<code><a href="source-class-WPGMZA.AdminMarkerDataTable.html#70-97" title="Go to source code">filterColumns</a>( <span> <var>& $columns</var></span>, <span> <var>$input_params</var></span> )</code>
|
313 |
+
|
314 |
+
<div class="description short">
|
315 |
+
<p>Override this function to add additional columns to the query</p>
|
316 |
+
</div>
|
317 |
+
|
318 |
+
<div class="description detailed hidden">
|
319 |
+
<p>Override this function to add additional columns to the query</p>
|
320 |
+
|
321 |
+
|
322 |
+
|
323 |
+
<h4>Returns</h4>
|
324 |
+
<div class="list">
|
325 |
+
array
|
326 |
+
</div>
|
327 |
+
|
328 |
+
|
329 |
+
|
330 |
+
<h4>Overrides</h4>
|
331 |
+
<div class="list"><code><a href="class-WPGMZA.AjaxTable.html#_filterColumns">WPGMZA\AjaxTable::filterColumns()</a></code></div>
|
332 |
+
|
333 |
+
</div>
|
334 |
+
</div></td>
|
335 |
+
</tr>
|
336 |
+
<tr data-order="getSearchClause" id="_getSearchClause">
|
337 |
+
|
338 |
+
<td class="attributes"><code>
|
339 |
+
protected
|
340 |
+
|
341 |
+
|
342 |
+
|
343 |
+
</code>
|
344 |
+
</td>
|
345 |
+
|
346 |
+
<td class="name"><div>
|
347 |
+
<a class="anchor" href="#_getSearchClause">#</a>
|
348 |
+
<code><a href="source-class-WPGMZA.AdminMarkerDataTable.html#99-105" title="Go to source code">getSearchClause</a>( <span> <var>$input_params</var></span>, <span> <var>& $query_params</var></span>, <span> <var>$exclude_columns</var> = <span class="php-keyword1">null</span></span> )</code>
|
349 |
+
|
350 |
+
<div class="description short">
|
351 |
+
|
352 |
+
</div>
|
353 |
+
|
354 |
+
<div class="description detailed hidden">
|
355 |
+
|
356 |
+
|
357 |
+
|
358 |
+
|
359 |
+
|
360 |
+
|
361 |
+
|
362 |
+
<h4>Overrides</h4>
|
363 |
+
<div class="list"><code><a href="class-WPGMZA.AjaxTable.html#_getSearchClause">WPGMZA\AjaxTable::getSearchClause()</a></code></div>
|
364 |
+
|
365 |
+
</div>
|
366 |
+
</div></td>
|
367 |
+
</tr>
|
368 |
+
</table>
|
369 |
+
|
370 |
+
<table class="summary inherited">
|
371 |
+
<caption>Methods inherited from <a href="class-WPGMZA.DataTable.html#methods">WPGMZA\DataTable</a></caption>
|
372 |
+
<tr>
|
373 |
+
<td><code>
|
374 |
+
<a href="class-WPGMZA.DataTable.html#_data">data()</a>,
|
375 |
+
<a href="class-WPGMZA.DataTable.html#_getDataTableOptions">getDataTableOptions()</a>,
|
376 |
+
<a href="class-WPGMZA.DataTable.html#_getOrderBy">getOrderBy()</a>,
|
377 |
+
<a href="class-WPGMZA.DataTable.html#_getOrderDirection">getOrderDirection()</a>,
|
378 |
+
<a href="class-WPGMZA.DataTable.html#_getRecords">getRecords()</a>,
|
379 |
+
<a href="class-WPGMZA.DataTable.html#_initTableDOM">initTableDOM()</a>,
|
380 |
+
<a href="class-WPGMZA.DataTable.html#_setDataTableOptions">setDataTableOptions()</a>
|
381 |
+
</code></td>
|
382 |
+
</tr>
|
383 |
+
</table>
|
384 |
+
<table class="summary inherited">
|
385 |
+
<caption>Methods inherited from <a href="class-WPGMZA.AjaxTable.html#methods">WPGMZA\AjaxTable</a></caption>
|
386 |
+
<tr>
|
387 |
+
<td><code>
|
388 |
+
<a href="class-WPGMZA.AjaxTable.html#_filterOrderBy">filterOrderBy()</a>,
|
389 |
+
<a href="class-WPGMZA.AjaxTable.html#_filterOrderDirection">filterOrderDirection()</a>,
|
390 |
+
<a href="class-WPGMZA.AjaxTable.html#_filterResults">filterResults()</a>,
|
391 |
+
<a href="class-WPGMZA.AjaxTable.html#_getAjaxParameters">getAjaxParameters()</a>,
|
392 |
+
<a href="class-WPGMZA.AjaxTable.html#_getAttributeParams">getAttributeParams()</a>,
|
393 |
+
<a href="class-WPGMZA.AjaxTable.html#_getColumnNameByIndex">getColumnNameByIndex()</a>,
|
394 |
+
<a href="class-WPGMZA.AjaxTable.html#_getHavingClause">getHavingClause()</a>,
|
395 |
+
<a href="class-WPGMZA.AjaxTable.html#_getRestAPIRoute">getRestAPIRoute()</a>,
|
396 |
+
<a href="class-WPGMZA.AjaxTable.html#_getWhereClause">getWhereClause()</a>,
|
397 |
+
<a href="class-WPGMZA.AjaxTable.html#_setAjaxParameters">setAjaxParameters()</a>,
|
398 |
+
<a href="class-WPGMZA.AjaxTable.html#_setAttributeParams">setAttributeParams()</a>,
|
399 |
+
<a href="class-WPGMZA.AjaxTable.html#_setRestAPIRoute">setRestAPIRoute()</a>
|
400 |
+
</code></td>
|
401 |
+
</tr>
|
402 |
+
</table>
|
403 |
+
<table class="summary inherited">
|
404 |
+
<caption>Methods inherited from <a href="class-WPGMZA.Table.html#methods">WPGMZA\Table</a></caption>
|
405 |
+
<tr>
|
406 |
+
<td><code>
|
407 |
+
<a href="class-WPGMZA.Table.html#___get">__get()</a>,
|
408 |
+
<a href="class-WPGMZA.Table.html#___set">__set()</a>,
|
409 |
+
<a href="class-WPGMZA.Table.html#_getElement">getElement()</a>,
|
410 |
+
<a href="class-WPGMZA.Table.html#_html">html()</a>,
|
411 |
+
<a href="class-WPGMZA.Table.html#_loadDocument">loadDocument()</a>
|
412 |
+
</code></td>
|
413 |
+
</tr>
|
414 |
+
</table>
|
415 |
+
<table class="summary inherited">
|
416 |
+
<caption>Methods inherited from <a href="class-WPGMZA.Factory.html#methods">WPGMZA\Factory</a></caption>
|
417 |
+
<tr>
|
418 |
+
<td><code>
|
419 |
+
<a href="class-WPGMZA.Factory.html#_createInstance">createInstance()</a>
|
420 |
+
</code></td>
|
421 |
+
</tr>
|
422 |
+
</table>
|
423 |
+
|
424 |
+
|
425 |
+
|
426 |
+
|
427 |
+
|
428 |
+
|
429 |
+
|
430 |
+
<table class="summary constants" id="constants">
|
431 |
+
<caption>Constants summary</caption>
|
432 |
+
<tr data-order="ID_PLACEHOLDER" id="ID_PLACEHOLDER">
|
433 |
+
|
434 |
+
<td class="attributes"><code>string</code></td>
|
435 |
+
<td class="name">
|
436 |
+
<code>
|
437 |
+
<a href="source-class-WPGMZA.AdminMarkerDataTable.html#7" title="Go to source code"><b>ID_PLACEHOLDER</b></a>
|
438 |
+
</code>
|
439 |
+
|
440 |
+
<div class="description short">
|
441 |
+
|
442 |
+
</div>
|
443 |
+
|
444 |
+
<div class="description detailed hidden">
|
445 |
+
|
446 |
+
|
447 |
+
</div>
|
448 |
+
</td>
|
449 |
+
<td class="value">
|
450 |
+
<div>
|
451 |
+
<a href="#ID_PLACEHOLDER" class="anchor">#</a>
|
452 |
+
<code><span class="php-quote">'__5d5621cf7b6bb90bfb7bda85a0df7293'</span></code>
|
453 |
+
</div>
|
454 |
+
</td>
|
455 |
+
</tr>
|
456 |
+
</table>
|
457 |
+
|
458 |
+
|
459 |
+
|
460 |
+
|
461 |
+
|
462 |
+
|
463 |
+
|
464 |
+
|
465 |
+
|
466 |
+
|
467 |
+
</div>
|
468 |
+
|
469 |
+
<div id="footer">
|
470 |
+
API documentation generated by <a href="http://apigen.org">ApiGen</a>
|
471 |
+
</div>
|
472 |
+
</div>
|
473 |
+
</div>
|
474 |
+
<script src="resources/combined.js"></script>
|
475 |
+
<script src="elementlist.js"></script>
|
476 |
+
</body>
|
477 |
+
</html>
|
@@ -0,0 +1,867 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<!DOCTYPE html>
|
2 |
+
<html>
|
3 |
+
<head>
|
4 |
+
<meta charset="utf-8">
|
5 |
+
|
6 |
+
<title>Class WPGMZA\AjaxTable</title>
|
7 |
+
|
8 |
+
<link rel="stylesheet" href="resources/style.css?c2f33731c1948fbed7c333554678bfa68d4817da">
|
9 |
+
|
10 |
+
</head>
|
11 |
+
|
12 |
+
<body>
|
13 |
+
<div id="left">
|
14 |
+
<div id="menu">
|
15 |
+
<a href="index.html" title="Overview"><span>Overview</span></a>
|
16 |
+
|
17 |
+
|
18 |
+
<div id="groups">
|
19 |
+
<h3>Namespaces</h3>
|
20 |
+
<ul>
|
21 |
+
<li>
|
22 |
+
<a href="namespace-None.html">
|
23 |
+
None </a>
|
24 |
+
|
25 |
+
</li>
|
26 |
+
<li class="active">
|
27 |
+
<a href="namespace-WPGMZA.html">
|
28 |
+
WPGMZA<span></span>
|
29 |
+
</a>
|
30 |
+
|
31 |
+
<ul>
|
32 |
+
<li>
|
33 |
+
<a href="namespace-WPGMZA.Integration.html">
|
34 |
+
Integration </a>
|
35 |
+
|
36 |
+
</li>
|
37 |
+
<li>
|
38 |
+
<a href="namespace-WPGMZA.Selector.html">
|
39 |
+
Selector </a>
|
40 |
+
|
41 |
+
</li>
|
42 |
+
</ul></li>
|
43 |
+
</ul>
|
44 |
+
</div>
|
45 |
+
|
46 |
+
<hr>
|
47 |
+
|
48 |
+
|
49 |
+
<div id="elements">
|
50 |
+
<h3>Classes</h3>
|
51 |
+
<ul>
|
52 |
+
<li><a href="class-WPGMZA.AdminMarkerDataTable.html">AdminMarkerDataTable</a></li>
|
53 |
+
<li class="active"><a href="class-WPGMZA.AjaxTable.html">AjaxTable</a></li>
|
54 |
+
<li><a href="class-WPGMZA.AutoLoader.html">AutoLoader</a></li>
|
55 |
+
<li><a href="class-WPGMZA.Crud.html">Crud</a></li>
|
56 |
+
<li><a href="class-WPGMZA.Database.html">Database</a></li>
|
57 |
+
<li><a href="class-WPGMZA.DataTable.html">DataTable</a></li>
|
58 |
+
<li><a href="class-WPGMZA.Distance.html">Distance</a></li>
|
59 |
+
<li><a href="class-WPGMZA.DOMDocument.html">DOMDocument</a></li>
|
60 |
+
<li><a href="class-WPGMZA.DOMElement.html">DOMElement</a></li>
|
61 |
+
<li><a href="class-WPGMZA.Factory.html">Factory</a></li>
|
62 |
+
<li><a href="class-WPGMZA.GDPRCompliance.html">GDPRCompliance</a></li>
|
63 |
+
<li><a href="class-WPGMZA.GlobalSettings.html">GlobalSettings</a></li>
|
64 |
+
<li><a href="class-WPGMZA.GoogleGeocoder.html">GoogleGeocoder</a></li>
|
65 |
+
<li><a href="class-WPGMZA.GoogleMap.html">GoogleMap</a></li>
|
66 |
+
<li><a href="class-WPGMZA.GoogleMapsAPILoader.html" class="deprecated">GoogleMapsAPILoader</a></li>
|
67 |
+
<li><a href="class-WPGMZA.GoogleMapsLoader.html" class="deprecated">GoogleMapsLoader</a></li>
|
68 |
+
<li><a href="class-WPGMZA.LatLng.html">LatLng</a></li>
|
69 |
+
<li><a href="class-WPGMZA.Map.html">Map</a></li>
|
70 |
+
<li><a href="class-WPGMZA.MapsEngineDialog.html">MapsEngineDialog</a></li>
|
71 |
+
<li><a href="class-WPGMZA.Marker.html">Marker</a></li>
|
72 |
+
<li><a href="class-WPGMZA.MarkerDataTable.html">MarkerDataTable</a></li>
|
73 |
+
<li><a href="class-WPGMZA.MarkerFilter.html">MarkerFilter</a></li>
|
74 |
+
<li><a href="class-WPGMZA.ModalDialog.html">ModalDialog</a></li>
|
75 |
+
<li><a href="class-WPGMZA.NominatimGeocodeCache.html">NominatimGeocodeCache</a></li>
|
76 |
+
<li><a href="class-WPGMZA.OLLoader.html">OLLoader</a></li>
|
77 |
+
<li><a href="class-WPGMZA.Plugin.html">Plugin</a></li>
|
78 |
+
<li><a href="class-WPGMZA.Query.html">Query</a></li>
|
79 |
+
<li><a href="class-WPGMZA.QueryFragment.html">QueryFragment</a></li>
|
80 |
+
<li><a href="class-WPGMZA.RestAPI.html">RestAPI</a></li>
|
81 |
+
<li><a href="class-WPGMZA.ScriptLoader.html">ScriptLoader</a></li>
|
82 |
+
<li><a href="class-WPGMZA.Strings.html">Strings</a></li>
|
83 |
+
<li><a href="class-WPGMZA.Table.html">Table</a></li>
|
84 |
+
</ul>
|
85 |
+
|
86 |
+
|
87 |
+
|
88 |
+
|
89 |
+
|
90 |
+
<h3>Functions</h3>
|
91 |
+
<ul>
|
92 |
+
<li><a href="function-WPGMZA.create_marker_instance_delegate.html">create_marker_instance_delegate</a></li>
|
93 |
+
<li><a href="function-WPGMZA.query_nominatim_cache.html" class="deprecated">query_nominatim_cache</a></li>
|
94 |
+
<li><a href="function-WPGMZA.store_nominatim_cache.html" class="deprecated">store_nominatim_cache</a></li>
|
95 |
+
</ul>
|
96 |
+
</div>
|
97 |
+
</div>
|
98 |
+
</div>
|
99 |
+
|
100 |
+
<div id="splitter"></div>
|
101 |
+
|
102 |
+
<div id="right">
|
103 |
+
<div id="rightInner">
|
104 |
+
<form id="search">
|
105 |
+
<input type="hidden" name="cx" value="">
|
106 |
+
<input type="hidden" name="ie" value="UTF-8">
|
107 |
+
<input type="text" name="q" class="text" placeholder="Search">
|
108 |
+
</form>
|
109 |
+
|
110 |
+
<div id="navigation">
|
111 |
+
<ul>
|
112 |
+
<li>
|
113 |
+
<a href="index.html" title="Overview"><span>Overview</span></a>
|
114 |
+
</li>
|
115 |
+
<li>
|
116 |
+
<a href="namespace-WPGMZA.html" title="Summary of WPGMZA"><span>Namespace</span></a>
|
117 |
+
</li>
|
118 |
+
<li class="active">
|
119 |
+
<span>Class</span> </li>
|
120 |
+
</ul>
|
121 |
+
<ul>
|
122 |
+
</ul>
|
123 |
+
<ul>
|
124 |
+
</ul>
|
125 |
+
</div>
|
126 |
+
|
127 |
+
<div id="content" class="class">
|
128 |
+
<h1>Class AjaxTable</h1>
|
129 |
+
|
130 |
+
|
131 |
+
<div class="description">
|
132 |
+
<p>The Factory class is a base class which can be used to make any classes
|
133 |
+
externally extensible. A filter is added for wpgmza_create_{class} which
|
134 |
+
is called by createInstance. If this filter returns a subclass of Factory,
|
135 |
+
that filter will override the default class and will be used.</p>
|
136 |
+
|
137 |
+
<p>IMPORTANT: Any objects which subclass Factory MUST be created by calling
|
138 |
+
createInstance on the subclass. Calling new on the constructor directly will
|
139 |
+
not cause this filter to fire, and the extended class will not be used.</p>
|
140 |
+
</div>
|
141 |
+
|
142 |
+
<dl class="tree">
|
143 |
+
<dd style="padding-left:0px">
|
144 |
+
<a href="class-WPGMZA.Factory.html"><span>WPGMZA\Factory</span></a>
|
145 |
+
|
146 |
+
|
147 |
+
|
148 |
+
</dd>
|
149 |
+
<dd style="padding-left:30px">
|
150 |
+
<img src="resources/inherit.png" alt="Extended by">
|
151 |
+
<a href="class-WPGMZA.Table.html"><span>WPGMZA\Table</span></a>
|
152 |
+
|
153 |
+
|
154 |
+
|
155 |
+
</dd>
|
156 |
+
<dd style="padding-left:60px">
|
157 |
+
<img src="resources/inherit.png" alt="Extended by">
|
158 |
+
<b><span>WPGMZA\AjaxTable</span></b>
|
159 |
+
|
160 |
+
|
161 |
+
</dd>
|
162 |
+
</dl>
|
163 |
+
|
164 |
+
|
165 |
+
<div>
|
166 |
+
<h4>Direct known subclasses</h4>
|
167 |
+
<a href="class-WPGMZA.DataTable.html">WPGMZA\DataTable</a>
|
168 |
+
</div>
|
169 |
+
|
170 |
+
<div>
|
171 |
+
<h4>Indirect known subclasses</h4>
|
172 |
+
<a href="class-WPGMZA.AdminMarkerDataTable.html">WPGMZA\AdminMarkerDataTable</a>,
|
173 |
+
<a href="class-WPGMZA.MarkerDataTable.html">WPGMZA\MarkerDataTable</a>
|
174 |
+
</div>
|
175 |
+
|
176 |
+
|
177 |
+
|
178 |
+
|
179 |
+
|
180 |
+
<div class="info">
|
181 |
+
|
182 |
+
|
183 |
+
<b>Namespace:</b> <a href="namespace-WPGMZA.html">WPGMZA</a><br>
|
184 |
+
|
185 |
+
|
186 |
+
<b>Located at</b> <a href="source-class-WPGMZA.AjaxTable.html#5-332" title="Go to source code">tables/class.ajax-table.php</a>
|
187 |
+
<br>
|
188 |
+
</div>
|
189 |
+
|
190 |
+
|
191 |
+
|
192 |
+
<table class="summary methods" id="methods">
|
193 |
+
<caption>Methods summary</caption>
|
194 |
+
<tr data-order="__construct" id="___construct">
|
195 |
+
|
196 |
+
<td class="attributes"><code>
|
197 |
+
public
|
198 |
+
|
199 |
+
|
200 |
+
|
201 |
+
</code>
|
202 |
+
</td>
|
203 |
+
|
204 |
+
<td class="name"><div>
|
205 |
+
<a class="anchor" href="#___construct">#</a>
|
206 |
+
<code><a href="source-class-WPGMZA.AjaxTable.html#7-17" title="Go to source code">__construct</a>( <span> <var>$table_name</var></span>, <span> <var>$rest_api_route</var></span>, <span> <var>$ajax_parameters</var> = <span class="php-keyword1">null</span></span> )</code>
|
207 |
+
|
208 |
+
<div class="description short">
|
209 |
+
|
210 |
+
</div>
|
211 |
+
|
212 |
+
<div class="description detailed hidden">
|
213 |
+
|
214 |
+
|
215 |
+
|
216 |
+
|
217 |
+
|
218 |
+
|
219 |
+
|
220 |
+
<h4>Overrides</h4>
|
221 |
+
<div class="list"><code><a href="class-WPGMZA.Table.html#___construct">WPGMZA\Table::__construct()</a></code></div>
|
222 |
+
|
223 |
+
</div>
|
224 |
+
</div></td>
|
225 |
+
</tr>
|
226 |
+
<tr data-order="getAjaxParameters" id="_getAjaxParameters">
|
227 |
+
|
228 |
+
<td class="attributes"><code>
|
229 |
+
public
|
230 |
+
|
231 |
+
|
232 |
+
|
233 |
+
</code>
|
234 |
+
</td>
|
235 |
+
|
236 |
+
<td class="name"><div>
|
237 |
+
<a class="anchor" href="#_getAjaxParameters">#</a>
|
238 |
+
<code><a href="source-class-WPGMZA.AjaxTable.html#19-22" title="Go to source code">getAjaxParameters</a>( )</code>
|
239 |
+
|
240 |
+
<div class="description short">
|
241 |
+
|
242 |
+
</div>
|
243 |
+
|
244 |
+
<div class="description detailed hidden">
|
245 |
+
|
246 |
+
|
247 |
+
|
248 |
+
|
249 |
+
|
250 |
+
|
251 |
+
|
252 |
+
|
253 |
+
</div>
|
254 |
+
</div></td>
|
255 |
+
</tr>
|
256 |
+
<tr data-order="setAjaxParameters" id="_setAjaxParameters">
|
257 |
+
|
258 |
+
<td class="attributes"><code>
|
259 |
+
public
|
260 |
+
|
261 |
+
|
262 |
+
|
263 |
+
</code>
|
264 |
+
</td>
|
265 |
+
|
266 |
+
<td class="name"><div>
|
267 |
+
<a class="anchor" href="#_setAjaxParameters">#</a>
|
268 |
+
<code><a href="source-class-WPGMZA.AjaxTable.html#24-27" title="Go to source code">setAjaxParameters</a>( <span> <var>$ajax_parameters</var></span> )</code>
|
269 |
+
|
270 |
+
<div class="description short">
|
271 |
+
|
272 |
+
</div>
|
273 |
+
|
274 |
+
<div class="description detailed hidden">
|
275 |
+
|
276 |
+
|
277 |
+
|
278 |
+
|
279 |
+
|
280 |
+
|
281 |
+
|
282 |
+
|
283 |
+
</div>
|
284 |
+
</div></td>
|
285 |
+
</tr>
|
286 |
+
<tr data-order="getAttributeParams" id="_getAttributeParams">
|
287 |
+
|
288 |
+
<td class="attributes"><code>
|
289 |
+
protected
|
290 |
+
|
291 |
+
|
292 |
+
|
293 |
+
</code>
|
294 |
+
</td>
|
295 |
+
|
296 |
+
<td class="name"><div>
|
297 |
+
<a class="anchor" href="#_getAttributeParams">#</a>
|
298 |
+
<code><a href="source-class-WPGMZA.AjaxTable.html#29-35" title="Go to source code">getAttributeParams</a>( <span> <var>$name</var></span> )</code>
|
299 |
+
|
300 |
+
<div class="description short">
|
301 |
+
|
302 |
+
</div>
|
303 |
+
|
304 |
+
<div class="description detailed hidden">
|
305 |
+
|
306 |
+
|
307 |
+
|
308 |
+
|
309 |
+
|
310 |
+
|
311 |
+
|
312 |
+
|
313 |
+
</div>
|
314 |
+
</div></td>
|
315 |
+
</tr>
|
316 |
+
<tr data-order="setAttributeParams" id="_setAttributeParams">
|
317 |
+
|
318 |
+
<td class="attributes"><code>
|
319 |
+
protected
|
320 |
+
|
321 |
+
|
322 |
+
|
323 |
+
</code>
|
324 |
+
</td>
|
325 |
+
|
326 |
+
<td class="name"><div>
|
327 |
+
<a class="anchor" href="#_setAttributeParams">#</a>
|
328 |
+
<code><a href="source-class-WPGMZA.AjaxTable.html#37-48" title="Go to source code">setAttributeParams</a>( <span> <var>$name</var></span>, <span> <var>$params</var></span> )</code>
|
329 |
+
|
330 |
+
<div class="description short">
|
331 |
+
|
332 |
+
</div>
|
333 |
+
|
334 |
+
<div class="description detailed hidden">
|
335 |
+
|
336 |
+
|
337 |
+
|
338 |
+
|
339 |
+
|
340 |
+
|
341 |
+
|
342 |
+
|
343 |
+
</div>
|
344 |
+
</div></td>
|
345 |
+
</tr>
|
346 |
+
<tr data-order="getRestAPIRoute" id="_getRestAPIRoute">
|
347 |
+
|
348 |
+
<td class="attributes"><code>
|
349 |
+
protected
|
350 |
+
|
351 |
+
|
352 |
+
|
353 |
+
</code>
|
354 |
+
</td>
|
355 |
+
|
356 |
+
<td class="name"><div>
|
357 |
+
<a class="anchor" href="#_getRestAPIRoute">#</a>
|
358 |
+
<code><a href="source-class-WPGMZA.AjaxTable.html#50-53" title="Go to source code">getRestAPIRoute</a>( )</code>
|
359 |
+
|
360 |
+
<div class="description short">
|
361 |
+
|
362 |
+
</div>
|
363 |
+
|
364 |
+
<div class="description detailed hidden">
|
365 |
+
|
366 |
+
|
367 |
+
|
368 |
+
|
369 |
+
|
370 |
+
|
371 |
+
|
372 |
+
|
373 |
+
</div>
|
374 |
+
</div></td>
|
375 |
+
</tr>
|
376 |
+
<tr data-order="setRestAPIRoute" id="_setRestAPIRoute">
|
377 |
+
|
378 |
+
<td class="attributes"><code>
|
379 |
+
protected
|
380 |
+
|
381 |
+
|
382 |
+
|
383 |
+
</code>
|
384 |
+
</td>
|
385 |
+
|
386 |
+
<td class="name"><div>
|
387 |
+
<a class="anchor" href="#_setRestAPIRoute">#</a>
|
388 |
+
<code><a href="source-class-WPGMZA.AjaxTable.html#55-61" title="Go to source code">setRestAPIRoute</a>( <span> <var>$route</var></span> )</code>
|
389 |
+
|
390 |
+
<div class="description short">
|
391 |
+
|
392 |
+
</div>
|
393 |
+
|
394 |
+
<div class="description detailed hidden">
|
395 |
+
|
396 |
+
|
397 |
+
|
398 |
+
|
399 |
+
|
400 |
+
|
401 |
+
|
402 |
+
|
403 |
+
</div>
|
404 |
+
</div></td>
|
405 |
+
</tr>
|
406 |
+
<tr data-order="getColumns" id="_getColumns">
|
407 |
+
|
408 |
+
<td class="attributes"><code>
|
409 |
+
protected
|
410 |
+
|
411 |
+
|
412 |
+
|
413 |
+
</code>
|
414 |
+
</td>
|
415 |
+
|
416 |
+
<td class="name"><div>
|
417 |
+
<a class="anchor" href="#_getColumns">#</a>
|
418 |
+
<code><a href="source-class-WPGMZA.AjaxTable.html#63-66" title="Go to source code">getColumns</a>( )</code>
|
419 |
+
|
420 |
+
<div class="description short">
|
421 |
+
|
422 |
+
</div>
|
423 |
+
|
424 |
+
<div class="description detailed hidden">
|
425 |
+
|
426 |
+
|
427 |
+
|
428 |
+
|
429 |
+
|
430 |
+
|
431 |
+
|
432 |
+
|
433 |
+
</div>
|
434 |
+
</div></td>
|
435 |
+
</tr>
|
436 |
+
<tr data-order="getColumnNameByIndex" id="_getColumnNameByIndex">
|
437 |
+
|
438 |
+
<td class="attributes"><code>
|
439 |
+
protected
|
440 |
+
|
441 |
+
|
442 |
+
|
443 |
+
</code>
|
444 |
+
</td>
|
445 |
+
|
446 |
+
<td class="name"><div>
|
447 |
+
<a class="anchor" href="#_getColumnNameByIndex">#</a>
|
448 |
+
<code><a href="source-class-WPGMZA.AjaxTable.html#68-80" title="Go to source code">getColumnNameByIndex</a>( <span> <var>$index</var></span> )</code>
|
449 |
+
|
450 |
+
<div class="description short">
|
451 |
+
|
452 |
+
</div>
|
453 |
+
|
454 |
+
<div class="description detailed hidden">
|
455 |
+
|
456 |
+
|
457 |
+
|
458 |
+
|
459 |
+
|
460 |
+
|
461 |
+
|
462 |
+
|
463 |
+
</div>
|
464 |
+
</div></td>
|
465 |
+
</tr>
|
466 |
+
<tr data-order="getOrderBy" id="_getOrderBy">
|
467 |
+
|
468 |
+
<td class="attributes"><code>
|
469 |
+
protected
|
470 |
+
|
471 |
+
|
472 |
+
|
473 |
+
</code>
|
474 |
+
</td>
|
475 |
+
|
476 |
+
<td class="name"><div>
|
477 |
+
<a class="anchor" href="#_getOrderBy">#</a>
|
478 |
+
<code><a href="source-class-WPGMZA.AjaxTable.html#82-85" title="Go to source code">getOrderBy</a>( <span> <var>$input_params</var></span>, <span> <var>$column_keys</var></span> )</code>
|
479 |
+
|
480 |
+
<div class="description short">
|
481 |
+
|
482 |
+
</div>
|
483 |
+
|
484 |
+
<div class="description detailed hidden">
|
485 |
+
|
486 |
+
|
487 |
+
|
488 |
+
|
489 |
+
|
490 |
+
|
491 |
+
|
492 |
+
|
493 |
+
</div>
|
494 |
+
</div></td>
|
495 |
+
</tr>
|
496 |
+
<tr data-order="getOrderDirection" id="_getOrderDirection">
|
497 |
+
|
498 |
+
<td class="attributes"><code>
|
499 |
+
protected
|
500 |
+
|
501 |
+
|
502 |
+
|
503 |
+
</code>
|
504 |
+
</td>
|
505 |
+
|
506 |
+
<td class="name"><div>
|
507 |
+
<a class="anchor" href="#_getOrderDirection">#</a>
|
508 |
+
<code><a href="source-class-WPGMZA.AjaxTable.html#87-90" title="Go to source code">getOrderDirection</a>( <span> <var>$input_params</var></span> )</code>
|
509 |
+
|
510 |
+
<div class="description short">
|
511 |
+
|
512 |
+
</div>
|
513 |
+
|
514 |
+
<div class="description detailed hidden">
|
515 |
+
|
516 |
+
|
517 |
+
|
518 |
+
|
519 |
+
|
520 |
+
|
521 |
+
|
522 |
+
|
523 |
+
</div>
|
524 |
+
</div></td>
|
525 |
+
</tr>
|
526 |
+
<tr data-order="getWhereClause" id="_getWhereClause">
|
527 |
+
|
528 |
+
<td class="attributes"><code>
|
529 |
+
protected
|
530 |
+
|
531 |
+
|
532 |
+
|
533 |
+
</code>
|
534 |
+
</td>
|
535 |
+
|
536 |
+
<td class="name"><div>
|
537 |
+
<a class="anchor" href="#_getWhereClause">#</a>
|
538 |
+
<code><a href="source-class-WPGMZA.AjaxTable.html#92-145" title="Go to source code">getWhereClause</a>( <span> <var>$input_params</var></span>, <span> <var>& $query_params</var></span>, <span> <var>$clause_for_total</var> = <span class="php-keyword1">false</span></span> )</code>
|
539 |
+
|
540 |
+
<div class="description short">
|
541 |
+
|
542 |
+
</div>
|
543 |
+
|
544 |
+
<div class="description detailed hidden">
|
545 |
+
|
546 |
+
|
547 |
+
|
548 |
+
|
549 |
+
|
550 |
+
|
551 |
+
|
552 |
+
|
553 |
+
</div>
|
554 |
+
</div></td>
|
555 |
+
</tr>
|
556 |
+
<tr data-order="getSearchClause" id="_getSearchClause">
|
557 |
+
|
558 |
+
<td class="attributes"><code>
|
559 |
+
protected
|
560 |
+
|
561 |
+
|
562 |
+
|
563 |
+
</code>
|
564 |
+
</td>
|
565 |
+
|
566 |
+
<td class="name"><div>
|
567 |
+
<a class="anchor" href="#_getSearchClause">#</a>
|
568 |
+
<code><a href="source-class-WPGMZA.AjaxTable.html#147-178" title="Go to source code">getSearchClause</a>( <span> <var>$input_params</var></span>, <span> <var>& $query_params</var></span>, <span> <var>$exclude_columns</var> = <span class="php-keyword1">null</span></span> )</code>
|
569 |
+
|
570 |
+
<div class="description short">
|
571 |
+
|
572 |
+
</div>
|
573 |
+
|
574 |
+
<div class="description detailed hidden">
|
575 |
+
|
576 |
+
|
577 |
+
|
578 |
+
|
579 |
+
|
580 |
+
|
581 |
+
|
582 |
+
|
583 |
+
</div>
|
584 |
+
</div></td>
|
585 |
+
</tr>
|
586 |
+
<tr data-order="getHavingClause" id="_getHavingClause">
|
587 |
+
|
588 |
+
<td class="attributes"><code>
|
589 |
+
protected
|
590 |
+
|
591 |
+
string
|
592 |
+
|
593 |
+
</code>
|
594 |
+
</td>
|
595 |
+
|
596 |
+
<td class="name"><div>
|
597 |
+
<a class="anchor" href="#_getHavingClause">#</a>
|
598 |
+
<code><a href="source-class-WPGMZA.AjaxTable.html#180-187" title="Go to source code">getHavingClause</a>( <span> <var>$input_params</var></span>, <span> <var>& $query_params</var></span>, <span> <var>$exclude_columns</var> = <span class="php-keyword1">null</span></span> )</code>
|
599 |
+
|
600 |
+
<div class="description short">
|
601 |
+
<p>Gets the HAVING clause for the table query</p>
|
602 |
+
</div>
|
603 |
+
|
604 |
+
<div class="description detailed hidden">
|
605 |
+
<p>Gets the HAVING clause for the table query</p>
|
606 |
+
|
607 |
+
|
608 |
+
|
609 |
+
<h4>Returns</h4>
|
610 |
+
<div class="list">
|
611 |
+
string
|
612 |
+
</div>
|
613 |
+
|
614 |
+
|
615 |
+
|
616 |
+
|
617 |
+
</div>
|
618 |
+
</div></td>
|
619 |
+
</tr>
|
620 |
+
<tr data-order="filterColumns" id="_filterColumns">
|
621 |
+
|
622 |
+
<td class="attributes"><code>
|
623 |
+
protected
|
624 |
+
|
625 |
+
array
|
626 |
+
|
627 |
+
</code>
|
628 |
+
</td>
|
629 |
+
|
630 |
+
<td class="name"><div>
|
631 |
+
<a class="anchor" href="#_filterColumns">#</a>
|
632 |
+
<code><a href="source-class-WPGMZA.AjaxTable.html#189-204" title="Go to source code">filterColumns</a>( <span> <var>& $columns</var></span>, <span> <var>$input_params</var></span> )</code>
|
633 |
+
|
634 |
+
<div class="description short">
|
635 |
+
<p>Override this function to add additional columns to the query</p>
|
636 |
+
</div>
|
637 |
+
|
638 |
+
<div class="description detailed hidden">
|
639 |
+
<p>Override this function to add additional columns to the query</p>
|
640 |
+
|
641 |
+
|
642 |
+
|
643 |
+
<h4>Returns</h4>
|
644 |
+
<div class="list">
|
645 |
+
array
|
646 |
+
</div>
|
647 |
+
|
648 |
+
|
649 |
+
|
650 |
+
|
651 |
+
</div>
|
652 |
+
</div></td>
|
653 |
+
</tr>
|
654 |
+
<tr data-order="filterResults" id="_filterResults">
|
655 |
+
|
656 |
+
<td class="attributes"><code>
|
657 |
+
protected
|
658 |
+
|
659 |
+
array
|
660 |
+
|
661 |
+
</code>
|
662 |
+
</td>
|
663 |
+
|
664 |
+
<td class="name"><div>
|
665 |
+
<a class="anchor" href="#_filterResults">#</a>
|
666 |
+
<code><a href="source-class-WPGMZA.AjaxTable.html#206-213" title="Go to source code">filterResults</a>( <span> <var>& $rows</var></span> )</code>
|
667 |
+
|
668 |
+
<div class="description short">
|
669 |
+
<p>Override this function to manipulate data before it's converted to datatables numeric array format</p>
|
670 |
+
</div>
|
671 |
+
|
672 |
+
<div class="description detailed hidden">
|
673 |
+
<p>Override this function to manipulate data before it's converted to datatables numeric array format</p>
|
674 |
+
|
675 |
+
|
676 |
+
|
677 |
+
<h4>Returns</h4>
|
678 |
+
<div class="list">
|
679 |
+
array
|
680 |
+
</div>
|
681 |
+
|
682 |
+
|
683 |
+
|
684 |
+
|
685 |
+
</div>
|
686 |
+
</div></td>
|
687 |
+
</tr>
|
688 |
+
<tr data-order="filterOrderBy" id="_filterOrderBy">
|
689 |
+
|
690 |
+
<td class="attributes"><code>
|
691 |
+
protected
|
692 |
+
|
693 |
+
string
|
694 |
+
|
695 |
+
</code>
|
696 |
+
</td>
|
697 |
+
|
698 |
+
<td class="name"><div>
|
699 |
+
<a class="anchor" href="#_filterOrderBy">#</a>
|
700 |
+
<code><a href="source-class-WPGMZA.AjaxTable.html#215-222" title="Go to source code">filterOrderBy</a>( <span> <var>$orderBy</var></span>, <span> <var>$keys</var></span> )</code>
|
701 |
+
|
702 |
+
<div class="description short">
|
703 |
+
<p>Function can be used to override order by column</p>
|
704 |
+
</div>
|
705 |
+
|
706 |
+
<div class="description detailed hidden">
|
707 |
+
<p>Function can be used to override order by column</p>
|
708 |
+
|
709 |
+
|
710 |
+
|
711 |
+
<h4>Returns</h4>
|
712 |
+
<div class="list">
|
713 |
+
string
|
714 |
+
</div>
|
715 |
+
|
716 |
+
|
717 |
+
|
718 |
+
|
719 |
+
</div>
|
720 |
+
</div></td>
|
721 |
+
</tr>
|
722 |
+
<tr data-order="filterOrderDirection" id="_filterOrderDirection">
|
723 |
+
|
724 |
+
<td class="attributes"><code>
|
725 |
+
protected
|
726 |
+
|
727 |
+
string
|
728 |
+
|
729 |
+
</code>
|
730 |
+
</td>
|
731 |
+
|
732 |
+
<td class="name"><div>
|
733 |
+
<a class="anchor" href="#_filterOrderDirection">#</a>
|
734 |
+
<code><a href="source-class-WPGMZA.AjaxTable.html#224-231" title="Go to source code">filterOrderDirection</a>( <span> <var>$orderDirection</var></span> )</code>
|
735 |
+
|
736 |
+
<div class="description short">
|
737 |
+
<p>Function can be used to override order by column</p>
|
738 |
+
</div>
|
739 |
+
|
740 |
+
<div class="description detailed hidden">
|
741 |
+
<p>Function can be used to override order by column</p>
|
742 |
+
|
743 |
+
|
744 |
+
|
745 |
+
<h4>Returns</h4>
|
746 |
+
<div class="list">
|
747 |
+
string
|
748 |
+
</div>
|
749 |
+
|
750 |
+
|
751 |
+
|
752 |
+
|
753 |
+
</div>
|
754 |
+
</div></td>
|
755 |
+
</tr>
|
756 |
+
<tr data-order="getRecords" id="_getRecords">
|
757 |
+
|
758 |
+
<td class="attributes"><code>
|
759 |
+
public
|
760 |
+
|
761 |
+
|
762 |
+
|
763 |
+
</code>
|
764 |
+
</td>
|
765 |
+
|
766 |
+
<td class="name"><div>
|
767 |
+
<a class="anchor" href="#_getRecords">#</a>
|
768 |
+
<code><a href="source-class-WPGMZA.AjaxTable.html#233-326" title="Go to source code">getRecords</a>( <span> <var>$input_params</var></span> )</code>
|
769 |
+
|
770 |
+
<div class="description short">
|
771 |
+
|
772 |
+
</div>
|
773 |
+
|
774 |
+
<div class="description detailed hidden">
|
775 |
+
|
776 |
+
|
777 |
+
|
778 |
+
|
779 |
+
|
780 |
+
|
781 |
+
|
782 |
+
|
783 |
+
</div>
|
784 |
+
</div></td>
|
785 |
+
</tr>
|
786 |
+
<tr data-order="data" id="_data">
|
787 |
+
|
788 |
+
<td class="attributes"><code>
|
789 |
+
public
|
790 |
+
|
791 |
+
|
792 |
+
|
793 |
+
</code>
|
794 |
+
</td>
|
795 |
+
|
796 |
+
<td class="name"><div>
|
797 |
+
<a class="anchor" href="#_data">#</a>
|
798 |
+
<code><a href="source-class-WPGMZA.AjaxTable.html#328-331" title="Go to source code">data</a>( <span> <var>$input_params</var></span> )</code>
|
799 |
+
|
800 |
+
<div class="description short">
|
801 |
+
|
802 |
+
</div>
|
803 |
+
|
804 |
+
<div class="description detailed hidden">
|
805 |
+
|
806 |
+
|
807 |
+
|
808 |
+
|
809 |
+
|
810 |
+
|
811 |
+
|
812 |
+
<h4>Overrides</h4>
|
813 |
+
<div class="list"><code><a href="class-WPGMZA.Table.html#_data">WPGMZA\Table::data()</a></code></div>
|
814 |
+
|
815 |
+
</div>
|
816 |
+
</div></td>
|
817 |
+
</tr>
|
818 |
+
</table>
|
819 |
+
|
820 |
+
<table class="summary inherited">
|
821 |
+
<caption>Methods inherited from <a href="class-WPGMZA.Table.html#methods">WPGMZA\Table</a></caption>
|
822 |
+
<tr>
|
823 |
+
<td><code>
|
824 |
+
<a href="class-WPGMZA.Table.html#___get">__get()</a>,
|
825 |
+
<a href="class-WPGMZA.Table.html#___set">__set()</a>,
|
826 |
+
<a href="class-WPGMZA.Table.html#_getElement">getElement()</a>,
|
827 |
+
<a href="class-WPGMZA.Table.html#_html">html()</a>,
|
828 |
+
<a href="class-WPGMZA.Table.html#_loadDocument">loadDocument()</a>
|
829 |
+
</code></td>
|
830 |
+
</tr>
|
831 |
+
</table>
|
832 |
+
<table class="summary inherited">
|
833 |
+
<caption>Methods inherited from <a href="class-WPGMZA.Factory.html#methods">WPGMZA\Factory</a></caption>
|
834 |
+
<tr>
|
835 |
+
<td><code>
|
836 |
+
<a href="class-WPGMZA.Factory.html#_createInstance">createInstance()</a>
|
837 |
+
</code></td>
|
838 |
+
</tr>
|
839 |
+
</table>
|
840 |
+
|
841 |
+
|
842 |
+
|
843 |
+
|
844 |
+
|
845 |
+
|
846 |
+
|
847 |
+
|
848 |
+
|
849 |
+
|
850 |
+
|
851 |
+
|
852 |
+
|
853 |
+
|
854 |
+
|
855 |
+
|
856 |
+
|
857 |
+
</div>
|
858 |
+
|
859 |
+
<div id="footer">
|
860 |
+
API documentation generated by <a href="http://apigen.org">ApiGen</a>
|
861 |
+
</div>
|
862 |
+
</div>
|
863 |
+
</div>
|
864 |
+
<script src="resources/combined.js"></script>
|
865 |
+
<script src="elementlist.js"></script>
|
866 |
+
</body>
|
867 |
+
</html>
|
@@ -49,12 +49,18 @@
|
|
49 |
<div id="elements">
|
50 |
<h3>Classes</h3>
|
51 |
<ul>
|
|
|
|
|
52 |
<li class="active"><a href="class-WPGMZA.AutoLoader.html">AutoLoader</a></li>
|
53 |
<li><a href="class-WPGMZA.Crud.html">Crud</a></li>
|
|
|
|
|
|
|
54 |
<li><a href="class-WPGMZA.DOMDocument.html">DOMDocument</a></li>
|
55 |
<li><a href="class-WPGMZA.DOMElement.html">DOMElement</a></li>
|
56 |
<li><a href="class-WPGMZA.Factory.html">Factory</a></li>
|
57 |
<li><a href="class-WPGMZA.GDPRCompliance.html">GDPRCompliance</a></li>
|
|
|
58 |
<li><a href="class-WPGMZA.GoogleGeocoder.html">GoogleGeocoder</a></li>
|
59 |
<li><a href="class-WPGMZA.GoogleMap.html">GoogleMap</a></li>
|
60 |
<li><a href="class-WPGMZA.GoogleMapsAPILoader.html" class="deprecated">GoogleMapsAPILoader</a></li>
|
@@ -63,13 +69,18 @@
|
|
63 |
<li><a href="class-WPGMZA.Map.html">Map</a></li>
|
64 |
<li><a href="class-WPGMZA.MapsEngineDialog.html">MapsEngineDialog</a></li>
|
65 |
<li><a href="class-WPGMZA.Marker.html">Marker</a></li>
|
|
|
|
|
66 |
<li><a href="class-WPGMZA.ModalDialog.html">ModalDialog</a></li>
|
67 |
<li><a href="class-WPGMZA.NominatimGeocodeCache.html">NominatimGeocodeCache</a></li>
|
68 |
<li><a href="class-WPGMZA.OLLoader.html">OLLoader</a></li>
|
69 |
<li><a href="class-WPGMZA.Plugin.html">Plugin</a></li>
|
|
|
|
|
70 |
<li><a href="class-WPGMZA.RestAPI.html">RestAPI</a></li>
|
71 |
<li><a href="class-WPGMZA.ScriptLoader.html">ScriptLoader</a></li>
|
72 |
<li><a href="class-WPGMZA.Strings.html">Strings</a></li>
|
|
|
73 |
</ul>
|
74 |
|
75 |
|
@@ -79,7 +90,6 @@
|
|
79 |
<h3>Functions</h3>
|
80 |
<ul>
|
81 |
<li><a href="function-WPGMZA.create_marker_instance_delegate.html">create_marker_instance_delegate</a></li>
|
82 |
-
<li><a href="function-WPGMZA.create_plugin_instance.html" class="deprecated">create_plugin_instance</a></li>
|
83 |
<li><a href="function-WPGMZA.query_nominatim_cache.html" class="deprecated">query_nominatim_cache</a></li>
|
84 |
<li><a href="function-WPGMZA.store_nominatim_cache.html" class="deprecated">store_nominatim_cache</a></li>
|
85 |
</ul>
|
@@ -141,7 +151,7 @@ classes found in the PHP files there, recursively.</p>
|
|
141 |
<b>Namespace:</b> <a href="namespace-WPGMZA.html">WPGMZA</a><br>
|
142 |
|
143 |
|
144 |
-
<b>Located at</b> <a href="source-class-WPGMZA.AutoLoader.html#
|
145 |
<br>
|
146 |
</div>
|
147 |
|
@@ -161,7 +171,7 @@ classes found in the PHP files there, recursively.</p>
|
|
161 |
|
162 |
<td class="name"><div>
|
163 |
<a class="anchor" href="#___construct">#</a>
|
164 |
-
<code><a href="source-class-WPGMZA.AutoLoader.html#
|
165 |
|
166 |
<div class="description short">
|
167 |
<p>The AutoLoader constructor.</p>
|
@@ -191,7 +201,7 @@ classes found in the PHP files there, recursively.</p>
|
|
191 |
|
192 |
<td class="name"><div>
|
193 |
<a class="anchor" href="#_updateCache">#</a>
|
194 |
-
<code><a href="source-class-WPGMZA.AutoLoader.html#
|
195 |
|
196 |
<div class="description short">
|
197 |
<p>Updates the JSON cache of classes</p>
|
@@ -221,7 +231,7 @@ classes found in the PHP files there, recursively.</p>
|
|
221 |
|
222 |
<td class="name"><div>
|
223 |
<a class="anchor" href="#_getClassesInFile">#</a>
|
224 |
-
<code><a href="source-class-WPGMZA.AutoLoader.html#
|
225 |
|
226 |
<div class="description short">
|
227 |
<p>Gets the first class defined in the specified file</p>
|
@@ -261,7 +271,7 @@ NB: With thanks to netcoder - https://stackoverflow.com/questions/7153000/get-cl
|
|
261 |
|
262 |
<td class="name"><div>
|
263 |
<a class="anchor" href="#_getClassesInPathByFilename">#</a>
|
264 |
-
<code><a href="source-class-WPGMZA.AutoLoader.html#
|
265 |
|
266 |
<div class="description short">
|
267 |
<p>Gets all the classes in PHP files in the specified path, recursively</p>
|
@@ -300,7 +310,7 @@ NB: With thanks to netcoder - https://stackoverflow.com/questions/7153000/get-cl
|
|
300 |
|
301 |
<td class="name"><div>
|
302 |
<a class="anchor" href="#_registerClassesInPath">#</a>
|
303 |
-
<code><a href="source-class-WPGMZA.AutoLoader.html#
|
304 |
|
305 |
<div class="description short">
|
306 |
<p>Recursively scans all PHP files in the given patch and registers any classes found.</p>
|
@@ -345,7 +355,7 @@ NB: With thanks to netcoder - https://stackoverflow.com/questions/7153000/get-cl
|
|
345 |
</code></td>
|
346 |
|
347 |
<td class="name">
|
348 |
-
<a href="source-class-WPGMZA.AutoLoader.html#
|
349 |
|
350 |
<div class="description short">
|
351 |
|
49 |
<div id="elements">
|
50 |
<h3>Classes</h3>
|
51 |
<ul>
|
52 |
+
<li><a href="class-WPGMZA.AdminMarkerDataTable.html">AdminMarkerDataTable</a></li>
|
53 |
+
<li><a href="class-WPGMZA.AjaxTable.html">AjaxTable</a></li>
|
54 |
<li class="active"><a href="class-WPGMZA.AutoLoader.html">AutoLoader</a></li>
|
55 |
<li><a href="class-WPGMZA.Crud.html">Crud</a></li>
|
56 |
+
<li><a href="class-WPGMZA.Database.html">Database</a></li>
|
57 |
+
<li><a href="class-WPGMZA.DataTable.html">DataTable</a></li>
|
58 |
+
<li><a href="class-WPGMZA.Distance.html">Distance</a></li>
|
59 |
<li><a href="class-WPGMZA.DOMDocument.html">DOMDocument</a></li>
|
60 |
<li><a href="class-WPGMZA.DOMElement.html">DOMElement</a></li>
|
61 |
<li><a href="class-WPGMZA.Factory.html">Factory</a></li>
|
62 |
<li><a href="class-WPGMZA.GDPRCompliance.html">GDPRCompliance</a></li>
|
63 |
+
<li><a href="class-WPGMZA.GlobalSettings.html">GlobalSettings</a></li>
|
64 |
<li><a href="class-WPGMZA.GoogleGeocoder.html">GoogleGeocoder</a></li>
|
65 |
<li><a href="class-WPGMZA.GoogleMap.html">GoogleMap</a></li>
|
66 |
<li><a href="class-WPGMZA.GoogleMapsAPILoader.html" class="deprecated">GoogleMapsAPILoader</a></li>
|
69 |
<li><a href="class-WPGMZA.Map.html">Map</a></li>
|
70 |
<li><a href="class-WPGMZA.MapsEngineDialog.html">MapsEngineDialog</a></li>
|
71 |
<li><a href="class-WPGMZA.Marker.html">Marker</a></li>
|
72 |
+
<li><a href="class-WPGMZA.MarkerDataTable.html">MarkerDataTable</a></li>
|
73 |
+
<li><a href="class-WPGMZA.MarkerFilter.html">MarkerFilter</a></li>
|
74 |
<li><a href="class-WPGMZA.ModalDialog.html">ModalDialog</a></li>
|
75 |
<li><a href="class-WPGMZA.NominatimGeocodeCache.html">NominatimGeocodeCache</a></li>
|
76 |
<li><a href="class-WPGMZA.OLLoader.html">OLLoader</a></li>
|
77 |
<li><a href="class-WPGMZA.Plugin.html">Plugin</a></li>
|
78 |
+
<li><a href="class-WPGMZA.Query.html">Query</a></li>
|
79 |
+
<li><a href="class-WPGMZA.QueryFragment.html">QueryFragment</a></li>
|
80 |
<li><a href="class-WPGMZA.RestAPI.html">RestAPI</a></li>
|
81 |
<li><a href="class-WPGMZA.ScriptLoader.html">ScriptLoader</a></li>
|
82 |
<li><a href="class-WPGMZA.Strings.html">Strings</a></li>
|
83 |
+
<li><a href="class-WPGMZA.Table.html">Table</a></li>
|
84 |
</ul>
|
85 |
|
86 |
|
90 |
<h3>Functions</h3>
|
91 |
<ul>
|
92 |
<li><a href="function-WPGMZA.create_marker_instance_delegate.html">create_marker_instance_delegate</a></li>
|
|
|
93 |
<li><a href="function-WPGMZA.query_nominatim_cache.html" class="deprecated">query_nominatim_cache</a></li>
|
94 |
<li><a href="function-WPGMZA.store_nominatim_cache.html" class="deprecated">store_nominatim_cache</a></li>
|
95 |
</ul>
|
151 |
<b>Namespace:</b> <a href="namespace-WPGMZA.html">WPGMZA</a><br>
|
152 |
|
153 |
|
154 |
+
<b>Located at</b> <a href="source-class-WPGMZA.AutoLoader.html#5-179" title="Go to source code">class.auto-loader.php</a>
|
155 |
<br>
|
156 |
</div>
|
157 |
|
171 |
|
172 |
<td class="name"><div>
|
173 |
<a class="anchor" href="#___construct">#</a>
|
174 |
+
<code><a href="source-class-WPGMZA.AutoLoader.html#17-25" title="Go to source code">__construct</a>( )</code>
|
175 |
|
176 |
<div class="description short">
|
177 |
<p>The AutoLoader constructor.</p>
|
201 |
|
202 |
<td class="name"><div>
|
203 |
<a class="anchor" href="#_updateCache">#</a>
|
204 |
+
<code><a href="source-class-WPGMZA.AutoLoader.html#27-43" title="Go to source code">updateCache</a>( )</code>
|
205 |
|
206 |
<div class="description short">
|
207 |
<p>Updates the JSON cache of classes</p>
|
231 |
|
232 |
<td class="name"><div>
|
233 |
<a class="anchor" href="#_getClassesInFile">#</a>
|
234 |
+
<code><a href="source-class-WPGMZA.AutoLoader.html#45-106" title="Go to source code">getClassesInFile</a>( <span>string <var>$file</var></span> )</code>
|
235 |
|
236 |
<div class="description short">
|
237 |
<p>Gets the first class defined in the specified file</p>
|
271 |
|
272 |
<td class="name"><div>
|
273 |
<a class="anchor" href="#_getClassesInPathByFilename">#</a>
|
274 |
+
<code><a href="source-class-WPGMZA.AutoLoader.html#108-130" title="Go to source code">getClassesInPathByFilename</a>( <span>string <var>$path</var></span> )</code>
|
275 |
|
276 |
<div class="description short">
|
277 |
<p>Gets all the classes in PHP files in the specified path, recursively</p>
|
310 |
|
311 |
<td class="name"><div>
|
312 |
<a class="anchor" href="#_registerClassesInPath">#</a>
|
313 |
+
<code><a href="source-class-WPGMZA.AutoLoader.html#132-153" title="Go to source code">registerClassesInPath</a>( <span>string <var>$path</var></span> )</code>
|
314 |
|
315 |
<div class="description short">
|
316 |
<p>Recursively scans all PHP files in the given patch and registers any classes found.</p>
|
355 |
</code></td>
|
356 |
|
357 |
<td class="name">
|
358 |
+
<a href="source-class-WPGMZA.AutoLoader.html#15" title="Go to source code"><var>$filenamesByClass</var></a>
|
359 |
|
360 |
<div class="description short">
|
361 |
|
@@ -49,12 +49,18 @@
|
|
49 |
<div id="elements">
|
50 |
<h3>Classes</h3>
|
51 |
<ul>
|
|
|
|
|
52 |
<li><a href="class-WPGMZA.AutoLoader.html">AutoLoader</a></li>
|
53 |
<li class="active"><a href="class-WPGMZA.Crud.html">Crud</a></li>
|
|
|
|
|
|
|
54 |
<li><a href="class-WPGMZA.DOMDocument.html">DOMDocument</a></li>
|
55 |
<li><a href="class-WPGMZA.DOMElement.html">DOMElement</a></li>
|
56 |
<li><a href="class-WPGMZA.Factory.html">Factory</a></li>
|
57 |
<li><a href="class-WPGMZA.GDPRCompliance.html">GDPRCompliance</a></li>
|
|
|
58 |
<li><a href="class-WPGMZA.GoogleGeocoder.html">GoogleGeocoder</a></li>
|
59 |
<li><a href="class-WPGMZA.GoogleMap.html">GoogleMap</a></li>
|
60 |
<li><a href="class-WPGMZA.GoogleMapsAPILoader.html" class="deprecated">GoogleMapsAPILoader</a></li>
|
@@ -63,13 +69,18 @@
|
|
63 |
<li><a href="class-WPGMZA.Map.html">Map</a></li>
|
64 |
<li><a href="class-WPGMZA.MapsEngineDialog.html">MapsEngineDialog</a></li>
|
65 |
<li><a href="class-WPGMZA.Marker.html">Marker</a></li>
|
|
|
|
|
66 |
<li><a href="class-WPGMZA.ModalDialog.html">ModalDialog</a></li>
|
67 |
<li><a href="class-WPGMZA.NominatimGeocodeCache.html">NominatimGeocodeCache</a></li>
|
68 |
<li><a href="class-WPGMZA.OLLoader.html">OLLoader</a></li>
|
69 |
<li><a href="class-WPGMZA.Plugin.html">Plugin</a></li>
|
|
|
|
|
70 |
<li><a href="class-WPGMZA.RestAPI.html">RestAPI</a></li>
|
71 |
<li><a href="class-WPGMZA.ScriptLoader.html">ScriptLoader</a></li>
|
72 |
<li><a href="class-WPGMZA.Strings.html">Strings</a></li>
|
|
|
73 |
</ul>
|
74 |
|
75 |
|
@@ -79,7 +90,6 @@
|
|
79 |
<h3>Functions</h3>
|
80 |
<ul>
|
81 |
<li><a href="function-WPGMZA.create_marker_instance_delegate.html">create_marker_instance_delegate</a></li>
|
82 |
-
<li><a href="function-WPGMZA.create_plugin_instance.html" class="deprecated">create_plugin_instance</a></li>
|
83 |
<li><a href="function-WPGMZA.query_nominatim_cache.html" class="deprecated">query_nominatim_cache</a></li>
|
84 |
<li><a href="function-WPGMZA.store_nominatim_cache.html" class="deprecated">store_nominatim_cache</a></li>
|
85 |
</ul>
|
@@ -126,6 +136,13 @@ side logic, for example Map, Marker, Polygon</p>
|
|
126 |
|
127 |
<dl class="tree">
|
128 |
<dd style="padding-left:0px">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
129 |
<b><span>WPGMZA\Crud</span></b>
|
130 |
implements
|
131 |
<span>IteratorAggregate</span>,
|
@@ -158,7 +175,7 @@ side logic, for example Map, Marker, Polygon</p>
|
|
158 |
<b>Namespace:</b> <a href="namespace-WPGMZA.html">WPGMZA</a><br>
|
159 |
|
160 |
|
161 |
-
<b>Located at</b> <a href="source-class-WPGMZA.Crud.html#5-
|
162 |
<br>
|
163 |
</div>
|
164 |
|
@@ -1104,7 +1121,7 @@ side logic, for example Map, Marker, Polygon</p>
|
|
1104 |
|
1105 |
<td class="name"><div>
|
1106 |
<a class="anchor" href="#___set">#</a>
|
1107 |
-
<code><a href="source-class-WPGMZA.Crud.html#564-
|
1108 |
|
1109 |
<div class="description short">
|
1110 |
<p>Sets the property value by name and updates the database</p>
|
@@ -1146,7 +1163,7 @@ side logic, for example Map, Marker, Polygon</p>
|
|
1146 |
|
1147 |
<td class="name"><div>
|
1148 |
<a class="anchor" href="#___unset">#</a>
|
1149 |
-
<code><a href="source-class-WPGMZA.Crud.html#
|
1150 |
|
1151 |
<div class="description short">
|
1152 |
<p>Unsets the named variable, only valid for arbitrary data</p>
|
@@ -1170,6 +1187,14 @@ side logic, for example Map, Marker, Polygon</p>
|
|
1170 |
</tr>
|
1171 |
</table>
|
1172 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1173 |
|
1174 |
|
1175 |
|
49 |
<div id="elements">
|
50 |
<h3>Classes</h3>
|
51 |
<ul>
|
52 |
+
<li><a href="class-WPGMZA.AdminMarkerDataTable.html">AdminMarkerDataTable</a></li>
|
53 |
+
<li><a href="class-WPGMZA.AjaxTable.html">AjaxTable</a></li>
|
54 |
<li><a href="class-WPGMZA.AutoLoader.html">AutoLoader</a></li>
|
55 |
<li class="active"><a href="class-WPGMZA.Crud.html">Crud</a></li>
|
56 |
+
<li><a href="class-WPGMZA.Database.html">Database</a></li>
|
57 |
+
<li><a href="class-WPGMZA.DataTable.html">DataTable</a></li>
|
58 |
+
<li><a href="class-WPGMZA.Distance.html">Distance</a></li>
|
59 |
<li><a href="class-WPGMZA.DOMDocument.html">DOMDocument</a></li>
|
60 |
<li><a href="class-WPGMZA.DOMElement.html">DOMElement</a></li>
|
61 |
<li><a href="class-WPGMZA.Factory.html">Factory</a></li>
|
62 |
<li><a href="class-WPGMZA.GDPRCompliance.html">GDPRCompliance</a></li>
|
63 |
+
<li><a href="class-WPGMZA.GlobalSettings.html">GlobalSettings</a></li>
|
64 |
<li><a href="class-WPGMZA.GoogleGeocoder.html">GoogleGeocoder</a></li>
|
65 |
<li><a href="class-WPGMZA.GoogleMap.html">GoogleMap</a></li>
|
66 |
<li><a href="class-WPGMZA.GoogleMapsAPILoader.html" class="deprecated">GoogleMapsAPILoader</a></li>
|
69 |
<li><a href="class-WPGMZA.Map.html">Map</a></li>
|
70 |
<li><a href="class-WPGMZA.MapsEngineDialog.html">MapsEngineDialog</a></li>
|
71 |
<li><a href="class-WPGMZA.Marker.html">Marker</a></li>
|
72 |
+
<li><a href="class-WPGMZA.MarkerDataTable.html">MarkerDataTable</a></li>
|
73 |
+
<li><a href="class-WPGMZA.MarkerFilter.html">MarkerFilter</a></li>
|
74 |
<li><a href="class-WPGMZA.ModalDialog.html">ModalDialog</a></li>
|
75 |
<li><a href="class-WPGMZA.NominatimGeocodeCache.html">NominatimGeocodeCache</a></li>
|
76 |
<li><a href="class-WPGMZA.OLLoader.html">OLLoader</a></li>
|
77 |
<li><a href="class-WPGMZA.Plugin.html">Plugin</a></li>
|
78 |
+
<li><a href="class-WPGMZA.Query.html">Query</a></li>
|
79 |
+
<li><a href="class-WPGMZA.QueryFragment.html">QueryFragment</a></li>
|
80 |
<li><a href="class-WPGMZA.RestAPI.html">RestAPI</a></li>
|
81 |
<li><a href="class-WPGMZA.ScriptLoader.html">ScriptLoader</a></li>
|
82 |
<li><a href="class-WPGMZA.Strings.html">Strings</a></li>
|
83 |
+
<li><a href="class-WPGMZA.Table.html">Table</a></li>
|
84 |
</ul>
|
85 |
|
86 |
|
90 |
<h3>Functions</h3>
|
91 |
<ul>
|
92 |
<li><a href="function-WPGMZA.create_marker_instance_delegate.html">create_marker_instance_delegate</a></li>
|
|
|
93 |
<li><a href="function-WPGMZA.query_nominatim_cache.html" class="deprecated">query_nominatim_cache</a></li>
|
94 |
<li><a href="function-WPGMZA.store_nominatim_cache.html" class="deprecated">store_nominatim_cache</a></li>
|
95 |
</ul>
|
136 |
|
137 |
<dl class="tree">
|
138 |
<dd style="padding-left:0px">
|
139 |
+
<a href="class-WPGMZA.Factory.html"><span>WPGMZA\Factory</span></a>
|
140 |
+
|
141 |
+
|
142 |
+
|
143 |
+
</dd>
|
144 |
+
<dd style="padding-left:30px">
|
145 |
+
<img src="resources/inherit.png" alt="Extended by">
|
146 |
<b><span>WPGMZA\Crud</span></b>
|
147 |
implements
|
148 |
<span>IteratorAggregate</span>,
|
175 |
<b>Namespace:</b> <a href="namespace-WPGMZA.html">WPGMZA</a><br>
|
176 |
|
177 |
|
178 |
+
<b>Located at</b> <a href="source-class-WPGMZA.Crud.html#5-638" title="Go to source code">class.crud.php</a>
|
179 |
<br>
|
180 |
</div>
|
181 |
|
1121 |
|
1122 |
<td class="name"><div>
|
1123 |
<a class="anchor" href="#___set">#</a>
|
1124 |
+
<code><a href="source-class-WPGMZA.Crud.html#564-620" title="Go to source code">__set</a>( <span>string <var>$name</var></span>, <span>mixed <var>$value</var></span> )</code>
|
1125 |
|
1126 |
<div class="description short">
|
1127 |
<p>Sets the property value by name and updates the database</p>
|
1163 |
|
1164 |
<td class="name"><div>
|
1165 |
<a class="anchor" href="#___unset">#</a>
|
1166 |
+
<code><a href="source-class-WPGMZA.Crud.html#622-637" title="Go to source code">__unset</a>( <span> <var>$name</var></span> )</code>
|
1167 |
|
1168 |
<div class="description short">
|
1169 |
<p>Unsets the named variable, only valid for arbitrary data</p>
|
1187 |
</tr>
|
1188 |
</table>
|
1189 |
|
1190 |
+
<table class="summary inherited">
|
1191 |
+
<caption>Methods inherited from <a href="class-WPGMZA.Factory.html#methods">WPGMZA\Factory</a></caption>
|
1192 |
+
<tr>
|
1193 |
+
<td><code>
|
1194 |
+
<a href="class-WPGMZA.Factory.html#_createInstance">createInstance()</a>
|
1195 |
+
</code></td>
|
1196 |
+
</tr>
|
1197 |
+
</table>
|
1198 |
|
1199 |
|
1200 |
|
@@ -49,12 +49,18 @@
|
|
49 |
<div id="elements">
|
50 |
<h3>Classes</h3>
|
51 |
<ul>
|
|
|
|
|
52 |
<li><a href="class-WPGMZA.AutoLoader.html">AutoLoader</a></li>
|
53 |
<li><a href="class-WPGMZA.Crud.html">Crud</a></li>
|
|
|
|
|
|
|
54 |
<li class="active"><a href="class-WPGMZA.DOMDocument.html">DOMDocument</a></li>
|
55 |
<li><a href="class-WPGMZA.DOMElement.html">DOMElement</a></li>
|
56 |
<li><a href="class-WPGMZA.Factory.html">Factory</a></li>
|
57 |
<li><a href="class-WPGMZA.GDPRCompliance.html">GDPRCompliance</a></li>
|
|
|
58 |
<li><a href="class-WPGMZA.GoogleGeocoder.html">GoogleGeocoder</a></li>
|
59 |
<li><a href="class-WPGMZA.GoogleMap.html">GoogleMap</a></li>
|
60 |
<li><a href="class-WPGMZA.GoogleMapsAPILoader.html" class="deprecated">GoogleMapsAPILoader</a></li>
|
@@ -63,13 +69,18 @@
|
|
63 |
<li><a href="class-WPGMZA.Map.html">Map</a></li>
|
64 |
<li><a href="class-WPGMZA.MapsEngineDialog.html">MapsEngineDialog</a></li>
|
65 |
<li><a href="class-WPGMZA.Marker.html">Marker</a></li>
|
|
|
|
|
66 |
<li><a href="class-WPGMZA.ModalDialog.html">ModalDialog</a></li>
|
67 |
<li><a href="class-WPGMZA.NominatimGeocodeCache.html">NominatimGeocodeCache</a></li>
|
68 |
<li><a href="class-WPGMZA.OLLoader.html">OLLoader</a></li>
|
69 |
<li><a href="class-WPGMZA.Plugin.html">Plugin</a></li>
|
|
|
|
|
70 |
<li><a href="class-WPGMZA.RestAPI.html">RestAPI</a></li>
|
71 |
<li><a href="class-WPGMZA.ScriptLoader.html">ScriptLoader</a></li>
|
72 |
<li><a href="class-WPGMZA.Strings.html">Strings</a></li>
|
|
|
73 |
</ul>
|
74 |
|
75 |
|
@@ -79,7 +90,6 @@
|
|
79 |
<h3>Functions</h3>
|
80 |
<ul>
|
81 |
<li><a href="function-WPGMZA.create_marker_instance_delegate.html">create_marker_instance_delegate</a></li>
|
82 |
-
<li><a href="function-WPGMZA.create_plugin_instance.html" class="deprecated">create_plugin_instance</a></li>
|
83 |
<li><a href="function-WPGMZA.query_nominatim_cache.html" class="deprecated">query_nominatim_cache</a></li>
|
84 |
<li><a href="function-WPGMZA.store_nominatim_cache.html" class="deprecated">store_nominatim_cache</a></li>
|
85 |
</ul>
|
@@ -156,7 +166,7 @@ DOMDocument
|
|
156 |
<b>Namespace:</b> <a href="namespace-WPGMZA.html">WPGMZA</a><br>
|
157 |
|
158 |
|
159 |
-
<b>Located at</b> <a href="source-class-WPGMZA.DOMDocument.html#7-
|
160 |
<br>
|
161 |
</div>
|
162 |
|
@@ -515,6 +525,36 @@ DOMDocument
|
|
515 |
|
516 |
|
517 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
518 |
</div>
|
519 |
</div></td>
|
520 |
</tr>
|
@@ -530,7 +570,7 @@ DOMDocument
|
|
530 |
|
531 |
<td class="name"><div>
|
532 |
<a class="anchor" href="#_createErrorElement">#</a>
|
533 |
-
<code><a href="source-class-WPGMZA.DOMDocument.html#
|
534 |
|
535 |
<div class="description short">
|
536 |
<p>Utility function to create an error element</p>
|
@@ -569,7 +609,7 @@ DOMDocument
|
|
569 |
|
570 |
<td class="name"><div>
|
571 |
<a class="anchor" href="#_saveInnerBody">#</a>
|
572 |
-
<code><a href="source-class-WPGMZA.DOMDocument.html#
|
573 |
|
574 |
<div class="description short">
|
575 |
<p>This function saves only the inside of the <body> element of this document. This is useful when you want to import a HTML document into another, but you don't want to end up with nested <html> elements</p>
|
@@ -603,7 +643,7 @@ DOMDocument
|
|
603 |
|
604 |
<td class="name"><div>
|
605 |
<a class="anchor" href="#___get">#</a>
|
606 |
-
<code><a href="source-class-WPGMZA.DOMDocument.html#
|
607 |
|
608 |
<div class="description short">
|
609 |
|
49 |
<div id="elements">
|
50 |
<h3>Classes</h3>
|
51 |
<ul>
|
52 |
+
<li><a href="class-WPGMZA.AdminMarkerDataTable.html">AdminMarkerDataTable</a></li>
|
53 |
+
<li><a href="class-WPGMZA.AjaxTable.html">AjaxTable</a></li>
|
54 |
<li><a href="class-WPGMZA.AutoLoader.html">AutoLoader</a></li>
|
55 |
<li><a href="class-WPGMZA.Crud.html">Crud</a></li>
|
56 |
+
<li><a href="class-WPGMZA.Database.html">Database</a></li>
|
57 |
+
<li><a href="class-WPGMZA.DataTable.html">DataTable</a></li>
|
58 |
+
<li><a href="class-WPGMZA.Distance.html">Distance</a></li>
|
59 |
<li class="active"><a href="class-WPGMZA.DOMDocument.html">DOMDocument</a></li>
|
60 |
<li><a href="class-WPGMZA.DOMElement.html">DOMElement</a></li>
|
61 |
<li><a href="class-WPGMZA.Factory.html">Factory</a></li>
|
62 |
<li><a href="class-WPGMZA.GDPRCompliance.html">GDPRCompliance</a></li>
|
63 |
+
<li><a href="class-WPGMZA.GlobalSettings.html">GlobalSettings</a></li>
|
64 |
<li><a href="class-WPGMZA.GoogleGeocoder.html">GoogleGeocoder</a></li>
|
65 |
<li><a href="class-WPGMZA.GoogleMap.html">GoogleMap</a></li>
|
66 |
<li><a href="class-WPGMZA.GoogleMapsAPILoader.html" class="deprecated">GoogleMapsAPILoader</a></li>
|
69 |
<li><a href="class-WPGMZA.Map.html">Map</a></li>
|
70 |
<li><a href="class-WPGMZA.MapsEngineDialog.html">MapsEngineDialog</a></li>
|
71 |
<li><a href="class-WPGMZA.Marker.html">Marker</a></li>
|
72 |
+
<li><a href="class-WPGMZA.MarkerDataTable.html">MarkerDataTable</a></li>
|
73 |
+
<li><a href="class-WPGMZA.MarkerFilter.html">MarkerFilter</a></li>
|
74 |
<li><a href="class-WPGMZA.ModalDialog.html">ModalDialog</a></li>
|
75 |
<li><a href="class-WPGMZA.NominatimGeocodeCache.html">NominatimGeocodeCache</a></li>
|
76 |
<li><a href="class-WPGMZA.OLLoader.html">OLLoader</a></li>
|
77 |
<li><a href="class-WPGMZA.Plugin.html">Plugin</a></li>
|
78 |
+
<li><a href="class-WPGMZA.Query.html">Query</a></li>
|
79 |
+
<li><a href="class-WPGMZA.QueryFragment.html">QueryFragment</a></li>
|
80 |
<li><a href="class-WPGMZA.RestAPI.html">RestAPI</a></li>
|
81 |
<li><a href="class-WPGMZA.ScriptLoader.html">ScriptLoader</a></li>
|
82 |
<li><a href="class-WPGMZA.Strings.html">Strings</a></li>
|
83 |
+
<li><a href="class-WPGMZA.Table.html">Table</a></li>
|
84 |
</ul>
|
85 |
|
86 |
|
90 |
<h3>Functions</h3>
|
91 |
<ul>
|
92 |
<li><a href="function-WPGMZA.create_marker_instance_delegate.html">create_marker_instance_delegate</a></li>
|
|
|
93 |
<li><a href="function-WPGMZA.query_nominatim_cache.html" class="deprecated">query_nominatim_cache</a></li>
|
94 |
<li><a href="function-WPGMZA.store_nominatim_cache.html" class="deprecated">store_nominatim_cache</a></li>
|
95 |
</ul>
|
166 |
<b>Namespace:</b> <a href="namespace-WPGMZA.html">WPGMZA</a><br>
|
167 |
|
168 |
|
169 |
+
<b>Located at</b> <a href="source-class-WPGMZA.DOMDocument.html#7-251" title="Go to source code">class.dom-document.php</a>
|
170 |
<br>
|
171 |
</div>
|
172 |
|
525 |
|
526 |
|
527 |
|
528 |
+
</div>
|
529 |
+
</div></td>
|
530 |
+
</tr>
|
531 |
+
<tr data-order="serializeFormData" id="_serializeFormData">
|
532 |
+
|
533 |
+
<td class="attributes"><code>
|
534 |
+
public
|
535 |
+
|
536 |
+
|
537 |
+
|
538 |
+
</code>
|
539 |
+
</td>
|
540 |
+
|
541 |
+
<td class="name"><div>
|
542 |
+
<a class="anchor" href="#_serializeFormData">#</a>
|
543 |
+
<code><a href="source-class-WPGMZA.DOMDocument.html#205-210" title="Go to source code">serializeFormData</a>( )</code>
|
544 |
+
|
545 |
+
<div class="description short">
|
546 |
+
|
547 |
+
</div>
|
548 |
+
|
549 |
+
<div class="description detailed hidden">
|
550 |
+
|
551 |
+
|
552 |
+
|
553 |
+
|
554 |
+
|
555 |
+
|
556 |
+
|
557 |
+
|
558 |
</div>
|
559 |
</div></td>
|
560 |
</tr>
|
570 |
|
571 |
<td class="name"><div>
|
572 |
<a class="anchor" href="#_createErrorElement">#</a>
|
573 |
+
<code><a href="source-class-WPGMZA.DOMDocument.html#212-223" title="Go to source code">createErrorElement</a>( <span>string <var>$message</var></span> )</code>
|
574 |
|
575 |
<div class="description short">
|
576 |
<p>Utility function to create an error element</p>
|
609 |
|
610 |
<td class="name"><div>
|
611 |
<a class="anchor" href="#_saveInnerBody">#</a>
|
612 |
+
<code><a href="source-class-WPGMZA.DOMDocument.html#225-242" title="Go to source code">saveInnerBody</a>( )</code>
|
613 |
|
614 |
<div class="description short">
|
615 |
<p>This function saves only the inside of the <body> element of this document. This is useful when you want to import a HTML document into another, but you don't want to end up with nested <html> elements</p>
|
643 |
|
644 |
<td class="name"><div>
|
645 |
<a class="anchor" href="#___get">#</a>
|
646 |
+
<code><a href="source-class-WPGMZA.DOMDocument.html#244-250" title="Go to source code">__get</a>( <span> <var>$name</var></span> )</code>
|
647 |
|
648 |
<div class="description short">
|
649 |
|
@@ -49,12 +49,18 @@
|
|
49 |
<div id="elements">
|
50 |
<h3>Classes</h3>
|
51 |
<ul>
|
|
|
|
|
52 |
<li><a href="class-WPGMZA.AutoLoader.html">AutoLoader</a></li>
|
53 |
<li><a href="class-WPGMZA.Crud.html">Crud</a></li>
|
|
|
|
|
|
|
54 |
<li><a href="class-WPGMZA.DOMDocument.html">DOMDocument</a></li>
|
55 |
<li class="active"><a href="class-WPGMZA.DOMElement.html">DOMElement</a></li>
|
56 |
<li><a href="class-WPGMZA.Factory.html">Factory</a></li>
|
57 |
<li><a href="class-WPGMZA.GDPRCompliance.html">GDPRCompliance</a></li>
|
|
|
58 |
<li><a href="class-WPGMZA.GoogleGeocoder.html">GoogleGeocoder</a></li>
|
59 |
<li><a href="class-WPGMZA.GoogleMap.html">GoogleMap</a></li>
|
60 |
<li><a href="class-WPGMZA.GoogleMapsAPILoader.html" class="deprecated">GoogleMapsAPILoader</a></li>
|
@@ -63,13 +69,18 @@
|
|
63 |
<li><a href="class-WPGMZA.Map.html">Map</a></li>
|
64 |
<li><a href="class-WPGMZA.MapsEngineDialog.html">MapsEngineDialog</a></li>
|
65 |
<li><a href="class-WPGMZA.Marker.html">Marker</a></li>
|
|
|
|
|
66 |
<li><a href="class-WPGMZA.ModalDialog.html">ModalDialog</a></li>
|
67 |
<li><a href="class-WPGMZA.NominatimGeocodeCache.html">NominatimGeocodeCache</a></li>
|
68 |
<li><a href="class-WPGMZA.OLLoader.html">OLLoader</a></li>
|
69 |
<li><a href="class-WPGMZA.Plugin.html">Plugin</a></li>
|
|
|
|
|
70 |
<li><a href="class-WPGMZA.RestAPI.html">RestAPI</a></li>
|
71 |
<li><a href="class-WPGMZA.ScriptLoader.html">ScriptLoader</a></li>
|
72 |
<li><a href="class-WPGMZA.Strings.html">Strings</a></li>
|
|
|
73 |
</ul>
|
74 |
|
75 |
|
@@ -79,7 +90,6 @@
|
|
79 |
<h3>Functions</h3>
|
80 |
<ul>
|
81 |
<li><a href="function-WPGMZA.create_marker_instance_delegate.html">create_marker_instance_delegate</a></li>
|
82 |
-
<li><a href="function-WPGMZA.create_plugin_instance.html" class="deprecated">create_plugin_instance</a></li>
|
83 |
<li><a href="function-WPGMZA.query_nominatim_cache.html" class="deprecated">query_nominatim_cache</a></li>
|
84 |
<li><a href="function-WPGMZA.store_nominatim_cache.html" class="deprecated">store_nominatim_cache</a></li>
|
85 |
</ul>
|
@@ -152,7 +162,7 @@ DOMElement
|
|
152 |
<b>Namespace:</b> <a href="namespace-WPGMZA.html">WPGMZA</a><br>
|
153 |
|
154 |
|
155 |
-
<b>Located at</b> <a href="source-class-WPGMZA.DOMElement.html#7-
|
156 |
<br>
|
157 |
</div>
|
158 |
|
@@ -905,6 +915,36 @@ DOMElement
|
|
905 |
|
906 |
|
907 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
908 |
</div>
|
909 |
</div></td>
|
910 |
</tr>
|
@@ -920,7 +960,7 @@ DOMElement
|
|
920 |
|
921 |
<td class="name"><div>
|
922 |
<a class="anchor" href="#_getValue">#</a>
|
923 |
-
<code><a href="source-class-WPGMZA.DOMElement.html#
|
924 |
|
925 |
<div class="description short">
|
926 |
<p>Gets the value of this element</p>
|
@@ -954,7 +994,7 @@ DOMElement
|
|
954 |
|
955 |
<td class="name"><div>
|
956 |
<a class="anchor" href="#_setValue">#</a>
|
957 |
-
<code><a href="source-class-WPGMZA.DOMElement.html#
|
958 |
|
959 |
<div class="description short">
|
960 |
<p>Sets the value of this element. Intended for form elements only. If this element is a textarea, it will be appended as plain text. If this element is a select, it will attempt to select the option with the specified value. If the input is a radio or checkbox, it will set it accordingly. Otherwise, the value will be put into the value attribute</p>
|
@@ -993,7 +1033,7 @@ DOMElement
|
|
993 |
|
994 |
<td class="name"><div>
|
995 |
<a class="anchor" href="#_appendText">#</a>
|
996 |
-
<code><a href="source-class-WPGMZA.DOMElement.html#
|
997 |
|
998 |
<div class="description short">
|
999 |
<p>Appends the specified text to this element, shorthand utility function</p>
|
@@ -1027,7 +1067,7 @@ DOMElement
|
|
1027 |
|
1028 |
<td class="name"><div>
|
1029 |
<a class="anchor" href="#_insertAfter">#</a>
|
1030 |
-
<code><a href="source-class-WPGMZA.DOMElement.html#
|
1031 |
|
1032 |
<div class="description short">
|
1033 |
<p>Utility function to append the specified element after one of this elements children. Will append at the end if after is null</p>
|
@@ -1065,7 +1105,7 @@ DOMElement
|
|
1065 |
|
1066 |
<td class="name"><div>
|
1067 |
<a class="anchor" href="#_clear">#</a>
|
1068 |
-
<code><a href="source-class-WPGMZA.DOMElement.html#
|
1069 |
|
1070 |
<div class="description short">
|
1071 |
<p>Clears this element, completely removing all it's contents</p>
|
@@ -1099,7 +1139,7 @@ DOMElement
|
|
1099 |
|
1100 |
<td class="name"><div>
|
1101 |
<a class="anchor" href="#_remove">#</a>
|
1102 |
-
<code><a href="source-class-WPGMZA.DOMElement.html#
|
1103 |
|
1104 |
<div class="description short">
|
1105 |
<p>Removes this element from it's parent</p>
|
49 |
<div id="elements">
|
50 |
<h3>Classes</h3>
|
51 |
<ul>
|
52 |
+
<li><a href="class-WPGMZA.AdminMarkerDataTable.html">AdminMarkerDataTable</a></li>
|
53 |
+
<li><a href="class-WPGMZA.AjaxTable.html">AjaxTable</a></li>
|
54 |
<li><a href="class-WPGMZA.AutoLoader.html">AutoLoader</a></li>
|
55 |
<li><a href="class-WPGMZA.Crud.html">Crud</a></li>
|
56 |
+
<li><a href="class-WPGMZA.Database.html">Database</a></li>
|
57 |
+
<li><a href="class-WPGMZA.DataTable.html">DataTable</a></li>
|
58 |
+
<li><a href="class-WPGMZA.Distance.html">Distance</a></li>
|
59 |
<li><a href="class-WPGMZA.DOMDocument.html">DOMDocument</a></li>
|
60 |
<li class="active"><a href="class-WPGMZA.DOMElement.html">DOMElement</a></li>
|
61 |
<li><a href="class-WPGMZA.Factory.html">Factory</a></li>
|
62 |
<li><a href="class-WPGMZA.GDPRCompliance.html">GDPRCompliance</a></li>
|
63 |
+
<li><a href="class-WPGMZA.GlobalSettings.html">GlobalSettings</a></li>
|
64 |
<li><a href="class-WPGMZA.GoogleGeocoder.html">GoogleGeocoder</a></li>
|
65 |
<li><a href="class-WPGMZA.GoogleMap.html">GoogleMap</a></li>
|
66 |
<li><a href="class-WPGMZA.GoogleMapsAPILoader.html" class="deprecated">GoogleMapsAPILoader</a></li>
|
69 |
<li><a href="class-WPGMZA.Map.html">Map</a></li>
|
70 |
<li><a href="class-WPGMZA.MapsEngineDialog.html">MapsEngineDialog</a></li>
|
71 |
<li><a href="class-WPGMZA.Marker.html">Marker</a></li>
|
72 |
+
<li><a href="class-WPGMZA.MarkerDataTable.html">MarkerDataTable</a></li>
|
73 |
+
<li><a href="class-WPGMZA.MarkerFilter.html">MarkerFilter</a></li>
|
74 |
<li><a href="class-WPGMZA.ModalDialog.html">ModalDialog</a></li>
|
75 |
<li><a href="class-WPGMZA.NominatimGeocodeCache.html">NominatimGeocodeCache</a></li>
|
76 |
<li><a href="class-WPGMZA.OLLoader.html">OLLoader</a></li>
|
77 |
<li><a href="class-WPGMZA.Plugin.html">Plugin</a></li>
|
78 |
+
<li><a href="class-WPGMZA.Query.html">Query</a></li>
|
79 |
+
<li><a href="class-WPGMZA.QueryFragment.html">QueryFragment</a></li>
|
80 |
<li><a href="class-WPGMZA.RestAPI.html">RestAPI</a></li>
|
81 |
<li><a href="class-WPGMZA.ScriptLoader.html">ScriptLoader</a></li>
|
82 |
<li><a href="class-WPGMZA.Strings.html">Strings</a></li>
|
83 |
+
<li><a href="class-WPGMZA.Table.html">Table</a></li>
|
84 |
</ul>
|
85 |
|
86 |
|
90 |
<h3>Functions</h3>
|
91 |
<ul>
|
92 |
<li><a href="function-WPGMZA.create_marker_instance_delegate.html">create_marker_instance_delegate</a></li>
|
|
|
93 |
<li><a href="function-WPGMZA.query_nominatim_cache.html" class="deprecated">query_nominatim_cache</a></li>
|
94 |
<li><a href="function-WPGMZA.store_nominatim_cache.html" class="deprecated">store_nominatim_cache</a></li>
|
95 |
</ul>
|
162 |
<b>Namespace:</b> <a href="namespace-WPGMZA.html">WPGMZA</a><br>
|
163 |
|
164 |
|
165 |
+
<b>Located at</b> <a href="source-class-WPGMZA.DOMElement.html#7-700" title="Go to source code">class.dom-element.php</a>
|
166 |
<br>
|
167 |
</div>
|
168 |
|
915 |
|
916 |
|
917 |
|
918 |
+
</div>
|
919 |
+
</div></td>
|
920 |
+
</tr>
|
921 |
+
<tr data-order="serializeFormData" id="_serializeFormData">
|
922 |
+
|
923 |
+
<td class="attributes"><code>
|
924 |
+
public
|
925 |
+
|
926 |
+
|
927 |
+
|
928 |
+
</code>
|
929 |
+
</td>
|
930 |
+
|
931 |
+
<td class="name"><div>
|
932 |
+
<a class="anchor" href="#_serializeFormData">#</a>
|
933 |
+
<code><a href="source-class-WPGMZA.DOMElement.html#505-541" title="Go to source code">serializeFormData</a>( )</code>
|
934 |
+
|
935 |
+
<div class="description short">
|
936 |
+
|
937 |
+
</div>
|
938 |
+
|
939 |
+
<div class="description detailed hidden">
|
940 |
+
|
941 |
+
|
942 |
+
|
943 |
+
|
944 |
+
|
945 |
+
|
946 |
+
|
947 |
+
|
948 |
</div>
|
949 |
</div></td>
|
950 |
</tr>
|
960 |
|
961 |
<td class="name"><div>
|
962 |
<a class="anchor" href="#_getValue">#</a>
|
963 |
+
<code><a href="source-class-WPGMZA.DOMElement.html#543-578" title="Go to source code">getValue</a>( )</code>
|
964 |
|
965 |
<div class="description short">
|
966 |
<p>Gets the value of this element</p>
|
994 |
|
995 |
<td class="name"><div>
|
996 |
<a class="anchor" href="#_setValue">#</a>
|
997 |
+
<code><a href="source-class-WPGMZA.DOMElement.html#580-648" title="Go to source code">setValue</a>( <span> <var>$value</var></span> )</code>
|
998 |
|
999 |
<div class="description short">
|
1000 |
<p>Sets the value of this element. Intended for form elements only. If this element is a textarea, it will be appended as plain text. If this element is a select, it will attempt to select the option with the specified value. If the input is a radio or checkbox, it will set it accordingly. Otherwise, the value will be put into the value attribute</p>
|
1033 |
|
1034 |
<td class="name"><div>
|
1035 |
<a class="anchor" href="#_appendText">#</a>
|
1036 |
+
<code><a href="source-class-WPGMZA.DOMElement.html#650-658" title="Go to source code">appendText</a>( <span> <var>$text</var></span> )</code>
|
1037 |
|
1038 |
<div class="description short">
|
1039 |
<p>Appends the specified text to this element, shorthand utility function</p>
|
1067 |
|
1068 |
<td class="name"><div>
|
1069 |
<a class="anchor" href="#_insertAfter">#</a>
|
1070 |
+
<code><a href="source-class-WPGMZA.DOMElement.html#660-677" title="Go to source code">insertAfter</a>( <span>Smart\Element <var>$elem</var></span>, <span>Smart\Element <var>$after</var> = <span class="php-keyword1">null</span></span> )</code>
|
1071 |
|
1072 |
<div class="description short">
|
1073 |
<p>Utility function to append the specified element after one of this elements children. Will append at the end if after is null</p>
|
1105 |
|
1106 |
<td class="name"><div>
|
1107 |
<a class="anchor" href="#_clear">#</a>
|
1108 |
+
<code><a href="source-class-WPGMZA.DOMElement.html#679-688" title="Go to source code">clear</a>( )</code>
|
1109 |
|
1110 |
<div class="description short">
|
1111 |
<p>Clears this element, completely removing all it's contents</p>
|
1139 |
|
1140 |
<td class="name"><div>
|
1141 |
<a class="anchor" href="#_remove">#</a>
|
1142 |
+
<code><a href="source-class-WPGMZA.DOMElement.html#690-699" title="Go to source code">remove</a>( )</code>
|
1143 |
|
1144 |
<div class="description short">
|
1145 |
<p>Removes this element from it's parent</p>
|
@@ -0,0 +1,552 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<!DOCTYPE html>
|
2 |
+
<html>
|
3 |
+
<head>
|
4 |
+
<meta charset="utf-8">
|
5 |
+
|
6 |
+
<title>Class WPGMZA\DataTable</title>
|
7 |
+
|
8 |
+
<link rel="stylesheet" href="resources/style.css?c2f33731c1948fbed7c333554678bfa68d4817da">
|
9 |
+
|
10 |
+
</head>
|
11 |
+
|
12 |
+
<body>
|
13 |
+
<div id="left">
|
14 |
+
<div id="menu">
|
15 |
+
<a href="index.html" title="Overview"><span>Overview</span></a>
|
16 |
+
|
17 |
+
|
18 |
+
<div id="groups">
|
19 |
+
<h3>Namespaces</h3>
|
20 |
+
<ul>
|
21 |
+
<li>
|
22 |
+
<a href="namespace-None.html">
|
23 |
+
None </a>
|
24 |
+
|
25 |
+
</li>
|
26 |
+
<li class="active">
|
27 |
+
<a href="namespace-WPGMZA.html">
|
28 |
+
WPGMZA<span></span>
|
29 |
+
</a>
|
30 |
+
|
31 |
+
<ul>
|
32 |
+
<li>
|
33 |
+
<a href="namespace-WPGMZA.Integration.html">
|
34 |
+
Integration </a>
|
35 |
+
|
36 |
+
</li>
|
37 |
+
<li>
|
38 |
+
<a href="namespace-WPGMZA.Selector.html">
|
39 |
+
Selector </a>
|
40 |
+
|
41 |
+
</li>
|
42 |
+
</ul></li>
|
43 |
+
</ul>
|
44 |
+
</div>
|
45 |
+
|
46 |
+
<hr>
|
47 |
+
|
48 |
+
|
49 |
+
<div id="elements">
|
50 |
+
<h3>Classes</h3>
|
51 |
+
<ul>
|
52 |
+
<li><a href="class-WPGMZA.AdminMarkerDataTable.html">AdminMarkerDataTable</a></li>
|
53 |
+
<li><a href="class-WPGMZA.AjaxTable.html">AjaxTable</a></li>
|
54 |
+
<li><a href="class-WPGMZA.AutoLoader.html">AutoLoader</a></li>
|
55 |
+
<li><a href="class-WPGMZA.Crud.html">Crud</a></li>
|
56 |
+
<li><a href="class-WPGMZA.Database.html">Database</a></li>
|
57 |
+
<li class="active"><a href="class-WPGMZA.DataTable.html">DataTable</a></li>
|
58 |
+
<li><a href="class-WPGMZA.Distance.html">Distance</a></li>
|
59 |
+
<li><a href="class-WPGMZA.DOMDocument.html">DOMDocument</a></li>
|
60 |
+
<li><a href="class-WPGMZA.DOMElement.html">DOMElement</a></li>
|
61 |
+
<li><a href="class-WPGMZA.Factory.html">Factory</a></li>
|
62 |
+
<li><a href="class-WPGMZA.GDPRCompliance.html">GDPRCompliance</a></li>
|
63 |
+
<li><a href="class-WPGMZA.GlobalSettings.html">GlobalSettings</a></li>
|
64 |
+
<li><a href="class-WPGMZA.GoogleGeocoder.html">GoogleGeocoder</a></li>
|
65 |
+
<li><a href="class-WPGMZA.GoogleMap.html">GoogleMap</a></li>
|
66 |
+
<li><a href="class-WPGMZA.GoogleMapsAPILoader.html" class="deprecated">GoogleMapsAPILoader</a></li>
|
67 |
+
<li><a href="class-WPGMZA.GoogleMapsLoader.html" class="deprecated">GoogleMapsLoader</a></li>
|
68 |
+
<li><a href="class-WPGMZA.LatLng.html">LatLng</a></li>
|
69 |
+
<li><a href="class-WPGMZA.Map.html">Map</a></li>
|
70 |
+
<li><a href="class-WPGMZA.MapsEngineDialog.html">MapsEngineDialog</a></li>
|
71 |
+
<li><a href="class-WPGMZA.Marker.html">Marker</a></li>
|
72 |
+
<li><a href="class-WPGMZA.MarkerDataTable.html">MarkerDataTable</a></li>
|
73 |
+
<li><a href="class-WPGMZA.MarkerFilter.html">MarkerFilter</a></li>
|
74 |
+
<li><a href="class-WPGMZA.ModalDialog.html">ModalDialog</a></li>
|
75 |
+
<li><a href="class-WPGMZA.NominatimGeocodeCache.html">NominatimGeocodeCache</a></li>
|
76 |
+
<li><a href="class-WPGMZA.OLLoader.html">OLLoader</a></li>
|
77 |
+
<li><a href="class-WPGMZA.Plugin.html">Plugin</a></li>
|
78 |
+
<li><a href="class-WPGMZA.Query.html">Query</a></li>
|
79 |
+
<li><a href="class-WPGMZA.QueryFragment.html">QueryFragment</a></li>
|
80 |
+
<li><a href="class-WPGMZA.RestAPI.html">RestAPI</a></li>
|
81 |
+
<li><a href="class-WPGMZA.ScriptLoader.html">ScriptLoader</a></li>
|
82 |
+
<li><a href="class-WPGMZA.Strings.html">Strings</a></li>
|
83 |
+
<li><a href="class-WPGMZA.Table.html">Table</a></li>
|
84 |
+
</ul>
|
85 |
+
|
86 |
+
|
87 |
+
|
88 |
+
|
89 |
+
|
90 |
+
<h3>Functions</h3>
|
91 |
+
<ul>
|
92 |
+
<li><a href="function-WPGMZA.create_marker_instance_delegate.html">create_marker_instance_delegate</a></li>
|
93 |
+
<li><a href="function-WPGMZA.query_nominatim_cache.html" class="deprecated">query_nominatim_cache</a></li>
|
94 |
+
<li><a href="function-WPGMZA.store_nominatim_cache.html" class="deprecated">store_nominatim_cache</a></li>
|
95 |
+
</ul>
|
96 |
+
</div>
|
97 |
+
</div>
|
98 |
+
</div>
|
99 |
+
|
100 |
+
<div id="splitter"></div>
|
101 |
+
|
102 |
+
<div id="right">
|
103 |
+
<div id="rightInner">
|
104 |
+
<form id="search">
|
105 |
+
<input type="hidden" name="cx" value="">
|
106 |
+
<input type="hidden" name="ie" value="UTF-8">
|
107 |
+
<input type="text" name="q" class="text" placeholder="Search">
|
108 |
+
</form>
|
109 |
+
|
110 |
+
<div id="navigation">
|
111 |
+
<ul>
|
112 |
+
<li>
|
113 |
+
<a href="index.html" title="Overview"><span>Overview</span></a>
|
114 |
+
</li>
|
115 |
+
<li>
|
116 |
+
<a href="namespace-WPGMZA.html" title="Summary of WPGMZA"><span>Namespace</span></a>
|
117 |
+
</li>
|
118 |
+
<li class="active">
|
119 |
+
<span>Class</span> </li>
|
120 |
+
</ul>
|
121 |
+
<ul>
|
122 |
+
</ul>
|
123 |
+
<ul>
|
124 |
+
</ul>
|
125 |
+
</div>
|
126 |
+
|
127 |
+
<div id="content" class="class">
|
128 |
+
<h1>Class DataTable</h1>
|
129 |
+
|
130 |
+
|
131 |
+
<div class="description">
|
132 |
+
<p>The Factory class is a base class which can be used to make any classes
|
133 |
+
externally extensible. A filter is added for wpgmza_create_{class} which
|
134 |
+
is called by createInstance. If this filter returns a subclass of Factory,
|
135 |
+
that filter will override the default class and will be used.</p>
|
136 |
+
|
137 |
+
<p>IMPORTANT: Any objects which subclass Factory MUST be created by calling
|
138 |
+
createInstance on the subclass. Calling new on the constructor directly will
|
139 |
+
not cause this filter to fire, and the extended class will not be used.</p>
|
140 |
+
</div>
|
141 |
+
|
142 |
+
<dl class="tree">
|
143 |
+
<dd style="padding-left:0px">
|
144 |
+
<a href="class-WPGMZA.Factory.html"><span>WPGMZA\Factory</span></a>
|
145 |
+
|
146 |
+
|
147 |
+
|
148 |
+
</dd>
|
149 |
+
<dd style="padding-left:30px">
|
150 |
+
<img src="resources/inherit.png" alt="Extended by">
|
151 |
+
<a href="class-WPGMZA.Table.html"><span>WPGMZA\Table</span></a>
|
152 |
+
|
153 |
+
|
154 |
+
|
155 |
+
</dd>
|
156 |
+
<dd style="padding-left:60px">
|
157 |
+
<img src="resources/inherit.png" alt="Extended by">
|
158 |
+
<a href="class-WPGMZA.AjaxTable.html"><span>WPGMZA\AjaxTable</span></a>
|
159 |
+
|
160 |
+
|
161 |
+
|
162 |
+
</dd>
|
163 |
+
<dd style="padding-left:90px">
|
164 |
+
<img src="resources/inherit.png" alt="Extended by">
|
165 |
+
<b><span>WPGMZA\DataTable</span></b>
|
166 |
+
|
167 |
+
|
168 |
+
</dd>
|
169 |
+
</dl>
|
170 |
+
|
171 |
+
|
172 |
+
<div>
|
173 |
+
<h4>Direct known subclasses</h4>
|
174 |
+
<a href="class-WPGMZA.MarkerDataTable.html">WPGMZA\MarkerDataTable</a>
|
175 |
+
</div>
|
176 |
+
|
177 |
+
<div>
|
178 |
+
<h4>Indirect known subclasses</h4>
|
179 |
+
<a href="class-WPGMZA.AdminMarkerDataTable.html">WPGMZA\AdminMarkerDataTable</a>
|
180 |
+
</div>
|
181 |
+
|
182 |
+
|
183 |
+
|
184 |
+
|
185 |
+
|
186 |
+
<div class="info">
|
187 |
+
|
188 |
+
|
189 |
+
<b>Namespace:</b> <a href="namespace-WPGMZA.html">WPGMZA</a><br>
|
190 |
+
|
191 |
+
|
192 |
+
<b>Located at</b> <a href="source-class-WPGMZA.DataTable.html#5-108" title="Go to source code">tables/class.datatable.php</a>
|
193 |
+
<br>
|
194 |
+
</div>
|
195 |
+
|
196 |
+
|
197 |
+
|
198 |
+
<table class="summary methods" id="methods">
|
199 |
+
<caption>Methods summary</caption>
|
200 |
+
<tr data-order="__construct" id="___construct">
|
201 |
+
|
202 |
+
<td class="attributes"><code>
|
203 |
+
public
|
204 |
+
|
205 |
+
|
206 |
+
|
207 |
+
</code>
|
208 |
+
</td>
|
209 |
+
|
210 |
+
<td class="name"><div>
|
211 |
+
<a class="anchor" href="#___construct">#</a>
|
212 |
+
<code><a href="source-class-WPGMZA.DataTable.html#7-17" title="Go to source code">__construct</a>( <span> <var>$table_name</var></span>, <span> <var>$ajax_parameters</var> = <span class="php-keyword1">null</span></span>, <span> <var>$datatable_options</var> = <span class="php-keyword1">null</span></span> )</code>
|
213 |
+
|
214 |
+
<div class="description short">
|
215 |
+
|
216 |
+
</div>
|
217 |
+
|
218 |
+
<div class="description detailed hidden">
|
219 |
+
|
220 |
+
|
221 |
+
|
222 |
+
|
223 |
+
|
224 |
+
|
225 |
+
|
226 |
+
<h4>Overrides</h4>
|
227 |
+
<div class="list"><code><a href="class-WPGMZA.AjaxTable.html#___construct">WPGMZA\AjaxTable::__construct()</a></code></div>
|
228 |
+
|
229 |
+
</div>
|
230 |
+
</div></td>
|
231 |
+
</tr>
|
232 |
+
<tr data-order="getColumns" id="_getColumns">
|
233 |
+
|
234 |
+
<td class="attributes"><code>
|
235 |
+
protected
|
236 |
+
|
237 |
+
|
238 |
+
|
239 |
+
</code>
|
240 |
+
</td>
|
241 |
+
|
242 |
+
<td class="name"><div>
|
243 |
+
<a class="anchor" href="#_getColumns">#</a>
|
244 |
+
<code><a href="source-class-WPGMZA.DataTable.html#19-22" title="Go to source code">getColumns</a>( )</code>
|
245 |
+
|
246 |
+
<div class="description short">
|
247 |
+
|
248 |
+
</div>
|
249 |
+
|
250 |
+
<div class="description detailed hidden">
|
251 |
+
|
252 |
+
|
253 |
+
|
254 |
+
|
255 |
+
|
256 |
+
|
257 |
+
|
258 |
+
<h4>Overrides</h4>
|
259 |
+
<div class="list"><code><a href="class-WPGMZA.AjaxTable.html#_getColumns">WPGMZA\AjaxTable::getColumns()</a></code></div>
|
260 |
+
|
261 |
+
</div>
|
262 |
+
</div></td>
|
263 |
+
</tr>
|
264 |
+
<tr data-order="getOrderBy" id="_getOrderBy">
|
265 |
+
|
266 |
+
<td class="attributes"><code>
|
267 |
+
protected
|
268 |
+
|
269 |
+
|
270 |
+
|
271 |
+
</code>
|
272 |
+
</td>
|
273 |
+
|
274 |
+
<td class="name"><div>
|
275 |
+
<a class="anchor" href="#_getOrderBy">#</a>
|
276 |
+
<code><a href="source-class-WPGMZA.DataTable.html#24-32" title="Go to source code">getOrderBy</a>( <span> <var>$input_params</var></span>, <span> <var>$column_keys</var></span> )</code>
|
277 |
+
|
278 |
+
<div class="description short">
|
279 |
+
|
280 |
+
</div>
|
281 |
+
|
282 |
+
<div class="description detailed hidden">
|
283 |
+
|
284 |
+
|
285 |
+
|
286 |
+
|
287 |
+
|
288 |
+
|
289 |
+
|
290 |
+
<h4>Overrides</h4>
|
291 |
+
<div class="list"><code><a href="class-WPGMZA.AjaxTable.html#_getOrderBy">WPGMZA\AjaxTable::getOrderBy()</a></code></div>
|
292 |
+
|
293 |
+
</div>
|
294 |
+
</div></td>
|
295 |
+
</tr>
|
296 |
+
<tr data-order="getOrderDirection" id="_getOrderDirection">
|
297 |
+
|
298 |
+
<td class="attributes"><code>
|
299 |
+
protected
|
300 |
+
|
301 |
+
|
302 |
+
|
303 |
+
</code>
|
304 |
+
</td>
|
305 |
+
|
306 |
+
<td class="name"><div>
|
307 |
+
<a class="anchor" href="#_getOrderDirection">#</a>
|
308 |
+
<code><a href="source-class-WPGMZA.DataTable.html#34-42" title="Go to source code">getOrderDirection</a>( <span> <var>$input_params</var></span> )</code>
|
309 |
+
|
310 |
+
<div class="description short">
|
311 |
+
|
312 |
+
</div>
|
313 |
+
|
314 |
+
<div class="description detailed hidden">
|
315 |
+
|
316 |
+
|
317 |
+
|
318 |
+
|
319 |
+
|
320 |
+
|
321 |
+
|
322 |
+
<h4>Overrides</h4>
|
323 |
+
<div class="list"><code><a href="class-WPGMZA.AjaxTable.html#_getOrderDirection">WPGMZA\AjaxTable::getOrderDirection()</a></code></div>
|
324 |
+
|
325 |
+
</div>
|
326 |
+
</div></td>
|
327 |
+
</tr>
|
328 |
+
<tr data-order="getDataTableOptions" id="_getDataTableOptions">
|
329 |
+
|
330 |
+
<td class="attributes"><code>
|
331 |
+
public
|
332 |
+
|
333 |
+
|
334 |
+
|
335 |
+
</code>
|
336 |
+
</td>
|
337 |
+
|
338 |
+
<td class="name"><div>
|
339 |
+
<a class="anchor" href="#_getDataTableOptions">#</a>
|
340 |
+
<code><a href="source-class-WPGMZA.DataTable.html#44-47" title="Go to source code">getDataTableOptions</a>( )</code>
|
341 |
+
|
342 |
+
<div class="description short">
|
343 |
+
|
344 |
+
</div>
|
345 |
+
|
346 |
+
<div class="description detailed hidden">
|
347 |
+
|
348 |
+
|
349 |
+
|
350 |
+
|
351 |
+
|
352 |
+
|
353 |
+
|
354 |
+
|
355 |
+
</div>
|
356 |
+
</div></td>
|
357 |
+
</tr>
|
358 |
+
<tr data-order="setDataTableOptions" id="_setDataTableOptions">
|
359 |
+
|
360 |
+
<td class="attributes"><code>
|
361 |
+
public
|
362 |
+
|
363 |
+
|
364 |
+
|
365 |
+
</code>
|
366 |
+
</td>
|
367 |
+
|
368 |
+
<td class="name"><div>
|
369 |
+
<a class="anchor" href="#_setDataTableOptions">#</a>
|
370 |
+
<code><a href="source-class-WPGMZA.DataTable.html#49-52" title="Go to source code">setDataTableOptions</a>( <span> <var>$options</var></span> )</code>
|
371 |
+
|
372 |
+
<div class="description short">
|
373 |
+
|
374 |
+
</div>
|
375 |
+
|
376 |
+
<div class="description detailed hidden">
|
377 |
+
|
378 |
+
|
379 |
+
|
380 |
+
|
381 |
+
|
382 |
+
|
383 |
+
|
384 |
+
|
385 |
+
</div>
|
386 |
+
</div></td>
|
387 |
+
</tr>
|
388 |
+
<tr data-order="data" id="_data">
|
389 |
+
|
390 |
+
<td class="attributes"><code>
|
391 |
+
public
|
392 |
+
|
393 |
+
|
394 |
+
|
395 |
+
</code>
|
396 |
+
</td>
|
397 |
+
|
398 |
+
<td class="name"><div>
|
399 |
+
<a class="anchor" href="#_data">#</a>
|
400 |
+
<code><a href="source-class-WPGMZA.DataTable.html#54-61" title="Go to source code">data</a>( <span> <var>$input_params</var></span> )</code>
|
401 |
+
|
402 |
+
<div class="description short">
|
403 |
+
|
404 |
+
</div>
|
405 |
+
|
406 |
+
<div class="description detailed hidden">
|
407 |
+
|
408 |
+
|
409 |
+
|
410 |
+
|
411 |
+
|
412 |
+
|
413 |
+
|
414 |
+
<h4>Overrides</h4>
|
415 |
+
<div class="list"><code><a href="class-WPGMZA.AjaxTable.html#_data">WPGMZA\AjaxTable::data()</a></code></div>
|
416 |
+
|
417 |
+
</div>
|
418 |
+
</div></td>
|
419 |
+
</tr>
|
420 |
+
<tr data-order="initTableDOM" id="_initTableDOM">
|
421 |
+
|
422 |
+
<td class="attributes"><code>
|
423 |
+
protected
|
424 |
+
|
425 |
+
|
426 |
+
|
427 |
+
</code>
|
428 |
+
</td>
|
429 |
+
|
430 |
+
<td class="name"><div>
|
431 |
+
<a class="anchor" href="#_initTableDOM">#</a>
|
432 |
+
<code><a href="source-class-WPGMZA.DataTable.html#63-88" title="Go to source code">initTableDOM</a>( )</code>
|
433 |
+
|
434 |
+
<div class="description short">
|
435 |
+
|
436 |
+
</div>
|
437 |
+
|
438 |
+
<div class="description detailed hidden">
|
439 |
+
|
440 |
+
|
441 |
+
|
442 |
+
|
443 |
+
|
444 |
+
|
445 |
+
|
446 |
+
|
447 |
+
</div>
|
448 |
+
</div></td>
|
449 |
+
</tr>
|
450 |
+
<tr data-order="getRecords" id="_getRecords">
|
451 |
+
|
452 |
+
<td class="attributes"><code>
|
453 |
+
public
|
454 |
+
|
455 |
+
|
456 |
+
|
457 |
+
</code>
|
458 |
+
</td>
|
459 |
+
|
460 |
+
<td class="name"><div>
|
461 |
+
<a class="anchor" href="#_getRecords">#</a>
|
462 |
+
<code><a href="source-class-WPGMZA.DataTable.html#90-107" title="Go to source code">getRecords</a>( <span> <var>$input_params</var></span> )</code>
|
463 |
+
|
464 |
+
<div class="description short">
|
465 |
+
|
466 |
+
</div>
|
467 |
+
|
468 |
+
<div class="description detailed hidden">
|
469 |
+
|
470 |
+
|
471 |
+
|
472 |
+
|
473 |
+
|
474 |
+
|
475 |
+
|
476 |
+
<h4>Overrides</h4>
|
477 |
+
<div class="list"><code><a href="class-WPGMZA.AjaxTable.html#_getRecords">WPGMZA\AjaxTable::getRecords()</a></code></div>
|
478 |
+
|
479 |
+
</div>
|
480 |
+
</div></td>
|
481 |
+
</tr>
|
482 |
+
</table>
|
483 |
+
|
484 |
+
<table class="summary inherited">
|
485 |
+
<caption>Methods inherited from <a href="class-WPGMZA.AjaxTable.html#methods">WPGMZA\AjaxTable</a></caption>
|
486 |
+
<tr>
|
487 |
+
<td><code>
|
488 |
+
<a href="class-WPGMZA.AjaxTable.html#_filterColumns">filterColumns()</a>,
|
489 |
+
<a href="class-WPGMZA.AjaxTable.html#_filterOrderBy">filterOrderBy()</a>,
|
490 |
+
<a href="class-WPGMZA.AjaxTable.html#_filterOrderDirection">filterOrderDirection()</a>,
|
491 |
+
<a href="class-WPGMZA.AjaxTable.html#_filterResults">filterResults()</a>,
|
492 |
+
<a href="class-WPGMZA.AjaxTable.html#_getAjaxParameters">getAjaxParameters()</a>,
|
493 |
+
<a href="class-WPGMZA.AjaxTable.html#_getAttributeParams">getAttributeParams()</a>,
|
494 |
+
<a href="class-WPGMZA.AjaxTable.html#_getColumnNameByIndex">getColumnNameByIndex()</a>,
|
495 |
+
<a href="class-WPGMZA.AjaxTable.html#_getHavingClause">getHavingClause()</a>,
|
496 |
+
<a href="class-WPGMZA.AjaxTable.html#_getRestAPIRoute">getRestAPIRoute()</a>,
|
497 |
+
<a href="class-WPGMZA.AjaxTable.html#_getSearchClause">getSearchClause()</a>,
|
498 |
+
<a href="class-WPGMZA.AjaxTable.html#_getWhereClause">getWhereClause()</a>,
|
499 |
+
<a href="class-WPGMZA.AjaxTable.html#_setAjaxParameters">setAjaxParameters()</a>,
|
500 |
+
<a href="class-WPGMZA.AjaxTable.html#_setAttributeParams">setAttributeParams()</a>,
|
501 |
+
<a href="class-WPGMZA.AjaxTable.html#_setRestAPIRoute">setRestAPIRoute()</a>
|
502 |
+
</code></td>
|
503 |
+
</tr>
|
504 |
+
</table>
|
505 |
+
<table class="summary inherited">
|
506 |
+
<caption>Methods inherited from <a href="class-WPGMZA.Table.html#methods">WPGMZA\Table</a></caption>
|
507 |
+
<tr>
|
508 |
+
<td><code>
|
509 |
+
<a href="class-WPGMZA.Table.html#___get">__get()</a>,
|
510 |
+
<a href="class-WPGMZA.Table.html#___set">__set()</a>,
|
511 |
+
<a href="class-WPGMZA.Table.html#_getElement">getElement()</a>,
|
512 |
+
<a href="class-WPGMZA.Table.html#_html">html()</a>,
|
513 |
+
<a href="class-WPGMZA.Table.html#_loadDocument">loadDocument()</a>
|
514 |
+
</code></td>
|
515 |
+
</tr>
|
516 |
+
</table>
|
517 |
+
<table class="summary inherited">
|
518 |
+
<caption>Methods inherited from <a href="class-WPGMZA.Factory.html#methods">WPGMZA\Factory</a></caption>
|
519 |
+
<tr>
|
520 |
+
<td><code>
|
521 |
+
<a href="class-WPGMZA.Factory.html#_createInstance">createInstance()</a>
|
522 |
+
</code></td>
|
523 |
+
</tr>
|
524 |
+
</table>
|
525 |
+
|
526 |
+
|
527 |
+
|
528 |
+
|
529 |
+
|
530 |
+
|
531 |
+
|
532 |
+
|
533 |
+
|
534 |
+
|
535 |
+
|
536 |
+
|
537 |
+
|
538 |
+
|
539 |
+
|
540 |
+
|
541 |
+
|
542 |
+
</div>
|
543 |
+
|
544 |
+
<div id="footer">
|
545 |
+
API documentation generated by <a href="http://apigen.org">ApiGen</a>
|
546 |
+
</div>
|
547 |
+
</div>
|
548 |
+
</div>
|
549 |
+
<script src="resources/combined.js"></script>
|
550 |
+
<script src="elementlist.js"></script>
|
551 |
+
</body>
|
552 |
+
</html>
|
@@ -0,0 +1,423 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<!DOCTYPE html>
|
2 |
+
<html>
|
3 |
+
<head>
|
4 |
+
<meta charset="utf-8">
|
5 |
+
|
6 |
+
<title>Class WPGMZA\Database</title>
|
7 |
+
|
8 |
+
<link rel="stylesheet" href="resources/style.css?c2f33731c1948fbed7c333554678bfa68d4817da">
|
9 |
+
|
10 |
+
</head>
|
11 |
+
|
12 |
+
<body>
|
13 |
+
<div id="left">
|
14 |
+
<div id="menu">
|
15 |
+
<a href="index.html" title="Overview"><span>Overview</span></a>
|
16 |
+
|
17 |
+
|
18 |
+
<div id="groups">
|
19 |
+
<h3>Namespaces</h3>
|
20 |
+
<ul>
|
21 |
+
<li>
|
22 |
+
<a href="namespace-None.html">
|
23 |
+
None </a>
|
24 |
+
|
25 |
+
</li>
|
26 |
+
<li class="active">
|
27 |
+
<a href="namespace-WPGMZA.html">
|
28 |
+
WPGMZA<span></span>
|
29 |
+
</a>
|
30 |
+
|
31 |
+
<ul>
|
32 |
+
<li>
|
33 |
+
<a href="namespace-WPGMZA.Integration.html">
|
34 |
+
Integration </a>
|
35 |
+
|
36 |
+
</li>
|
37 |
+
<li>
|
38 |
+
<a href="namespace-WPGMZA.Selector.html">
|
39 |
+
Selector </a>
|
40 |
+
|
41 |
+
</li>
|
42 |
+
</ul></li>
|
43 |
+
</ul>
|
44 |
+
</div>
|
45 |
+
|
46 |
+
<hr>
|
47 |
+
|
48 |
+
|
49 |
+
<div id="elements">
|
50 |
+
<h3>Classes</h3>
|
51 |
+
<ul>
|
52 |
+
<li><a href="class-WPGMZA.AdminMarkerDataTable.html">AdminMarkerDataTable</a></li>
|
53 |
+
<li><a href="class-WPGMZA.AjaxTable.html">AjaxTable</a></li>
|
54 |
+
<li><a href="class-WPGMZA.AutoLoader.html">AutoLoader</a></li>
|
55 |
+
<li><a href="class-WPGMZA.Crud.html">Crud</a></li>
|
56 |
+
<li class="active"><a href="class-WPGMZA.Database.html">Database</a></li>
|
57 |
+
<li><a href="class-WPGMZA.DataTable.html">DataTable</a></li>
|
58 |
+
<li><a href="class-WPGMZA.Distance.html">Distance</a></li>
|
59 |
+
<li><a href="class-WPGMZA.DOMDocument.html">DOMDocument</a></li>
|
60 |
+
<li><a href="class-WPGMZA.DOMElement.html">DOMElement</a></li>
|
61 |
+
<li><a href="class-WPGMZA.Factory.html">Factory</a></li>
|
62 |
+
<li><a href="class-WPGMZA.GDPRCompliance.html">GDPRCompliance</a></li>
|
63 |
+
<li><a href="class-WPGMZA.GlobalSettings.html">GlobalSettings</a></li>
|
64 |
+
<li><a href="class-WPGMZA.GoogleGeocoder.html">GoogleGeocoder</a></li>
|
65 |
+
<li><a href="class-WPGMZA.GoogleMap.html">GoogleMap</a></li>
|
66 |
+
<li><a href="class-WPGMZA.GoogleMapsAPILoader.html" class="deprecated">GoogleMapsAPILoader</a></li>
|
67 |
+
<li><a href="class-WPGMZA.GoogleMapsLoader.html" class="deprecated">GoogleMapsLoader</a></li>
|
68 |
+
<li><a href="class-WPGMZA.LatLng.html">LatLng</a></li>
|
69 |
+
<li><a href="class-WPGMZA.Map.html">Map</a></li>
|
70 |
+
<li><a href="class-WPGMZA.MapsEngineDialog.html">MapsEngineDialog</a></li>
|
71 |
+
<li><a href="class-WPGMZA.Marker.html">Marker</a></li>
|
72 |
+
<li><a href="class-WPGMZA.MarkerDataTable.html">MarkerDataTable</a></li>
|
73 |
+
<li><a href="class-WPGMZA.MarkerFilter.html">MarkerFilter</a></li>
|
74 |
+
<li><a href="class-WPGMZA.ModalDialog.html">ModalDialog</a></li>
|
75 |
+
<li><a href="class-WPGMZA.NominatimGeocodeCache.html">NominatimGeocodeCache</a></li>
|
76 |
+
<li><a href="class-WPGMZA.OLLoader.html">OLLoader</a></li>
|
77 |
+
<li><a href="class-WPGMZA.Plugin.html">Plugin</a></li>
|
78 |
+
<li><a href="class-WPGMZA.Query.html">Query</a></li>
|
79 |
+
<li><a href="class-WPGMZA.QueryFragment.html">QueryFragment</a></li>
|
80 |
+
<li><a href="class-WPGMZA.RestAPI.html">RestAPI</a></li>
|
81 |
+
<li><a href="class-WPGMZA.ScriptLoader.html">ScriptLoader</a></li>
|
82 |
+
<li><a href="class-WPGMZA.Strings.html">Strings</a></li>
|
83 |
+
<li><a href="class-WPGMZA.Table.html">Table</a></li>
|
84 |
+
</ul>
|
85 |
+
|
86 |
+
|
87 |
+
|
88 |
+
|
89 |
+
|
90 |
+
<h3>Functions</h3>
|
91 |
+
<ul>
|
92 |
+
<li><a href="function-WPGMZA.create_marker_instance_delegate.html">create_marker_instance_delegate</a></li>
|
93 |
+
<li><a href="function-WPGMZA.query_nominatim_cache.html" class="deprecated">query_nominatim_cache</a></li>
|
94 |
+
<li><a href="function-WPGMZA.store_nominatim_cache.html" class="deprecated">store_nominatim_cache</a></li>
|
95 |
+
</ul>
|
96 |
+
</div>
|
97 |
+
</div>
|
98 |
+
</div>
|
99 |
+
|
100 |
+
<div id="splitter"></div>
|
101 |
+
|
102 |
+
<div id="right">
|
103 |
+
<div id="rightInner">
|
104 |
+
<form id="search">
|
105 |
+
<input type="hidden" name="cx" value="">
|
106 |
+
<input type="hidden" name="ie" value="UTF-8">
|
107 |
+
<input type="text" name="q" class="text" placeholder="Search">
|
108 |
+
</form>
|
109 |
+
|
110 |
+
<div id="navigation">
|
111 |
+
<ul>
|
112 |
+
<li>
|
113 |
+
<a href="index.html" title="Overview"><span>Overview</span></a>
|
114 |
+
</li>
|
115 |
+
<li>
|
116 |
+
<a href="namespace-WPGMZA.html" title="Summary of WPGMZA"><span>Namespace</span></a>
|
117 |
+
</li>
|
118 |
+
<li class="active">
|
119 |
+
<span>Class</span> </li>
|
120 |
+
</ul>
|
121 |
+
<ul>
|
122 |
+
</ul>
|
123 |
+
<ul>
|
124 |
+
</ul>
|
125 |
+
</div>
|
126 |
+
|
127 |
+
<div id="content" class="class">
|
128 |
+
<h1>Class Database</h1>
|
129 |
+
|
130 |
+
|
131 |
+
|
132 |
+
|
133 |
+
|
134 |
+
|
135 |
+
|
136 |
+
|
137 |
+
|
138 |
+
|
139 |
+
|
140 |
+
<div class="info">
|
141 |
+
|
142 |
+
|
143 |
+
<b>Namespace:</b> <a href="namespace-WPGMZA.html">WPGMZA</a><br>
|
144 |
+
|
145 |
+
|
146 |
+
<b>Located at</b> <a href="source-class-WPGMZA.Database.html#5-191" title="Go to source code">class.database.php</a>
|
147 |
+
<br>
|
148 |
+
</div>
|
149 |
+
|
150 |
+
|
151 |
+
|
152 |
+
<table class="summary methods" id="methods">
|
153 |
+
<caption>Methods summary</caption>
|
154 |
+
<tr data-order="__construct" id="___construct">
|
155 |
+
|
156 |
+
<td class="attributes"><code>
|
157 |
+
public
|
158 |
+
|
159 |
+
|
160 |
+
|
161 |
+
</code>
|
162 |
+
</td>
|
163 |
+
|
164 |
+
<td class="name"><div>
|
165 |
+
<a class="anchor" href="#___construct">#</a>
|
166 |
+
<code><a href="source-class-WPGMZA.Database.html#7-16" title="Go to source code">__construct</a>( )</code>
|
167 |
+
|
168 |
+
<div class="description short">
|
169 |
+
|
170 |
+
</div>
|
171 |
+
|
172 |
+
<div class="description detailed hidden">
|
173 |
+
|
174 |
+
|
175 |
+
|
176 |
+
|
177 |
+
|
178 |
+
|
179 |
+
|
180 |
+
|
181 |
+
</div>
|
182 |
+
</div></td>
|
183 |
+
</tr>
|
184 |
+
<tr data-order="install" id="_install">
|
185 |
+
|
186 |
+
<td class="attributes"><code>
|
187 |
+
public
|
188 |
+
|
189 |
+
|
190 |
+
|
191 |
+
</code>
|
192 |
+
</td>
|
193 |
+
|
194 |
+
<td class="name"><div>
|
195 |
+
<a class="anchor" href="#_install">#</a>
|
196 |
+
<code><a href="source-class-WPGMZA.Database.html#18-33" title="Go to source code">install</a>( )</code>
|
197 |
+
|
198 |
+
<div class="description short">
|
199 |
+
|
200 |
+
</div>
|
201 |
+
|
202 |
+
<div class="description detailed hidden">
|
203 |
+
|
204 |
+
|
205 |
+
|
206 |
+
|
207 |
+
|
208 |
+
|
209 |
+
|
210 |
+
|
211 |
+
</div>
|
212 |
+
</div></td>
|
213 |
+
</tr>
|
214 |
+
<tr data-order="installMapsTable" id="_installMapsTable">
|
215 |
+
|
216 |
+
<td class="attributes"><code>
|
217 |
+
protected
|
218 |
+
|
219 |
+
|
220 |
+
|
221 |
+
</code>
|
222 |
+
</td>
|
223 |
+
|
224 |
+
<td class="name"><div>
|
225 |
+
<a class="anchor" href="#_installMapsTable">#</a>
|
226 |
+
<code><a href="source-class-WPGMZA.Database.html#35-79" title="Go to source code">installMapsTable</a>( )</code>
|
227 |
+
|
228 |
+
<div class="description short">
|
229 |
+
|
230 |
+
</div>
|
231 |
+
|
232 |
+
<div class="description detailed hidden">
|
233 |
+
|
234 |
+
|
235 |
+
|
236 |
+
|
237 |
+
|
238 |
+
|
239 |
+
|
240 |
+
|
241 |
+
</div>
|
242 |
+
</div></td>
|
243 |
+
</tr>
|
244 |
+
<tr data-order="installMarkerTable" id="_installMarkerTable">
|
245 |
+
|
246 |
+
<td class="attributes"><code>
|
247 |
+
protected
|
248 |
+
|
249 |
+
|
250 |
+
|
251 |
+
</code>
|
252 |
+
</td>
|
253 |
+
|
254 |
+
<td class="name"><div>
|
255 |
+
<a class="anchor" href="#_installMarkerTable">#</a>
|
256 |
+
<code><a href="source-class-WPGMZA.Database.html#81-111" title="Go to source code">installMarkerTable</a>( )</code>
|
257 |
+
|
258 |
+
<div class="description short">
|
259 |
+
|
260 |
+
</div>
|
261 |
+
|
262 |
+
<div class="description detailed hidden">
|
263 |
+
|
264 |
+
|
265 |
+
|
266 |
+
|
267 |
+
|
268 |
+
|
269 |
+
|
270 |
+
|
271 |
+
</div>
|
272 |
+
</div></td>
|
273 |
+
</tr>
|
274 |
+
<tr data-order="installPolygonTable" id="_installPolygonTable">
|
275 |
+
|
276 |
+
<td class="attributes"><code>
|
277 |
+
protected
|
278 |
+
|
279 |
+
|
280 |
+
|
281 |
+
</code>
|
282 |
+
</td>
|
283 |
+
|
284 |
+
<td class="name"><div>
|
285 |
+
<a class="anchor" href="#_installPolygonTable">#</a>
|
286 |
+
<code><a href="source-class-WPGMZA.Database.html#113-136" title="Go to source code">installPolygonTable</a>( )</code>
|
287 |
+
|
288 |
+
<div class="description short">
|
289 |
+
|
290 |
+
</div>
|
291 |
+
|
292 |
+
<div class="description detailed hidden">
|
293 |
+
|
294 |
+
|
295 |
+
|
296 |
+
|
297 |
+
|
298 |
+
|
299 |
+
|
300 |
+
|
301 |
+
</div>
|
302 |
+
</div></td>
|
303 |
+
</tr>
|
304 |
+
<tr data-order="installPolylineTable" id="_installPolylineTable">
|
305 |
+
|
306 |
+
<td class="attributes"><code>
|
307 |
+
protected
|
308 |
+
|
309 |
+
|
310 |
+
|
311 |
+
</code>
|
312 |
+
</td>
|
313 |
+
|
314 |
+
<td class="name"><div>
|
315 |
+
<a class="anchor" href="#_installPolylineTable">#</a>
|
316 |
+
<code><a href="source-class-WPGMZA.Database.html#138-154" title="Go to source code">installPolylineTable</a>( )</code>
|
317 |
+
|
318 |
+
<div class="description short">
|
319 |
+
|
320 |
+
</div>
|
321 |
+
|
322 |
+
<div class="description detailed hidden">
|
323 |
+
|
324 |
+
|
325 |
+
|
326 |
+
|
327 |
+
|
328 |
+
|
329 |
+
|
330 |
+
|
331 |
+
</div>
|
332 |
+
</div></td>
|
333 |
+
</tr>
|
334 |
+
<tr data-order="installCircleTable" id="_installCircleTable">
|
335 |
+
|
336 |
+
<td class="attributes"><code>
|
337 |
+
protected
|
338 |
+
|
339 |
+
|
340 |
+
|
341 |
+
</code>
|
342 |
+
</td>
|
343 |
+
|
344 |
+
<td class="name"><div>
|
345 |
+
<a class="anchor" href="#_installCircleTable">#</a>
|
346 |
+
<code><a href="source-class-WPGMZA.Database.html#156-172" title="Go to source code">installCircleTable</a>( )</code>
|
347 |
+
|
348 |
+
<div class="description short">
|
349 |
+
|
350 |
+
</div>
|
351 |
+
|
352 |
+
<div class="description detailed hidden">
|
353 |
+
|
354 |
+
|
355 |
+
|
356 |
+
|
357 |
+
|
358 |
+
|
359 |
+
|
360 |
+
|
361 |
+
</div>
|
362 |
+
</div></td>
|
363 |
+
</tr>
|
364 |
+
<tr data-order="installRectangleTable" id="_installRectangleTable">
|
365 |
+
|
366 |
+
<td class="attributes"><code>
|
367 |
+
protected
|
368 |
+
|
369 |
+
|
370 |
+
|
371 |
+
</code>
|
372 |
+
</td>
|
373 |
+
|
374 |
+
<td class="name"><div>
|
375 |
+
<a class="anchor" href="#_installRectangleTable">#</a>
|
376 |
+
<code><a href="source-class-WPGMZA.Database.html#174-190" title="Go to source code">installRectangleTable</a>( )</code>
|
377 |
+
|
378 |
+
<div class="description short">
|
379 |
+
|
380 |
+
</div>
|
381 |
+
|
382 |
+
<div class="description detailed hidden">
|
383 |
+
|
384 |
+
|
385 |
+
|
386 |
+
|
387 |
+
|
388 |
+
|
389 |
+
|
390 |
+
|
391 |
+
</div>
|
392 |
+
</div></td>
|
393 |
+
</tr>
|
394 |
+
</table>
|
395 |
+
|
396 |
+
|
397 |
+
|
398 |
+
|
399 |
+
|
400 |
+
|
401 |
+
|
402 |
+
|
403 |
+
|
404 |
+
|
405 |
+
|
406 |
+
|
407 |
+
|
408 |
+
|
409 |
+
|
410 |
+
|
411 |
+
|
412 |
+
|
413 |
+
</div>
|
414 |
+
|
415 |
+
<div id="footer">
|
416 |
+
API documentation generated by <a href="http://apigen.org">ApiGen</a>
|
417 |
+
</div>
|
418 |
+
</div>
|
419 |
+
</div>
|
420 |
+
<script src="resources/combined.js"></script>
|
421 |
+
<script src="elementlist.js"></script>
|
422 |
+
</body>
|
423 |
+
</html>
|
@@ -0,0 +1,312 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<!DOCTYPE html>
|
2 |
+
<html>
|
3 |
+
<head>
|
4 |
+
<meta charset="utf-8">
|
5 |
+
|
6 |
+
<title>Class WPGMZA\Distance</title>
|
7 |
+
|
8 |
+
<link rel="stylesheet" href="resources/style.css?c2f33731c1948fbed7c333554678bfa68d4817da">
|
9 |
+
|
10 |
+
</head>
|
11 |
+
|
12 |
+
<body>
|
13 |
+
<div id="left">
|
14 |
+
<div id="menu">
|
15 |
+
<a href="index.html" title="Overview"><span>Overview</span></a>
|
16 |
+
|
17 |
+
|
18 |
+
<div id="groups">
|
19 |
+
<h3>Namespaces</h3>
|
20 |
+
<ul>
|
21 |
+
<li>
|
22 |
+
<a href="namespace-None.html">
|
23 |
+
None </a>
|
24 |
+
|
25 |
+
</li>
|
26 |
+
<li class="active">
|
27 |
+
<a href="namespace-WPGMZA.html">
|
28 |
+
WPGMZA<span></span>
|
29 |
+
</a>
|
30 |
+
|
31 |
+
<ul>
|
32 |
+
<li>
|
33 |
+
<a href="namespace-WPGMZA.Integration.html">
|
34 |
+
Integration </a>
|
35 |
+
|
36 |
+
</li>
|
37 |
+
<li>
|
38 |
+
<a href="namespace-WPGMZA.Selector.html">
|
39 |
+
Selector </a>
|
40 |
+
|
41 |
+
</li>
|
42 |
+
</ul></li>
|
43 |
+
</ul>
|
44 |
+
</div>
|
45 |
+
|
46 |
+
<hr>
|
47 |
+
|
48 |
+
|
49 |
+
<div id="elements">
|
50 |
+
<h3>Classes</h3>
|
51 |
+
<ul>
|
52 |
+
<li><a href="class-WPGMZA.AdminMarkerDataTable.html">AdminMarkerDataTable</a></li>
|
53 |
+
<li><a href="class-WPGMZA.AjaxTable.html">AjaxTable</a></li>
|
54 |
+
<li><a href="class-WPGMZA.AutoLoader.html">AutoLoader</a></li>
|
55 |
+
<li><a href="class-WPGMZA.Crud.html">Crud</a></li>
|
56 |
+
<li><a href="class-WPGMZA.Database.html">Database</a></li>
|
57 |
+
<li><a href="class-WPGMZA.DataTable.html">DataTable</a></li>
|
58 |
+
<li class="active"><a href="class-WPGMZA.Distance.html">Distance</a></li>
|
59 |
+
<li><a href="class-WPGMZA.DOMDocument.html">DOMDocument</a></li>
|
60 |
+
<li><a href="class-WPGMZA.DOMElement.html">DOMElement</a></li>
|
61 |
+
<li><a href="class-WPGMZA.Factory.html">Factory</a></li>
|
62 |
+
<li><a href="class-WPGMZA.GDPRCompliance.html">GDPRCompliance</a></li>
|
63 |
+
<li><a href="class-WPGMZA.GlobalSettings.html">GlobalSettings</a></li>
|
64 |
+
<li><a href="class-WPGMZA.GoogleGeocoder.html">GoogleGeocoder</a></li>
|
65 |
+
<li><a href="class-WPGMZA.GoogleMap.html">GoogleMap</a></li>
|
66 |
+
<li><a href="class-WPGMZA.GoogleMapsAPILoader.html" class="deprecated">GoogleMapsAPILoader</a></li>
|
67 |
+
<li><a href="class-WPGMZA.GoogleMapsLoader.html" class="deprecated">GoogleMapsLoader</a></li>
|
68 |
+
<li><a href="class-WPGMZA.LatLng.html">LatLng</a></li>
|
69 |
+
<li><a href="class-WPGMZA.Map.html">Map</a></li>
|
70 |
+
<li><a href="class-WPGMZA.MapsEngineDialog.html">MapsEngineDialog</a></li>
|
71 |
+
<li><a href="class-WPGMZA.Marker.html">Marker</a></li>
|
72 |
+
<li><a href="class-WPGMZA.MarkerDataTable.html">MarkerDataTable</a></li>
|
73 |
+
<li><a href="class-WPGMZA.MarkerFilter.html">MarkerFilter</a></li>
|
74 |
+
<li><a href="class-WPGMZA.ModalDialog.html">ModalDialog</a></li>
|
75 |
+
<li><a href="class-WPGMZA.NominatimGeocodeCache.html">NominatimGeocodeCache</a></li>
|
76 |
+
<li><a href="class-WPGMZA.OLLoader.html">OLLoader</a></li>
|
77 |
+
<li><a href="class-WPGMZA.Plugin.html">Plugin</a></li>
|
78 |
+
<li><a href="class-WPGMZA.Query.html">Query</a></li>
|
79 |
+
<li><a href="class-WPGMZA.QueryFragment.html">QueryFragment</a></li>
|
80 |
+
<li><a href="class-WPGMZA.RestAPI.html">RestAPI</a></li>
|
81 |
+
<li><a href="class-WPGMZA.ScriptLoader.html">ScriptLoader</a></li>
|
82 |
+
<li><a href="class-WPGMZA.Strings.html">Strings</a></li>
|
83 |
+
<li><a href="class-WPGMZA.Table.html">Table</a></li>
|
84 |
+
</ul>
|
85 |
+
|
86 |
+
|
87 |
+
|
88 |
+
|
89 |
+
|
90 |
+
<h3>Functions</h3>
|
91 |
+
<ul>
|
92 |
+
<li><a href="function-WPGMZA.create_marker_instance_delegate.html">create_marker_instance_delegate</a></li>
|
93 |
+
<li><a href="function-WPGMZA.query_nominatim_cache.html" class="deprecated">query_nominatim_cache</a></li>
|
94 |
+
<li><a href="function-WPGMZA.store_nominatim_cache.html" class="deprecated">store_nominatim_cache</a></li>
|
95 |
+
</ul>
|
96 |
+
</div>
|
97 |
+
</div>
|
98 |
+
</div>
|
99 |
+
|
100 |
+
<div id="splitter"></div>
|
101 |
+
|
102 |
+
<div id="right">
|
103 |
+
<div id="rightInner">
|
104 |
+
<form id="search">
|
105 |
+
<input type="hidden" name="cx" value="">
|
106 |
+
<input type="hidden" name="ie" value="UTF-8">
|
107 |
+
<input type="text" name="q" class="text" placeholder="Search">
|
108 |
+
</form>
|
109 |
+
|
110 |
+
<div id="navigation">
|
111 |
+
<ul>
|
112 |
+
<li>
|
113 |
+
<a href="index.html" title="Overview"><span>Overview</span></a>
|
114 |
+
</li>
|
115 |
+
<li>
|
116 |
+
<a href="namespace-WPGMZA.html" title="Summary of WPGMZA"><span>Namespace</span></a>
|
117 |
+
</li>
|
118 |
+
<li class="active">
|
119 |
+
<span>Class</span> </li>
|
120 |
+
</ul>
|
121 |
+
<ul>
|
122 |
+
</ul>
|
123 |
+
<ul>
|
124 |
+
</ul>
|
125 |
+
</div>
|
126 |
+
|
127 |
+
<div id="content" class="class">
|
128 |
+
<h1>Class Distance</h1>
|
129 |
+
|
130 |
+
|
131 |
+
|
132 |
+
|
133 |
+
|
134 |
+
|
135 |
+
|
136 |
+
|
137 |
+
|
138 |
+
|
139 |
+
|
140 |
+
<div class="info">
|
141 |
+
|
142 |
+
|
143 |
+
<b>Namespace:</b> <a href="namespace-WPGMZA.html">WPGMZA</a><br>
|
144 |
+
|
145 |
+
|
146 |
+
<b>Located at</b> <a href="source-class-WPGMZA.Distance.html#5-39" title="Go to source code">class.distance.php</a>
|
147 |
+
<br>
|
148 |
+
</div>
|
149 |
+
|
150 |
+
|
151 |
+
|
152 |
+
<table class="summary methods" id="methods">
|
153 |
+
<caption>Methods summary</caption>
|
154 |
+
<tr data-order="between" id="_between">
|
155 |
+
|
156 |
+
<td class="attributes"><code>
|
157 |
+
public static
|
158 |
+
|
159 |
+
|
160 |
+
|
161 |
+
</code>
|
162 |
+
</td>
|
163 |
+
|
164 |
+
<td class="name"><div>
|
165 |
+
<a class="anchor" href="#_between">#</a>
|
166 |
+
<code><a href="source-class-WPGMZA.Distance.html#13-38" title="Go to source code">between</a>( <span> <var>$a</var></span>, <span> <var>$b</var></span> )</code>
|
167 |
+
|
168 |
+
<div class="description short">
|
169 |
+
|
170 |
+
</div>
|
171 |
+
|
172 |
+
<div class="description detailed hidden">
|
173 |
+
|
174 |
+
|
175 |
+
|
176 |
+
|
177 |
+
|
178 |
+
|
179 |
+
|
180 |
+
|
181 |
+
</div>
|
182 |
+
</div></td>
|
183 |
+
</tr>
|
184 |
+
</table>
|
185 |
+
|
186 |
+
|
187 |
+
|
188 |
+
|
189 |
+
|
190 |
+
|
191 |
+
|
192 |
+
|
193 |
+
<table class="summary constants" id="constants">
|
194 |
+
<caption>Constants summary</caption>
|
195 |
+
<tr data-order="UNITS_KM" id="UNITS_KM">
|
196 |
+
|
197 |
+
<td class="attributes"><code>string</code></td>
|
198 |
+
<td class="name">
|
199 |
+
<code>
|
200 |
+
<a href="source-class-WPGMZA.Distance.html#7" title="Go to source code"><b>UNITS_KM</b></a>
|
201 |
+
</code>
|
202 |
+
|
203 |
+
<div class="description short">
|
204 |
+
|
205 |
+
</div>
|
206 |
+
|
207 |
+
<div class="description detailed hidden">
|
208 |
+
|
209 |
+
|
210 |
+
</div>
|
211 |
+
</td>
|
212 |
+
<td class="value">
|
213 |
+
<div>
|
214 |
+
<a href="#UNITS_KM" class="anchor">#</a>
|
215 |
+
<code><span class="php-quote">"km"</span></code>
|
216 |
+
</div>
|
217 |
+
</td>
|
218 |
+
</tr>
|
219 |
+
<tr data-order="UNITS_MI" id="UNITS_MI">
|
220 |
+
|
221 |
+
<td class="attributes"><code>string</code></td>
|
222 |
+
<td class="name">
|
223 |
+
<code>
|
224 |
+
<a href="source-class-WPGMZA.Distance.html#8" title="Go to source code"><b>UNITS_MI</b></a>
|
225 |
+
</code>
|
226 |
+
|
227 |
+
<div class="description short">
|
228 |
+
|
229 |
+
</div>
|
230 |
+
|
231 |
+
<div class="description detailed hidden">
|
232 |
+
|
233 |
+
|
234 |
+
</div>
|
235 |
+
</td>
|
236 |
+
<td class="value">
|
237 |
+
<div>
|
238 |
+
<a href="#UNITS_MI" class="anchor">#</a>
|
239 |
+
<code><span class="php-quote">"mi"</span></code>
|
240 |
+
</div>
|
241 |
+
</td>
|
242 |
+
</tr>
|
243 |
+
<tr data-order="MILES_PER_KILOMETER" id="MILES_PER_KILOMETER">
|
244 |
+
|
245 |
+
<td class="attributes"><code>float</code></td>
|
246 |
+
<td class="name">
|
247 |
+
<code>
|
248 |
+
<a href="source-class-WPGMZA.Distance.html#10" title="Go to source code"><b>MILES_PER_KILOMETER</b></a>
|
249 |
+
</code>
|
250 |
+
|
251 |
+
<div class="description short">
|
252 |
+
|
253 |
+
</div>
|
254 |
+
|
255 |
+
<div class="description detailed hidden">
|
256 |
+
|
257 |
+
|
258 |
+
</div>
|
259 |
+
</td>
|
260 |
+
<td class="value">
|
261 |
+
<div>
|
262 |
+
<a href="#MILES_PER_KILOMETER" class="anchor">#</a>
|
263 |
+
<code><span class="php-num">0.621371</span></code>
|
264 |
+
</div>
|
265 |
+
</td>
|
266 |
+
</tr>
|
267 |
+
<tr data-order="KILOMETERS_PER_MILE" id="KILOMETERS_PER_MILE">
|
268 |
+
|
269 |
+
<td class="attributes"><code>float</code></td>
|
270 |
+
<td class="name">
|
271 |
+
<code>
|
272 |
+
<a href="source-class-WPGMZA.Distance.html#11" title="Go to source code"><b>KILOMETERS_PER_MILE</b></a>
|
273 |
+
</code>
|
274 |
+
|
275 |
+
<div class="description short">
|
276 |
+
|
277 |
+
</div>
|
278 |
+
|
279 |
+
<div class="description detailed hidden">
|
280 |
+
|
281 |
+
|
282 |
+
</div>
|
283 |
+
</td>
|
284 |
+
<td class="value">
|
285 |
+
<div>
|
286 |
+
<a href="#KILOMETERS_PER_MILE" class="anchor">#</a>
|
287 |
+
<code><span class="php-num">1.60934</span></code>
|
288 |
+
</div>
|
289 |
+
</td>
|
290 |
+
</tr>
|
291 |
+
</table>
|
292 |
+
|
293 |
+
|
294 |
+
|
295 |
+
|
296 |
+
|
297 |
+
|
298 |
+
|
299 |
+
|
300 |
+
|
301 |
+
|
302 |
+
</div>
|
303 |
+
|
304 |
+
<div id="footer">
|
305 |
+
API documentation generated by <a href="http://apigen.org">ApiGen</a>
|
306 |
+
</div>
|
307 |
+
</div>
|
308 |
+
</div>
|
309 |
+
<script src="resources/combined.js"></script>
|
310 |
+
<script src="elementlist.js"></script>
|
311 |
+
</body>
|
312 |
+
</html>
|
@@ -49,12 +49,18 @@
|
|
49 |
<div id="elements">
|
50 |
<h3>Classes</h3>
|
51 |
<ul>
|
|
|
|
|
52 |
<li><a href="class-WPGMZA.AutoLoader.html">AutoLoader</a></li>
|
53 |
<li><a href="class-WPGMZA.Crud.html">Crud</a></li>
|
|
|
|
|
|
|
54 |
<li><a href="class-WPGMZA.DOMDocument.html">DOMDocument</a></li>
|
55 |
<li><a href="class-WPGMZA.DOMElement.html">DOMElement</a></li>
|
56 |
<li class="active"><a href="class-WPGMZA.Factory.html">Factory</a></li>
|
57 |
<li><a href="class-WPGMZA.GDPRCompliance.html">GDPRCompliance</a></li>
|
|
|
58 |
<li><a href="class-WPGMZA.GoogleGeocoder.html">GoogleGeocoder</a></li>
|
59 |
<li><a href="class-WPGMZA.GoogleMap.html">GoogleMap</a></li>
|
60 |
<li><a href="class-WPGMZA.GoogleMapsAPILoader.html" class="deprecated">GoogleMapsAPILoader</a></li>
|
@@ -63,13 +69,18 @@
|
|
63 |
<li><a href="class-WPGMZA.Map.html">Map</a></li>
|
64 |
<li><a href="class-WPGMZA.MapsEngineDialog.html">MapsEngineDialog</a></li>
|
65 |
<li><a href="class-WPGMZA.Marker.html">Marker</a></li>
|
|
|
|
|
66 |
<li><a href="class-WPGMZA.ModalDialog.html">ModalDialog</a></li>
|
67 |
<li><a href="class-WPGMZA.NominatimGeocodeCache.html">NominatimGeocodeCache</a></li>
|
68 |
<li><a href="class-WPGMZA.OLLoader.html">OLLoader</a></li>
|
69 |
<li><a href="class-WPGMZA.Plugin.html">Plugin</a></li>
|
|
|
|
|
70 |
<li><a href="class-WPGMZA.RestAPI.html">RestAPI</a></li>
|
71 |
<li><a href="class-WPGMZA.ScriptLoader.html">ScriptLoader</a></li>
|
72 |
<li><a href="class-WPGMZA.Strings.html">Strings</a></li>
|
|
|
73 |
</ul>
|
74 |
|
75 |
|
@@ -79,7 +90,6 @@
|
|
79 |
<h3>Functions</h3>
|
80 |
<ul>
|
81 |
<li><a href="function-WPGMZA.create_marker_instance_delegate.html">create_marker_instance_delegate</a></li>
|
82 |
-
<li><a href="function-WPGMZA.create_plugin_instance.html" class="deprecated">create_plugin_instance</a></li>
|
83 |
<li><a href="function-WPGMZA.query_nominatim_cache.html" class="deprecated">query_nominatim_cache</a></li>
|
84 |
<li><a href="function-WPGMZA.store_nominatim_cache.html" class="deprecated">store_nominatim_cache</a></li>
|
85 |
</ul>
|
@@ -133,9 +143,24 @@ not cause this filter to fire, and the extended class will not be used.</p>
|
|
133 |
|
134 |
<div>
|
135 |
<h4>Direct known subclasses</h4>
|
136 |
-
<a href="class-WPGMZA.
|
|
|
|
|
|
|
|
|
|
|
137 |
</div>
|
138 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
139 |
|
140 |
|
141 |
|
49 |
<div id="elements">
|
50 |
<h3>Classes</h3>
|
51 |
<ul>
|
52 |
+
<li><a href="class-WPGMZA.AdminMarkerDataTable.html">AdminMarkerDataTable</a></li>
|
53 |
+
<li><a href="class-WPGMZA.AjaxTable.html">AjaxTable</a></li>
|
54 |
<li><a href="class-WPGMZA.AutoLoader.html">AutoLoader</a></li>
|
55 |
<li><a href="class-WPGMZA.Crud.html">Crud</a></li>
|
56 |
+
<li><a href="class-WPGMZA.Database.html">Database</a></li>
|
57 |
+
<li><a href="class-WPGMZA.DataTable.html">DataTable</a></li>
|
58 |
+
<li><a href="class-WPGMZA.Distance.html">Distance</a></li>
|
59 |
<li><a href="class-WPGMZA.DOMDocument.html">DOMDocument</a></li>
|
60 |
<li><a href="class-WPGMZA.DOMElement.html">DOMElement</a></li>
|
61 |
<li class="active"><a href="class-WPGMZA.Factory.html">Factory</a></li>
|
62 |
<li><a href="class-WPGMZA.GDPRCompliance.html">GDPRCompliance</a></li>
|
63 |
+
<li><a href="class-WPGMZA.GlobalSettings.html">GlobalSettings</a></li>
|
64 |
<li><a href="class-WPGMZA.GoogleGeocoder.html">GoogleGeocoder</a></li>
|
65 |
<li><a href="class-WPGMZA.GoogleMap.html">GoogleMap</a></li>
|
66 |
<li><a href="class-WPGMZA.GoogleMapsAPILoader.html" class="deprecated">GoogleMapsAPILoader</a></li>
|
69 |
<li><a href="class-WPGMZA.Map.html">Map</a></li>
|
70 |
<li><a href="class-WPGMZA.MapsEngineDialog.html">MapsEngineDialog</a></li>
|
71 |
<li><a href="class-WPGMZA.Marker.html">Marker</a></li>
|
72 |
+
<li><a href="class-WPGMZA.MarkerDataTable.html">MarkerDataTable</a></li>
|
73 |
+
<li><a href="class-WPGMZA.MarkerFilter.html">MarkerFilter</a></li>
|
74 |
<li><a href="class-WPGMZA.ModalDialog.html">ModalDialog</a></li>
|
75 |
<li><a href="class-WPGMZA.NominatimGeocodeCache.html">NominatimGeocodeCache</a></li>
|
76 |
<li><a href="class-WPGMZA.OLLoader.html">OLLoader</a></li>
|
77 |
<li><a href="class-WPGMZA.Plugin.html">Plugin</a></li>
|
78 |
+
<li><a href="class-WPGMZA.Query.html">Query</a></li>
|
79 |
+
<li><a href="class-WPGMZA.QueryFragment.html">QueryFragment</a></li>
|
80 |
<li><a href="class-WPGMZA.RestAPI.html">RestAPI</a></li>
|
81 |
<li><a href="class-WPGMZA.ScriptLoader.html">ScriptLoader</a></li>
|
82 |
<li><a href="class-WPGMZA.Strings.html">Strings</a></li>
|
83 |
+
<li><a href="class-WPGMZA.Table.html">Table</a></li>
|
84 |
</ul>
|
85 |
|
86 |
|
90 |
<h3>Functions</h3>
|
91 |
<ul>
|
92 |
<li><a href="function-WPGMZA.create_marker_instance_delegate.html">create_marker_instance_delegate</a></li>
|
|
|
93 |
<li><a href="function-WPGMZA.query_nominatim_cache.html" class="deprecated">query_nominatim_cache</a></li>
|
94 |
<li><a href="function-WPGMZA.store_nominatim_cache.html" class="deprecated">store_nominatim_cache</a></li>
|
95 |
</ul>
|
143 |
|
144 |
<div>
|
145 |
<h4>Direct known subclasses</h4>
|
146 |
+
<a href="class-WPGMZA.Crud.html">WPGMZA\Crud</a>,
|
147 |
+
<a href="class-WPGMZA.Integration.Gutenberg.html">WPGMZA\Integration\Gutenberg</a>,
|
148 |
+
<a href="class-WPGMZA.MarkerFilter.html">WPGMZA\MarkerFilter</a>,
|
149 |
+
<a href="class-WPGMZA.Plugin.html">WPGMZA\Plugin</a>,
|
150 |
+
<a href="class-WPGMZA.RestAPI.html">WPGMZA\RestAPI</a>,
|
151 |
+
<a href="class-WPGMZA.Table.html">WPGMZA\Table</a>
|
152 |
</div>
|
153 |
|
154 |
+
<div>
|
155 |
+
<h4>Indirect known subclasses</h4>
|
156 |
+
<a href="class-WPGMZA.AdminMarkerDataTable.html">WPGMZA\AdminMarkerDataTable</a>,
|
157 |
+
<a href="class-WPGMZA.AjaxTable.html">WPGMZA\AjaxTable</a>,
|
158 |
+
<a href="class-WPGMZA.DataTable.html">WPGMZA\DataTable</a>,
|
159 |
+
<a href="class-WPGMZA.GoogleMap.html">WPGMZA\GoogleMap</a>,
|
160 |
+
<a href="class-WPGMZA.Map.html">WPGMZA\Map</a>,
|
161 |
+
<a href="class-WPGMZA.Marker.html">WPGMZA\Marker</a>,
|
162 |
+
<a href="class-WPGMZA.MarkerDataTable.html">WPGMZA\MarkerDataTable</a>
|
163 |
+
</div>
|
164 |
|
165 |
|
166 |
|
@@ -49,12 +49,18 @@
|
|
49 |
<div id="elements">
|
50 |
<h3>Classes</h3>
|
51 |
<ul>
|
|
|
|
|
52 |
<li><a href="class-WPGMZA.AutoLoader.html">AutoLoader</a></li>
|
53 |
<li><a href="class-WPGMZA.Crud.html">Crud</a></li>
|
|
|
|
|
|
|
54 |
<li><a href="class-WPGMZA.DOMDocument.html">DOMDocument</a></li>
|
55 |
<li><a href="class-WPGMZA.DOMElement.html">DOMElement</a></li>
|
56 |
<li><a href="class-WPGMZA.Factory.html">Factory</a></li>
|
57 |
<li class="active"><a href="class-WPGMZA.GDPRCompliance.html">GDPRCompliance</a></li>
|
|
|
58 |
<li><a href="class-WPGMZA.GoogleGeocoder.html">GoogleGeocoder</a></li>
|
59 |
<li><a href="class-WPGMZA.GoogleMap.html">GoogleMap</a></li>
|
60 |
<li><a href="class-WPGMZA.GoogleMapsAPILoader.html" class="deprecated">GoogleMapsAPILoader</a></li>
|
@@ -63,13 +69,18 @@
|
|
63 |
<li><a href="class-WPGMZA.Map.html">Map</a></li>
|
64 |
<li><a href="class-WPGMZA.MapsEngineDialog.html">MapsEngineDialog</a></li>
|
65 |
<li><a href="class-WPGMZA.Marker.html">Marker</a></li>
|
|
|
|
|
66 |
<li><a href="class-WPGMZA.ModalDialog.html">ModalDialog</a></li>
|
67 |
<li><a href="class-WPGMZA.NominatimGeocodeCache.html">NominatimGeocodeCache</a></li>
|
68 |
<li><a href="class-WPGMZA.OLLoader.html">OLLoader</a></li>
|
69 |
<li><a href="class-WPGMZA.Plugin.html">Plugin</a></li>
|
|
|
|
|
70 |
<li><a href="class-WPGMZA.RestAPI.html">RestAPI</a></li>
|
71 |
<li><a href="class-WPGMZA.ScriptLoader.html">ScriptLoader</a></li>
|
72 |
<li><a href="class-WPGMZA.Strings.html">Strings</a></li>
|
|
|
73 |
</ul>
|
74 |
|
75 |
|
@@ -79,7 +90,6 @@
|
|
79 |
<h3>Functions</h3>
|
80 |
<ul>
|
81 |
<li><a href="function-WPGMZA.create_marker_instance_delegate.html">create_marker_instance_delegate</a></li>
|
82 |
-
<li><a href="function-WPGMZA.create_plugin_instance.html" class="deprecated">create_plugin_instance</a></li>
|
83 |
<li><a href="function-WPGMZA.query_nominatim_cache.html" class="deprecated">query_nominatim_cache</a></li>
|
84 |
<li><a href="function-WPGMZA.store_nominatim_cache.html" class="deprecated">store_nominatim_cache</a></li>
|
85 |
</ul>
|
@@ -137,7 +147,7 @@ displaying notices, settings and handling logic</p>
|
|
137 |
<b>Namespace:</b> <a href="namespace-WPGMZA.html">WPGMZA</a><br>
|
138 |
|
139 |
|
140 |
-
<b>Located at</b> <a href="source-class-WPGMZA.GDPRCompliance.html#5-
|
141 |
<br>
|
142 |
</div>
|
143 |
|
@@ -359,7 +369,7 @@ displaying notices, settings and handling logic</p>
|
|
359 |
|
360 |
<td class="name"><div>
|
361 |
<a class="anchor" href="#_getPrivacyPolicyNoticeHTML">#</a>
|
362 |
-
<code><a href="source-class-WPGMZA.GDPRCompliance.html#151-
|
363 |
|
364 |
<div class="description short">
|
365 |
<p>Gets the HTML for the back end "check our updated privacy policy" notice. This will return an empty string if the notice has already been dismissed.</p>
|
@@ -393,7 +403,7 @@ displaying notices, settings and handling logic</p>
|
|
393 |
|
394 |
<td class="name"><div>
|
395 |
<a class="anchor" href="#_getConsentPromptHTML">#</a>
|
396 |
-
<code><a href="source-class-WPGMZA.GDPRCompliance.html#
|
397 |
|
398 |
<div class="description short">
|
399 |
<p>Gets the consent prompt HTML, including the consent button.</p>
|
@@ -427,7 +437,7 @@ displaying notices, settings and handling logic</p>
|
|
427 |
|
428 |
<td class="name"><div>
|
429 |
<a class="anchor" href="#_onGlobalSettingsTabs">#</a>
|
430 |
-
<code><a href="source-class-WPGMZA.GDPRCompliance.html#
|
431 |
|
432 |
<div class="description short">
|
433 |
<p>Callback for the wpgmza_global_settings_tabs filter. This adds the GDPR tab. Please note this is the tab itself, as opposed to the tab content.</p>
|
@@ -466,7 +476,7 @@ displaying notices, settings and handling logic</p>
|
|
466 |
|
467 |
<td class="name"><div>
|
468 |
<a class="anchor" href="#_onGlobalSettingsTabContent">#</a>
|
469 |
-
<code><a href="source-class-WPGMZA.GDPRCompliance.html#
|
470 |
|
471 |
<div class="description short">
|
472 |
<p>Callback for the wpgmza_global_settings_tab_content filter. This adds the GPDR tab content. Please note this is for the tab content, as opposed to the tab itself.</p>
|
@@ -505,7 +515,7 @@ displaying notices, settings and handling logic</p>
|
|
505 |
|
506 |
<td class="name"><div>
|
507 |
<a class="anchor" href="#_onPOST">#</a>
|
508 |
-
<code><a href="source-class-WPGMZA.GDPRCompliance.html#
|
509 |
|
510 |
<div class="description short">
|
511 |
<p>Handles POST data when the settings page saves.</p>
|
49 |
<div id="elements">
|
50 |
<h3>Classes</h3>
|
51 |
<ul>
|
52 |
+
<li><a href="class-WPGMZA.AdminMarkerDataTable.html">AdminMarkerDataTable</a></li>
|
53 |
+
<li><a href="class-WPGMZA.AjaxTable.html">AjaxTable</a></li>
|
54 |
<li><a href="class-WPGMZA.AutoLoader.html">AutoLoader</a></li>
|
55 |
<li><a href="class-WPGMZA.Crud.html">Crud</a></li>
|
56 |
+
<li><a href="class-WPGMZA.Database.html">Database</a></li>
|
57 |
+
<li><a href="class-WPGMZA.DataTable.html">DataTable</a></li>
|
58 |
+
<li><a href="class-WPGMZA.Distance.html">Distance</a></li>
|
59 |
<li><a href="class-WPGMZA.DOMDocument.html">DOMDocument</a></li>
|
60 |
<li><a href="class-WPGMZA.DOMElement.html">DOMElement</a></li>
|
61 |
<li><a href="class-WPGMZA.Factory.html">Factory</a></li>
|
62 |
<li class="active"><a href="class-WPGMZA.GDPRCompliance.html">GDPRCompliance</a></li>
|
63 |
+
<li><a href="class-WPGMZA.GlobalSettings.html">GlobalSettings</a></li>
|
64 |
<li><a href="class-WPGMZA.GoogleGeocoder.html">GoogleGeocoder</a></li>
|
65 |
<li><a href="class-WPGMZA.GoogleMap.html">GoogleMap</a></li>
|
66 |
<li><a href="class-WPGMZA.GoogleMapsAPILoader.html" class="deprecated">GoogleMapsAPILoader</a></li>
|
69 |
<li><a href="class-WPGMZA.Map.html">Map</a></li>
|
70 |
<li><a href="class-WPGMZA.MapsEngineDialog.html">MapsEngineDialog</a></li>
|
71 |
<li><a href="class-WPGMZA.Marker.html">Marker</a></li>
|
72 |
+
<li><a href="class-WPGMZA.MarkerDataTable.html">MarkerDataTable</a></li>
|
73 |
+
<li><a href="class-WPGMZA.MarkerFilter.html">MarkerFilter</a></li>
|
74 |
<li><a href="class-WPGMZA.ModalDialog.html">ModalDialog</a></li>
|
75 |
<li><a href="class-WPGMZA.NominatimGeocodeCache.html">NominatimGeocodeCache</a></li>
|
76 |
<li><a href="class-WPGMZA.OLLoader.html">OLLoader</a></li>
|
77 |
<li><a href="class-WPGMZA.Plugin.html">Plugin</a></li>
|
78 |
+
<li><a href="class-WPGMZA.Query.html">Query</a></li>
|
79 |
+
<li><a href="class-WPGMZA.QueryFragment.html">QueryFragment</a></li>
|
80 |
<li><a href="class-WPGMZA.RestAPI.html">RestAPI</a></li>
|
81 |
<li><a href="class-WPGMZA.ScriptLoader.html">ScriptLoader</a></li>
|
82 |
<li><a href="class-WPGMZA.Strings.html">Strings</a></li>
|
83 |
+
<li><a href="class-WPGMZA.Table.html">Table</a></li>
|
84 |
</ul>
|
85 |
|
86 |
|
90 |
<h3>Functions</h3>
|
91 |
<ul>
|
92 |
<li><a href="function-WPGMZA.create_marker_instance_delegate.html">create_marker_instance_delegate</a></li>
|
|
|
93 |
<li><a href="function-WPGMZA.query_nominatim_cache.html" class="deprecated">query_nominatim_cache</a></li>
|
94 |
<li><a href="function-WPGMZA.store_nominatim_cache.html" class="deprecated">store_nominatim_cache</a></li>
|
95 |
</ul>
|
147 |
<b>Namespace:</b> <a href="namespace-WPGMZA.html">WPGMZA</a><br>
|
148 |
|
149 |
|
150 |
+
<b>Located at</b> <a href="source-class-WPGMZA.GDPRCompliance.html#5-243" title="Go to source code">class.gdpr-compliance.php</a>
|
151 |
<br>
|
152 |
</div>
|
153 |
|
369 |
|
370 |
<td class="name"><div>
|
371 |
<a class="anchor" href="#_getPrivacyPolicyNoticeHTML">#</a>
|
372 |
+
<code><a href="source-class-WPGMZA.GDPRCompliance.html#151-170" title="Go to source code">getPrivacyPolicyNoticeHTML</a>( )</code>
|
373 |
|
374 |
<div class="description short">
|
375 |
<p>Gets the HTML for the back end "check our updated privacy policy" notice. This will return an empty string if the notice has already been dismissed.</p>
|
403 |
|
404 |
<td class="name"><div>
|
405 |
<a class="anchor" href="#_getConsentPromptHTML">#</a>
|
406 |
+
<code><a href="source-class-WPGMZA.GDPRCompliance.html#172-179" title="Go to source code">getConsentPromptHTML</a>( )</code>
|
407 |
|
408 |
<div class="description short">
|
409 |
<p>Gets the consent prompt HTML, including the consent button.</p>
|
437 |
|
438 |
<td class="name"><div>
|
439 |
<a class="anchor" href="#_onGlobalSettingsTabs">#</a>
|
440 |
+
<code><a href="source-class-WPGMZA.GDPRCompliance.html#181-189" title="Go to source code">onGlobalSettingsTabs</a>( <span>string <var>$input</var></span> )</code>
|
441 |
|
442 |
<div class="description short">
|
443 |
<p>Callback for the wpgmza_global_settings_tabs filter. This adds the GDPR tab. Please note this is the tab itself, as opposed to the tab content.</p>
|
476 |
|
477 |
<td class="name"><div>
|
478 |
<a class="anchor" href="#_onGlobalSettingsTabContent">#</a>
|
479 |
+
<code><a href="source-class-WPGMZA.GDPRCompliance.html#191-200" title="Go to source code">onGlobalSettingsTabContent</a>( <span>string <var>$input</var></span> )</code>
|
480 |
|
481 |
<div class="description short">
|
482 |
<p>Callback for the wpgmza_global_settings_tab_content filter. This adds the GPDR tab content. Please note this is for the tab content, as opposed to the tab itself.</p>
|
515 |
|
516 |
<td class="name"><div>
|
517 |
<a class="anchor" href="#_onPOST">#</a>
|
518 |
+
<code><a href="source-class-WPGMZA.GDPRCompliance.html#202-242" title="Go to source code">onPOST</a>( )</code>
|
519 |
|
520 |
<div class="description short">
|
521 |
<p>Handles POST data when the settings page saves.</p>
|
@@ -0,0 +1,547 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<!DOCTYPE html>
|
2 |
+
<html>
|
3 |
+
<head>
|
4 |
+
<meta charset="utf-8">
|
5 |
+
|
6 |
+
<title>Class WPGMZA\GlobalSettings</title>
|
7 |
+
|
8 |
+
<link rel="stylesheet" href="resources/style.css?c2f33731c1948fbed7c333554678bfa68d4817da">
|
9 |
+
|
10 |
+
</head>
|
11 |
+
|
12 |
+
<body>
|
13 |
+
<div id="left">
|
14 |
+
<div id="menu">
|
15 |
+
<a href="index.html" title="Overview"><span>Overview</span></a>
|
16 |
+
|
17 |
+
|
18 |
+
<div id="groups">
|
19 |
+
<h3>Namespaces</h3>
|
20 |
+
<ul>
|
21 |
+
<li>
|
22 |
+
<a href="namespace-None.html">
|
23 |
+
None </a>
|
24 |
+
|
25 |
+
</li>
|
26 |
+
<li class="active">
|
27 |
+
<a href="namespace-WPGMZA.html">
|
28 |
+
WPGMZA<span></span>
|
29 |
+
</a>
|
30 |
+
|
31 |
+
<ul>
|
32 |
+
<li>
|
33 |
+
<a href="namespace-WPGMZA.Integration.html">
|
34 |
+
Integration </a>
|
35 |
+
|
36 |
+
</li>
|
37 |
+
<li>
|
38 |
+
<a href="namespace-WPGMZA.Selector.html">
|
39 |
+
Selector </a>
|
40 |
+
|
41 |
+
</li>
|
42 |
+
</ul></li>
|
43 |
+
</ul>
|
44 |
+
</div>
|
45 |
+
|
46 |
+
<hr>
|
47 |
+
|
48 |
+
|
49 |
+
<div id="elements">
|
50 |
+
<h3>Classes</h3>
|
51 |
+
<ul>
|
52 |
+
<li><a href="class-WPGMZA.AdminMarkerDataTable.html">AdminMarkerDataTable</a></li>
|
53 |
+
<li><a href="class-WPGMZA.AjaxTable.html">AjaxTable</a></li>
|
54 |
+
<li><a href="class-WPGMZA.AutoLoader.html">AutoLoader</a></li>
|
55 |
+
<li><a href="class-WPGMZA.Crud.html">Crud</a></li>
|
56 |
+
<li><a href="class-WPGMZA.Database.html">Database</a></li>
|
57 |
+
<li><a href="class-WPGMZA.DataTable.html">DataTable</a></li>
|
58 |
+
<li><a href="class-WPGMZA.Distance.html">Distance</a></li>
|
59 |
+
<li><a href="class-WPGMZA.DOMDocument.html">DOMDocument</a></li>
|
60 |
+
<li><a href="class-WPGMZA.DOMElement.html">DOMElement</a></li>
|
61 |
+
<li><a href="class-WPGMZA.Factory.html">Factory</a></li>
|
62 |
+
<li><a href="class-WPGMZA.GDPRCompliance.html">GDPRCompliance</a></li>
|
63 |
+
<li class="active"><a href="class-WPGMZA.GlobalSettings.html">GlobalSettings</a></li>
|
64 |
+
<li><a href="class-WPGMZA.GoogleGeocoder.html">GoogleGeocoder</a></li>
|
65 |
+
<li><a href="class-WPGMZA.GoogleMap.html">GoogleMap</a></li>
|
66 |
+
<li><a href="class-WPGMZA.GoogleMapsAPILoader.html" class="deprecated">GoogleMapsAPILoader</a></li>
|
67 |
+
<li><a href="class-WPGMZA.GoogleMapsLoader.html" class="deprecated">GoogleMapsLoader</a></li>
|
68 |
+
<li><a href="class-WPGMZA.LatLng.html">LatLng</a></li>
|
69 |
+
<li><a href="class-WPGMZA.Map.html">Map</a></li>
|
70 |
+
<li><a href="class-WPGMZA.MapsEngineDialog.html">MapsEngineDialog</a></li>
|
71 |
+
<li><a href="class-WPGMZA.Marker.html">Marker</a></li>
|
72 |
+
<li><a href="class-WPGMZA.MarkerDataTable.html">MarkerDataTable</a></li>
|
73 |
+
<li><a href="class-WPGMZA.MarkerFilter.html">MarkerFilter</a></li>
|
74 |
+
<li><a href="class-WPGMZA.ModalDialog.html">ModalDialog</a></li>
|
75 |
+
<li><a href="class-WPGMZA.NominatimGeocodeCache.html">NominatimGeocodeCache</a></li>
|
76 |
+
<li><a href="class-WPGMZA.OLLoader.html">OLLoader</a></li>
|
77 |
+
<li><a href="class-WPGMZA.Plugin.html">Plugin</a></li>
|
78 |
+
<li><a href="class-WPGMZA.Query.html">Query</a></li>
|
79 |
+
<li><a href="class-WPGMZA.QueryFragment.html">QueryFragment</a></li>
|
80 |
+
<li><a href="class-WPGMZA.RestAPI.html">RestAPI</a></li>
|
81 |
+
<li><a href="class-WPGMZA.ScriptLoader.html">ScriptLoader</a></li>
|
82 |
+
<li><a href="class-WPGMZA.Strings.html">Strings</a></li>
|
83 |
+
<li><a href="class-WPGMZA.Table.html">Table</a></li>
|
84 |
+
</ul>
|
85 |
+
|
86 |
+
|
87 |
+
|
88 |
+
|
89 |
+
|
90 |
+
<h3>Functions</h3>
|
91 |
+
<ul>
|
92 |
+
<li><a href="function-WPGMZA.create_marker_instance_delegate.html">create_marker_instance_delegate</a></li>
|
93 |
+
<li><a href="function-WPGMZA.query_nominatim_cache.html" class="deprecated">query_nominatim_cache</a></li>
|
94 |
+
<li><a href="function-WPGMZA.store_nominatim_cache.html" class="deprecated">store_nominatim_cache</a></li>
|
95 |
+
</ul>
|
96 |
+
</div>
|
97 |
+
</div>
|
98 |
+
</div>
|
99 |
+
|
100 |
+
<div id="splitter"></div>
|
101 |
+
|
102 |
+
<div id="right">
|
103 |
+
<div id="rightInner">
|
104 |
+
<form id="search">
|
105 |
+
<input type="hidden" name="cx" value="">
|
106 |
+
<input type="hidden" name="ie" value="UTF-8">
|
107 |
+
<input type="text" name="q" class="text" placeholder="Search">
|
108 |
+
</form>
|
109 |
+
|
110 |
+
<div id="navigation">
|
111 |
+
<ul>
|
112 |
+
<li>
|
113 |
+
<a href="index.html" title="Overview"><span>Overview</span></a>
|
114 |
+
</li>
|
115 |
+
<li>
|
116 |
+
<a href="namespace-WPGMZA.html" title="Summary of WPGMZA"><span>Namespace</span></a>
|
117 |
+
</li>
|
118 |
+
<li class="active">
|
119 |
+
<span>Class</span> </li>
|
120 |
+
</ul>
|
121 |
+
<ul>
|
122 |
+
</ul>
|
123 |
+
<ul>
|
124 |
+
</ul>
|
125 |
+
</div>
|
126 |
+
|
127 |
+
<div id="content" class="class">
|
128 |
+
<h1>Class GlobalSettings</h1>
|
129 |
+
|
130 |
+
|
131 |
+
|
132 |
+
<dl class="tree">
|
133 |
+
<dd style="padding-left:0px">
|
134 |
+
codecabin\Settings
|
135 |
+
|
136 |
+
|
137 |
+
</dd>
|
138 |
+
<dd style="padding-left:30px">
|
139 |
+
<img src="resources/inherit.png" alt="Extended by">
|
140 |
+
<b><span>WPGMZA\GlobalSettings</span></b>
|
141 |
+
|
142 |
+
|
143 |
+
</dd>
|
144 |
+
</dl>
|
145 |
+
|
146 |
+
|
147 |
+
|
148 |
+
|
149 |
+
|
150 |
+
|
151 |
+
|
152 |
+
|
153 |
+
<div class="info">
|
154 |
+
|
155 |
+
|
156 |
+
<b>Namespace:</b> <a href="namespace-WPGMZA.html">WPGMZA</a><br>
|
157 |
+
|
158 |
+
|
159 |
+
<b>Located at</b> <a href="source-class-WPGMZA.GlobalSettings.html#9-157" title="Go to source code">class.global-settings.php</a>
|
160 |
+
<br>
|
161 |
+
</div>
|
162 |
+
|
163 |
+
|
164 |
+
|
165 |
+
<table class="summary methods" id="methods">
|
166 |
+
<caption>Methods summary</caption>
|
167 |
+
<tr data-order="__construct" id="___construct">
|
168 |
+
|
169 |
+
<td class="attributes"><code>
|
170 |
+
public
|
171 |
+
|
172 |
+
|
173 |
+
|
174 |
+
</code>
|
175 |
+
</td>
|
176 |
+
|
177 |
+
<td class="name"><div>
|
178 |
+
<a class="anchor" href="#___construct">#</a>
|
179 |
+
<code><a href="source-class-WPGMZA.GlobalSettings.html#16-35" title="Go to source code">__construct</a>( )</code>
|
180 |
+
|
181 |
+
<div class="description short">
|
182 |
+
|
183 |
+
</div>
|
184 |
+
|
185 |
+
<div class="description detailed hidden">
|
186 |
+
|
187 |
+
|
188 |
+
|
189 |
+
|
190 |
+
|
191 |
+
|
192 |
+
|
193 |
+
|
194 |
+
</div>
|
195 |
+
</div></td>
|
196 |
+
</tr>
|
197 |
+
<tr data-order="__get" id="___get">
|
198 |
+
|
199 |
+
<td class="attributes"><code>
|
200 |
+
public
|
201 |
+
|
202 |
+
|
203 |
+
|
204 |
+
</code>
|
205 |
+
</td>
|
206 |
+
|
207 |
+
<td class="name"><div>
|
208 |
+
<a class="anchor" href="#___get">#</a>
|
209 |
+
<code><a href="source-class-WPGMZA.GlobalSettings.html#37-43" title="Go to source code">__get</a>( <span> <var>$name</var></span> )</code>
|
210 |
+
|
211 |
+
<div class="description short">
|
212 |
+
|
213 |
+
</div>
|
214 |
+
|
215 |
+
<div class="description detailed hidden">
|
216 |
+
|
217 |
+
|
218 |
+
|
219 |
+
|
220 |
+
|
221 |
+
|
222 |
+
|
223 |
+
|
224 |
+
</div>
|
225 |
+
</div></td>
|
226 |
+
</tr>
|
227 |
+
<tr data-order="createInstance" id="_createInstance">
|
228 |
+
|
229 |
+
<td class="attributes"><code>
|
230 |
+
public static
|
231 |
+
|
232 |
+
|
233 |
+
|
234 |
+
</code>
|
235 |
+
</td>
|
236 |
+
|
237 |
+
<td class="name"><div>
|
238 |
+
<a class="anchor" href="#_createInstance">#</a>
|
239 |
+
<code><a href="source-class-WPGMZA.GlobalSettings.html#46-67" title="Go to source code">createInstance</a>( )</code>
|
240 |
+
|
241 |
+
<div class="description short">
|
242 |
+
|
243 |
+
</div>
|
244 |
+
|
245 |
+
<div class="description detailed hidden">
|
246 |
+
|
247 |
+
|
248 |
+
|
249 |
+
|
250 |
+
|
251 |
+
|
252 |
+
|
253 |
+
|
254 |
+
</div>
|
255 |
+
</div></td>
|
256 |
+
</tr>
|
257 |
+
<tr data-order="getDefaults" id="_getDefaults">
|
258 |
+
|
259 |
+
<td class="attributes"><code>
|
260 |
+
public
|
261 |
+
|
262 |
+
|
263 |
+
|
264 |
+
</code>
|
265 |
+
</td>
|
266 |
+
|
267 |
+
<td class="name"><div>
|
268 |
+
<a class="anchor" href="#_getDefaults">#</a>
|
269 |
+
<code><a href="source-class-WPGMZA.GlobalSettings.html#69-79" title="Go to source code">getDefaults</a>( )</code>
|
270 |
+
|
271 |
+
<div class="description short">
|
272 |
+
|
273 |
+
</div>
|
274 |
+
|
275 |
+
<div class="description detailed hidden">
|
276 |
+
|
277 |
+
|
278 |
+
|
279 |
+
|
280 |
+
|
281 |
+
|
282 |
+
|
283 |
+
|
284 |
+
</div>
|
285 |
+
</div></td>
|
286 |
+
</tr>
|
287 |
+
<tr data-order="onPreUpdateLegacySettings" id="_onPreUpdateLegacySettings">
|
288 |
+
|
289 |
+
<td class="attributes"><code>
|
290 |
+
public
|
291 |
+
|
292 |
+
|
293 |
+
|
294 |
+
</code>
|
295 |
+
</td>
|
296 |
+
|
297 |
+
<td class="name"><div>
|
298 |
+
<a class="anchor" href="#_onPreUpdateLegacySettings">#</a>
|
299 |
+
<code><a href="source-class-WPGMZA.GlobalSettings.html#81-88" title="Go to source code">onPreUpdateLegacySettings</a>( <span> <var>$new_value</var></span>, <span> <var>$old_value</var></span> )</code>
|
300 |
+
|
301 |
+
<div class="description short">
|
302 |
+
|
303 |
+
</div>
|
304 |
+
|
305 |
+
<div class="description detailed hidden">
|
306 |
+
|
307 |
+
|
308 |
+
|
309 |
+
|
310 |
+
|
311 |
+
|
312 |
+
|
313 |
+
|
314 |
+
</div>
|
315 |
+
</div></td>
|
316 |
+
</tr>
|
317 |
+
<tr data-order="update" id="_update">
|
318 |
+
|
319 |
+
<td class="attributes"><code>
|
320 |
+
protected
|
321 |
+
|
322 |
+
|
323 |
+
|
324 |
+
</code>
|
325 |
+
</td>
|
326 |
+
|
327 |
+
<td class="name"><div>
|
328 |
+
<a class="anchor" href="#_update">#</a>
|
329 |
+
<code><a href="source-class-WPGMZA.GlobalSettings.html#90-120" title="Go to source code">update</a>( )</code>
|
330 |
+
|
331 |
+
<div class="description short">
|
332 |
+
|
333 |
+
</div>
|
334 |
+
|
335 |
+
<div class="description detailed hidden">
|
336 |
+
|
337 |
+
|
338 |
+
|
339 |
+
|
340 |
+
|
341 |
+
|
342 |
+
|
343 |
+
|
344 |
+
</div>
|
345 |
+
</div></td>
|
346 |
+
</tr>
|
347 |
+
<tr data-order="install" id="_install">
|
348 |
+
|
349 |
+
<td class="attributes"><code>
|
350 |
+
protected
|
351 |
+
|
352 |
+
|
353 |
+
|
354 |
+
</code>
|
355 |
+
</td>
|
356 |
+
|
357 |
+
<td class="name"><div>
|
358 |
+
<a class="anchor" href="#_install">#</a>
|
359 |
+
<code><a href="source-class-WPGMZA.GlobalSettings.html#122-125" title="Go to source code">install</a>( )</code>
|
360 |
+
|
361 |
+
<div class="description short">
|
362 |
+
|
363 |
+
</div>
|
364 |
+
|
365 |
+
<div class="description detailed hidden">
|
366 |
+
|
367 |
+
|
368 |
+
|
369 |
+
|
370 |
+
|
371 |
+
|
372 |
+
|
373 |
+
|
374 |
+
</div>
|
375 |
+
</div></td>
|
376 |
+
</tr>
|
377 |
+
<tr data-order="migrate" id="_migrate">
|
378 |
+
|
379 |
+
<td class="attributes"><code>
|
380 |
+
protected
|
381 |
+
|
382 |
+
|
383 |
+
|
384 |
+
</code>
|
385 |
+
</td>
|
386 |
+
|
387 |
+
<td class="name"><div>
|
388 |
+
<a class="anchor" href="#_migrate">#</a>
|
389 |
+
<code><a href="source-class-WPGMZA.GlobalSettings.html#127-134" title="Go to source code">migrate</a>( )</code>
|
390 |
+
|
391 |
+
<div class="description short">
|
392 |
+
|
393 |
+
</div>
|
394 |
+
|
395 |
+
<div class="description detailed hidden">
|
396 |
+
|
397 |
+
|
398 |
+
|
399 |
+
|
400 |
+
|
401 |
+
|
402 |
+
|
403 |
+
|
404 |
+
</div>
|
405 |
+
</div></td>
|
406 |
+
</tr>
|
407 |
+
<tr data-order="jsonSerialize" id="_jsonSerialize">
|
408 |
+
|
409 |
+
<td class="attributes"><code>
|
410 |
+
public
|
411 |
+
|
412 |
+
|
413 |
+
|
414 |
+
</code>
|
415 |
+
</td>
|
416 |
+
|
417 |
+
<td class="name"><div>
|
418 |
+
<a class="anchor" href="#_jsonSerialize">#</a>
|
419 |
+
<code><a href="source-class-WPGMZA.GlobalSettings.html#136-145" title="Go to source code">jsonSerialize</a>( )</code>
|
420 |
+
|
421 |
+
<div class="description short">
|
422 |
+
|
423 |
+
</div>
|
424 |
+
|
425 |
+
<div class="description detailed hidden">
|
426 |
+
|
427 |
+
|
428 |
+
|
429 |
+
|
430 |
+
|
431 |
+
|
432 |
+
|
433 |
+
|
434 |
+
</div>
|
435 |
+
</div></td>
|
436 |
+
</tr>
|
437 |
+
<tr data-order="toArray" id="_toArray">
|
438 |
+
|
439 |
+
<td class="attributes"><code>
|
440 |
+
public
|
441 |
+
|
442 |
+
|
443 |
+
|
444 |
+
</code>
|
445 |
+
</td>
|
446 |
+
|
447 |
+
<td class="name"><div>
|
448 |
+
<a class="anchor" href="#_toArray">#</a>
|
449 |
+
<code><a href="source-class-WPGMZA.GlobalSettings.html#147-156" title="Go to source code">toArray</a>( )</code>
|
450 |
+
|
451 |
+
<div class="description short">
|
452 |
+
|
453 |
+
</div>
|
454 |
+
|
455 |
+
<div class="description detailed hidden">
|
456 |
+
|
457 |
+
|
458 |
+
|
459 |
+
|
460 |
+
|
461 |
+
|
462 |
+
|
463 |
+
|
464 |
+
</div>
|
465 |
+
</div></td>
|
466 |
+
</tr>
|
467 |
+
</table>
|
468 |
+
|
469 |
+
|
470 |
+
|
471 |
+
|
472 |
+
|
473 |
+
|
474 |
+
|
475 |
+
|
476 |
+
<table class="summary constants" id="constants">
|
477 |
+
<caption>Constants summary</caption>
|
478 |
+
<tr data-order="TABLE_NAME" id="TABLE_NAME">
|
479 |
+
|
480 |
+
<td class="attributes"><code>string</code></td>
|
481 |
+
<td class="name">
|
482 |
+
<code>
|
483 |
+
<a href="source-class-WPGMZA.GlobalSettings.html#11" title="Go to source code"><b>TABLE_NAME</b></a>
|
484 |
+
</code>
|
485 |
+
|
486 |
+
<div class="description short">
|
487 |
+
|
488 |
+
</div>
|
489 |
+
|
490 |
+
<div class="description detailed hidden">
|
491 |
+
|
492 |
+
|
493 |
+
</div>
|
494 |
+
</td>
|
495 |
+
<td class="value">
|
496 |
+
<div>
|
497 |
+
<a href="#TABLE_NAME" class="anchor">#</a>
|
498 |
+
<code><span class="php-quote">'wpgmza_global_settings'</span></code>
|
499 |
+
</div>
|
500 |
+
</td>
|
501 |
+
</tr>
|
502 |
+
<tr data-order="LEGACY_TABLE_NAME" id="LEGACY_TABLE_NAME">
|
503 |
+
|
504 |
+
<td class="attributes"><code>string</code></td>
|
505 |
+
<td class="name">
|
506 |
+
<code>
|
507 |
+
<a href="source-class-WPGMZA.GlobalSettings.html#12" title="Go to source code"><b>LEGACY_TABLE_NAME</b></a>
|
508 |
+
</code>
|
509 |
+
|
510 |
+
<div class="description short">
|
511 |
+
|
512 |
+
</div>
|
513 |
+
|
514 |
+
<div class="description detailed hidden">
|
515 |
+
|
516 |
+
|
517 |
+
</div>
|
518 |
+
</td>
|
519 |
+
<td class="value">
|
520 |
+
<div>
|
521 |
+
<a href="#LEGACY_TABLE_NAME" class="anchor">#</a>
|
522 |
+
<code><span class="php-quote">'WPGMZA_OTHER_SETTINGS'</span></code>
|
523 |
+
</div>
|
524 |
+
</td>
|
525 |
+
</tr>
|
526 |
+
</table>
|
527 |
+
|
528 |
+
|
529 |
+
|
530 |
+
|
531 |
+
|
532 |
+
|
533 |
+
|
534 |
+
|
535 |
+
|
536 |
+
|
537 |
+
</div>
|
538 |
+
|
539 |
+
<div id="footer">
|
540 |
+
API documentation generated by <a href="http://apigen.org">ApiGen</a>
|
541 |
+
</div>
|
542 |
+
</div>
|
543 |
+
</div>
|
544 |
+
<script src="resources/combined.js"></script>
|
545 |
+
<script src="elementlist.js"></script>
|
546 |
+
</body>
|
547 |
+
</html>
|
@@ -49,12 +49,18 @@
|
|
49 |
<div id="elements">
|
50 |
<h3>Classes</h3>
|
51 |
<ul>
|
|
|
|
|
52 |
<li><a href="class-WPGMZA.AutoLoader.html">AutoLoader</a></li>
|
53 |
<li><a href="class-WPGMZA.Crud.html">Crud</a></li>
|
|
|
|
|
|
|
54 |
<li><a href="class-WPGMZA.DOMDocument.html">DOMDocument</a></li>
|
55 |
<li><a href="class-WPGMZA.DOMElement.html">DOMElement</a></li>
|
56 |
<li><a href="class-WPGMZA.Factory.html">Factory</a></li>
|
57 |
<li><a href="class-WPGMZA.GDPRCompliance.html">GDPRCompliance</a></li>
|
|
|
58 |
<li class="active"><a href="class-WPGMZA.GoogleGeocoder.html">GoogleGeocoder</a></li>
|
59 |
<li><a href="class-WPGMZA.GoogleMap.html">GoogleMap</a></li>
|
60 |
<li><a href="class-WPGMZA.GoogleMapsAPILoader.html" class="deprecated">GoogleMapsAPILoader</a></li>
|
@@ -63,13 +69,18 @@
|
|
63 |
<li><a href="class-WPGMZA.Map.html">Map</a></li>
|
64 |
<li><a href="class-WPGMZA.MapsEngineDialog.html">MapsEngineDialog</a></li>
|
65 |
<li><a href="class-WPGMZA.Marker.html">Marker</a></li>
|
|
|
|
|
66 |
<li><a href="class-WPGMZA.ModalDialog.html">ModalDialog</a></li>
|
67 |
<li><a href="class-WPGMZA.NominatimGeocodeCache.html">NominatimGeocodeCache</a></li>
|
68 |
<li><a href="class-WPGMZA.OLLoader.html">OLLoader</a></li>
|
69 |
<li><a href="class-WPGMZA.Plugin.html">Plugin</a></li>
|
|
|
|
|
70 |
<li><a href="class-WPGMZA.RestAPI.html">RestAPI</a></li>
|
71 |
<li><a href="class-WPGMZA.ScriptLoader.html">ScriptLoader</a></li>
|
72 |
<li><a href="class-WPGMZA.Strings.html">Strings</a></li>
|
|
|
73 |
</ul>
|
74 |
|
75 |
|
@@ -79,7 +90,6 @@
|
|
79 |
<h3>Functions</h3>
|
80 |
<ul>
|
81 |
<li><a href="function-WPGMZA.create_marker_instance_delegate.html">create_marker_instance_delegate</a></li>
|
82 |
-
<li><a href="function-WPGMZA.create_plugin_instance.html" class="deprecated">create_plugin_instance</a></li>
|
83 |
<li><a href="function-WPGMZA.query_nominatim_cache.html" class="deprecated">query_nominatim_cache</a></li>
|
84 |
<li><a href="function-WPGMZA.store_nominatim_cache.html" class="deprecated">store_nominatim_cache</a></li>
|
85 |
</ul>
|
49 |
<div id="elements">
|
50 |
<h3>Classes</h3>
|
51 |
<ul>
|
52 |
+
<li><a href="class-WPGMZA.AdminMarkerDataTable.html">AdminMarkerDataTable</a></li>
|
53 |
+
<li><a href="class-WPGMZA.AjaxTable.html">AjaxTable</a></li>
|
54 |
<li><a href="class-WPGMZA.AutoLoader.html">AutoLoader</a></li>
|
55 |
<li><a href="class-WPGMZA.Crud.html">Crud</a></li>
|
56 |
+
<li><a href="class-WPGMZA.Database.html">Database</a></li>
|
57 |
+
<li><a href="class-WPGMZA.DataTable.html">DataTable</a></li>
|
58 |
+
<li><a href="class-WPGMZA.Distance.html">Distance</a></li>
|
59 |
<li><a href="class-WPGMZA.DOMDocument.html">DOMDocument</a></li>
|
60 |
<li><a href="class-WPGMZA.DOMElement.html">DOMElement</a></li>
|
61 |
<li><a href="class-WPGMZA.Factory.html">Factory</a></li>
|
62 |
<li><a href="class-WPGMZA.GDPRCompliance.html">GDPRCompliance</a></li>
|
63 |
+
<li><a href="class-WPGMZA.GlobalSettings.html">GlobalSettings</a></li>
|
64 |
<li class="active"><a href="class-WPGMZA.GoogleGeocoder.html">GoogleGeocoder</a></li>
|
65 |
<li><a href="class-WPGMZA.GoogleMap.html">GoogleMap</a></li>
|
66 |
<li><a href="class-WPGMZA.GoogleMapsAPILoader.html" class="deprecated">GoogleMapsAPILoader</a></li>
|
69 |
<li><a href="class-WPGMZA.Map.html">Map</a></li>
|
70 |
<li><a href="class-WPGMZA.MapsEngineDialog.html">MapsEngineDialog</a></li>
|
71 |
<li><a href="class-WPGMZA.Marker.html">Marker</a></li>
|
72 |
+
<li><a href="class-WPGMZA.MarkerDataTable.html">MarkerDataTable</a></li>
|
73 |
+
<li><a href="class-WPGMZA.MarkerFilter.html">MarkerFilter</a></li>
|
74 |
<li><a href="class-WPGMZA.ModalDialog.html">ModalDialog</a></li>
|
75 |
<li><a href="class-WPGMZA.NominatimGeocodeCache.html">NominatimGeocodeCache</a></li>
|
76 |
<li><a href="class-WPGMZA.OLLoader.html">OLLoader</a></li>
|
77 |
<li><a href="class-WPGMZA.Plugin.html">Plugin</a></li>
|
78 |
+
<li><a href="class-WPGMZA.Query.html">Query</a></li>
|
79 |
+
<li><a href="class-WPGMZA.QueryFragment.html">QueryFragment</a></li>
|
80 |
<li><a href="class-WPGMZA.RestAPI.html">RestAPI</a></li>
|
81 |
<li><a href="class-WPGMZA.ScriptLoader.html">ScriptLoader</a></li>
|
82 |
<li><a href="class-WPGMZA.Strings.html">Strings</a></li>
|
83 |
+
<li><a href="class-WPGMZA.Table.html">Table</a></li>
|
84 |
</ul>
|
85 |
|
86 |
|
90 |
<h3>Functions</h3>
|
91 |
<ul>
|
92 |
<li><a href="function-WPGMZA.create_marker_instance_delegate.html">create_marker_instance_delegate</a></li>
|
|
|
93 |
<li><a href="function-WPGMZA.query_nominatim_cache.html" class="deprecated">query_nominatim_cache</a></li>
|
94 |
<li><a href="function-WPGMZA.store_nominatim_cache.html" class="deprecated">store_nominatim_cache</a></li>
|
95 |
</ul>
|
@@ -49,12 +49,18 @@
|
|
49 |
<div id="elements">
|
50 |
<h3>Classes</h3>
|
51 |
<ul>
|
|
|
|
|
52 |
<li><a href="class-WPGMZA.AutoLoader.html">AutoLoader</a></li>
|
53 |
<li><a href="class-WPGMZA.Crud.html">Crud</a></li>
|
|
|
|
|
|
|
54 |
<li><a href="class-WPGMZA.DOMDocument.html">DOMDocument</a></li>
|
55 |
<li><a href="class-WPGMZA.DOMElement.html">DOMElement</a></li>
|
56 |
<li><a href="class-WPGMZA.Factory.html">Factory</a></li>
|
57 |
<li><a href="class-WPGMZA.GDPRCompliance.html">GDPRCompliance</a></li>
|
|
|
58 |
<li><a href="class-WPGMZA.GoogleGeocoder.html">GoogleGeocoder</a></li>
|
59 |
<li class="active"><a href="class-WPGMZA.GoogleMap.html">GoogleMap</a></li>
|
60 |
<li><a href="class-WPGMZA.GoogleMapsAPILoader.html" class="deprecated">GoogleMapsAPILoader</a></li>
|
@@ -63,13 +69,18 @@
|
|
63 |
<li><a href="class-WPGMZA.Map.html">Map</a></li>
|
64 |
<li><a href="class-WPGMZA.MapsEngineDialog.html">MapsEngineDialog</a></li>
|
65 |
<li><a href="class-WPGMZA.Marker.html">Marker</a></li>
|
|
|
|
|
66 |
<li><a href="class-WPGMZA.ModalDialog.html">ModalDialog</a></li>
|
67 |
<li><a href="class-WPGMZA.NominatimGeocodeCache.html">NominatimGeocodeCache</a></li>
|
68 |
<li><a href="class-WPGMZA.OLLoader.html">OLLoader</a></li>
|
69 |
<li><a href="class-WPGMZA.Plugin.html">Plugin</a></li>
|
|
|
|
|
70 |
<li><a href="class-WPGMZA.RestAPI.html">RestAPI</a></li>
|
71 |
<li><a href="class-WPGMZA.ScriptLoader.html">ScriptLoader</a></li>
|
72 |
<li><a href="class-WPGMZA.Strings.html">Strings</a></li>
|
|
|
73 |
</ul>
|
74 |
|
75 |
|
@@ -79,7 +90,6 @@
|
|
79 |
<h3>Functions</h3>
|
80 |
<ul>
|
81 |
<li><a href="function-WPGMZA.create_marker_instance_delegate.html">create_marker_instance_delegate</a></li>
|
82 |
-
<li><a href="function-WPGMZA.create_plugin_instance.html" class="deprecated">create_plugin_instance</a></li>
|
83 |
<li><a href="function-WPGMZA.query_nominatim_cache.html" class="deprecated">query_nominatim_cache</a></li>
|
84 |
<li><a href="function-WPGMZA.store_nominatim_cache.html" class="deprecated">store_nominatim_cache</a></li>
|
85 |
</ul>
|
@@ -124,6 +134,13 @@
|
|
124 |
|
125 |
<dl class="tree">
|
126 |
<dd style="padding-left:0px">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
127 |
<a href="class-WPGMZA.Crud.html"><span>WPGMZA\Crud</span></a>
|
128 |
|
129 |
implements
|
@@ -133,14 +150,14 @@
|
|
133 |
|
134 |
|
135 |
</dd>
|
136 |
-
<dd style="padding-left:
|
137 |
<img src="resources/inherit.png" alt="Extended by">
|
138 |
<a href="class-WPGMZA.Map.html"><span>WPGMZA\Map</span></a>
|
139 |
|
140 |
|
141 |
|
142 |
</dd>
|
143 |
-
<dd style="padding-left:
|
144 |
<img src="resources/inherit.png" alt="Extended by">
|
145 |
<b><span>WPGMZA\GoogleMap</span></b>
|
146 |
|
@@ -214,6 +231,7 @@
|
|
214 |
<caption>Methods inherited from <a href="class-WPGMZA.Map.html#methods">WPGMZA\Map</a></caption>
|
215 |
<tr>
|
216 |
<td><code>
|
|
|
217 |
<a href="class-WPGMZA.Map.html#_create_instance"><span class="deprecated">create_instance()</span></a>,
|
218 |
<a href="class-WPGMZA.Map.html#_get_arbitrary_data_column_name">get_arbitrary_data_column_name()</a>
|
219 |
</code></td>
|
@@ -223,7 +241,6 @@
|
|
223 |
<caption>Methods inherited from <a href="class-WPGMZA.Crud.html#methods">WPGMZA\Crud</a></caption>
|
224 |
<tr>
|
225 |
<td><code>
|
226 |
-
<a href="class-WPGMZA.Crud.html#___get">__get()</a>,
|
227 |
<a href="class-WPGMZA.Crud.html#___isset">__isset()</a>,
|
228 |
<a href="class-WPGMZA.Crud.html#___set">__set()</a>,
|
229 |
<a href="class-WPGMZA.Crud.html#___unset">__unset()</a>,
|
@@ -252,6 +269,14 @@
|
|
252 |
</code></td>
|
253 |
</tr>
|
254 |
</table>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
255 |
|
256 |
|
257 |
|
49 |
<div id="elements">
|
50 |
<h3>Classes</h3>
|
51 |
<ul>
|
52 |
+
<li><a href="class-WPGMZA.AdminMarkerDataTable.html">AdminMarkerDataTable</a></li>
|
53 |
+
<li><a href="class-WPGMZA.AjaxTable.html">AjaxTable</a></li>
|
54 |
<li><a href="class-WPGMZA.AutoLoader.html">AutoLoader</a></li>
|
55 |
<li><a href="class-WPGMZA.Crud.html">Crud</a></li>
|
56 |
+
<li><a href="class-WPGMZA.Database.html">Database</a></li>
|
57 |
+
<li><a href="class-WPGMZA.DataTable.html">DataTable</a></li>
|
58 |
+
<li><a href="class-WPGMZA.Distance.html">Distance</a></li>
|
59 |
<li><a href="class-WPGMZA.DOMDocument.html">DOMDocument</a></li>
|
60 |
<li><a href="class-WPGMZA.DOMElement.html">DOMElement</a></li>
|
61 |
<li><a href="class-WPGMZA.Factory.html">Factory</a></li>
|
62 |
<li><a href="class-WPGMZA.GDPRCompliance.html">GDPRCompliance</a></li>
|
63 |
+
<li><a href="class-WPGMZA.GlobalSettings.html">GlobalSettings</a></li>
|
64 |
<li><a href="class-WPGMZA.GoogleGeocoder.html">GoogleGeocoder</a></li>
|
65 |
<li class="active"><a href="class-WPGMZA.GoogleMap.html">GoogleMap</a></li>
|
66 |
<li><a href="class-WPGMZA.GoogleMapsAPILoader.html" class="deprecated">GoogleMapsAPILoader</a></li>
|
69 |
<li><a href="class-WPGMZA.Map.html">Map</a></li>
|
70 |
<li><a href="class-WPGMZA.MapsEngineDialog.html">MapsEngineDialog</a></li>
|
71 |
<li><a href="class-WPGMZA.Marker.html">Marker</a></li>
|
72 |
+
<li><a href="class-WPGMZA.MarkerDataTable.html">MarkerDataTable</a></li>
|
73 |
+
<li><a href="class-WPGMZA.MarkerFilter.html">MarkerFilter</a></li>
|
74 |
<li><a href="class-WPGMZA.ModalDialog.html">ModalDialog</a></li>
|
75 |
<li><a href="class-WPGMZA.NominatimGeocodeCache.html">NominatimGeocodeCache</a></li>
|
76 |
<li><a href="class-WPGMZA.OLLoader.html">OLLoader</a></li>
|
77 |
<li><a href="class-WPGMZA.Plugin.html">Plugin</a></li>
|
78 |
+
<li><a href="class-WPGMZA.Query.html">Query</a></li>
|
79 |
+
<li><a href="class-WPGMZA.QueryFragment.html">QueryFragment</a></li>
|
80 |
<li><a href="class-WPGMZA.RestAPI.html">RestAPI</a></li>
|
81 |
<li><a href="class-WPGMZA.ScriptLoader.html">ScriptLoader</a></li>
|
82 |
<li><a href="class-WPGMZA.Strings.html">Strings</a></li>
|
83 |
+
<li><a href="class-WPGMZA.Table.html">Table</a></li>
|
84 |
</ul>
|
85 |
|
86 |
|
90 |
<h3>Functions</h3>
|
91 |
<ul>
|
92 |
<li><a href="function-WPGMZA.create_marker_instance_delegate.html">create_marker_instance_delegate</a></li>
|
|
|
93 |
<li><a href="function-WPGMZA.query_nominatim_cache.html" class="deprecated">query_nominatim_cache</a></li>
|
94 |
<li><a href="function-WPGMZA.store_nominatim_cache.html" class="deprecated">store_nominatim_cache</a></li>
|
95 |
</ul>
|
134 |
|
135 |
<dl class="tree">
|
136 |
<dd style="padding-left:0px">
|
137 |
+
<a href="class-WPGMZA.Factory.html"><span>WPGMZA\Factory</span></a>
|
138 |
+
|
139 |
+
|
140 |
+
|
141 |
+
</dd>
|
142 |
+
<dd style="padding-left:30px">
|
143 |
+
<img src="resources/inherit.png" alt="Extended by">
|
144 |
<a href="class-WPGMZA.Crud.html"><span>WPGMZA\Crud</span></a>
|
145 |
|
146 |
implements
|
150 |
|
151 |
|
152 |
</dd>
|
153 |
+
<dd style="padding-left:60px">
|
154 |
<img src="resources/inherit.png" alt="Extended by">
|
155 |
<a href="class-WPGMZA.Map.html"><span>WPGMZA\Map</span></a>
|
156 |
|
157 |
|
158 |
|
159 |
</dd>
|
160 |
+
<dd style="padding-left:90px">
|
161 |
<img src="resources/inherit.png" alt="Extended by">
|
162 |
<b><span>WPGMZA\GoogleMap</span></b>
|
163 |
|
231 |
<caption>Methods inherited from <a href="class-WPGMZA.Map.html#methods">WPGMZA\Map</a></caption>
|
232 |
<tr>
|
233 |
<td><code>
|
234 |
+
<a href="class-WPGMZA.Map.html#___get">__get()</a>,
|
235 |
<a href="class-WPGMZA.Map.html#_create_instance"><span class="deprecated">create_instance()</span></a>,
|
236 |
<a href="class-WPGMZA.Map.html#_get_arbitrary_data_column_name">get_arbitrary_data_column_name()</a>
|
237 |
</code></td>
|
241 |
<caption>Methods inherited from <a href="class-WPGMZA.Crud.html#methods">WPGMZA\Crud</a></caption>
|
242 |
<tr>
|
243 |
<td><code>
|
|
|
244 |
<a href="class-WPGMZA.Crud.html#___isset">__isset()</a>,
|
245 |
<a href="class-WPGMZA.Crud.html#___set">__set()</a>,
|
246 |
<a href="class-WPGMZA.Crud.html#___unset">__unset()</a>,
|
269 |
</code></td>
|
270 |
</tr>
|
271 |
</table>
|
272 |
+
<table class="summary inherited">
|
273 |
+
<caption>Methods inherited from <a href="class-WPGMZA.Factory.html#methods">WPGMZA\Factory</a></caption>
|
274 |
+
<tr>
|
275 |
+
<td><code>
|
276 |
+
<a href="class-WPGMZA.Factory.html#_createInstance">createInstance()</a>
|
277 |
+
</code></td>
|
278 |
+
</tr>
|
279 |
+
</table>
|
280 |
|
281 |
|
282 |
|
@@ -49,12 +49,18 @@
|
|
49 |
<div id="elements">
|
50 |
<h3>Classes</h3>
|
51 |
<ul>
|
|
|
|
|
52 |
<li><a href="class-WPGMZA.AutoLoader.html">AutoLoader</a></li>
|
53 |
<li><a href="class-WPGMZA.Crud.html">Crud</a></li>
|
|
|
|
|
|
|
54 |
<li><a href="class-WPGMZA.DOMDocument.html">DOMDocument</a></li>
|
55 |
<li><a href="class-WPGMZA.DOMElement.html">DOMElement</a></li>
|
56 |
<li><a href="class-WPGMZA.Factory.html">Factory</a></li>
|
57 |
<li><a href="class-WPGMZA.GDPRCompliance.html">GDPRCompliance</a></li>
|
|
|
58 |
<li><a href="class-WPGMZA.GoogleGeocoder.html">GoogleGeocoder</a></li>
|
59 |
<li><a href="class-WPGMZA.GoogleMap.html">GoogleMap</a></li>
|
60 |
<li class="active"><a href="class-WPGMZA.GoogleMapsAPILoader.html" class="deprecated">GoogleMapsAPILoader</a></li>
|
@@ -63,13 +69,18 @@
|
|
63 |
<li><a href="class-WPGMZA.Map.html">Map</a></li>
|
64 |
<li><a href="class-WPGMZA.MapsEngineDialog.html">MapsEngineDialog</a></li>
|
65 |
<li><a href="class-WPGMZA.Marker.html">Marker</a></li>
|
|
|
|
|
66 |
<li><a href="class-WPGMZA.ModalDialog.html">ModalDialog</a></li>
|
67 |
<li><a href="class-WPGMZA.NominatimGeocodeCache.html">NominatimGeocodeCache</a></li>
|
68 |
<li><a href="class-WPGMZA.OLLoader.html">OLLoader</a></li>
|
69 |
<li><a href="class-WPGMZA.Plugin.html">Plugin</a></li>
|
|
|
|
|
70 |
<li><a href="class-WPGMZA.RestAPI.html">RestAPI</a></li>
|
71 |
<li><a href="class-WPGMZA.ScriptLoader.html">ScriptLoader</a></li>
|
72 |
<li><a href="class-WPGMZA.Strings.html">Strings</a></li>
|
|
|
73 |
</ul>
|
74 |
|
75 |
|
@@ -79,7 +90,6 @@
|
|
79 |
<h3>Functions</h3>
|
80 |
<ul>
|
81 |
<li><a href="function-WPGMZA.create_marker_instance_delegate.html">create_marker_instance_delegate</a></li>
|
82 |
-
<li><a href="function-WPGMZA.create_plugin_instance.html" class="deprecated">create_plugin_instance</a></li>
|
83 |
<li><a href="function-WPGMZA.query_nominatim_cache.html" class="deprecated">query_nominatim_cache</a></li>
|
84 |
<li><a href="function-WPGMZA.store_nominatim_cache.html" class="deprecated">store_nominatim_cache</a></li>
|
85 |
</ul>
|
@@ -138,7 +148,7 @@
|
|
138 |
|
139 |
<b>Deprecated:</b>
|
140 |
This class will be merged into GoogleLoader, the API conditionality mechanisms will be abstracted to APILoader for use with OpenLayers<br>
|
141 |
-
<b>Located at</b> <a href="source-class-WPGMZA.GoogleMapsAPILoader.html#8-
|
142 |
<br>
|
143 |
</div>
|
144 |
|
@@ -158,7 +168,7 @@
|
|
158 |
|
159 |
<td class="name"><div>
|
160 |
<a class="anchor" href="#___construct">#</a>
|
161 |
-
<code><a href="source-class-WPGMZA.GoogleMapsAPILoader.html#
|
162 |
|
163 |
<div class="description short">
|
164 |
<p>Constructor</p>
|
@@ -188,7 +198,7 @@
|
|
188 |
|
189 |
<td class="name"><div>
|
190 |
<a class="anchor" href="#_getGoogleMapsAPIParams">#</a>
|
191 |
-
<code><a href="source-class-WPGMZA.GoogleMapsAPILoader.html#
|
192 |
|
193 |
<div class="description short">
|
194 |
<p>Gets the parameters to be sent to the Google Maps API load call</p>
|
@@ -222,7 +232,7 @@
|
|
222 |
|
223 |
<td class="name"><div>
|
224 |
<a class="anchor" href="#_registerGoogleMaps">#</a>
|
225 |
-
<code><a href="source-class-WPGMZA.GoogleMapsAPILoader.html#
|
226 |
|
227 |
<div class="description short">
|
228 |
<p>This function loads the Google API if it hasn't been called already</p>
|
@@ -252,7 +262,7 @@
|
|
252 |
|
253 |
<td class="name"><div>
|
254 |
<a class="anchor" href="#_enqueueGoogleMaps">#</a>
|
255 |
-
<code><a href="source-class-WPGMZA.GoogleMapsAPILoader.html#
|
256 |
|
257 |
<div class="description short">
|
258 |
<p>This function will enqueue the Google Maps API, if the conditions to include it are met. Otherwise, this function will do nothing.</p>
|
@@ -282,7 +292,7 @@
|
|
282 |
|
283 |
<td class="name"><div>
|
284 |
<a class="anchor" href="#_isPageIncluded">#</a>
|
285 |
-
<code><a href="source-class-WPGMZA.GoogleMapsAPILoader.html#
|
286 |
|
287 |
<div class="description short">
|
288 |
<p>Checks whether the specified page ID has been explicitly included in the plugin settings</p>
|
@@ -321,7 +331,7 @@
|
|
321 |
|
322 |
<td class="name"><div>
|
323 |
<a class="anchor" href="#_isPageExcluded">#</a>
|
324 |
-
<code><a href="source-class-WPGMZA.GoogleMapsAPILoader.html#
|
325 |
|
326 |
<div class="description short">
|
327 |
<p>Checks whether the specified page ID has been explicitly excluded in the plugin settings</p>
|
@@ -360,7 +370,7 @@
|
|
360 |
|
361 |
<td class="name"><div>
|
362 |
<a class="anchor" href="#_isIncludeAllowed">#</a>
|
363 |
-
<code><a href="source-class-WPGMZA.GoogleMapsAPILoader.html#
|
364 |
|
365 |
<div class="description short">
|
366 |
<p>Checks if including the Google API is allowed, based on all the relevant settings.</p>
|
@@ -399,7 +409,7 @@
|
|
399 |
|
400 |
<td class="name"><div>
|
401 |
<a class="anchor" href="#_preventOtherGoogleMapsTag">#</a>
|
402 |
-
<code><a href="source-class-WPGMZA.GoogleMapsAPILoader.html#
|
403 |
|
404 |
<div class="description short">
|
405 |
<p>This function hooks into script_loader_tag. If any other plugin or the theme has enqueued a script containing "maps.google", an empty string will be returned, preventing that script loader tag from being rendered. Only the script with the handle wpgmza_api_call will be allowed through. This can be bound using the "prevent other plugins and theme loading maps API" setting.</p>
|
@@ -442,7 +452,7 @@
|
|
442 |
|
443 |
<td class="name"><div>
|
444 |
<a class="anchor" href="#_getSettingsHTML">#</a>
|
445 |
-
<code><a href="source-class-WPGMZA.GoogleMapsAPILoader.html#
|
446 |
|
447 |
<div class="description short">
|
448 |
<p>Gets the HTML for the settings panel for this module, which appears in the general settings tab.</p>
|
@@ -480,7 +490,7 @@
|
|
480 |
<td class="attributes"><code>string</code></td>
|
481 |
<td class="name">
|
482 |
<code>
|
483 |
-
<a href="source-class-WPGMZA.GoogleMapsAPILoader.html#
|
484 |
</code>
|
485 |
|
486 |
<div class="description short">
|
@@ -508,7 +518,7 @@
|
|
508 |
<td class="attributes"><code>string</code></td>
|
509 |
<td class="name">
|
510 |
<code>
|
511 |
-
<a href="source-class-WPGMZA.GoogleMapsAPILoader.html#
|
512 |
</code>
|
513 |
|
514 |
<div class="description short">
|
@@ -536,7 +546,7 @@
|
|
536 |
<td class="attributes"><code>string</code></td>
|
537 |
<td class="name">
|
538 |
<code>
|
539 |
-
<a href="source-class-WPGMZA.GoogleMapsAPILoader.html#
|
540 |
</code>
|
541 |
|
542 |
<div class="description short">
|
@@ -564,7 +574,7 @@
|
|
564 |
<td class="attributes"><code>string</code></td>
|
565 |
<td class="name">
|
566 |
<code>
|
567 |
-
<a href="source-class-WPGMZA.GoogleMapsAPILoader.html#
|
568 |
</code>
|
569 |
|
570 |
<div class="description short">
|
@@ -592,7 +602,7 @@
|
|
592 |
<td class="attributes"><code>string</code></td>
|
593 |
<td class="name">
|
594 |
<code>
|
595 |
-
<a href="source-class-WPGMZA.GoogleMapsAPILoader.html#
|
596 |
</code>
|
597 |
|
598 |
<div class="description short">
|
@@ -620,7 +630,7 @@
|
|
620 |
<td class="attributes"><code>string</code></td>
|
621 |
<td class="name">
|
622 |
<code>
|
623 |
-
<a href="source-class-WPGMZA.GoogleMapsAPILoader.html#
|
624 |
</code>
|
625 |
|
626 |
<div class="description short">
|
@@ -648,7 +658,7 @@
|
|
648 |
<td class="attributes"><code>string</code></td>
|
649 |
<td class="name">
|
650 |
<code>
|
651 |
-
<a href="source-class-WPGMZA.GoogleMapsAPILoader.html#
|
652 |
</code>
|
653 |
|
654 |
<div class="description short">
|
@@ -676,7 +686,7 @@
|
|
676 |
<td class="attributes"><code>string</code></td>
|
677 |
<td class="name">
|
678 |
<code>
|
679 |
-
<a href="source-class-WPGMZA.GoogleMapsAPILoader.html#
|
680 |
</code>
|
681 |
|
682 |
<div class="description short">
|
@@ -704,7 +714,7 @@
|
|
704 |
<td class="attributes"><code>string</code></td>
|
705 |
<td class="name">
|
706 |
<code>
|
707 |
-
<a href="source-class-WPGMZA.GoogleMapsAPILoader.html#
|
708 |
</code>
|
709 |
|
710 |
<div class="description short">
|
49 |
<div id="elements">
|
50 |
<h3>Classes</h3>
|
51 |
<ul>
|
52 |
+
<li><a href="class-WPGMZA.AdminMarkerDataTable.html">AdminMarkerDataTable</a></li>
|
53 |
+
<li><a href="class-WPGMZA.AjaxTable.html">AjaxTable</a></li>
|
54 |
<li><a href="class-WPGMZA.AutoLoader.html">AutoLoader</a></li>
|
55 |
<li><a href="class-WPGMZA.Crud.html">Crud</a></li>
|
56 |
+
<li><a href="class-WPGMZA.Database.html">Database</a></li>
|
57 |
+
<li><a href="class-WPGMZA.DataTable.html">DataTable</a></li>
|
58 |
+
<li><a href="class-WPGMZA.Distance.html">Distance</a></li>
|
59 |
<li><a href="class-WPGMZA.DOMDocument.html">DOMDocument</a></li>
|
60 |
<li><a href="class-WPGMZA.DOMElement.html">DOMElement</a></li>
|
61 |
<li><a href="class-WPGMZA.Factory.html">Factory</a></li>
|
62 |
<li><a href="class-WPGMZA.GDPRCompliance.html">GDPRCompliance</a></li>
|
63 |
+
<li><a href="class-WPGMZA.GlobalSettings.html">GlobalSettings</a></li>
|
64 |
<li><a href="class-WPGMZA.GoogleGeocoder.html">GoogleGeocoder</a></li>
|
65 |
<li><a href="class-WPGMZA.GoogleMap.html">GoogleMap</a></li>
|
66 |
<li class="active"><a href="class-WPGMZA.GoogleMapsAPILoader.html" class="deprecated">GoogleMapsAPILoader</a></li>
|
69 |
<li><a href="class-WPGMZA.Map.html">Map</a></li>
|
70 |
<li><a href="class-WPGMZA.MapsEngineDialog.html">MapsEngineDialog</a></li>
|
71 |
<li><a href="class-WPGMZA.Marker.html">Marker</a></li>
|
72 |
+
<li><a href="class-WPGMZA.MarkerDataTable.html">MarkerDataTable</a></li>
|
73 |
+
<li><a href="class-WPGMZA.MarkerFilter.html">MarkerFilter</a></li>
|
74 |
<li><a href="class-WPGMZA.ModalDialog.html">ModalDialog</a></li>
|
75 |
<li><a href="class-WPGMZA.NominatimGeocodeCache.html">NominatimGeocodeCache</a></li>
|
76 |
<li><a href="class-WPGMZA.OLLoader.html">OLLoader</a></li>
|
77 |
<li><a href="class-WPGMZA.Plugin.html">Plugin</a></li>
|
78 |
+
<li><a href="class-WPGMZA.Query.html">Query</a></li>
|
79 |
+
<li><a href="class-WPGMZA.QueryFragment.html">QueryFragment</a></li>
|
80 |
<li><a href="class-WPGMZA.RestAPI.html">RestAPI</a></li>
|
81 |
<li><a href="class-WPGMZA.ScriptLoader.html">ScriptLoader</a></li>
|
82 |
<li><a href="class-WPGMZA.Strings.html">Strings</a></li>
|
83 |
+
<li><a href="class-WPGMZA.Table.html">Table</a></li>
|
84 |
</ul>
|
85 |
|
86 |
|
90 |
<h3>Functions</h3>
|
91 |
<ul>
|
92 |
<li><a href="function-WPGMZA.create_marker_instance_delegate.html">create_marker_instance_delegate</a></li>
|
|
|
93 |
<li><a href="function-WPGMZA.query_nominatim_cache.html" class="deprecated">query_nominatim_cache</a></li>
|
94 |
<li><a href="function-WPGMZA.store_nominatim_cache.html" class="deprecated">store_nominatim_cache</a></li>
|
95 |
</ul>
|
148 |
|
149 |
<b>Deprecated:</b>
|
150 |
This class will be merged into GoogleLoader, the API conditionality mechanisms will be abstracted to APILoader for use with OpenLayers<br>
|
151 |
+
<b>Located at</b> <a href="source-class-WPGMZA.GoogleMapsAPILoader.html#8-399" title="Go to source code">class.google-maps-api-loader.php</a>
|
152 |
<br>
|
153 |
</div>
|
154 |
|
168 |
|
169 |
<td class="name"><div>
|
170 |
<a class="anchor" href="#___construct">#</a>
|
171 |
+
<code><a href="source-class-WPGMZA.GoogleMapsAPILoader.html#63-96" title="Go to source code">__construct</a>( )</code>
|
172 |
|
173 |
<div class="description short">
|
174 |
<p>Constructor</p>
|
198 |
|
199 |
<td class="name"><div>
|
200 |
<a class="anchor" href="#_getGoogleMapsAPIParams">#</a>
|
201 |
+
<code><a href="source-class-WPGMZA.GoogleMapsAPILoader.html#98-148" title="Go to source code">getGoogleMapsAPIParams</a>( )</code>
|
202 |
|
203 |
<div class="description short">
|
204 |
<p>Gets the parameters to be sent to the Google Maps API load call</p>
|
232 |
|
233 |
<td class="name"><div>
|
234 |
<a class="anchor" href="#_registerGoogleMaps">#</a>
|
235 |
+
<code><a href="source-class-WPGMZA.GoogleMapsAPILoader.html#150-189" title="Go to source code">registerGoogleMaps</a>( )</code>
|
236 |
|
237 |
<div class="description short">
|
238 |
<p>This function loads the Google API if it hasn't been called already</p>
|
262 |
|
263 |
<td class="name"><div>
|
264 |
<a class="anchor" href="#_enqueueGoogleMaps">#</a>
|
265 |
+
<code><a href="source-class-WPGMZA.GoogleMapsAPILoader.html#191-201" title="Go to source code">enqueueGoogleMaps</a>( )</code>
|
266 |
|
267 |
<div class="description short">
|
268 |
<p>This function will enqueue the Google Maps API, if the conditions to include it are met. Otherwise, this function will do nothing.</p>
|
292 |
|
293 |
<td class="name"><div>
|
294 |
<a class="anchor" href="#_isPageIncluded">#</a>
|
295 |
+
<code><a href="source-class-WPGMZA.GoogleMapsAPILoader.html#203-227" title="Go to source code">isPageIncluded</a>( <span>integer <var>$page_id</var></span> )</code>
|
296 |
|
297 |
<div class="description short">
|
298 |
<p>Checks whether the specified page ID has been explicitly included in the plugin settings</p>
|
331 |
|
332 |
<td class="name"><div>
|
333 |
<a class="anchor" href="#_isPageExcluded">#</a>
|
334 |
+
<code><a href="source-class-WPGMZA.GoogleMapsAPILoader.html#229-252" title="Go to source code">isPageExcluded</a>( <span>integer <var>$page_id</var></span> )</code>
|
335 |
|
336 |
<div class="description short">
|
337 |
<p>Checks whether the specified page ID has been explicitly excluded in the plugin settings</p>
|
370 |
|
371 |
<td class="name"><div>
|
372 |
<a class="anchor" href="#_isIncludeAllowed">#</a>
|
373 |
+
<code><a href="source-class-WPGMZA.GoogleMapsAPILoader.html#254-352" title="Go to source code">isIncludeAllowed</a>( <span>string <var>& $status</var> = <span class="php-keyword1">null</span></span> )</code>
|
374 |
|
375 |
<div class="description short">
|
376 |
<p>Checks if including the Google API is allowed, based on all the relevant settings.</p>
|
409 |
|
410 |
<td class="name"><div>
|
411 |
<a class="anchor" href="#_preventOtherGoogleMapsTag">#</a>
|
412 |
+
<code><a href="source-class-WPGMZA.GoogleMapsAPILoader.html#354-376" title="Go to source code">preventOtherGoogleMapsTag</a>( <span>string <var>$tag</var></span>, <span>string <var>$handle</var></span>, <span>string <var>$src</var></span> )</code>
|
413 |
|
414 |
<div class="description short">
|
415 |
<p>This function hooks into script_loader_tag. If any other plugin or the theme has enqueued a script containing "maps.google", an empty string will be returned, preventing that script loader tag from being rendered. Only the script with the handle wpgmza_api_call will be allowed through. This can be bound using the "prevent other plugins and theme loading maps API" setting.</p>
|
452 |
|
453 |
<td class="name"><div>
|
454 |
<a class="anchor" href="#_getSettingsHTML">#</a>
|
455 |
+
<code><a href="source-class-WPGMZA.GoogleMapsAPILoader.html#378-397" title="Go to source code">getSettingsHTML</a>( )</code>
|
456 |
|
457 |
<div class="description short">
|
458 |
<p>Gets the HTML for the settings panel for this module, which appears in the general settings tab.</p>
|
490 |
<td class="attributes"><code>string</code></td>
|
491 |
<td class="name">
|
492 |
<code>
|
493 |
+
<a href="source-class-WPGMZA.GoogleMapsAPILoader.html#16-19" title="Go to source code"><b>REMOVE_API_CHECKED</b></a>
|
494 |
</code>
|
495 |
|
496 |
<div class="description short">
|
518 |
<td class="attributes"><code>string</code></td>
|
519 |
<td class="name">
|
520 |
<code>
|
521 |
+
<a href="source-class-WPGMZA.GoogleMapsAPILoader.html#21-24" title="Go to source code"><b>USER_CONSENT_NOT_GIVEN</b></a>
|
522 |
</code>
|
523 |
|
524 |
<div class="description short">
|
546 |
<td class="attributes"><code>string</code></td>
|
547 |
<td class="name">
|
548 |
<code>
|
549 |
+
<a href="source-class-WPGMZA.GoogleMapsAPILoader.html#26-29" title="Go to source code"><b>ENGINE_NOT_GOOGLE_MAPS</b></a>
|
550 |
</code>
|
551 |
|
552 |
<div class="description short">
|
574 |
<td class="attributes"><code>string</code></td>
|
575 |
<td class="name">
|
576 |
<code>
|
577 |
+
<a href="source-class-WPGMZA.GoogleMapsAPILoader.html#31-34" title="Go to source code"><b>PAGE_EXPLICITLY_INCLUDED</b></a>
|
578 |
</code>
|
579 |
|
580 |
<div class="description short">
|
602 |
<td class="attributes"><code>string</code></td>
|
603 |
<td class="name">
|
604 |
<code>
|
605 |
+
<a href="source-class-WPGMZA.GoogleMapsAPILoader.html#36-39" title="Go to source code"><b>PAGE_EXPLICITLY_EXCLUDED</b></a>
|
606 |
</code>
|
607 |
|
608 |
<div class="description short">
|
630 |
<td class="attributes"><code>string</code></td>
|
631 |
<td class="name">
|
632 |
<code>
|
633 |
+
<a href="source-class-WPGMZA.GoogleMapsAPILoader.html#41-44" title="Go to source code"><b>NEVER_LOAD_API_SELECTED</b></a>
|
634 |
</code>
|
635 |
|
636 |
<div class="description short">
|
658 |
<td class="attributes"><code>string</code></td>
|
659 |
<td class="name">
|
660 |
<code>
|
661 |
+
<a href="source-class-WPGMZA.GoogleMapsAPILoader.html#46-49" title="Go to source code"><b>ONLY_LOAD_FRONT_END_SELECTED</b></a>
|
662 |
</code>
|
663 |
|
664 |
<div class="description short">
|
686 |
<td class="attributes"><code>string</code></td>
|
687 |
<td class="name">
|
688 |
<code>
|
689 |
+
<a href="source-class-WPGMZA.GoogleMapsAPILoader.html#51-54" title="Go to source code"><b>ONLY_LOAD_BACK_END_SELECTED</b></a>
|
690 |
</code>
|
691 |
|
692 |
<div class="description short">
|
714 |
<td class="attributes"><code>string</code></td>
|
715 |
<td class="name">
|
716 |
<code>
|
717 |
+
<a href="source-class-WPGMZA.GoogleMapsAPILoader.html#56-59" title="Go to source code"><b>ENQUEUED</b></a>
|
718 |
</code>
|
719 |
|
720 |
<div class="description short">
|
@@ -49,12 +49,18 @@
|
|
49 |
<div id="elements">
|
50 |
<h3>Classes</h3>
|
51 |
<ul>
|
|
|
|
|
52 |
<li><a href="class-WPGMZA.AutoLoader.html">AutoLoader</a></li>
|
53 |
<li><a href="class-WPGMZA.Crud.html">Crud</a></li>
|
|
|
|
|
|
|
54 |
<li><a href="class-WPGMZA.DOMDocument.html">DOMDocument</a></li>
|
55 |
<li><a href="class-WPGMZA.DOMElement.html">DOMElement</a></li>
|
56 |
<li><a href="class-WPGMZA.Factory.html">Factory</a></li>
|
57 |
<li><a href="class-WPGMZA.GDPRCompliance.html">GDPRCompliance</a></li>
|
|
|
58 |
<li><a href="class-WPGMZA.GoogleGeocoder.html">GoogleGeocoder</a></li>
|
59 |
<li><a href="class-WPGMZA.GoogleMap.html">GoogleMap</a></li>
|
60 |
<li><a href="class-WPGMZA.GoogleMapsAPILoader.html" class="deprecated">GoogleMapsAPILoader</a></li>
|
@@ -63,13 +69,18 @@
|
|
63 |
<li><a href="class-WPGMZA.Map.html">Map</a></li>
|
64 |
<li><a href="class-WPGMZA.MapsEngineDialog.html">MapsEngineDialog</a></li>
|
65 |
<li><a href="class-WPGMZA.Marker.html">Marker</a></li>
|
|
|
|
|
66 |
<li><a href="class-WPGMZA.ModalDialog.html">ModalDialog</a></li>
|
67 |
<li><a href="class-WPGMZA.NominatimGeocodeCache.html">NominatimGeocodeCache</a></li>
|
68 |
<li><a href="class-WPGMZA.OLLoader.html">OLLoader</a></li>
|
69 |
<li><a href="class-WPGMZA.Plugin.html">Plugin</a></li>
|
|
|
|
|
70 |
<li><a href="class-WPGMZA.RestAPI.html">RestAPI</a></li>
|
71 |
<li><a href="class-WPGMZA.ScriptLoader.html">ScriptLoader</a></li>
|
72 |
<li><a href="class-WPGMZA.Strings.html">Strings</a></li>
|
|
|
73 |
</ul>
|
74 |
|
75 |
|
@@ -79,7 +90,6 @@
|
|
79 |
<h3>Functions</h3>
|
80 |
<ul>
|
81 |
<li><a href="function-WPGMZA.create_marker_instance_delegate.html">create_marker_instance_delegate</a></li>
|
82 |
-
<li><a href="function-WPGMZA.create_plugin_instance.html" class="deprecated">create_plugin_instance</a></li>
|
83 |
<li><a href="function-WPGMZA.query_nominatim_cache.html" class="deprecated">query_nominatim_cache</a></li>
|
84 |
<li><a href="function-WPGMZA.store_nominatim_cache.html" class="deprecated">store_nominatim_cache</a></li>
|
85 |
</ul>
|
49 |
<div id="elements">
|
50 |
<h3>Classes</h3>
|
51 |
<ul>
|
52 |
+
<li><a href="class-WPGMZA.AdminMarkerDataTable.html">AdminMarkerDataTable</a></li>
|
53 |
+
<li><a href="class-WPGMZA.AjaxTable.html">AjaxTable</a></li>
|
54 |
<li><a href="class-WPGMZA.AutoLoader.html">AutoLoader</a></li>
|
55 |
<li><a href="class-WPGMZA.Crud.html">Crud</a></li>
|
56 |
+
<li><a href="class-WPGMZA.Database.html">Database</a></li>
|
57 |
+
<li><a href="class-WPGMZA.DataTable.html">DataTable</a></li>
|
58 |
+
<li><a href="class-WPGMZA.Distance.html">Distance</a></li>
|
59 |
<li><a href="class-WPGMZA.DOMDocument.html">DOMDocument</a></li>
|
60 |
<li><a href="class-WPGMZA.DOMElement.html">DOMElement</a></li>
|
61 |
<li><a href="class-WPGMZA.Factory.html">Factory</a></li>
|
62 |
<li><a href="class-WPGMZA.GDPRCompliance.html">GDPRCompliance</a></li>
|
63 |
+
<li><a href="class-WPGMZA.GlobalSettings.html">GlobalSettings</a></li>
|
64 |
<li><a href="class-WPGMZA.GoogleGeocoder.html">GoogleGeocoder</a></li>
|
65 |
<li><a href="class-WPGMZA.GoogleMap.html">GoogleMap</a></li>
|
66 |
<li><a href="class-WPGMZA.GoogleMapsAPILoader.html" class="deprecated">GoogleMapsAPILoader</a></li>
|
69 |
<li><a href="class-WPGMZA.Map.html">Map</a></li>
|
70 |
<li><a href="class-WPGMZA.MapsEngineDialog.html">MapsEngineDialog</a></li>
|
71 |
<li><a href="class-WPGMZA.Marker.html">Marker</a></li>
|
72 |
+
<li><a href="class-WPGMZA.MarkerDataTable.html">MarkerDataTable</a></li>
|
73 |
+
<li><a href="class-WPGMZA.MarkerFilter.html">MarkerFilter</a></li>
|
74 |
<li><a href="class-WPGMZA.ModalDialog.html">ModalDialog</a></li>
|
75 |
<li><a href="class-WPGMZA.NominatimGeocodeCache.html">NominatimGeocodeCache</a></li>
|
76 |
<li><a href="class-WPGMZA.OLLoader.html">OLLoader</a></li>
|
77 |
<li><a href="class-WPGMZA.Plugin.html">Plugin</a></li>
|
78 |
+
<li><a href="class-WPGMZA.Query.html">Query</a></li>
|
79 |
+
<li><a href="class-WPGMZA.QueryFragment.html">QueryFragment</a></li>
|
80 |
<li><a href="class-WPGMZA.RestAPI.html">RestAPI</a></li>
|
81 |
<li><a href="class-WPGMZA.ScriptLoader.html">ScriptLoader</a></li>
|
82 |
<li><a href="class-WPGMZA.Strings.html">Strings</a></li>
|
83 |
+
<li><a href="class-WPGMZA.Table.html">Table</a></li>
|
84 |
</ul>
|
85 |
|
86 |
|
90 |
<h3>Functions</h3>
|
91 |
<ul>
|
92 |
<li><a href="function-WPGMZA.create_marker_instance_delegate.html">create_marker_instance_delegate</a></li>
|
|
|
93 |
<li><a href="function-WPGMZA.query_nominatim_cache.html" class="deprecated">query_nominatim_cache</a></li>
|
94 |
<li><a href="function-WPGMZA.store_nominatim_cache.html" class="deprecated">store_nominatim_cache</a></li>
|
95 |
</ul>
|
@@ -124,7 +124,7 @@
|
|
124 |
<b>Namespace:</b> <a href="namespace-WPGMZA.html">WPGMZA</a>\<a href="namespace-WPGMZA.Integration.html">Integration</a><br>
|
125 |
|
126 |
|
127 |
-
<b>Located at</b> <a href="source-class-WPGMZA.Integration.Gutenberg.html#5-
|
128 |
<br>
|
129 |
</div>
|
130 |
|
@@ -144,7 +144,7 @@
|
|
144 |
|
145 |
<td class="name"><div>
|
146 |
<a class="anchor" href="#___construct">#</a>
|
147 |
-
<code><a href="source-class-WPGMZA.Integration.Gutenberg.html#10-
|
148 |
|
149 |
<div class="description short">
|
150 |
<p>Constructor.</p>
|
@@ -174,7 +174,7 @@
|
|
174 |
|
175 |
<td class="name"><div>
|
176 |
<a class="anchor" href="#_onEnqueueBlockAssets">#</a>
|
177 |
-
<code><a href="source-class-WPGMZA.Integration.Gutenberg.html#
|
178 |
|
179 |
<div class="description short">
|
180 |
<p>Enqueues assets to be used with the Gutenberg editor</p>
|
@@ -204,7 +204,7 @@
|
|
204 |
|
205 |
<td class="name"><div>
|
206 |
<a class="anchor" href="#_onInit">#</a>
|
207 |
-
<code><a href="source-class-WPGMZA.Integration.Gutenberg.html#
|
208 |
|
209 |
<div class="description short">
|
210 |
<p>Called on the WordPress init action. This function strips out JS module generated by the babel compiler, for browser compatibility.</p>
|
@@ -234,7 +234,7 @@
|
|
234 |
|
235 |
<td class="name"><div>
|
236 |
<a class="anchor" href="#_onRender">#</a>
|
237 |
-
<code><a href="source-class-WPGMZA.Integration.Gutenberg.html#
|
238 |
|
239 |
<div class="description short">
|
240 |
<p>Called to render the plugins Gutenberg block front end.</p>
|
124 |
<b>Namespace:</b> <a href="namespace-WPGMZA.html">WPGMZA</a>\<a href="namespace-WPGMZA.Integration.html">Integration</a><br>
|
125 |
|
126 |
|
127 |
+
<b>Located at</b> <a href="source-class-WPGMZA.Integration.Gutenberg.html#5-104" title="Go to source code">3rd-party-integration/class.gutenberg.php</a>
|
128 |
<br>
|
129 |
</div>
|
130 |
|
144 |
|
145 |
<td class="name"><div>
|
146 |
<a class="anchor" href="#___construct">#</a>
|
147 |
+
<code><a href="source-class-WPGMZA.Integration.Gutenberg.html#10-36" title="Go to source code">__construct</a>( )</code>
|
148 |
|
149 |
<div class="description short">
|
150 |
<p>Constructor.</p>
|
174 |
|
175 |
<td class="name"><div>
|
176 |
<a class="anchor" href="#_onEnqueueBlockAssets">#</a>
|
177 |
+
<code><a href="source-class-WPGMZA.Integration.Gutenberg.html#38-56" title="Go to source code">onEnqueueBlockAssets</a>( )</code>
|
178 |
|
179 |
<div class="description short">
|
180 |
<p>Enqueues assets to be used with the Gutenberg editor</p>
|
204 |
|
205 |
<td class="name"><div>
|
206 |
<a class="anchor" href="#_onInit">#</a>
|
207 |
+
<code><a href="source-class-WPGMZA.Integration.Gutenberg.html#58-83" title="Go to source code">onInit</a>( )</code>
|
208 |
|
209 |
<div class="description short">
|
210 |
<p>Called on the WordPress init action. This function strips out JS module generated by the babel compiler, for browser compatibility.</p>
|
234 |
|
235 |
<td class="name"><div>
|
236 |
<a class="anchor" href="#_onRender">#</a>
|
237 |
+
<code><a href="source-class-WPGMZA.Integration.Gutenberg.html#85-103" title="Go to source code">onRender</a>( <span>mixed[] <var>$attr</var></span> )</code>
|
238 |
|
239 |
<div class="description short">
|
240 |
<p>Called to render the plugins Gutenberg block front end.</p>
|
@@ -110,7 +110,7 @@
|
|
110 |
<b>Namespace:</b> <a href="namespace-WPGMZA.html">WPGMZA</a>\<a href="namespace-WPGMZA.Integration.html">Integration</a><br>
|
111 |
|
112 |
|
113 |
-
<b>Located at</b> <a href="source-class-WPGMZA.Integration.WPMigrateDB.html#7-
|
114 |
<br>
|
115 |
</div>
|
116 |
|
@@ -130,7 +130,7 @@
|
|
130 |
|
131 |
<td class="name"><div>
|
132 |
<a class="anchor" href="#___construct">#</a>
|
133 |
-
<code><a href="source-class-WPGMZA.Integration.WPMigrateDB.html#12-
|
134 |
|
135 |
<div class="description short">
|
136 |
<p>Constructor</p>
|
@@ -145,6 +145,36 @@
|
|
145 |
|
146 |
|
147 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
148 |
</div>
|
149 |
</div></td>
|
150 |
</tr>
|
@@ -160,7 +190,7 @@
|
|
160 |
|
161 |
<td class="name"><div>
|
162 |
<a class="anchor" href="#_onProcessColumnAsBinary">#</a>
|
163 |
-
<code><a href="source-class-WPGMZA.Integration.WPMigrateDB.html#
|
164 |
|
165 |
<div class="description short">
|
166 |
<p>Called by WP Migrate DBs wpmdb_process_column_as_binary filter. If the specified column is a spatial column, indicate that this is binary data. WP Migrate DB will convert it to hex and wrap it with an UNHEX call in their exported data.</p>
|
110 |
<b>Namespace:</b> <a href="namespace-WPGMZA.html">WPGMZA</a>\<a href="namespace-WPGMZA.Integration.html">Integration</a><br>
|
111 |
|
112 |
|
113 |
+
<b>Located at</b> <a href="source-class-WPGMZA.Integration.WPMigrateDB.html#7-39" title="Go to source code">3rd-party-integration/class.wp-migrate-db-integration.php</a>
|
114 |
<br>
|
115 |
</div>
|
116 |
|
130 |
|
131 |
<td class="name"><div>
|
132 |
<a class="anchor" href="#___construct">#</a>
|
133 |
+
<code><a href="source-class-WPGMZA.Integration.WPMigrateDB.html#12-19" title="Go to source code">__construct</a>( )</code>
|
134 |
|
135 |
<div class="description short">
|
136 |
<p>Constructor</p>
|
145 |
|
146 |
|
147 |
|
148 |
+
</div>
|
149 |
+
</div></td>
|
150 |
+
</tr>
|
151 |
+
<tr data-order="onCompatibilityPluginWhitelist" id="_onCompatibilityPluginWhitelist">
|
152 |
+
|
153 |
+
<td class="attributes"><code>
|
154 |
+
public
|
155 |
+
|
156 |
+
|
157 |
+
|
158 |
+
</code>
|
159 |
+
</td>
|
160 |
+
|
161 |
+
<td class="name"><div>
|
162 |
+
<a class="anchor" href="#_onCompatibilityPluginWhitelist">#</a>
|
163 |
+
<code><a href="source-class-WPGMZA.Integration.WPMigrateDB.html#21-26" title="Go to source code">onCompatibilityPluginWhitelist</a>( <span> <var>$plugins</var></span> )</code>
|
164 |
+
|
165 |
+
<div class="description short">
|
166 |
+
|
167 |
+
</div>
|
168 |
+
|
169 |
+
<div class="description detailed hidden">
|
170 |
+
|
171 |
+
|
172 |
+
|
173 |
+
|
174 |
+
|
175 |
+
|
176 |
+
|
177 |
+
|
178 |
</div>
|
179 |
</div></td>
|
180 |
</tr>
|
190 |
|
191 |
<td class="name"><div>
|
192 |
<a class="anchor" href="#_onProcessColumnAsBinary">#</a>
|
193 |
+
<code><a href="source-class-WPGMZA.Integration.WPMigrateDB.html#28-38" title="Go to source code">onProcessColumnAsBinary</a>( <span> <var>$processAsBinary</var></span>, <span> <var>$struct</var></span> )</code>
|
194 |
|
195 |
<div class="description short">
|
196 |
<p>Called by WP Migrate DBs wpmdb_process_column_as_binary filter. If the specified column is a spatial column, indicate that this is binary data. WP Migrate DB will convert it to hex and wrap it with an UNHEX call in their exported data.</p>
|
@@ -49,12 +49,18 @@
|
|
49 |
<div id="elements">
|
50 |
<h3>Classes</h3>
|
51 |
<ul>
|
|
|
|
|
52 |
<li><a href="class-WPGMZA.AutoLoader.html">AutoLoader</a></li>
|
53 |
<li><a href="class-WPGMZA.Crud.html">Crud</a></li>
|
|
|
|
|
|
|
54 |
<li><a href="class-WPGMZA.DOMDocument.html">DOMDocument</a></li>
|
55 |
<li><a href="class-WPGMZA.DOMElement.html">DOMElement</a></li>
|
56 |
<li><a href="class-WPGMZA.Factory.html">Factory</a></li>
|
57 |
<li><a href="class-WPGMZA.GDPRCompliance.html">GDPRCompliance</a></li>
|
|
|
58 |
<li><a href="class-WPGMZA.GoogleGeocoder.html">GoogleGeocoder</a></li>
|
59 |
<li><a href="class-WPGMZA.GoogleMap.html">GoogleMap</a></li>
|
60 |
<li><a href="class-WPGMZA.GoogleMapsAPILoader.html" class="deprecated">GoogleMapsAPILoader</a></li>
|
@@ -63,13 +69,18 @@
|
|
63 |
<li><a href="class-WPGMZA.Map.html">Map</a></li>
|
64 |
<li><a href="class-WPGMZA.MapsEngineDialog.html">MapsEngineDialog</a></li>
|
65 |
<li><a href="class-WPGMZA.Marker.html">Marker</a></li>
|
|
|
|
|
66 |
<li><a href="class-WPGMZA.ModalDialog.html">ModalDialog</a></li>
|
67 |
<li><a href="class-WPGMZA.NominatimGeocodeCache.html">NominatimGeocodeCache</a></li>
|
68 |
<li><a href="class-WPGMZA.OLLoader.html">OLLoader</a></li>
|
69 |
<li><a href="class-WPGMZA.Plugin.html">Plugin</a></li>
|
|
|
|
|
70 |
<li><a href="class-WPGMZA.RestAPI.html">RestAPI</a></li>
|
71 |
<li><a href="class-WPGMZA.ScriptLoader.html">ScriptLoader</a></li>
|
72 |
<li><a href="class-WPGMZA.Strings.html">Strings</a></li>
|
|
|
73 |
</ul>
|
74 |
|
75 |
|
@@ -79,7 +90,6 @@
|
|
79 |
<h3>Functions</h3>
|
80 |
<ul>
|
81 |
<li><a href="function-WPGMZA.create_marker_instance_delegate.html">create_marker_instance_delegate</a></li>
|
82 |
-
<li><a href="function-WPGMZA.create_plugin_instance.html" class="deprecated">create_plugin_instance</a></li>
|
83 |
<li><a href="function-WPGMZA.query_nominatim_cache.html" class="deprecated">query_nominatim_cache</a></li>
|
84 |
<li><a href="function-WPGMZA.store_nominatim_cache.html" class="deprecated">store_nominatim_cache</a></li>
|
85 |
</ul>
|
49 |
<div id="elements">
|
50 |
<h3>Classes</h3>
|
51 |
<ul>
|
52 |
+
<li><a href="class-WPGMZA.AdminMarkerDataTable.html">AdminMarkerDataTable</a></li>
|
53 |
+
<li><a href="class-WPGMZA.AjaxTable.html">AjaxTable</a></li>
|
54 |
<li><a href="class-WPGMZA.AutoLoader.html">AutoLoader</a></li>
|
55 |
<li><a href="class-WPGMZA.Crud.html">Crud</a></li>
|
56 |
+
<li><a href="class-WPGMZA.Database.html">Database</a></li>
|
57 |
+
<li><a href="class-WPGMZA.DataTable.html">DataTable</a></li>
|
58 |
+
<li><a href="class-WPGMZA.Distance.html">Distance</a></li>
|
59 |
<li><a href="class-WPGMZA.DOMDocument.html">DOMDocument</a></li>
|
60 |
<li><a href="class-WPGMZA.DOMElement.html">DOMElement</a></li>
|
61 |
<li><a href="class-WPGMZA.Factory.html">Factory</a></li>
|
62 |
<li><a href="class-WPGMZA.GDPRCompliance.html">GDPRCompliance</a></li>
|
63 |
+
<li><a href="class-WPGMZA.GlobalSettings.html">GlobalSettings</a></li>
|
64 |
<li><a href="class-WPGMZA.GoogleGeocoder.html">GoogleGeocoder</a></li>
|
65 |
<li><a href="class-WPGMZA.GoogleMap.html">GoogleMap</a></li>
|
66 |
<li><a href="class-WPGMZA.GoogleMapsAPILoader.html" class="deprecated">GoogleMapsAPILoader</a></li>
|
69 |
<li><a href="class-WPGMZA.Map.html">Map</a></li>
|
70 |
<li><a href="class-WPGMZA.MapsEngineDialog.html">MapsEngineDialog</a></li>
|
71 |
<li><a href="class-WPGMZA.Marker.html">Marker</a></li>
|
72 |
+
<li><a href="class-WPGMZA.MarkerDataTable.html">MarkerDataTable</a></li>
|
73 |
+
<li><a href="class-WPGMZA.MarkerFilter.html">MarkerFilter</a></li>
|
74 |
<li><a href="class-WPGMZA.ModalDialog.html">ModalDialog</a></li>
|
75 |
<li><a href="class-WPGMZA.NominatimGeocodeCache.html">NominatimGeocodeCache</a></li>
|
76 |
<li><a href="class-WPGMZA.OLLoader.html">OLLoader</a></li>
|
77 |
<li><a href="class-WPGMZA.Plugin.html">Plugin</a></li>
|
78 |
+
<li><a href="class-WPGMZA.Query.html">Query</a></li>
|
79 |
+
<li><a href="class-WPGMZA.QueryFragment.html">QueryFragment</a></li>
|
80 |
<li><a href="class-WPGMZA.RestAPI.html">RestAPI</a></li>
|
81 |
<li><a href="class-WPGMZA.ScriptLoader.html">ScriptLoader</a></li>
|
82 |
<li><a href="class-WPGMZA.Strings.html">Strings</a></li>
|
83 |
+
<li><a href="class-WPGMZA.Table.html">Table</a></li>
|
84 |
</ul>
|
85 |
|
86 |
|
90 |
<h3>Functions</h3>
|
91 |
<ul>
|
92 |
<li><a href="function-WPGMZA.create_marker_instance_delegate.html">create_marker_instance_delegate</a></li>
|
|
|
93 |
<li><a href="function-WPGMZA.query_nominatim_cache.html" class="deprecated">query_nominatim_cache</a></li>
|
94 |
<li><a href="function-WPGMZA.store_nominatim_cache.html" class="deprecated">store_nominatim_cache</a></li>
|
95 |
</ul>
|
@@ -49,12 +49,18 @@
|
|
49 |
<div id="elements">
|
50 |
<h3>Classes</h3>
|
51 |
<ul>
|
|
|
|
|
52 |
<li><a href="class-WPGMZA.AutoLoader.html">AutoLoader</a></li>
|
53 |
<li><a href="class-WPGMZA.Crud.html">Crud</a></li>
|
|
|
|
|
|
|
54 |
<li><a href="class-WPGMZA.DOMDocument.html">DOMDocument</a></li>
|
55 |
<li><a href="class-WPGMZA.DOMElement.html">DOMElement</a></li>
|
56 |
<li><a href="class-WPGMZA.Factory.html">Factory</a></li>
|
57 |
<li><a href="class-WPGMZA.GDPRCompliance.html">GDPRCompliance</a></li>
|
|
|
58 |
<li><a href="class-WPGMZA.GoogleGeocoder.html">GoogleGeocoder</a></li>
|
59 |
<li><a href="class-WPGMZA.GoogleMap.html">GoogleMap</a></li>
|
60 |
<li><a href="class-WPGMZA.GoogleMapsAPILoader.html" class="deprecated">GoogleMapsAPILoader</a></li>
|
@@ -63,13 +69,18 @@
|
|
63 |
<li class="active"><a href="class-WPGMZA.Map.html">Map</a></li>
|
64 |
<li><a href="class-WPGMZA.MapsEngineDialog.html">MapsEngineDialog</a></li>
|
65 |
<li><a href="class-WPGMZA.Marker.html">Marker</a></li>
|
|
|
|
|
66 |
<li><a href="class-WPGMZA.ModalDialog.html">ModalDialog</a></li>
|
67 |
<li><a href="class-WPGMZA.NominatimGeocodeCache.html">NominatimGeocodeCache</a></li>
|
68 |
<li><a href="class-WPGMZA.OLLoader.html">OLLoader</a></li>
|
69 |
<li><a href="class-WPGMZA.Plugin.html">Plugin</a></li>
|
|
|
|
|
70 |
<li><a href="class-WPGMZA.RestAPI.html">RestAPI</a></li>
|
71 |
<li><a href="class-WPGMZA.ScriptLoader.html">ScriptLoader</a></li>
|
72 |
<li><a href="class-WPGMZA.Strings.html">Strings</a></li>
|
|
|
73 |
</ul>
|
74 |
|
75 |
|
@@ -79,7 +90,6 @@
|
|
79 |
<h3>Functions</h3>
|
80 |
<ul>
|
81 |
<li><a href="function-WPGMZA.create_marker_instance_delegate.html">create_marker_instance_delegate</a></li>
|
82 |
-
<li><a href="function-WPGMZA.create_plugin_instance.html" class="deprecated">create_plugin_instance</a></li>
|
83 |
<li><a href="function-WPGMZA.query_nominatim_cache.html" class="deprecated">query_nominatim_cache</a></li>
|
84 |
<li><a href="function-WPGMZA.store_nominatim_cache.html" class="deprecated">store_nominatim_cache</a></li>
|
85 |
</ul>
|
@@ -124,6 +134,13 @@
|
|
124 |
|
125 |
<dl class="tree">
|
126 |
<dd style="padding-left:0px">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
127 |
<a href="class-WPGMZA.Crud.html"><span>WPGMZA\Crud</span></a>
|
128 |
|
129 |
implements
|
@@ -133,7 +150,7 @@
|
|
133 |
|
134 |
|
135 |
</dd>
|
136 |
-
<dd style="padding-left:
|
137 |
<img src="resources/inherit.png" alt="Extended by">
|
138 |
<b><span>WPGMZA\Map</span></b>
|
139 |
|
@@ -158,7 +175,7 @@
|
|
158 |
<b>Namespace:</b> <a href="namespace-WPGMZA.html">WPGMZA</a><br>
|
159 |
|
160 |
|
161 |
-
<b>Located at</b> <a href="source-class-WPGMZA.Map.html#7-
|
162 |
<br>
|
163 |
</div>
|
164 |
|
@@ -203,6 +220,50 @@
|
|
203 |
</div>
|
204 |
</div></td>
|
205 |
</tr>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
206 |
<tr data-order="create_instance" id="_create_instance" class="deprecated">
|
207 |
|
208 |
<td class="attributes"><code>
|
@@ -215,7 +276,7 @@
|
|
215 |
|
216 |
<td class="name"><div>
|
217 |
<a class="anchor" href="#_create_instance">#</a>
|
218 |
-
<code><a href="source-class-WPGMZA.Map.html#
|
219 |
|
220 |
<div class="description short">
|
221 |
<p>Deprecated. The Factory class will takeover here</p>
|
@@ -248,7 +309,7 @@
|
|
248 |
|
249 |
<td class="name"><div>
|
250 |
<a class="anchor" href="#_get_arbitrary_data_column_name">#</a>
|
251 |
-
<code><a href="source-class-WPGMZA.Map.html#
|
252 |
|
253 |
<div class="description short">
|
254 |
<p>Returns the name of the column used to store arbitrary data, which is "other_settings" on the map table.</p>
|
@@ -278,7 +339,6 @@
|
|
278 |
<caption>Methods inherited from <a href="class-WPGMZA.Crud.html#methods">WPGMZA\Crud</a></caption>
|
279 |
<tr>
|
280 |
<td><code>
|
281 |
-
<a href="class-WPGMZA.Crud.html#___get">__get()</a>,
|
282 |
<a href="class-WPGMZA.Crud.html#___isset">__isset()</a>,
|
283 |
<a href="class-WPGMZA.Crud.html#___set">__set()</a>,
|
284 |
<a href="class-WPGMZA.Crud.html#___unset">__unset()</a>,
|
@@ -307,6 +367,14 @@
|
|
307 |
</code></td>
|
308 |
</tr>
|
309 |
</table>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
310 |
|
311 |
|
312 |
|
49 |
<div id="elements">
|
50 |
<h3>Classes</h3>
|
51 |
<ul>
|
52 |
+
<li><a href="class-WPGMZA.AdminMarkerDataTable.html">AdminMarkerDataTable</a></li>
|
53 |
+
<li><a href="class-WPGMZA.AjaxTable.html">AjaxTable</a></li>
|
54 |
<li><a href="class-WPGMZA.AutoLoader.html">AutoLoader</a></li>
|
55 |
<li><a href="class-WPGMZA.Crud.html">Crud</a></li>
|
56 |
+
<li><a href="class-WPGMZA.Database.html">Database</a></li>
|
57 |
+
<li><a href="class-WPGMZA.DataTable.html">DataTable</a></li>
|
58 |
+
<li><a href="class-WPGMZA.Distance.html">Distance</a></li>
|
59 |
<li><a href="class-WPGMZA.DOMDocument.html">DOMDocument</a></li>
|
60 |
<li><a href="class-WPGMZA.DOMElement.html">DOMElement</a></li>
|
61 |
<li><a href="class-WPGMZA.Factory.html">Factory</a></li>
|
62 |
<li><a href="class-WPGMZA.GDPRCompliance.html">GDPRCompliance</a></li>
|
63 |
+
<li><a href="class-WPGMZA.GlobalSettings.html">GlobalSettings</a></li>
|
64 |
<li><a href="class-WPGMZA.GoogleGeocoder.html">GoogleGeocoder</a></li>
|
65 |
<li><a href="class-WPGMZA.GoogleMap.html">GoogleMap</a></li>
|
66 |
<li><a href="class-WPGMZA.GoogleMapsAPILoader.html" class="deprecated">GoogleMapsAPILoader</a></li>
|
69 |
<li class="active"><a href="class-WPGMZA.Map.html">Map</a></li>
|
70 |
<li><a href="class-WPGMZA.MapsEngineDialog.html">MapsEngineDialog</a></li>
|
71 |
<li><a href="class-WPGMZA.Marker.html">Marker</a></li>
|
72 |
+
<li><a href="class-WPGMZA.MarkerDataTable.html">MarkerDataTable</a></li>
|
73 |
+
<li><a href="class-WPGMZA.MarkerFilter.html">MarkerFilter</a></li>
|
74 |
<li><a href="class-WPGMZA.ModalDialog.html">ModalDialog</a></li>
|
75 |
<li><a href="class-WPGMZA.NominatimGeocodeCache.html">NominatimGeocodeCache</a></li>
|
76 |
<li><a href="class-WPGMZA.OLLoader.html">OLLoader</a></li>
|
77 |
<li><a href="class-WPGMZA.Plugin.html">Plugin</a></li>
|
78 |
+
<li><a href="class-WPGMZA.Query.html">Query</a></li>
|
79 |
+
<li><a href="class-WPGMZA.QueryFragment.html">QueryFragment</a></li>
|
80 |
<li><a href="class-WPGMZA.RestAPI.html">RestAPI</a></li>
|
81 |
<li><a href="class-WPGMZA.ScriptLoader.html">ScriptLoader</a></li>
|
82 |
<li><a href="class-WPGMZA.Strings.html">Strings</a></li>
|
83 |
+
<li><a href="class-WPGMZA.Table.html">Table</a></li>
|
84 |
</ul>
|
85 |
|
86 |
|
90 |
<h3>Functions</h3>
|
91 |
<ul>
|
92 |
<li><a href="function-WPGMZA.create_marker_instance_delegate.html">create_marker_instance_delegate</a></li>
|
|
|
93 |
<li><a href="function-WPGMZA.query_nominatim_cache.html" class="deprecated">query_nominatim_cache</a></li>
|
94 |
<li><a href="function-WPGMZA.store_nominatim_cache.html" class="deprecated">store_nominatim_cache</a></li>
|
95 |
</ul>
|
134 |
|
135 |
<dl class="tree">
|
136 |
<dd style="padding-left:0px">
|
137 |
+
<a href="class-WPGMZA.Factory.html"><span>WPGMZA\Factory</span></a>
|
138 |
+
|
139 |
+
|
140 |
+
|
141 |
+
</dd>
|
142 |
+
<dd style="padding-left:30px">
|
143 |
+
<img src="resources/inherit.png" alt="Extended by">
|
144 |
<a href="class-WPGMZA.Crud.html"><span>WPGMZA\Crud</span></a>
|
145 |
|
146 |
implements
|
150 |
|
151 |
|
152 |
</dd>
|
153 |
+
<dd style="padding-left:60px">
|
154 |
<img src="resources/inherit.png" alt="Extended by">
|
155 |
<b><span>WPGMZA\Map</span></b>
|
156 |
|
175 |
<b>Namespace:</b> <a href="namespace-WPGMZA.html">WPGMZA</a><br>
|
176 |
|
177 |
|
178 |
+
<b>Located at</b> <a href="source-class-WPGMZA.Map.html#7-55" title="Go to source code">class.map.php</a>
|
179 |
<br>
|
180 |
</div>
|
181 |
|
220 |
</div>
|
221 |
</div></td>
|
222 |
</tr>
|
223 |
+
<tr data-order="__get" id="___get">
|
224 |
+
|
225 |
+
<td class="attributes"><code>
|
226 |
+
public
|
227 |
+
|
228 |
+
mixed
|
229 |
+
|
230 |
+
</code>
|
231 |
+
</td>
|
232 |
+
|
233 |
+
<td class="name"><div>
|
234 |
+
<a class="anchor" href="#___get">#</a>
|
235 |
+
<code><a href="source-class-WPGMZA.Map.html#23-36" title="Go to source code">__get</a>( <span> <var>$name</var></span> )</code>
|
236 |
+
|
237 |
+
<div class="description short">
|
238 |
+
<p>Magic method to get map object fields</p>
|
239 |
+
</div>
|
240 |
+
|
241 |
+
<div class="description detailed hidden">
|
242 |
+
<p>Magic method to get map object fields</p>
|
243 |
+
|
244 |
+
|
245 |
+
|
246 |
+
<h4>Returns</h4>
|
247 |
+
<div class="list">
|
248 |
+
mixed
|
249 |
+
</div>
|
250 |
+
|
251 |
+
<h4>Throws</h4>
|
252 |
+
<div class="list">
|
253 |
+
Exception<br>The object has been trashed
|
254 |
+
</div>
|
255 |
+
|
256 |
+
<h4>Params</h4>
|
257 |
+
<div class="list">
|
258 |
+
string $name The name of the property to read<br>
|
259 |
+
</div>
|
260 |
+
|
261 |
+
<h4>Overrides</h4>
|
262 |
+
<div class="list"><code><a href="class-WPGMZA.Crud.html#___get">WPGMZA\Crud::__get()</a></code></div>
|
263 |
+
|
264 |
+
</div>
|
265 |
+
</div></td>
|
266 |
+
</tr>
|
267 |
<tr data-order="create_instance" id="_create_instance" class="deprecated">
|
268 |
|
269 |
<td class="attributes"><code>
|
276 |
|
277 |
<td class="name"><div>
|
278 |
<a class="anchor" href="#_create_instance">#</a>
|
279 |
+
<code><a href="source-class-WPGMZA.Map.html#38-45" title="Go to source code">create_instance</a>( <span> <var>$id_or_fields</var> = -<span class="php-num">1</span></span> )</code>
|
280 |
|
281 |
<div class="description short">
|
282 |
<p>Deprecated. The Factory class will takeover here</p>
|
309 |
|
310 |
<td class="name"><div>
|
311 |
<a class="anchor" href="#_get_arbitrary_data_column_name">#</a>
|
312 |
+
<code><a href="source-class-WPGMZA.Map.html#47-54" title="Go to source code">get_arbitrary_data_column_name</a>( )</code>
|
313 |
|
314 |
<div class="description short">
|
315 |
<p>Returns the name of the column used to store arbitrary data, which is "other_settings" on the map table.</p>
|
339 |
<caption>Methods inherited from <a href="class-WPGMZA.Crud.html#methods">WPGMZA\Crud</a></caption>
|
340 |
<tr>
|
341 |
<td><code>
|
|
|
342 |
<a href="class-WPGMZA.Crud.html#___isset">__isset()</a>,
|
343 |
<a href="class-WPGMZA.Crud.html#___set">__set()</a>,
|
344 |
<a href="class-WPGMZA.Crud.html#___unset">__unset()</a>,
|
367 |
</code></td>
|
368 |
</tr>
|
369 |
</table>
|
370 |
+
<table class="summary inherited">
|
371 |
+
<caption>Methods inherited from <a href="class-WPGMZA.Factory.html#methods">WPGMZA\Factory</a></caption>
|
372 |
+
<tr>
|
373 |
+
<td><code>
|
374 |
+
<a href="class-WPGMZA.Factory.html#_createInstance">createInstance()</a>
|
375 |
+
</code></td>
|
376 |
+
</tr>
|
377 |
+
</table>
|
378 |
|
379 |
|
380 |
|
@@ -49,12 +49,18 @@
|
|
49 |
<div id="elements">
|
50 |
<h3>Classes</h3>
|
51 |
<ul>
|
|
|
|
|
52 |
<li><a href="class-WPGMZA.AutoLoader.html">AutoLoader</a></li>
|
53 |
<li><a href="class-WPGMZA.Crud.html">Crud</a></li>
|
|
|
|
|
|
|
54 |
<li><a href="class-WPGMZA.DOMDocument.html">DOMDocument</a></li>
|
55 |
<li><a href="class-WPGMZA.DOMElement.html">DOMElement</a></li>
|
56 |
<li><a href="class-WPGMZA.Factory.html">Factory</a></li>
|
57 |
<li><a href="class-WPGMZA.GDPRCompliance.html">GDPRCompliance</a></li>
|
|
|
58 |
<li><a href="class-WPGMZA.GoogleGeocoder.html">GoogleGeocoder</a></li>
|
59 |
<li><a href="class-WPGMZA.GoogleMap.html">GoogleMap</a></li>
|
60 |
<li><a href="class-WPGMZA.GoogleMapsAPILoader.html" class="deprecated">GoogleMapsAPILoader</a></li>
|
@@ -63,13 +69,18 @@
|
|
63 |
<li><a href="class-WPGMZA.Map.html">Map</a></li>
|
64 |
<li class="active"><a href="class-WPGMZA.MapsEngineDialog.html">MapsEngineDialog</a></li>
|
65 |
<li><a href="class-WPGMZA.Marker.html">Marker</a></li>
|
|
|
|
|
66 |
<li><a href="class-WPGMZA.ModalDialog.html">ModalDialog</a></li>
|
67 |
<li><a href="class-WPGMZA.NominatimGeocodeCache.html">NominatimGeocodeCache</a></li>
|
68 |
<li><a href="class-WPGMZA.OLLoader.html">OLLoader</a></li>
|
69 |
<li><a href="class-WPGMZA.Plugin.html">Plugin</a></li>
|
|
|
|
|
70 |
<li><a href="class-WPGMZA.RestAPI.html">RestAPI</a></li>
|
71 |
<li><a href="class-WPGMZA.ScriptLoader.html">ScriptLoader</a></li>
|
72 |
<li><a href="class-WPGMZA.Strings.html">Strings</a></li>
|
|
|
73 |
</ul>
|
74 |
|
75 |
|
@@ -79,7 +90,6 @@
|
|
79 |
<h3>Functions</h3>
|
80 |
<ul>
|
81 |
<li><a href="function-WPGMZA.create_marker_instance_delegate.html">create_marker_instance_delegate</a></li>
|
82 |
-
<li><a href="function-WPGMZA.create_plugin_instance.html" class="deprecated">create_plugin_instance</a></li>
|
83 |
<li><a href="function-WPGMZA.query_nominatim_cache.html" class="deprecated">query_nominatim_cache</a></li>
|
84 |
<li><a href="function-WPGMZA.store_nominatim_cache.html" class="deprecated">store_nominatim_cache</a></li>
|
85 |
</ul>
|
49 |
<div id="elements">
|
50 |
<h3>Classes</h3>
|
51 |
<ul>
|
52 |
+
<li><a href="class-WPGMZA.AdminMarkerDataTable.html">AdminMarkerDataTable</a></li>
|
53 |
+
<li><a href="class-WPGMZA.AjaxTable.html">AjaxTable</a></li>
|
54 |
<li><a href="class-WPGMZA.AutoLoader.html">AutoLoader</a></li>
|
55 |
<li><a href="class-WPGMZA.Crud.html">Crud</a></li>
|
56 |
+
<li><a href="class-WPGMZA.Database.html">Database</a></li>
|
57 |
+
<li><a href="class-WPGMZA.DataTable.html">DataTable</a></li>
|
58 |
+
<li><a href="class-WPGMZA.Distance.html">Distance</a></li>
|
59 |
<li><a href="class-WPGMZA.DOMDocument.html">DOMDocument</a></li>
|
60 |
<li><a href="class-WPGMZA.DOMElement.html">DOMElement</a></li>
|
61 |
<li><a href="class-WPGMZA.Factory.html">Factory</a></li>
|
62 |
<li><a href="class-WPGMZA.GDPRCompliance.html">GDPRCompliance</a></li>
|
63 |
+
<li><a href="class-WPGMZA.GlobalSettings.html">GlobalSettings</a></li>
|
64 |
<li><a href="class-WPGMZA.GoogleGeocoder.html">GoogleGeocoder</a></li>
|
65 |
<li><a href="class-WPGMZA.GoogleMap.html">GoogleMap</a></li>
|
66 |
<li><a href="class-WPGMZA.GoogleMapsAPILoader.html" class="deprecated">GoogleMapsAPILoader</a></li>
|
69 |
<li><a href="class-WPGMZA.Map.html">Map</a></li>
|
70 |
<li class="active"><a href="class-WPGMZA.MapsEngineDialog.html">MapsEngineDialog</a></li>
|
71 |
<li><a href="class-WPGMZA.Marker.html">Marker</a></li>
|
72 |
+
<li><a href="class-WPGMZA.MarkerDataTable.html">MarkerDataTable</a></li>
|
73 |
+
<li><a href="class-WPGMZA.MarkerFilter.html">MarkerFilter</a></li>
|
74 |
<li><a href="class-WPGMZA.ModalDialog.html">ModalDialog</a></li>
|
75 |
<li><a href="class-WPGMZA.NominatimGeocodeCache.html">NominatimGeocodeCache</a></li>
|
76 |
<li><a href="class-WPGMZA.OLLoader.html">OLLoader</a></li>
|
77 |
<li><a href="class-WPGMZA.Plugin.html">Plugin</a></li>
|
78 |
+
<li><a href="class-WPGMZA.Query.html">Query</a></li>
|
79 |
+
<li><a href="class-WPGMZA.QueryFragment.html">QueryFragment</a></li>
|
80 |
<li><a href="class-WPGMZA.RestAPI.html">RestAPI</a></li>
|
81 |
<li><a href="class-WPGMZA.ScriptLoader.html">ScriptLoader</a></li>
|
82 |
<li><a href="class-WPGMZA.Strings.html">Strings</a></li>
|
83 |
+
<li><a href="class-WPGMZA.Table.html">Table</a></li>
|
84 |
</ul>
|
85 |
|
86 |
|
90 |
<h3>Functions</h3>
|
91 |
<ul>
|
92 |
<li><a href="function-WPGMZA.create_marker_instance_delegate.html">create_marker_instance_delegate</a></li>
|
|
|
93 |
<li><a href="function-WPGMZA.query_nominatim_cache.html" class="deprecated">query_nominatim_cache</a></li>
|
94 |
<li><a href="function-WPGMZA.store_nominatim_cache.html" class="deprecated">store_nominatim_cache</a></li>
|
95 |
</ul>
|
@@ -49,12 +49,18 @@
|
|
49 |
<div id="elements">
|
50 |
<h3>Classes</h3>
|
51 |
<ul>
|
|
|
|
|
52 |
<li><a href="class-WPGMZA.AutoLoader.html">AutoLoader</a></li>
|
53 |
<li><a href="class-WPGMZA.Crud.html">Crud</a></li>
|
|
|
|
|
|
|
54 |
<li><a href="class-WPGMZA.DOMDocument.html">DOMDocument</a></li>
|
55 |
<li><a href="class-WPGMZA.DOMElement.html">DOMElement</a></li>
|
56 |
<li><a href="class-WPGMZA.Factory.html">Factory</a></li>
|
57 |
<li><a href="class-WPGMZA.GDPRCompliance.html">GDPRCompliance</a></li>
|
|
|
58 |
<li><a href="class-WPGMZA.GoogleGeocoder.html">GoogleGeocoder</a></li>
|
59 |
<li><a href="class-WPGMZA.GoogleMap.html">GoogleMap</a></li>
|
60 |
<li><a href="class-WPGMZA.GoogleMapsAPILoader.html" class="deprecated">GoogleMapsAPILoader</a></li>
|
@@ -63,13 +69,18 @@
|
|
63 |
<li><a href="class-WPGMZA.Map.html">Map</a></li>
|
64 |
<li><a href="class-WPGMZA.MapsEngineDialog.html">MapsEngineDialog</a></li>
|
65 |
<li class="active"><a href="class-WPGMZA.Marker.html">Marker</a></li>
|
|
|
|
|
66 |
<li><a href="class-WPGMZA.ModalDialog.html">ModalDialog</a></li>
|
67 |
<li><a href="class-WPGMZA.NominatimGeocodeCache.html">NominatimGeocodeCache</a></li>
|
68 |
<li><a href="class-WPGMZA.OLLoader.html">OLLoader</a></li>
|
69 |
<li><a href="class-WPGMZA.Plugin.html">Plugin</a></li>
|
|
|
|
|
70 |
<li><a href="class-WPGMZA.RestAPI.html">RestAPI</a></li>
|
71 |
<li><a href="class-WPGMZA.ScriptLoader.html">ScriptLoader</a></li>
|
72 |
<li><a href="class-WPGMZA.Strings.html">Strings</a></li>
|
|
|
73 |
</ul>
|
74 |
|
75 |
|
@@ -79,7 +90,6 @@
|
|
79 |
<h3>Functions</h3>
|
80 |
<ul>
|
81 |
<li><a href="function-WPGMZA.create_marker_instance_delegate.html">create_marker_instance_delegate</a></li>
|
82 |
-
<li><a href="function-WPGMZA.create_plugin_instance.html" class="deprecated">create_plugin_instance</a></li>
|
83 |
<li><a href="function-WPGMZA.query_nominatim_cache.html" class="deprecated">query_nominatim_cache</a></li>
|
84 |
<li><a href="function-WPGMZA.store_nominatim_cache.html" class="deprecated">store_nominatim_cache</a></li>
|
85 |
</ul>
|
@@ -124,6 +134,13 @@
|
|
124 |
|
125 |
<dl class="tree">
|
126 |
<dd style="padding-left:0px">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
127 |
<a href="class-WPGMZA.Crud.html"><span>WPGMZA\Crud</span></a>
|
128 |
|
129 |
implements
|
@@ -133,7 +150,7 @@
|
|
133 |
|
134 |
|
135 |
</dd>
|
136 |
-
<dd style="padding-left:
|
137 |
<img src="resources/inherit.png" alt="Extended by">
|
138 |
<b><span>WPGMZA\Marker</span></b>
|
139 |
implements
|
@@ -156,7 +173,7 @@
|
|
156 |
<b>Namespace:</b> <a href="namespace-WPGMZA.html">WPGMZA</a><br>
|
157 |
|
158 |
|
159 |
-
<b>Located at</b> <a href="source-class-WPGMZA.Marker.html#8-
|
160 |
<br>
|
161 |
</div>
|
162 |
|
@@ -176,7 +193,7 @@
|
|
176 |
|
177 |
<td class="name"><div>
|
178 |
<a class="anchor" href="#___construct">#</a>
|
179 |
-
<code><a href="source-class-WPGMZA.Marker.html#
|
180 |
|
181 |
<div class="description short">
|
182 |
<p>Constructor</p>
|
@@ -198,6 +215,36 @@
|
|
198 |
<h4>Overrides</h4>
|
199 |
<div class="list"><code><a href="class-WPGMZA.Crud.html#___construct">WPGMZA\Crud::__construct()</a></code></div>
|
200 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
201 |
</div>
|
202 |
</div></td>
|
203 |
</tr>
|
@@ -213,7 +260,7 @@
|
|
213 |
|
214 |
<td class="name"><div>
|
215 |
<a class="anchor" href="#_create_instance">#</a>
|
216 |
-
<code><a href="source-class-WPGMZA.Marker.html#
|
217 |
|
218 |
<div class="description short">
|
219 |
<p>Deprecated. The Factory class will take over this functionality</p>
|
@@ -231,6 +278,36 @@
|
|
231 |
|
232 |
|
233 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
234 |
</div>
|
235 |
</div></td>
|
236 |
</tr>
|
@@ -246,7 +323,7 @@
|
|
246 |
|
247 |
<td class="name"><div>
|
248 |
<a class="anchor" href="#_jsonSerialize">#</a>
|
249 |
-
<code><a href="source-class-WPGMZA.Marker.html#
|
250 |
|
251 |
<div class="description short">
|
252 |
<p>Returns a clone of this marker for JSON serialization. Unsets latlng binary spatial data which corrupts JSON, and sets custom field data.</p>
|
@@ -288,7 +365,7 @@
|
|
288 |
|
289 |
<td class="name"><div>
|
290 |
<a class="anchor" href="#_get_placeholder_by_type">#</a>
|
291 |
-
<code><a href="source-class-WPGMZA.Marker.html#
|
292 |
|
293 |
<div class="description short">
|
294 |
<p>Overrides Crud::get_placeholder_by_type to correctly handle inserting and updating spatial data placeholders.</p>
|
@@ -329,7 +406,7 @@
|
|
329 |
|
330 |
<td class="name"><div>
|
331 |
<a class="anchor" href="#_get_column_parameter">#</a>
|
332 |
-
<code><a href="source-class-WPGMZA.Marker.html#
|
333 |
|
334 |
<div class="description short">
|
335 |
<p>Overrides Crud::get_column_parameter to correctly handle inserting and updating spatial data values.</p>
|
@@ -370,7 +447,7 @@
|
|
370 |
|
371 |
<td class="name"><div>
|
372 |
<a class="anchor" href="#_get_arbitrary_data_column_name">#</a>
|
373 |
-
<code><a href="source-class-WPGMZA.Marker.html#
|
374 |
|
375 |
<div class="description short">
|
376 |
<p>Returns "other_data", which is the name of the column used to store arbitrary data on thet marker table.</p>
|
@@ -406,7 +483,7 @@
|
|
406 |
|
407 |
<td class="name"><div>
|
408 |
<a class="anchor" href="#_update">#</a>
|
409 |
-
<code><a href="source-class-WPGMZA.Marker.html#
|
410 |
|
411 |
<div class="description short">
|
412 |
<p>Updates the map object in the database</p>
|
@@ -446,7 +523,7 @@
|
|
446 |
|
447 |
<td class="name"><div>
|
448 |
<a class="anchor" href="#_update_latlng">#</a>
|
449 |
-
<code><a href="source-class-WPGMZA.Marker.html#
|
450 |
|
451 |
<div class="description short">
|
452 |
<p>Called to update the latlng column for this marker in the database, when any changes are made to this objects properties lat, lng or latlng.</p>
|
@@ -476,7 +553,7 @@
|
|
476 |
|
477 |
<td class="name"><div>
|
478 |
<a class="anchor" href="#___set">#</a>
|
479 |
-
<code><a href="source-class-WPGMZA.Marker.html#
|
480 |
|
481 |
<div class="description short">
|
482 |
<p>Sets the named property, calling update_latlng where needed.</p>
|
@@ -505,6 +582,36 @@
|
|
505 |
<h4>Overrides</h4>
|
506 |
<div class="list"><code><a href="class-WPGMZA.Crud.html#___set">WPGMZA\Crud::__set()</a></code></div>
|
507 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
508 |
</div>
|
509 |
</div></td>
|
510 |
</tr>
|
@@ -538,6 +645,14 @@
|
|
538 |
</code></td>
|
539 |
</tr>
|
540 |
</table>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
541 |
|
542 |
|
543 |
|
@@ -594,7 +709,7 @@
|
|
594 |
</code></td>
|
595 |
|
596 |
<td class="name">
|
597 |
-
<a href="source-class-WPGMZA.Marker.html#
|
598 |
|
599 |
<div class="description short">
|
600 |
|
49 |
<div id="elements">
|
50 |
<h3>Classes</h3>
|
51 |
<ul>
|
52 |
+
<li><a href="class-WPGMZA.AdminMarkerDataTable.html">AdminMarkerDataTable</a></li>
|
53 |
+
<li><a href="class-WPGMZA.AjaxTable.html">AjaxTable</a></li>
|
54 |
<li><a href="class-WPGMZA.AutoLoader.html">AutoLoader</a></li>
|
55 |
<li><a href="class-WPGMZA.Crud.html">Crud</a></li>
|
56 |
+
<li><a href="class-WPGMZA.Database.html">Database</a></li>
|
57 |
+
<li><a href="class-WPGMZA.DataTable.html">DataTable</a></li>
|
58 |
+
<li><a href="class-WPGMZA.Distance.html">Distance</a></li>
|
59 |
<li><a href="class-WPGMZA.DOMDocument.html">DOMDocument</a></li>
|
60 |
<li><a href="class-WPGMZA.DOMElement.html">DOMElement</a></li>
|
61 |
<li><a href="class-WPGMZA.Factory.html">Factory</a></li>
|
62 |
<li><a href="class-WPGMZA.GDPRCompliance.html">GDPRCompliance</a></li>
|
63 |
+
<li><a href="class-WPGMZA.GlobalSettings.html">GlobalSettings</a></li>
|
64 |
<li><a href="class-WPGMZA.GoogleGeocoder.html">GoogleGeocoder</a></li>
|
65 |
<li><a href="class-WPGMZA.GoogleMap.html">GoogleMap</a></li>
|
66 |
<li><a href="class-WPGMZA.GoogleMapsAPILoader.html" class="deprecated">GoogleMapsAPILoader</a></li>
|
69 |
<li><a href="class-WPGMZA.Map.html">Map</a></li>
|
70 |
<li><a href="class-WPGMZA.MapsEngineDialog.html">MapsEngineDialog</a></li>
|
71 |
<li class="active"><a href="class-WPGMZA.Marker.html">Marker</a></li>
|
72 |
+
<li><a href="class-WPGMZA.MarkerDataTable.html">MarkerDataTable</a></li>
|
73 |
+
<li><a href="class-WPGMZA.MarkerFilter.html">MarkerFilter</a></li>
|
74 |
<li><a href="class-WPGMZA.ModalDialog.html">ModalDialog</a></li>
|
75 |
<li><a href="class-WPGMZA.NominatimGeocodeCache.html">NominatimGeocodeCache</a></li>
|
76 |
<li><a href="class-WPGMZA.OLLoader.html">OLLoader</a></li>
|
77 |
<li><a href="class-WPGMZA.Plugin.html">Plugin</a></li>
|
78 |
+
<li><a href="class-WPGMZA.Query.html">Query</a></li>
|
79 |
+
<li><a href="class-WPGMZA.QueryFragment.html">QueryFragment</a></li>
|
80 |
<li><a href="class-WPGMZA.RestAPI.html">RestAPI</a></li>
|
81 |
<li><a href="class-WPGMZA.ScriptLoader.html">ScriptLoader</a></li>
|
82 |
<li><a href="class-WPGMZA.Strings.html">Strings</a></li>
|
83 |
+
<li><a href="class-WPGMZA.Table.html">Table</a></li>
|
84 |
</ul>
|
85 |
|
86 |
|
90 |
<h3>Functions</h3>
|
91 |
<ul>
|
92 |
<li><a href="function-WPGMZA.create_marker_instance_delegate.html">create_marker_instance_delegate</a></li>
|
|
|
93 |
<li><a href="function-WPGMZA.query_nominatim_cache.html" class="deprecated">query_nominatim_cache</a></li>
|
94 |
<li><a href="function-WPGMZA.store_nominatim_cache.html" class="deprecated">store_nominatim_cache</a></li>
|
95 |
</ul>
|
134 |
|
135 |
<dl class="tree">
|
136 |
<dd style="padding-left:0px">
|
137 |
+
<a href="class-WPGMZA.Factory.html"><span>WPGMZA\Factory</span></a>
|
138 |
+
|
139 |
+
|
140 |
+
|
141 |
+
</dd>
|
142 |
+
<dd style="padding-left:30px">
|
143 |
+
<img src="resources/inherit.png" alt="Extended by">
|
144 |
<a href="class-WPGMZA.Crud.html"><span>WPGMZA\Crud</span></a>
|
145 |
|
146 |
implements
|
150 |
|
151 |
|
152 |
</dd>
|
153 |
+
<dd style="padding-left:60px">
|
154 |
<img src="resources/inherit.png" alt="Extended by">
|
155 |
<b><span>WPGMZA\Marker</span></b>
|
156 |
implements
|
173 |
<b>Namespace:</b> <a href="namespace-WPGMZA.html">WPGMZA</a><br>
|
174 |
|
175 |
|
176 |
+
<b>Located at</b> <a href="source-class-WPGMZA.Marker.html#8-160" title="Go to source code">class.marker.php</a>
|
177 |
<br>
|
178 |
</div>
|
179 |
|
193 |
|
194 |
<td class="name"><div>
|
195 |
<a class="anchor" href="#___construct">#</a>
|
196 |
+
<code><a href="source-class-WPGMZA.Marker.html#18-30" title="Go to source code">__construct</a>( <span>integer|array|object <var>$id_or_fields</var> = -<span class="php-num">1</span></span> )</code>
|
197 |
|
198 |
<div class="description short">
|
199 |
<p>Constructor</p>
|
215 |
<h4>Overrides</h4>
|
216 |
<div class="list"><code><a href="class-WPGMZA.Crud.html#___construct">WPGMZA\Crud::__construct()</a></code></div>
|
217 |
|
218 |
+
</div>
|
219 |
+
</div></td>
|
220 |
+
</tr>
|
221 |
+
<tr data-order="getColumns" id="_getColumns">
|
222 |
+
|
223 |
+
<td class="attributes"><code>
|
224 |
+
public static
|
225 |
+
|
226 |
+
|
227 |
+
|
228 |
+
</code>
|
229 |
+
</td>
|
230 |
+
|
231 |
+
<td class="name"><div>
|
232 |
+
<a class="anchor" href="#_getColumns">#</a>
|
233 |
+
<code><a href="source-class-WPGMZA.Marker.html#32-43" title="Go to source code">getColumns</a>( )</code>
|
234 |
+
|
235 |
+
<div class="description short">
|
236 |
+
|
237 |
+
</div>
|
238 |
+
|
239 |
+
<div class="description detailed hidden">
|
240 |
+
|
241 |
+
|
242 |
+
|
243 |
+
|
244 |
+
|
245 |
+
|
246 |
+
|
247 |
+
|
248 |
</div>
|
249 |
</div></td>
|
250 |
</tr>
|
260 |
|
261 |
<td class="name"><div>
|
262 |
<a class="anchor" href="#_create_instance">#</a>
|
263 |
+
<code><a href="source-class-WPGMZA.Marker.html#45-52" title="Go to source code">create_instance</a>( <span> <var>$id_or_fields</var> = -<span class="php-num">1</span></span> )</code>
|
264 |
|
265 |
<div class="description short">
|
266 |
<p>Deprecated. The Factory class will take over this functionality</p>
|
278 |
|
279 |
|
280 |
|
281 |
+
</div>
|
282 |
+
</div></td>
|
283 |
+
</tr>
|
284 |
+
<tr data-order="get_table_name_static" id="_get_table_name_static">
|
285 |
+
|
286 |
+
<td class="attributes"><code>
|
287 |
+
public static
|
288 |
+
|
289 |
+
|
290 |
+
|
291 |
+
</code>
|
292 |
+
</td>
|
293 |
+
|
294 |
+
<td class="name"><div>
|
295 |
+
<a class="anchor" href="#_get_table_name_static">#</a>
|
296 |
+
<code><a href="source-class-WPGMZA.Marker.html#54-58" title="Go to source code">get_table_name_static</a>( )</code>
|
297 |
+
|
298 |
+
<div class="description short">
|
299 |
+
|
300 |
+
</div>
|
301 |
+
|
302 |
+
<div class="description detailed hidden">
|
303 |
+
|
304 |
+
|
305 |
+
|
306 |
+
|
307 |
+
|
308 |
+
|
309 |
+
|
310 |
+
|
311 |
</div>
|
312 |
</div></td>
|
313 |
</tr>
|
323 |
|
324 |
<td class="name"><div>
|
325 |
<a class="anchor" href="#_jsonSerialize">#</a>
|
326 |
+
<code><a href="source-class-WPGMZA.Marker.html#60-71" title="Go to source code">jsonSerialize</a>( )</code>
|
327 |
|
328 |
<div class="description short">
|
329 |
<p>Returns a clone of this marker for JSON serialization. Unsets latlng binary spatial data which corrupts JSON, and sets custom field data.</p>
|
365 |
|
366 |
<td class="name"><div>
|
367 |
<a class="anchor" href="#_get_placeholder_by_type">#</a>
|
368 |
+
<code><a href="source-class-WPGMZA.Marker.html#73-86" title="Go to source code">get_placeholder_by_type</a>( <span>string <var>$type</var></span> )</code>
|
369 |
|
370 |
<div class="description short">
|
371 |
<p>Overrides Crud::get_placeholder_by_type to correctly handle inserting and updating spatial data placeholders.</p>
|
406 |
|
407 |
<td class="name"><div>
|
408 |
<a class="anchor" href="#_get_column_parameter">#</a>
|
409 |
+
<code><a href="source-class-WPGMZA.Marker.html#88-99" title="Go to source code">get_column_parameter</a>( <span>string <var>$name</var></span> )</code>
|
410 |
|
411 |
<div class="description short">
|
412 |
<p>Overrides Crud::get_column_parameter to correctly handle inserting and updating spatial data values.</p>
|
447 |
|
448 |
<td class="name"><div>
|
449 |
<a class="anchor" href="#_get_arbitrary_data_column_name">#</a>
|
450 |
+
<code><a href="source-class-WPGMZA.Marker.html#101-108" title="Go to source code">get_arbitrary_data_column_name</a>( )</code>
|
451 |
|
452 |
<div class="description short">
|
453 |
<p>Returns "other_data", which is the name of the column used to store arbitrary data on thet marker table.</p>
|
483 |
|
484 |
<td class="name"><div>
|
485 |
<a class="anchor" href="#_update">#</a>
|
486 |
+
<code><a href="source-class-WPGMZA.Marker.html#110-115" title="Go to source code">update</a>( )</code>
|
487 |
|
488 |
<div class="description short">
|
489 |
<p>Updates the map object in the database</p>
|
523 |
|
524 |
<td class="name"><div>
|
525 |
<a class="anchor" href="#_update_latlng">#</a>
|
526 |
+
<code><a href="source-class-WPGMZA.Marker.html#118-137" title="Go to source code">update_latlng</a>( )</code>
|
527 |
|
528 |
<div class="description short">
|
529 |
<p>Called to update the latlng column for this marker in the database, when any changes are made to this objects properties lat, lng or latlng.</p>
|
553 |
|
554 |
<td class="name"><div>
|
555 |
<a class="anchor" href="#___set">#</a>
|
556 |
+
<code><a href="source-class-WPGMZA.Marker.html#139-154" title="Go to source code">__set</a>( <span>string <var>$name</var></span>, <span>mixed <var>$value</var></span> )</code>
|
557 |
|
558 |
<div class="description short">
|
559 |
<p>Sets the named property, calling update_latlng where needed.</p>
|
582 |
<h4>Overrides</h4>
|
583 |
<div class="list"><code><a href="class-WPGMZA.Crud.html#___set">WPGMZA\Crud::__set()</a></code></div>
|
584 |
|
585 |
+
</div>
|
586 |
+
</div></td>
|
587 |
+
</tr>
|
588 |
+
<tr data-order="getPosition" id="_getPosition">
|
589 |
+
|
590 |
+
<td class="attributes"><code>
|
591 |
+
public
|
592 |
+
|
593 |
+
|
594 |
+
|
595 |
+
</code>
|
596 |
+
</td>
|
597 |
+
|
598 |
+
<td class="name"><div>
|
599 |
+
<a class="anchor" href="#_getPosition">#</a>
|
600 |
+
<code><a href="source-class-WPGMZA.Marker.html#156-159" title="Go to source code">getPosition</a>( )</code>
|
601 |
+
|
602 |
+
<div class="description short">
|
603 |
+
|
604 |
+
</div>
|
605 |
+
|
606 |
+
<div class="description detailed hidden">
|
607 |
+
|
608 |
+
|
609 |
+
|
610 |
+
|
611 |
+
|
612 |
+
|
613 |
+
|
614 |
+
|
615 |
</div>
|
616 |
</div></td>
|
617 |
</tr>
|
645 |
</code></td>
|
646 |
</tr>
|
647 |
</table>
|
648 |
+
<table class="summary inherited">
|
649 |
+
<caption>Methods inherited from <a href="class-WPGMZA.Factory.html#methods">WPGMZA\Factory</a></caption>
|
650 |
+
<tr>
|
651 |
+
<td><code>
|
652 |
+
<a href="class-WPGMZA.Factory.html#_createInstance">createInstance()</a>
|
653 |
+
</code></td>
|
654 |
+
</tr>
|
655 |
+
</table>
|
656 |
|
657 |
|
658 |
|
709 |
</code></td>
|
710 |
|
711 |
<td class="name">
|
712 |
+
<a href="source-class-WPGMZA.Marker.html#16" title="Go to source code"><var>$custom_fields</var></a>
|
713 |
|
714 |
<div class="description short">
|
715 |
|
@@ -0,0 +1,351 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<!DOCTYPE html>
|
2 |
+
<html>
|
3 |
+
<head>
|
4 |
+
<meta charset="utf-8">
|
5 |
+
|
6 |
+
<title>Class WPGMZA\MarkerDataTable</title>
|
7 |
+
|
8 |
+
<link rel="stylesheet" href="resources/style.css?c2f33731c1948fbed7c333554678bfa68d4817da">
|
9 |
+
|
10 |
+
</head>
|
11 |
+
|
12 |
+
<body>
|
13 |
+
<div id="left">
|
14 |
+
<div id="menu">
|
15 |
+
<a href="index.html" title="Overview"><span>Overview</span></a>
|
16 |
+
|
17 |
+
|
18 |
+
<div id="groups">
|
19 |
+
<h3>Namespaces</h3>
|
20 |
+
<ul>
|
21 |
+
<li>
|
22 |
+
<a href="namespace-None.html">
|
23 |
+
None </a>
|
24 |
+
|
25 |
+
</li>
|
26 |
+
<li class="active">
|
27 |
+
<a href="namespace-WPGMZA.html">
|
28 |
+
WPGMZA<span></span>
|
29 |
+
</a>
|
30 |
+
|
31 |
+
<ul>
|
32 |
+
<li>
|
33 |
+
<a href="namespace-WPGMZA.Integration.html">
|
34 |
+
Integration </a>
|
35 |
+
|
36 |
+
</li>
|
37 |
+
<li>
|
38 |
+
<a href="namespace-WPGMZA.Selector.html">
|
39 |
+
Selector </a>
|
40 |
+
|
41 |
+
</li>
|
42 |
+
</ul></li>
|
43 |
+
</ul>
|
44 |
+
</div>
|
45 |
+
|
46 |
+
<hr>
|
47 |
+
|
48 |
+
|
49 |
+
<div id="elements">
|
50 |
+
<h3>Classes</h3>
|
51 |
+
<ul>
|
52 |
+
<li><a href="class-WPGMZA.AdminMarkerDataTable.html">AdminMarkerDataTable</a></li>
|
53 |
+
<li><a href="class-WPGMZA.AjaxTable.html">AjaxTable</a></li>
|
54 |
+
<li><a href="class-WPGMZA.AutoLoader.html">AutoLoader</a></li>
|
55 |
+
<li><a href="class-WPGMZA.Crud.html">Crud</a></li>
|
56 |
+
<li><a href="class-WPGMZA.Database.html">Database</a></li>
|
57 |
+
<li><a href="class-WPGMZA.DataTable.html">DataTable</a></li>
|
58 |
+
<li><a href="class-WPGMZA.Distance.html">Distance</a></li>
|
59 |
+
<li><a href="class-WPGMZA.DOMDocument.html">DOMDocument</a></li>
|
60 |
+
<li><a href="class-WPGMZA.DOMElement.html">DOMElement</a></li>
|
61 |
+
<li><a href="class-WPGMZA.Factory.html">Factory</a></li>
|
62 |
+
<li><a href="class-WPGMZA.GDPRCompliance.html">GDPRCompliance</a></li>
|
63 |
+
<li><a href="class-WPGMZA.GlobalSettings.html">GlobalSettings</a></li>
|
64 |
+
<li><a href="class-WPGMZA.GoogleGeocoder.html">GoogleGeocoder</a></li>
|
65 |
+
<li><a href="class-WPGMZA.GoogleMap.html">GoogleMap</a></li>
|
66 |
+
<li><a href="class-WPGMZA.GoogleMapsAPILoader.html" class="deprecated">GoogleMapsAPILoader</a></li>
|
67 |
+
<li><a href="class-WPGMZA.GoogleMapsLoader.html" class="deprecated">GoogleMapsLoader</a></li>
|
68 |
+
<li><a href="class-WPGMZA.LatLng.html">LatLng</a></li>
|
69 |
+
<li><a href="class-WPGMZA.Map.html">Map</a></li>
|
70 |
+
<li><a href="class-WPGMZA.MapsEngineDialog.html">MapsEngineDialog</a></li>
|
71 |
+
<li><a href="class-WPGMZA.Marker.html">Marker</a></li>
|
72 |
+
<li class="active"><a href="class-WPGMZA.MarkerDataTable.html">MarkerDataTable</a></li>
|
73 |
+
<li><a href="class-WPGMZA.MarkerFilter.html">MarkerFilter</a></li>
|
74 |
+
<li><a href="class-WPGMZA.ModalDialog.html">ModalDialog</a></li>
|
75 |
+
<li><a href="class-WPGMZA.NominatimGeocodeCache.html">NominatimGeocodeCache</a></li>
|
76 |
+
<li><a href="class-WPGMZA.OLLoader.html">OLLoader</a></li>
|
77 |
+
<li><a href="class-WPGMZA.Plugin.html">Plugin</a></li>
|
78 |
+
<li><a href="class-WPGMZA.Query.html">Query</a></li>
|
79 |
+
<li><a href="class-WPGMZA.QueryFragment.html">QueryFragment</a></li>
|
80 |
+
<li><a href="class-WPGMZA.RestAPI.html">RestAPI</a></li>
|
81 |
+
<li><a href="class-WPGMZA.ScriptLoader.html">ScriptLoader</a></li>
|
82 |
+
<li><a href="class-WPGMZA.Strings.html">Strings</a></li>
|
83 |
+
<li><a href="class-WPGMZA.Table.html">Table</a></li>
|
84 |
+
</ul>
|
85 |
+
|
86 |
+
|
87 |
+
|
88 |
+
|
89 |
+
|
90 |
+
<h3>Functions</h3>
|
91 |
+
<ul>
|
92 |
+
<li><a href="function-WPGMZA.create_marker_instance_delegate.html">create_marker_instance_delegate</a></li>
|
93 |
+
<li><a href="function-WPGMZA.query_nominatim_cache.html" class="deprecated">query_nominatim_cache</a></li>
|
94 |
+
<li><a href="function-WPGMZA.store_nominatim_cache.html" class="deprecated">store_nominatim_cache</a></li>
|
95 |
+
</ul>
|
96 |
+
</div>
|
97 |
+
</div>
|
98 |
+
</div>
|
99 |
+
|
100 |
+
<div id="splitter"></div>
|
101 |
+
|
102 |
+
<div id="right">
|
103 |
+
<div id="rightInner">
|
104 |
+
<form id="search">
|
105 |
+
<input type="hidden" name="cx" value="">
|
106 |
+
<input type="hidden" name="ie" value="UTF-8">
|
107 |
+
<input type="text" name="q" class="text" placeholder="Search">
|
108 |
+
</form>
|
109 |
+
|
110 |
+
<div id="navigation">
|
111 |
+
<ul>
|
112 |
+
<li>
|
113 |
+
<a href="index.html" title="Overview"><span>Overview</span></a>
|
114 |
+
</li>
|
115 |
+
<li>
|
116 |
+
<a href="namespace-WPGMZA.html" title="Summary of WPGMZA"><span>Namespace</span></a>
|
117 |
+
</li>
|
118 |
+
<li class="active">
|
119 |
+
<span>Class</span> </li>
|
120 |
+
</ul>
|
121 |
+
<ul>
|
122 |
+
</ul>
|
123 |
+
<ul>
|
124 |
+
</ul>
|
125 |
+
</div>
|
126 |
+
|
127 |
+
<div id="content" class="class">
|
128 |
+
<h1>Class MarkerDataTable</h1>
|
129 |
+
|
130 |
+
|
131 |
+
<div class="description">
|
132 |
+
<p>The Factory class is a base class which can be used to make any classes
|
133 |
+
externally extensible. A filter is added for wpgmza_create_{class} which
|
134 |
+
is called by createInstance. If this filter returns a subclass of Factory,
|
135 |
+
that filter will override the default class and will be used.</p>
|
136 |
+
|
137 |
+
<p>IMPORTANT: Any objects which subclass Factory MUST be created by calling
|
138 |
+
createInstance on the subclass. Calling new on the constructor directly will
|
139 |
+
not cause this filter to fire, and the extended class will not be used.</p>
|
140 |
+
</div>
|
141 |
+
|
142 |
+
<dl class="tree">
|
143 |
+
<dd style="padding-left:0px">
|
144 |
+
<a href="class-WPGMZA.Factory.html"><span>WPGMZA\Factory</span></a>
|
145 |
+
|
146 |
+
|
147 |
+
|
148 |
+
</dd>
|
149 |
+
<dd style="padding-left:30px">
|
150 |
+
<img src="resources/inherit.png" alt="Extended by">
|
151 |
+
<a href="class-WPGMZA.Table.html"><span>WPGMZA\Table</span></a>
|
152 |
+
|
153 |
+
|
154 |
+
|
155 |
+
</dd>
|
156 |
+
<dd style="padding-left:60px">
|
157 |
+
<img src="resources/inherit.png" alt="Extended by">
|
158 |
+
<a href="class-WPGMZA.AjaxTable.html"><span>WPGMZA\AjaxTable</span></a>
|
159 |
+
|
160 |
+
|
161 |
+
|
162 |
+
</dd>
|
163 |
+
<dd style="padding-left:90px">
|
164 |
+
<img src="resources/inherit.png" alt="Extended by">
|
165 |
+
<a href="class-WPGMZA.DataTable.html"><span>WPGMZA\DataTable</span></a>
|
166 |
+
|
167 |
+
|
168 |
+
|
169 |
+
</dd>
|
170 |
+
<dd style="padding-left:120px">
|
171 |
+
<img src="resources/inherit.png" alt="Extended by">
|
172 |
+
<b><span>WPGMZA\MarkerDataTable</span></b>
|
173 |
+
|
174 |
+
|
175 |
+
</dd>
|
176 |
+
</dl>
|
177 |
+
|
178 |
+
|
179 |
+
<div>
|
180 |
+
<h4>Direct known subclasses</h4>
|
181 |
+
<a href="class-WPGMZA.AdminMarkerDataTable.html">WPGMZA\AdminMarkerDataTable</a>
|
182 |
+
</div>
|
183 |
+
|
184 |
+
|
185 |
+
|
186 |
+
|
187 |
+
|
188 |
+
|
189 |
+
<div class="info">
|
190 |
+
|
191 |
+
|
192 |
+
<b>Namespace:</b> <a href="namespace-WPGMZA.html">WPGMZA</a><br>
|
193 |
+
|
194 |
+
|
195 |
+
<b>Located at</b> <a href="source-class-WPGMZA.MarkerDataTable.html#5-23" title="Go to source code">tables/class.marker-datatable.php</a>
|
196 |
+
<br>
|
197 |
+
</div>
|
198 |
+
|
199 |
+
|
200 |
+
|
201 |
+
<table class="summary methods" id="methods">
|
202 |
+
<caption>Methods summary</caption>
|
203 |
+
<tr data-order="__construct" id="___construct">
|
204 |
+
|
205 |
+
<td class="attributes"><code>
|
206 |
+
public
|
207 |
+
|
208 |
+
|
209 |
+
|
210 |
+
</code>
|
211 |
+
</td>
|
212 |
+
|
213 |
+
<td class="name"><div>
|
214 |
+
<a class="anchor" href="#___construct">#</a>
|
215 |
+
<code><a href="source-class-WPGMZA.MarkerDataTable.html#7-12" title="Go to source code">__construct</a>( <span> <var>$ajax_parameters</var> = <span class="php-keyword1">null</span></span>, <span> <var>$datatable_options</var> = <span class="php-keyword1">null</span></span> )</code>
|
216 |
+
|
217 |
+
<div class="description short">
|
218 |
+
|
219 |
+
</div>
|
220 |
+
|
221 |
+
<div class="description detailed hidden">
|
222 |
+
|
223 |
+
|
224 |
+
|
225 |
+
|
226 |
+
|
227 |
+
|
228 |
+
|
229 |
+
<h4>Overrides</h4>
|
230 |
+
<div class="list"><code><a href="class-WPGMZA.DataTable.html#___construct">WPGMZA\DataTable::__construct()</a></code></div>
|
231 |
+
|
232 |
+
</div>
|
233 |
+
</div></td>
|
234 |
+
</tr>
|
235 |
+
<tr data-order="getColumns" id="_getColumns">
|
236 |
+
|
237 |
+
<td class="attributes"><code>
|
238 |
+
protected
|
239 |
+
|
240 |
+
|
241 |
+
|
242 |
+
</code>
|
243 |
+
</td>
|
244 |
+
|
245 |
+
<td class="name"><div>
|
246 |
+
<a class="anchor" href="#_getColumns">#</a>
|
247 |
+
<code><a href="source-class-WPGMZA.MarkerDataTable.html#14-22" title="Go to source code">getColumns</a>( )</code>
|
248 |
+
|
249 |
+
<div class="description short">
|
250 |
+
|
251 |
+
</div>
|
252 |
+
|
253 |
+
<div class="description detailed hidden">
|
254 |
+
|
255 |
+
|
256 |
+
|
257 |
+
|
258 |
+
|
259 |
+
|
260 |
+
|
261 |
+
<h4>Overrides</h4>
|
262 |
+
<div class="list"><code><a href="class-WPGMZA.DataTable.html#_getColumns">WPGMZA\DataTable::getColumns()</a></code></div>
|
263 |
+
|
264 |
+
</div>
|
265 |
+
</div></td>
|
266 |
+
</tr>
|
267 |
+
</table>
|
268 |
+
|
269 |
+
<table class="summary inherited">
|
270 |
+
<caption>Methods inherited from <a href="class-WPGMZA.DataTable.html#methods">WPGMZA\DataTable</a></caption>
|
271 |
+
<tr>
|
272 |
+
<td><code>
|
273 |
+
<a href="class-WPGMZA.DataTable.html#_data">data()</a>,
|
274 |
+
<a href="class-WPGMZA.DataTable.html#_getDataTableOptions">getDataTableOptions()</a>,
|
275 |
+
<a href="class-WPGMZA.DataTable.html#_getOrderBy">getOrderBy()</a>,
|
276 |
+
<a href="class-WPGMZA.DataTable.html#_getOrderDirection">getOrderDirection()</a>,
|
277 |
+
<a href="class-WPGMZA.DataTable.html#_getRecords">getRecords()</a>,
|
278 |
+
<a href="class-WPGMZA.DataTable.html#_initTableDOM">initTableDOM()</a>,
|
279 |
+
<a href="class-WPGMZA.DataTable.html#_setDataTableOptions">setDataTableOptions()</a>
|
280 |
+
</code></td>
|
281 |
+
</tr>
|
282 |
+
</table>
|
283 |
+
<table class="summary inherited">
|
284 |
+
<caption>Methods inherited from <a href="class-WPGMZA.AjaxTable.html#methods">WPGMZA\AjaxTable</a></caption>
|
285 |
+
<tr>
|
286 |
+
<td><code>
|
287 |
+
<a href="class-WPGMZA.AjaxTable.html#_filterColumns">filterColumns()</a>,
|
288 |
+
<a href="class-WPGMZA.AjaxTable.html#_filterOrderBy">filterOrderBy()</a>,
|
289 |
+
<a href="class-WPGMZA.AjaxTable.html#_filterOrderDirection">filterOrderDirection()</a>,
|
290 |
+
<a href="class-WPGMZA.AjaxTable.html#_filterResults">filterResults()</a>,
|
291 |
+
<a href="class-WPGMZA.AjaxTable.html#_getAjaxParameters">getAjaxParameters()</a>,
|
292 |
+
<a href="class-WPGMZA.AjaxTable.html#_getAttributeParams">getAttributeParams()</a>,
|
293 |
+
<a href="class-WPGMZA.AjaxTable.html#_getColumnNameByIndex">getColumnNameByIndex()</a>,
|
294 |
+
<a href="class-WPGMZA.AjaxTable.html#_getHavingClause">getHavingClause()</a>,
|
295 |
+
<a href="class-WPGMZA.AjaxTable.html#_getRestAPIRoute">getRestAPIRoute()</a>,
|
296 |
+
<a href="class-WPGMZA.AjaxTable.html#_getSearchClause">getSearchClause()</a>,
|
297 |
+
<a href="class-WPGMZA.AjaxTable.html#_getWhereClause">getWhereClause()</a>,
|
298 |
+
<a href="class-WPGMZA.AjaxTable.html#_setAjaxParameters">setAjaxParameters()</a>,
|
299 |
+
<a href="class-WPGMZA.AjaxTable.html#_setAttributeParams">setAttributeParams()</a>,
|
300 |
+
<a href="class-WPGMZA.AjaxTable.html#_setRestAPIRoute">setRestAPIRoute()</a>
|
301 |
+
</code></td>
|
302 |
+
</tr>
|
303 |
+
</table>
|
304 |
+
<table class="summary inherited">
|
305 |
+
<caption>Methods inherited from <a href="class-WPGMZA.Table.html#methods">WPGMZA\Table</a></caption>
|
306 |
+
<tr>
|
307 |
+
<td><code>
|
308 |
+
<a href="class-WPGMZA.Table.html#___get">__get()</a>,
|
309 |
+
<a href="class-WPGMZA.Table.html#___set">__set()</a>,
|
310 |
+
<a href="class-WPGMZA.Table.html#_getElement">getElement()</a>,
|
311 |
+
<a href="class-WPGMZA.Table.html#_html">html()</a>,
|
312 |
+
<a href="class-WPGMZA.Table.html#_loadDocument">loadDocument()</a>
|
313 |
+
</code></td>
|
314 |
+
</tr>
|
315 |
+
</table>
|
316 |
+
<table class="summary inherited">
|
317 |
+
<caption>Methods inherited from <a href="class-WPGMZA.Factory.html#methods">WPGMZA\Factory</a></caption>
|
318 |
+
<tr>
|
319 |
+
<td><code>
|
320 |
+
<a href="class-WPGMZA.Factory.html#_createInstance">createInstance()</a>
|
321 |
+
</code></td>
|
322 |
+
</tr>
|
323 |
+
</table>
|
324 |
+
|
325 |
+
|
326 |
+
|
327 |
+
|
328 |
+
|
329 |
+
|
330 |
+
|
331 |
+
|
332 |
+
|
333 |
+
|
334 |
+
|
335 |
+
|
336 |
+
|
337 |
+
|
338 |
+
|
339 |
+
|
340 |
+
|
341 |
+
</div>
|
342 |
+
|
343 |
+
<div id="footer">
|
344 |
+
API documentation generated by <a href="http://apigen.org">ApiGen</a>
|
345 |
+
</div>
|
346 |
+
</div>
|
347 |
+
</div>
|
348 |
+
<script src="resources/combined.js"></script>
|
349 |
+
<script src="elementlist.js"></script>
|
350 |
+
</body>
|
351 |
+
</html>
|
@@ -0,0 +1,508 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<!DOCTYPE html>
|
2 |
+
<html>
|
3 |
+
<head>
|
4 |
+
<meta charset="utf-8">
|
5 |
+
|
6 |
+
<title>Class WPGMZA\MarkerFilter</title>
|
7 |
+
|
8 |
+
<link rel="stylesheet" href="resources/style.css?c2f33731c1948fbed7c333554678bfa68d4817da">
|
9 |
+
|
10 |
+
</head>
|
11 |
+
|
12 |
+
<body>
|
13 |
+
<div id="left">
|
14 |
+
<div id="menu">
|
15 |
+
<a href="index.html" title="Overview"><span>Overview</span></a>
|
16 |
+
|
17 |
+
|
18 |
+
<div id="groups">
|
19 |
+
<h3>Namespaces</h3>
|
20 |
+
<ul>
|
21 |
+
<li>
|
22 |
+
<a href="namespace-None.html">
|
23 |
+
None </a>
|
24 |
+
|
25 |
+
</li>
|
26 |
+
<li class="active">
|
27 |
+
<a href="namespace-WPGMZA.html">
|
28 |
+
WPGMZA<span></span>
|
29 |
+
</a>
|
30 |
+
|
31 |
+
<ul>
|
32 |
+
<li>
|
33 |
+
<a href="namespace-WPGMZA.Integration.html">
|
34 |
+
Integration </a>
|
35 |
+
|
36 |
+
</li>
|
37 |
+
<li>
|
38 |
+
<a href="namespace-WPGMZA.Selector.html">
|
39 |
+
Selector </a>
|
40 |
+
|
41 |
+
</li>
|
42 |
+
</ul></li>
|
43 |
+
</ul>
|
44 |
+
</div>
|
45 |
+
|
46 |
+
<hr>
|
47 |
+
|
48 |
+
|
49 |
+
<div id="elements">
|
50 |
+
<h3>Classes</h3>
|
51 |
+
<ul>
|
52 |
+
<li><a href="class-WPGMZA.AdminMarkerDataTable.html">AdminMarkerDataTable</a></li>
|
53 |
+
<li><a href="class-WPGMZA.AjaxTable.html">AjaxTable</a></li>
|
54 |
+
<li><a href="class-WPGMZA.AutoLoader.html">AutoLoader</a></li>
|
55 |
+
<li><a href="class-WPGMZA.Crud.html">Crud</a></li>
|
56 |
+
<li><a href="class-WPGMZA.Database.html">Database</a></li>
|
57 |
+
<li><a href="class-WPGMZA.DataTable.html">DataTable</a></li>
|
58 |
+
<li><a href="class-WPGMZA.Distance.html">Distance</a></li>
|
59 |
+
<li><a href="class-WPGMZA.DOMDocument.html">DOMDocument</a></li>
|
60 |
+
<li><a href="class-WPGMZA.DOMElement.html">DOMElement</a></li>
|
61 |
+
<li><a href="class-WPGMZA.Factory.html">Factory</a></li>
|
62 |
+
<li><a href="class-WPGMZA.GDPRCompliance.html">GDPRCompliance</a></li>
|
63 |
+
<li><a href="class-WPGMZA.GlobalSettings.html">GlobalSettings</a></li>
|
64 |
+
<li><a href="class-WPGMZA.GoogleGeocoder.html">GoogleGeocoder</a></li>
|
65 |
+
<li><a href="class-WPGMZA.GoogleMap.html">GoogleMap</a></li>
|
66 |
+
<li><a href="class-WPGMZA.GoogleMapsAPILoader.html" class="deprecated">GoogleMapsAPILoader</a></li>
|
67 |
+
<li><a href="class-WPGMZA.GoogleMapsLoader.html" class="deprecated">GoogleMapsLoader</a></li>
|
68 |
+
<li><a href="class-WPGMZA.LatLng.html">LatLng</a></li>
|
69 |
+
<li><a href="class-WPGMZA.Map.html">Map</a></li>
|
70 |
+
<li><a href="class-WPGMZA.MapsEngineDialog.html">MapsEngineDialog</a></li>
|
71 |
+
<li><a href="class-WPGMZA.Marker.html">Marker</a></li>
|
72 |
+
<li><a href="class-WPGMZA.MarkerDataTable.html">MarkerDataTable</a></li>
|
73 |
+
<li class="active"><a href="class-WPGMZA.MarkerFilter.html">MarkerFilter</a></li>
|
74 |
+
<li><a href="class-WPGMZA.ModalDialog.html">ModalDialog</a></li>
|
75 |
+
<li><a href="class-WPGMZA.NominatimGeocodeCache.html">NominatimGeocodeCache</a></li>
|
76 |
+
<li><a href="class-WPGMZA.OLLoader.html">OLLoader</a></li>
|
77 |
+
<li><a href="class-WPGMZA.Plugin.html">Plugin</a></li>
|
78 |
+
<li><a href="class-WPGMZA.Query.html">Query</a></li>
|
79 |
+
<li><a href="class-WPGMZA.QueryFragment.html">QueryFragment</a></li>
|
80 |
+
<li><a href="class-WPGMZA.RestAPI.html">RestAPI</a></li>
|
81 |
+
<li><a href="class-WPGMZA.ScriptLoader.html">ScriptLoader</a></li>
|
82 |
+
<li><a href="class-WPGMZA.Strings.html">Strings</a></li>
|
83 |
+
<li><a href="class-WPGMZA.Table.html">Table</a></li>
|
84 |
+
</ul>
|
85 |
+
|
86 |
+
|
87 |
+
|
88 |
+
|
89 |
+
|
90 |
+
<h3>Functions</h3>
|
91 |
+
<ul>
|
92 |
+
<li><a href="function-WPGMZA.create_marker_instance_delegate.html">create_marker_instance_delegate</a></li>
|
93 |
+
<li><a href="function-WPGMZA.query_nominatim_cache.html" class="deprecated">query_nominatim_cache</a></li>
|
94 |
+
<li><a href="function-WPGMZA.store_nominatim_cache.html" class="deprecated">store_nominatim_cache</a></li>
|
95 |
+
</ul>
|
96 |
+
</div>
|
97 |
+
</div>
|
98 |
+
</div>
|
99 |
+
|
100 |
+
<div id="splitter"></div>
|
101 |
+
|
102 |
+
<div id="right">
|
103 |
+
<div id="rightInner">
|
104 |
+
<form id="search">
|
105 |
+
<input type="hidden" name="cx" value="">
|
106 |
+
<input type="hidden" name="ie" value="UTF-8">
|
107 |
+
<input type="text" name="q" class="text" placeholder="Search">
|
108 |
+
</form>
|
109 |
+
|
110 |
+
<div id="navigation">
|
111 |
+
<ul>
|
112 |
+
<li>
|
113 |
+
<a href="index.html" title="Overview"><span>Overview</span></a>
|
114 |
+
</li>
|
115 |
+
<li>
|
116 |
+
<a href="namespace-WPGMZA.html" title="Summary of WPGMZA"><span>Namespace</span></a>
|
117 |
+
</li>
|
118 |
+
<li class="active">
|
119 |
+
<span>Class</span> </li>
|
120 |
+
</ul>
|
121 |
+
<ul>
|
122 |
+
</ul>
|
123 |
+
<ul>
|
124 |
+
</ul>
|
125 |
+
</div>
|
126 |
+
|
127 |
+
<div id="content" class="class">
|
128 |
+
<h1>Class MarkerFilter</h1>
|
129 |
+
|
130 |
+
|
131 |
+
<div class="description">
|
132 |
+
<p>The Factory class is a base class which can be used to make any classes
|
133 |
+
externally extensible. A filter is added for wpgmza_create_{class} which
|
134 |
+
is called by createInstance. If this filter returns a subclass of Factory,
|
135 |
+
that filter will override the default class and will be used.</p>
|
136 |
+
|
137 |
+
<p>IMPORTANT: Any objects which subclass Factory MUST be created by calling
|
138 |
+
createInstance on the subclass. Calling new on the constructor directly will
|
139 |
+
not cause this filter to fire, and the extended class will not be used.</p>
|
140 |
+
</div>
|
141 |
+
|
142 |
+
<dl class="tree">
|
143 |
+
<dd style="padding-left:0px">
|
144 |
+
<a href="class-WPGMZA.Factory.html"><span>WPGMZA\Factory</span></a>
|
145 |
+
|
146 |
+
|
147 |
+
|
148 |
+
</dd>
|
149 |
+
<dd style="padding-left:30px">
|
150 |
+
<img src="resources/inherit.png" alt="Extended by">
|
151 |
+
<b><span>WPGMZA\MarkerFilter</span></b>
|
152 |
+
|
153 |
+
|
154 |
+
</dd>
|
155 |
+
</dl>
|
156 |
+
|
157 |
+
|
158 |
+
|
159 |
+
|
160 |
+
|
161 |
+
|
162 |
+
|
163 |
+
|
164 |
+
<div class="info">
|
165 |
+
|
166 |
+
|
167 |
+
<b>Namespace:</b> <a href="namespace-WPGMZA.html">WPGMZA</a><br>
|
168 |
+
|
169 |
+
|
170 |
+
<b>Located at</b> <a href="source-class-WPGMZA.MarkerFilter.html#7-168" title="Go to source code">class.marker-filter.php</a>
|
171 |
+
<br>
|
172 |
+
</div>
|
173 |
+
|
174 |
+
|
175 |
+
|
176 |
+
<table class="summary methods" id="methods">
|
177 |
+
<caption>Methods summary</caption>
|
178 |
+
<tr data-order="__construct" id="___construct">
|
179 |
+
|
180 |
+
<td class="attributes"><code>
|
181 |
+
public
|
182 |
+
|
183 |
+
|
184 |
+
|
185 |
+
</code>
|
186 |
+
</td>
|
187 |
+
|
188 |
+
<td class="name"><div>
|
189 |
+
<a class="anchor" href="#___construct">#</a>
|
190 |
+
<code><a href="source-class-WPGMZA.MarkerFilter.html#12-17" title="Go to source code">__construct</a>( <span> <var>$options</var> = <span class="php-keyword1">null</span></span> )</code>
|
191 |
+
|
192 |
+
<div class="description short">
|
193 |
+
|
194 |
+
</div>
|
195 |
+
|
196 |
+
<div class="description detailed hidden">
|
197 |
+
|
198 |
+
|
199 |
+
|
200 |
+
|
201 |
+
|
202 |
+
|
203 |
+
|
204 |
+
|
205 |
+
</div>
|
206 |
+
</div></td>
|
207 |
+
</tr>
|
208 |
+
<tr data-order="__get" id="___get">
|
209 |
+
|
210 |
+
<td class="attributes"><code>
|
211 |
+
public
|
212 |
+
|
213 |
+
|
214 |
+
|
215 |
+
</code>
|
216 |
+
</td>
|
217 |
+
|
218 |
+
<td class="name"><div>
|
219 |
+
<a class="anchor" href="#___get">#</a>
|
220 |
+
<code><a href="source-class-WPGMZA.MarkerFilter.html#19-25" title="Go to source code">__get</a>( <span> <var>$name</var></span> )</code>
|
221 |
+
|
222 |
+
<div class="description short">
|
223 |
+
|
224 |
+
</div>
|
225 |
+
|
226 |
+
<div class="description detailed hidden">
|
227 |
+
|
228 |
+
|
229 |
+
|
230 |
+
|
231 |
+
|
232 |
+
|
233 |
+
|
234 |
+
|
235 |
+
</div>
|
236 |
+
</div></td>
|
237 |
+
</tr>
|
238 |
+
<tr data-order="__set" id="___set">
|
239 |
+
|
240 |
+
<td class="attributes"><code>
|
241 |
+
public
|
242 |
+
|
243 |
+
|
244 |
+
|
245 |
+
</code>
|
246 |
+
</td>
|
247 |
+
|
248 |
+
<td class="name"><div>
|
249 |
+
<a class="anchor" href="#___set">#</a>
|
250 |
+
<code><a href="source-class-WPGMZA.MarkerFilter.html#27-58" title="Go to source code">__set</a>( <span> <var>$name</var></span>, <span> <var>$value</var></span> )</code>
|
251 |
+
|
252 |
+
<div class="description short">
|
253 |
+
|
254 |
+
</div>
|
255 |
+
|
256 |
+
<div class="description detailed hidden">
|
257 |
+
|
258 |
+
|
259 |
+
|
260 |
+
|
261 |
+
|
262 |
+
|
263 |
+
|
264 |
+
|
265 |
+
</div>
|
266 |
+
</div></td>
|
267 |
+
</tr>
|
268 |
+
<tr data-order="loadMap" id="_loadMap">
|
269 |
+
|
270 |
+
<td class="attributes"><code>
|
271 |
+
protected
|
272 |
+
|
273 |
+
|
274 |
+
|
275 |
+
</code>
|
276 |
+
</td>
|
277 |
+
|
278 |
+
<td class="name"><div>
|
279 |
+
<a class="anchor" href="#_loadMap">#</a>
|
280 |
+
<code><a href="source-class-WPGMZA.MarkerFilter.html#60-70" title="Go to source code">loadMap</a>( )</code>
|
281 |
+
|
282 |
+
<div class="description short">
|
283 |
+
|
284 |
+
</div>
|
285 |
+
|
286 |
+
<div class="description detailed hidden">
|
287 |
+
|
288 |
+
|
289 |
+
|
290 |
+
|
291 |
+
|
292 |
+
|
293 |
+
|
294 |
+
|
295 |
+
</div>
|
296 |
+
</div></td>
|
297 |
+
</tr>
|
298 |
+
<tr data-order="applyRadiusClause" id="_applyRadiusClause">
|
299 |
+
|
300 |
+
<td class="attributes"><code>
|
301 |
+
protected
|
302 |
+
|
303 |
+
|
304 |
+
|
305 |
+
</code>
|
306 |
+
</td>
|
307 |
+
|
308 |
+
<td class="name"><div>
|
309 |
+
<a class="anchor" href="#_applyRadiusClause">#</a>
|
310 |
+
<code><a href="source-class-WPGMZA.MarkerFilter.html#72-119" title="Go to source code">applyRadiusClause</a>( <span> <var>$query</var></span> )</code>
|
311 |
+
|
312 |
+
<div class="description short">
|
313 |
+
|
314 |
+
</div>
|
315 |
+
|
316 |
+
<div class="description detailed hidden">
|
317 |
+
|
318 |
+
|
319 |
+
|
320 |
+
|
321 |
+
|
322 |
+
|
323 |
+
|
324 |
+
|
325 |
+
</div>
|
326 |
+
</div></td>
|
327 |
+
</tr>
|
328 |
+
<tr data-order="getQuery" id="_getQuery">
|
329 |
+
|
330 |
+
<td class="attributes"><code>
|
331 |
+
public
|
332 |
+
|
333 |
+
|
334 |
+
|
335 |
+
</code>
|
336 |
+
</td>
|
337 |
+
|
338 |
+
<td class="name"><div>
|
339 |
+
<a class="anchor" href="#_getQuery">#</a>
|
340 |
+
<code><a href="source-class-WPGMZA.MarkerFilter.html#121-133" title="Go to source code">getQuery</a>( )</code>
|
341 |
+
|
342 |
+
<div class="description short">
|
343 |
+
|
344 |
+
</div>
|
345 |
+
|
346 |
+
<div class="description detailed hidden">
|
347 |
+
|
348 |
+
|
349 |
+
|
350 |
+
|
351 |
+
|
352 |
+
|
353 |
+
|
354 |
+
|
355 |
+
</div>
|
356 |
+
</div></td>
|
357 |
+
</tr>
|
358 |
+
<tr data-order="getFilteredMarkers" id="_getFilteredMarkers">
|
359 |
+
|
360 |
+
<td class="attributes"><code>
|
361 |
+
public
|
362 |
+
|
363 |
+
|
364 |
+
|
365 |
+
</code>
|
366 |
+
</td>
|
367 |
+
|
368 |
+
<td class="name"><div>
|
369 |
+
<a class="anchor" href="#_getFilteredMarkers">#</a>
|
370 |
+
<code><a href="source-class-WPGMZA.MarkerFilter.html#135-152" title="Go to source code">getFilteredMarkers</a>( <span> <var>$fields</var> = <span class="php-keyword1">null</span></span> )</code>
|
371 |
+
|
372 |
+
<div class="description short">
|
373 |
+
|
374 |
+
</div>
|
375 |
+
|
376 |
+
<div class="description detailed hidden">
|
377 |
+
|
378 |
+
|
379 |
+
|
380 |
+
|
381 |
+
|
382 |
+
|
383 |
+
|
384 |
+
|
385 |
+
</div>
|
386 |
+
</div></td>
|
387 |
+
</tr>
|
388 |
+
<tr data-order="getFilteredIDs" id="_getFilteredIDs">
|
389 |
+
|
390 |
+
<td class="attributes"><code>
|
391 |
+
public
|
392 |
+
|
393 |
+
|
394 |
+
|
395 |
+
</code>
|
396 |
+
</td>
|
397 |
+
|
398 |
+
<td class="name"><div>
|
399 |
+
<a class="anchor" href="#_getFilteredIDs">#</a>
|
400 |
+
<code><a href="source-class-WPGMZA.MarkerFilter.html#154-165" title="Go to source code">getFilteredIDs</a>( )</code>
|
401 |
+
|
402 |
+
<div class="description short">
|
403 |
+
|
404 |
+
</div>
|
405 |
+
|
406 |
+
<div class="description detailed hidden">
|
407 |
+
|
408 |
+
|
409 |
+
|
410 |
+
|
411 |
+
|
412 |
+
|
413 |
+
|
414 |
+
|
415 |
+
</div>
|
416 |
+
</div></td>
|
417 |
+
</tr>
|
418 |
+
</table>
|
419 |
+
|
420 |
+
<table class="summary inherited">
|
421 |
+
<caption>Methods inherited from <a href="class-WPGMZA.Factory.html#methods">WPGMZA\Factory</a></caption>
|
422 |
+
<tr>
|
423 |
+
<td><code>
|
424 |
+
<a href="class-WPGMZA.Factory.html#_createInstance">createInstance()</a>
|
425 |
+
</code></td>
|
426 |
+
</tr>
|
427 |
+
</table>
|
428 |
+
|
429 |
+
|
430 |
+
|
431 |
+
|
432 |
+
|
433 |
+
|
434 |
+
|
435 |
+
|
436 |
+
|
437 |
+
|
438 |
+
|
439 |
+
<table class="summary properties" id="properties">
|
440 |
+
<caption>Properties summary</caption>
|
441 |
+
<tr data-order="_center" id="$_center">
|
442 |
+
<td class="attributes"><code>
|
443 |
+
protected
|
444 |
+
|
445 |
+
</code></td>
|
446 |
+
|
447 |
+
<td class="name">
|
448 |
+
<a href="source-class-WPGMZA.MarkerFilter.html#9" title="Go to source code"><var>$_center</var></a>
|
449 |
+
|
450 |
+
<div class="description short">
|
451 |
+
|
452 |
+
</div>
|
453 |
+
|
454 |
+
<div class="description detailed hidden">
|
455 |
+
|
456 |
+
|
457 |
+
</div>
|
458 |
+
</td>
|
459 |
+
<td class="value">
|
460 |
+
<div>
|
461 |
+
<a href="#$_center" class="anchor">#</a>
|
462 |
+
<code></code>
|
463 |
+
</div>
|
464 |
+
</td>
|
465 |
+
</tr>
|
466 |
+
<tr data-order="_radius" id="$_radius">
|
467 |
+
<td class="attributes"><code>
|
468 |
+
protected
|
469 |
+
|
470 |
+
</code></td>
|
471 |
+
|
472 |
+
<td class="name">
|
473 |
+
<a href="source-class-WPGMZA.MarkerFilter.html#10" title="Go to source code"><var>$_radius</var></a>
|
474 |
+
|
475 |
+
<div class="description short">
|
476 |
+
|
477 |
+
</div>
|
478 |
+
|
479 |
+
<div class="description detailed hidden">
|
480 |
+
|
481 |
+
|
482 |
+
</div>
|
483 |
+
</td>
|
484 |
+
<td class="value">
|
485 |
+
<div>
|
486 |
+
<a href="#$_radius" class="anchor">#</a>
|
487 |
+
<code></code>
|
488 |
+
</div>
|
489 |
+
</td>
|
490 |
+
</tr>
|
491 |
+
</table>
|
492 |
+
|
493 |
+
|
494 |
+
|
495 |
+
|
496 |
+
|
497 |
+
|
498 |
+
</div>
|
499 |
+
|
500 |
+
<div id="footer">
|
501 |
+
API documentation generated by <a href="http://apigen.org">ApiGen</a>
|
502 |
+
</div>
|
503 |
+
</div>
|
504 |
+
</div>
|
505 |
+
<script src="resources/combined.js"></script>
|
506 |
+
<script src="elementlist.js"></script>
|
507 |
+
</body>
|
508 |
+
</html>
|
@@ -49,12 +49,18 @@
|
|
49 |
<div id="elements">
|
50 |
<h3>Classes</h3>
|
51 |
<ul>
|
|
|
|
|
52 |
<li><a href="class-WPGMZA.AutoLoader.html">AutoLoader</a></li>
|
53 |
<li><a href="class-WPGMZA.Crud.html">Crud</a></li>
|
|
|
|
|
|
|
54 |
<li><a href="class-WPGMZA.DOMDocument.html">DOMDocument</a></li>
|
55 |
<li><a href="class-WPGMZA.DOMElement.html">DOMElement</a></li>
|
56 |
<li><a href="class-WPGMZA.Factory.html">Factory</a></li>
|
57 |
<li><a href="class-WPGMZA.GDPRCompliance.html">GDPRCompliance</a></li>
|
|
|
58 |
<li><a href="class-WPGMZA.GoogleGeocoder.html">GoogleGeocoder</a></li>
|
59 |
<li><a href="class-WPGMZA.GoogleMap.html">GoogleMap</a></li>
|
60 |
<li><a href="class-WPGMZA.GoogleMapsAPILoader.html" class="deprecated">GoogleMapsAPILoader</a></li>
|
@@ -63,13 +69,18 @@
|
|
63 |
<li><a href="class-WPGMZA.Map.html">Map</a></li>
|
64 |
<li><a href="class-WPGMZA.MapsEngineDialog.html">MapsEngineDialog</a></li>
|
65 |
<li><a href="class-WPGMZA.Marker.html">Marker</a></li>
|
|
|
|
|
66 |
<li class="active"><a href="class-WPGMZA.ModalDialog.html">ModalDialog</a></li>
|
67 |
<li><a href="class-WPGMZA.NominatimGeocodeCache.html">NominatimGeocodeCache</a></li>
|
68 |
<li><a href="class-WPGMZA.OLLoader.html">OLLoader</a></li>
|
69 |
<li><a href="class-WPGMZA.Plugin.html">Plugin</a></li>
|
|
|
|
|
70 |
<li><a href="class-WPGMZA.RestAPI.html">RestAPI</a></li>
|
71 |
<li><a href="class-WPGMZA.ScriptLoader.html">ScriptLoader</a></li>
|
72 |
<li><a href="class-WPGMZA.Strings.html">Strings</a></li>
|
|
|
73 |
</ul>
|
74 |
|
75 |
|
@@ -79,7 +90,6 @@
|
|
79 |
<h3>Functions</h3>
|
80 |
<ul>
|
81 |
<li><a href="function-WPGMZA.create_marker_instance_delegate.html">create_marker_instance_delegate</a></li>
|
82 |
-
<li><a href="function-WPGMZA.create_plugin_instance.html" class="deprecated">create_plugin_instance</a></li>
|
83 |
<li><a href="function-WPGMZA.query_nominatim_cache.html" class="deprecated">query_nominatim_cache</a></li>
|
84 |
<li><a href="function-WPGMZA.store_nominatim_cache.html" class="deprecated">store_nominatim_cache</a></li>
|
85 |
</ul>
|
@@ -219,7 +229,8 @@ DOMDocument
|
|
219 |
<a href="class-WPGMZA.DOMDocument.html#_populate">populate()</a>,
|
220 |
<a href="class-WPGMZA.DOMDocument.html#_querySelector">querySelector()</a>,
|
221 |
<a href="class-WPGMZA.DOMDocument.html#_querySelectorAll">querySelectorAll()</a>,
|
222 |
-
<a href="class-WPGMZA.DOMDocument.html#_saveInnerBody">saveInnerBody()</a
|
|
|
223 |
</code></td>
|
224 |
</tr>
|
225 |
</table>
|
49 |
<div id="elements">
|
50 |
<h3>Classes</h3>
|
51 |
<ul>
|
52 |
+
<li><a href="class-WPGMZA.AdminMarkerDataTable.html">AdminMarkerDataTable</a></li>
|
53 |
+
<li><a href="class-WPGMZA.AjaxTable.html">AjaxTable</a></li>
|
54 |
<li><a href="class-WPGMZA.AutoLoader.html">AutoLoader</a></li>
|
55 |
<li><a href="class-WPGMZA.Crud.html">Crud</a></li>
|
56 |
+
<li><a href="class-WPGMZA.Database.html">Database</a></li>
|
57 |
+
<li><a href="class-WPGMZA.DataTable.html">DataTable</a></li>
|
58 |
+
<li><a href="class-WPGMZA.Distance.html">Distance</a></li>
|
59 |
<li><a href="class-WPGMZA.DOMDocument.html">DOMDocument</a></li>
|
60 |
<li><a href="class-WPGMZA.DOMElement.html">DOMElement</a></li>
|
61 |
<li><a href="class-WPGMZA.Factory.html">Factory</a></li>
|
62 |
<li><a href="class-WPGMZA.GDPRCompliance.html">GDPRCompliance</a></li>
|
63 |
+
<li><a href="class-WPGMZA.GlobalSettings.html">GlobalSettings</a></li>
|
64 |
<li><a href="class-WPGMZA.GoogleGeocoder.html">GoogleGeocoder</a></li>
|
65 |
<li><a href="class-WPGMZA.GoogleMap.html">GoogleMap</a></li>
|
66 |
<li><a href="class-WPGMZA.GoogleMapsAPILoader.html" class="deprecated">GoogleMapsAPILoader</a></li>
|
69 |
<li><a href="class-WPGMZA.Map.html">Map</a></li>
|
70 |
<li><a href="class-WPGMZA.MapsEngineDialog.html">MapsEngineDialog</a></li>
|
71 |
<li><a href="class-WPGMZA.Marker.html">Marker</a></li>
|
72 |
+
<li><a href="class-WPGMZA.MarkerDataTable.html">MarkerDataTable</a></li>
|
73 |
+
<li><a href="class-WPGMZA.MarkerFilter.html">MarkerFilter</a></li>
|
74 |
<li class="active"><a href="class-WPGMZA.ModalDialog.html">ModalDialog</a></li>
|
75 |
<li><a href="class-WPGMZA.NominatimGeocodeCache.html">NominatimGeocodeCache</a></li>
|
76 |
<li><a href="class-WPGMZA.OLLoader.html">OLLoader</a></li>
|
77 |
<li><a href="class-WPGMZA.Plugin.html">Plugin</a></li>
|
78 |
+
<li><a href="class-WPGMZA.Query.html">Query</a></li>
|
79 |
+
<li><a href="class-WPGMZA.QueryFragment.html">QueryFragment</a></li>
|
80 |
<li><a href="class-WPGMZA.RestAPI.html">RestAPI</a></li>
|
81 |
<li><a href="class-WPGMZA.ScriptLoader.html">ScriptLoader</a></li>
|
82 |
<li><a href="class-WPGMZA.Strings.html">Strings</a></li>
|
83 |
+
<li><a href="class-WPGMZA.Table.html">Table</a></li>
|
84 |
</ul>
|
85 |
|
86 |
|
90 |
<h3>Functions</h3>
|
91 |
<ul>
|
92 |
<li><a href="function-WPGMZA.create_marker_instance_delegate.html">create_marker_instance_delegate</a></li>
|
|
|
93 |
<li><a href="function-WPGMZA.query_nominatim_cache.html" class="deprecated">query_nominatim_cache</a></li>
|
94 |
<li><a href="function-WPGMZA.store_nominatim_cache.html" class="deprecated">store_nominatim_cache</a></li>
|
95 |
</ul>
|
229 |
<a href="class-WPGMZA.DOMDocument.html#_populate">populate()</a>,
|
230 |
<a href="class-WPGMZA.DOMDocument.html#_querySelector">querySelector()</a>,
|
231 |
<a href="class-WPGMZA.DOMDocument.html#_querySelectorAll">querySelectorAll()</a>,
|
232 |
+
<a href="class-WPGMZA.DOMDocument.html#_saveInnerBody">saveInnerBody()</a>,
|
233 |
+
<a href="class-WPGMZA.DOMDocument.html#_serializeFormData">serializeFormData()</a>
|
234 |
</code></td>
|
235 |
</tr>
|
236 |
</table>
|
@@ -49,12 +49,18 @@
|
|
49 |
<div id="elements">
|
50 |
<h3>Classes</h3>
|
51 |
<ul>
|
|
|
|
|
52 |
<li><a href="class-WPGMZA.AutoLoader.html">AutoLoader</a></li>
|
53 |
<li><a href="class-WPGMZA.Crud.html">Crud</a></li>
|
|
|
|
|
|
|
54 |
<li><a href="class-WPGMZA.DOMDocument.html">DOMDocument</a></li>
|
55 |
<li><a href="class-WPGMZA.DOMElement.html">DOMElement</a></li>
|
56 |
<li><a href="class-WPGMZA.Factory.html">Factory</a></li>
|
57 |
<li><a href="class-WPGMZA.GDPRCompliance.html">GDPRCompliance</a></li>
|
|
|
58 |
<li><a href="class-WPGMZA.GoogleGeocoder.html">GoogleGeocoder</a></li>
|
59 |
<li><a href="class-WPGMZA.GoogleMap.html">GoogleMap</a></li>
|
60 |
<li><a href="class-WPGMZA.GoogleMapsAPILoader.html" class="deprecated">GoogleMapsAPILoader</a></li>
|
@@ -63,13 +69,18 @@
|
|
63 |
<li><a href="class-WPGMZA.Map.html">Map</a></li>
|
64 |
<li><a href="class-WPGMZA.MapsEngineDialog.html">MapsEngineDialog</a></li>
|
65 |
<li><a href="class-WPGMZA.Marker.html">Marker</a></li>
|
|
|
|
|
66 |
<li><a href="class-WPGMZA.ModalDialog.html">ModalDialog</a></li>
|
67 |
<li class="active"><a href="class-WPGMZA.NominatimGeocodeCache.html">NominatimGeocodeCache</a></li>
|
68 |
<li><a href="class-WPGMZA.OLLoader.html">OLLoader</a></li>
|
69 |
<li><a href="class-WPGMZA.Plugin.html">Plugin</a></li>
|
|
|
|
|
70 |
<li><a href="class-WPGMZA.RestAPI.html">RestAPI</a></li>
|
71 |
<li><a href="class-WPGMZA.ScriptLoader.html">ScriptLoader</a></li>
|
72 |
<li><a href="class-WPGMZA.Strings.html">Strings</a></li>
|
|
|
73 |
</ul>
|
74 |
|
75 |
|
@@ -79,7 +90,6 @@
|
|
79 |
<h3>Functions</h3>
|
80 |
<ul>
|
81 |
<li><a href="function-WPGMZA.create_marker_instance_delegate.html">create_marker_instance_delegate</a></li>
|
82 |
-
<li><a href="function-WPGMZA.create_plugin_instance.html" class="deprecated">create_plugin_instance</a></li>
|
83 |
<li><a href="function-WPGMZA.query_nominatim_cache.html" class="deprecated">query_nominatim_cache</a></li>
|
84 |
<li><a href="function-WPGMZA.store_nominatim_cache.html" class="deprecated">store_nominatim_cache</a></li>
|
85 |
</ul>
|
49 |
<div id="elements">
|
50 |
<h3>Classes</h3>
|
51 |
<ul>
|
52 |
+
<li><a href="class-WPGMZA.AdminMarkerDataTable.html">AdminMarkerDataTable</a></li>
|
53 |
+
<li><a href="class-WPGMZA.AjaxTable.html">AjaxTable</a></li>
|
54 |
<li><a href="class-WPGMZA.AutoLoader.html">AutoLoader</a></li>
|
55 |
<li><a href="class-WPGMZA.Crud.html">Crud</a></li>
|
56 |
+
<li><a href="class-WPGMZA.Database.html">Database</a></li>
|
57 |
+
<li><a href="class-WPGMZA.DataTable.html">DataTable</a></li>
|
58 |
+
<li><a href="class-WPGMZA.Distance.html">Distance</a></li>
|
59 |
<li><a href="class-WPGMZA.DOMDocument.html">DOMDocument</a></li>
|
60 |
<li><a href="class-WPGMZA.DOMElement.html">DOMElement</a></li>
|
61 |
<li><a href="class-WPGMZA.Factory.html">Factory</a></li>
|
62 |
<li><a href="class-WPGMZA.GDPRCompliance.html">GDPRCompliance</a></li>
|
63 |
+
<li><a href="class-WPGMZA.GlobalSettings.html">GlobalSettings</a></li>
|
64 |
<li><a href="class-WPGMZA.GoogleGeocoder.html">GoogleGeocoder</a></li>
|
65 |
<li><a href="class-WPGMZA.GoogleMap.html">GoogleMap</a></li>
|
66 |
<li><a href="class-WPGMZA.GoogleMapsAPILoader.html" class="deprecated">GoogleMapsAPILoader</a></li>
|
69 |
<li><a href="class-WPGMZA.Map.html">Map</a></li>
|
70 |
<li><a href="class-WPGMZA.MapsEngineDialog.html">MapsEngineDialog</a></li>
|
71 |
<li><a href="class-WPGMZA.Marker.html">Marker</a></li>
|
72 |
+
<li><a href="class-WPGMZA.MarkerDataTable.html">MarkerDataTable</a></li>
|
73 |
+
<li><a href="class-WPGMZA.MarkerFilter.html">MarkerFilter</a></li>
|
74 |
<li><a href="class-WPGMZA.ModalDialog.html">ModalDialog</a></li>
|
75 |
<li class="active"><a href="class-WPGMZA.NominatimGeocodeCache.html">NominatimGeocodeCache</a></li>
|
76 |
<li><a href="class-WPGMZA.OLLoader.html">OLLoader</a></li>
|
77 |
<li><a href="class-WPGMZA.Plugin.html">Plugin</a></li>
|
78 |
+
<li><a href="class-WPGMZA.Query.html">Query</a></li>
|
79 |
+
<li><a href="class-WPGMZA.QueryFragment.html">QueryFragment</a></li>
|
80 |
<li><a href="class-WPGMZA.RestAPI.html">RestAPI</a></li>
|
81 |
<li><a href="class-WPGMZA.ScriptLoader.html">ScriptLoader</a></li>
|
82 |
<li><a href="class-WPGMZA.Strings.html">Strings</a></li>
|
83 |
+
<li><a href="class-WPGMZA.Table.html">Table</a></li>
|
84 |
</ul>
|
85 |
|
86 |
|
90 |
<h3>Functions</h3>
|
91 |
<ul>
|
92 |
<li><a href="function-WPGMZA.create_marker_instance_delegate.html">create_marker_instance_delegate</a></li>
|
|
|
93 |
<li><a href="function-WPGMZA.query_nominatim_cache.html" class="deprecated">query_nominatim_cache</a></li>
|
94 |
<li><a href="function-WPGMZA.store_nominatim_cache.html" class="deprecated">store_nominatim_cache</a></li>
|
95 |
</ul>
|
@@ -49,12 +49,18 @@
|
|
49 |
<div id="elements">
|
50 |
<h3>Classes</h3>
|
51 |
<ul>
|
|
|
|
|
52 |
<li><a href="class-WPGMZA.AutoLoader.html">AutoLoader</a></li>
|
53 |
<li><a href="class-WPGMZA.Crud.html">Crud</a></li>
|
|
|
|
|
|
|
54 |
<li><a href="class-WPGMZA.DOMDocument.html">DOMDocument</a></li>
|
55 |
<li><a href="class-WPGMZA.DOMElement.html">DOMElement</a></li>
|
56 |
<li><a href="class-WPGMZA.Factory.html">Factory</a></li>
|
57 |
<li><a href="class-WPGMZA.GDPRCompliance.html">GDPRCompliance</a></li>
|
|
|
58 |
<li><a href="class-WPGMZA.GoogleGeocoder.html">GoogleGeocoder</a></li>
|
59 |
<li><a href="class-WPGMZA.GoogleMap.html">GoogleMap</a></li>
|
60 |
<li><a href="class-WPGMZA.GoogleMapsAPILoader.html" class="deprecated">GoogleMapsAPILoader</a></li>
|
@@ -63,13 +69,18 @@
|
|
63 |
<li><a href="class-WPGMZA.Map.html">Map</a></li>
|
64 |
<li><a href="class-WPGMZA.MapsEngineDialog.html">MapsEngineDialog</a></li>
|
65 |
<li><a href="class-WPGMZA.Marker.html">Marker</a></li>
|
|
|
|
|
66 |
<li><a href="class-WPGMZA.ModalDialog.html">ModalDialog</a></li>
|
67 |
<li><a href="class-WPGMZA.NominatimGeocodeCache.html">NominatimGeocodeCache</a></li>
|
68 |
<li class="active"><a href="class-WPGMZA.OLLoader.html">OLLoader</a></li>
|
69 |
<li><a href="class-WPGMZA.Plugin.html">Plugin</a></li>
|
|
|
|
|
70 |
<li><a href="class-WPGMZA.RestAPI.html">RestAPI</a></li>
|
71 |
<li><a href="class-WPGMZA.ScriptLoader.html">ScriptLoader</a></li>
|
72 |
<li><a href="class-WPGMZA.Strings.html">Strings</a></li>
|
|
|
73 |
</ul>
|
74 |
|
75 |
|
@@ -79,7 +90,6 @@
|
|
79 |
<h3>Functions</h3>
|
80 |
<ul>
|
81 |
<li><a href="function-WPGMZA.create_marker_instance_delegate.html">create_marker_instance_delegate</a></li>
|
82 |
-
<li><a href="function-WPGMZA.create_plugin_instance.html" class="deprecated">create_plugin_instance</a></li>
|
83 |
<li><a href="function-WPGMZA.query_nominatim_cache.html" class="deprecated">query_nominatim_cache</a></li>
|
84 |
<li><a href="function-WPGMZA.store_nominatim_cache.html" class="deprecated">store_nominatim_cache</a></li>
|
85 |
</ul>
|
@@ -136,7 +146,7 @@
|
|
136 |
<b>Namespace:</b> <a href="namespace-WPGMZA.html">WPGMZA</a><br>
|
137 |
|
138 |
|
139 |
-
<b>Located at</b> <a href="source-class-WPGMZA.OLLoader.html#5-
|
140 |
<br>
|
141 |
</div>
|
142 |
|
@@ -186,7 +196,7 @@
|
|
186 |
|
187 |
<td class="name"><div>
|
188 |
<a class="anchor" href="#_loadOpenLayers">#</a>
|
189 |
-
<code><a href="source-class-WPGMZA.OLLoader.html#23-
|
190 |
|
191 |
<div class="description short">
|
192 |
<p>Loads the OpenLayers libraries and styles</p>
|
49 |
<div id="elements">
|
50 |
<h3>Classes</h3>
|
51 |
<ul>
|
52 |
+
<li><a href="class-WPGMZA.AdminMarkerDataTable.html">AdminMarkerDataTable</a></li>
|
53 |
+
<li><a href="class-WPGMZA.AjaxTable.html">AjaxTable</a></li>
|
54 |
<li><a href="class-WPGMZA.AutoLoader.html">AutoLoader</a></li>
|
55 |
<li><a href="class-WPGMZA.Crud.html">Crud</a></li>
|
56 |
+
<li><a href="class-WPGMZA.Database.html">Database</a></li>
|
57 |
+
<li><a href="class-WPGMZA.DataTable.html">DataTable</a></li>
|
58 |
+
<li><a href="class-WPGMZA.Distance.html">Distance</a></li>
|
59 |
<li><a href="class-WPGMZA.DOMDocument.html">DOMDocument</a></li>
|
60 |
<li><a href="class-WPGMZA.DOMElement.html">DOMElement</a></li>
|
61 |
<li><a href="class-WPGMZA.Factory.html">Factory</a></li>
|
62 |
<li><a href="class-WPGMZA.GDPRCompliance.html">GDPRCompliance</a></li>
|
63 |
+
<li><a href="class-WPGMZA.GlobalSettings.html">GlobalSettings</a></li>
|
64 |
<li><a href="class-WPGMZA.GoogleGeocoder.html">GoogleGeocoder</a></li>
|
65 |
<li><a href="class-WPGMZA.GoogleMap.html">GoogleMap</a></li>
|
66 |
<li><a href="class-WPGMZA.GoogleMapsAPILoader.html" class="deprecated">GoogleMapsAPILoader</a></li>
|
69 |
<li><a href="class-WPGMZA.Map.html">Map</a></li>
|
70 |
<li><a href="class-WPGMZA.MapsEngineDialog.html">MapsEngineDialog</a></li>
|
71 |
<li><a href="class-WPGMZA.Marker.html">Marker</a></li>
|
72 |
+
<li><a href="class-WPGMZA.MarkerDataTable.html">MarkerDataTable</a></li>
|
73 |
+
<li><a href="class-WPGMZA.MarkerFilter.html">MarkerFilter</a></li>
|
74 |
<li><a href="class-WPGMZA.ModalDialog.html">ModalDialog</a></li>
|
75 |
<li><a href="class-WPGMZA.NominatimGeocodeCache.html">NominatimGeocodeCache</a></li>
|
76 |
<li class="active"><a href="class-WPGMZA.OLLoader.html">OLLoader</a></li>
|
77 |
<li><a href="class-WPGMZA.Plugin.html">Plugin</a></li>
|
78 |
+
<li><a href="class-WPGMZA.Query.html">Query</a></li>
|
79 |
+
<li><a href="class-WPGMZA.QueryFragment.html">QueryFragment</a></li>
|
80 |
<li><a href="class-WPGMZA.RestAPI.html">RestAPI</a></li>
|
81 |
<li><a href="class-WPGMZA.ScriptLoader.html">ScriptLoader</a></li>
|
82 |
<li><a href="class-WPGMZA.Strings.html">Strings</a></li>
|
83 |
+
<li><a href="class-WPGMZA.Table.html">Table</a></li>
|
84 |
</ul>
|
85 |
|
86 |
|
90 |
<h3>Functions</h3>
|
91 |
<ul>
|
92 |
<li><a href="function-WPGMZA.create_marker_instance_delegate.html">create_marker_instance_delegate</a></li>
|
|
|
93 |
<li><a href="function-WPGMZA.query_nominatim_cache.html" class="deprecated">query_nominatim_cache</a></li>
|
94 |
<li><a href="function-WPGMZA.store_nominatim_cache.html" class="deprecated">store_nominatim_cache</a></li>
|
95 |
</ul>
|
146 |
<b>Namespace:</b> <a href="namespace-WPGMZA.html">WPGMZA</a><br>
|
147 |
|
148 |
|
149 |
+
<b>Located at</b> <a href="source-class-WPGMZA.OLLoader.html#5-42" title="Go to source code">open-layers/class.ol-loader.php</a>
|
150 |
<br>
|
151 |
</div>
|
152 |
|
196 |
|
197 |
<td class="name"><div>
|
198 |
<a class="anchor" href="#_loadOpenLayers">#</a>
|
199 |
+
<code><a href="source-class-WPGMZA.OLLoader.html#23-41" title="Go to source code">loadOpenLayers</a>( )</code>
|
200 |
|
201 |
<div class="description short">
|
202 |
<p>Loads the OpenLayers libraries and styles</p>
|
@@ -49,12 +49,18 @@
|
|
49 |
<div id="elements">
|
50 |
<h3>Classes</h3>
|
51 |
<ul>
|
|
|
|
|
52 |
<li><a href="class-WPGMZA.AutoLoader.html">AutoLoader</a></li>
|
53 |
<li><a href="class-WPGMZA.Crud.html">Crud</a></li>
|
|
|
|
|
|
|
54 |
<li><a href="class-WPGMZA.DOMDocument.html">DOMDocument</a></li>
|
55 |
<li><a href="class-WPGMZA.DOMElement.html">DOMElement</a></li>
|
56 |
<li><a href="class-WPGMZA.Factory.html">Factory</a></li>
|
57 |
<li><a href="class-WPGMZA.GDPRCompliance.html">GDPRCompliance</a></li>
|
|
|
58 |
<li><a href="class-WPGMZA.GoogleGeocoder.html">GoogleGeocoder</a></li>
|
59 |
<li><a href="class-WPGMZA.GoogleMap.html">GoogleMap</a></li>
|
60 |
<li><a href="class-WPGMZA.GoogleMapsAPILoader.html" class="deprecated">GoogleMapsAPILoader</a></li>
|
@@ -63,13 +69,18 @@
|
|
63 |
<li><a href="class-WPGMZA.Map.html">Map</a></li>
|
64 |
<li><a href="class-WPGMZA.MapsEngineDialog.html">MapsEngineDialog</a></li>
|
65 |
<li><a href="class-WPGMZA.Marker.html">Marker</a></li>
|
|
|
|
|
66 |
<li><a href="class-WPGMZA.ModalDialog.html">ModalDialog</a></li>
|
67 |
<li><a href="class-WPGMZA.NominatimGeocodeCache.html">NominatimGeocodeCache</a></li>
|
68 |
<li><a href="class-WPGMZA.OLLoader.html">OLLoader</a></li>
|
69 |
<li class="active"><a href="class-WPGMZA.Plugin.html">Plugin</a></li>
|
|
|
|
|
70 |
<li><a href="class-WPGMZA.RestAPI.html">RestAPI</a></li>
|
71 |
<li><a href="class-WPGMZA.ScriptLoader.html">ScriptLoader</a></li>
|
72 |
<li><a href="class-WPGMZA.Strings.html">Strings</a></li>
|
|
|
73 |
</ul>
|
74 |
|
75 |
|
@@ -79,7 +90,6 @@
|
|
79 |
<h3>Functions</h3>
|
80 |
<ul>
|
81 |
<li><a href="function-WPGMZA.create_marker_instance_delegate.html">create_marker_instance_delegate</a></li>
|
82 |
-
<li><a href="function-WPGMZA.create_plugin_instance.html" class="deprecated">create_plugin_instance</a></li>
|
83 |
<li><a href="function-WPGMZA.query_nominatim_cache.html" class="deprecated">query_nominatim_cache</a></li>
|
84 |
<li><a href="function-WPGMZA.store_nominatim_cache.html" class="deprecated">store_nominatim_cache</a></li>
|
85 |
</ul>
|
@@ -124,6 +134,20 @@
|
|
124 |
<p>It also provides a number of helpful utility functions.</p>
|
125 |
</div>
|
126 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
127 |
|
128 |
|
129 |
|
@@ -138,7 +162,7 @@
|
|
138 |
<b>Namespace:</b> <a href="namespace-WPGMZA.html">WPGMZA</a><br>
|
139 |
|
140 |
|
141 |
-
<b>Located at</b> <a href="source-class-WPGMZA.Plugin.html#5-
|
142 |
<br>
|
143 |
</div>
|
144 |
|
@@ -158,7 +182,7 @@
|
|
158 |
|
159 |
<td class="name"><div>
|
160 |
<a class="anchor" href="#___construct">#</a>
|
161 |
-
<code><a href="source-class-WPGMZA.Plugin.html#
|
162 |
|
163 |
<div class="description short">
|
164 |
<p>Constructor. Called when plugins_loaded fires.</p>
|
@@ -173,6 +197,36 @@
|
|
173 |
|
174 |
|
175 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
176 |
</div>
|
177 |
</div></td>
|
178 |
</tr>
|
@@ -188,7 +242,7 @@
|
|
188 |
|
189 |
<td class="name"><div>
|
190 |
<a class="anchor" href="#___get">#</a>
|
191 |
-
<code><a href="source-class-WPGMZA.Plugin.html#
|
192 |
|
193 |
<div class="description short">
|
194 |
<p>Getter, see property-read above.</p>
|
@@ -206,7 +260,7 @@
|
|
206 |
</div>
|
207 |
</div></td>
|
208 |
</tr>
|
209 |
-
<tr data-order="
|
210 |
|
211 |
<td class="attributes"><code>
|
212 |
public
|
@@ -217,19 +271,15 @@
|
|
217 |
</td>
|
218 |
|
219 |
<td class="name"><div>
|
220 |
-
<a class="anchor" href="#
|
221 |
-
<code><a href="source-class-WPGMZA.Plugin.html#
|
222 |
|
223 |
<div class="description short">
|
224 |
-
|
225 |
</div>
|
226 |
|
227 |
<div class="description detailed hidden">
|
228 |
-
|
229 |
-
|
230 |
-
<p>If any of the enqueue scripts, admin enqueue scripts or enqueue block assets (Gutenberg) actions have already fired, this function will immediately ask the script loader to enqueue the plugins scripts and styles.</p>
|
231 |
-
|
232 |
-
<p>If none of those actions have fired yet, this function will bind to all three and enqueue the scripts at the correct time.</p>
|
233 |
|
234 |
|
235 |
|
@@ -240,33 +290,33 @@
|
|
240 |
</div>
|
241 |
</div></td>
|
242 |
</tr>
|
243 |
-
<tr data-order="
|
244 |
|
245 |
<td class="attributes"><code>
|
246 |
public
|
247 |
|
248 |
-
|
249 |
|
250 |
</code>
|
251 |
</td>
|
252 |
|
253 |
<td class="name"><div>
|
254 |
-
<a class="anchor" href="#
|
255 |
-
<code><a href="source-class-WPGMZA.Plugin.html#
|
256 |
|
257 |
<div class="description short">
|
258 |
-
<p>
|
259 |
</div>
|
260 |
|
261 |
<div class="description detailed hidden">
|
262 |
-
<p>
|
|
|
|
|
|
|
|
|
263 |
|
264 |
|
265 |
|
266 |
-
<h4>Returns</h4>
|
267 |
-
<div class="list">
|
268 |
-
array<br>An array of key value pairs with the default plugin settings.
|
269 |
-
</div>
|
270 |
|
271 |
|
272 |
|
@@ -279,31 +329,25 @@
|
|
279 |
<td class="attributes"><code>
|
280 |
public
|
281 |
|
282 |
-
|
283 |
|
284 |
</code>
|
285 |
</td>
|
286 |
|
287 |
<td class="name"><div>
|
288 |
<a class="anchor" href="#_getLocalizedData">#</a>
|
289 |
-
<code><a href="source-class-WPGMZA.Plugin.html#
|
290 |
|
291 |
<div class="description short">
|
292 |
-
|
293 |
</div>
|
294 |
|
295 |
<div class="description detailed hidden">
|
296 |
-
|
297 |
|
298 |
-
<p>This array is passed through the filter wpgmza_plugin_get_localized_data.</p>
|
299 |
|
300 |
|
301 |
|
302 |
-
<h4>Returns</h4>
|
303 |
-
<div class="list">
|
304 |
-
array<br>A key value array of variables to be passed to JavaScript.
|
305 |
-
</div>
|
306 |
-
|
307 |
|
308 |
|
309 |
|
@@ -322,7 +366,7 @@
|
|
322 |
|
323 |
<td class="name"><div>
|
324 |
<a class="anchor" href="#_getCurrentPage">#</a>
|
325 |
-
<code><a href="source-class-WPGMZA.Plugin.html#
|
326 |
|
327 |
<div class="description short">
|
328 |
<p>Returns a string stating the current page, relevant to this plugin. Please refer to the constants on this class for a list of available pages. If the current page is not relevant to this plugin, NULL is returned.</p>
|
@@ -356,7 +400,7 @@
|
|
356 |
|
357 |
<td class="name"><div>
|
358 |
<a class="anchor" href="#_isUsingMinifiedScripts">#</a>
|
359 |
-
<code><a href="source-class-WPGMZA.Plugin.html#
|
360 |
|
361 |
<div class="description short">
|
362 |
<p>Returns true if we are to be using combined or minified JavaScript</p>
|
@@ -390,7 +434,7 @@
|
|
390 |
|
391 |
<td class="name"><div>
|
392 |
<a class="anchor" href="#_isInDeveloperMode">#</a>
|
393 |
-
<code><a href="source-class-WPGMZA.Plugin.html#
|
394 |
|
395 |
<div class="description short">
|
396 |
<p>Returns true if the developer mode setting is checked, or if the developer mode cookie is set.</p>
|
@@ -424,7 +468,7 @@
|
|
424 |
|
425 |
<td class="name"><div>
|
426 |
<a class="anchor" href="#_isProVersion">#</a>
|
427 |
-
<code><a href="source-class-WPGMZA.Plugin.html#
|
428 |
|
429 |
<div class="description short">
|
430 |
<p>Check whether we are running the Pro add-on.</p>
|
@@ -458,7 +502,7 @@
|
|
458 |
|
459 |
<td class="name"><div>
|
460 |
<a class="anchor" href="#_getBasicVersion">#</a>
|
461 |
-
<code><a href="source-class-WPGMZA.Plugin.html#
|
462 |
|
463 |
<div class="description short">
|
464 |
<p>Returns the plugin version, based on the plugin comment header. This value will be cached if it hasn't been read already.</p>
|
@@ -492,7 +536,7 @@
|
|
492 |
|
493 |
<td class="name"><div>
|
494 |
<a class="anchor" href="#_onLoadTextDomainMOFile">#</a>
|
495 |
-
<code><a href="source-class-WPGMZA.Plugin.html#
|
496 |
|
497 |
<div class="description short">
|
498 |
<p>Hooks into load_textdomain_mofile, this function is used to override the WordPress repo translations and force the translations bundled with our plugin to be used. These are more complete and accurate than the WordPress community translations.</p>
|
@@ -523,6 +567,14 @@
|
|
523 |
</tr>
|
524 |
</table>
|
525 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
526 |
|
527 |
|
528 |
|
@@ -732,50 +784,21 @@
|
|
732 |
</div>
|
733 |
</td>
|
734 |
</tr>
|
735 |
-
<tr data-order="settings" id="$settings">
|
736 |
-
<td class="attributes"><code>
|
737 |
-
public
|
738 |
-
array
|
739 |
-
</code></td>
|
740 |
-
|
741 |
-
<td class="name">
|
742 |
-
<a href="source-class-WPGMZA.Plugin.html#30-34" title="Go to source code"><var>$settings</var></a>
|
743 |
-
|
744 |
-
<div class="description short">
|
745 |
-
<p>The plugins global settings. Please note this will be dropped and handed over to the GlobalSettings module in 7.11.00. This should not effect interaction with this property - you can continue to access this as an array safely.</p>
|
746 |
-
</div>
|
747 |
-
|
748 |
-
<div class="description detailed hidden">
|
749 |
-
<p>The plugins global settings. Please note this will be dropped and handed over to the GlobalSettings module in 7.11.00. This should not effect interaction with this property - you can continue to access this as an array safely.</p>
|
750 |
-
|
751 |
-
<h4>Deprecated</h4>
|
752 |
-
<div class="list">
|
753 |
-
Will be read-only and an instance of GLobalSettings as of 7.11.00<br>
|
754 |
-
</div>
|
755 |
-
</div>
|
756 |
-
</td>
|
757 |
-
<td class="value">
|
758 |
-
<div>
|
759 |
-
<a href="#$settings" class="anchor">#</a>
|
760 |
-
<code></code>
|
761 |
-
</div>
|
762 |
-
</td>
|
763 |
-
</tr>
|
764 |
<tr data-order="scriptLoader" id="$scriptLoader">
|
765 |
<td class="attributes"><code>
|
766 |
protected
|
767 |
-
|
768 |
</code></td>
|
769 |
|
770 |
<td class="name">
|
771 |
-
<a href="source-class-WPGMZA.Plugin.html#
|
772 |
|
773 |
<div class="description short">
|
774 |
-
|
775 |
</div>
|
776 |
|
777 |
<div class="description detailed hidden">
|
778 |
-
|
779 |
|
780 |
</div>
|
781 |
</td>
|
@@ -786,31 +809,6 @@
|
|
786 |
</div>
|
787 |
</td>
|
788 |
</tr>
|
789 |
-
<tr data-order="restAPI" id="$restAPI">
|
790 |
-
<td class="attributes"><code>
|
791 |
-
protected
|
792 |
-
<code><a href="class-WPGMZA.RestAPI.html">WPGMZA\RestAPI</a></code>
|
793 |
-
</code></td>
|
794 |
-
|
795 |
-
<td class="name">
|
796 |
-
<a href="source-class-WPGMZA.Plugin.html#41-44" title="Go to source code"><var>$restAPI</var></a>
|
797 |
-
|
798 |
-
<div class="description short">
|
799 |
-
<p>An instance of RestAPI, used internally.</p>
|
800 |
-
</div>
|
801 |
-
|
802 |
-
<div class="description detailed hidden">
|
803 |
-
<p>An instance of RestAPI, used internally.</p>
|
804 |
-
|
805 |
-
</div>
|
806 |
-
</td>
|
807 |
-
<td class="value">
|
808 |
-
<div>
|
809 |
-
<a href="#$restAPI" class="anchor">#</a>
|
810 |
-
<code></code>
|
811 |
-
</div>
|
812 |
-
</td>
|
813 |
-
</tr>
|
814 |
</table>
|
815 |
|
816 |
|
49 |
<div id="elements">
|
50 |
<h3>Classes</h3>
|
51 |
<ul>
|
52 |
+
<li><a href="class-WPGMZA.AdminMarkerDataTable.html">AdminMarkerDataTable</a></li>
|
53 |
+
<li><a href="class-WPGMZA.AjaxTable.html">AjaxTable</a></li>
|
54 |
<li><a href="class-WPGMZA.AutoLoader.html">AutoLoader</a></li>
|
55 |
<li><a href="class-WPGMZA.Crud.html">Crud</a></li>
|
56 |
+
<li><a href="class-WPGMZA.Database.html">Database</a></li>
|
57 |
+
<li><a href="class-WPGMZA.DataTable.html">DataTable</a></li>
|
58 |
+
<li><a href="class-WPGMZA.Distance.html">Distance</a></li>
|
59 |
<li><a href="class-WPGMZA.DOMDocument.html">DOMDocument</a></li>
|
60 |
<li><a href="class-WPGMZA.DOMElement.html">DOMElement</a></li>
|
61 |
<li><a href="class-WPGMZA.Factory.html">Factory</a></li>
|
62 |
<li><a href="class-WPGMZA.GDPRCompliance.html">GDPRCompliance</a></li>
|
63 |
+
<li><a href="class-WPGMZA.GlobalSettings.html">GlobalSettings</a></li>
|
64 |
<li><a href="class-WPGMZA.GoogleGeocoder.html">GoogleGeocoder</a></li>
|
65 |
<li><a href="class-WPGMZA.GoogleMap.html">GoogleMap</a></li>
|
66 |
<li><a href="class-WPGMZA.GoogleMapsAPILoader.html" class="deprecated">GoogleMapsAPILoader</a></li>
|
69 |
<li><a href="class-WPGMZA.Map.html">Map</a></li>
|
70 |
<li><a href="class-WPGMZA.MapsEngineDialog.html">MapsEngineDialog</a></li>
|
71 |
<li><a href="class-WPGMZA.Marker.html">Marker</a></li>
|
72 |
+
<li><a href="class-WPGMZA.MarkerDataTable.html">MarkerDataTable</a></li>
|
73 |
+
<li><a href="class-WPGMZA.MarkerFilter.html">MarkerFilter</a></li>
|
74 |
<li><a href="class-WPGMZA.ModalDialog.html">ModalDialog</a></li>
|
75 |
<li><a href="class-WPGMZA.NominatimGeocodeCache.html">NominatimGeocodeCache</a></li>
|
76 |
<li><a href="class-WPGMZA.OLLoader.html">OLLoader</a></li>
|
77 |
<li class="active"><a href="class-WPGMZA.Plugin.html">Plugin</a></li>
|
78 |
+
<li><a href="class-WPGMZA.Query.html">Query</a></li>
|
79 |
+
<li><a href="class-WPGMZA.QueryFragment.html">QueryFragment</a></li>
|
80 |
<li><a href="class-WPGMZA.RestAPI.html">RestAPI</a></li>
|
81 |
<li><a href="class-WPGMZA.ScriptLoader.html">ScriptLoader</a></li>
|
82 |
<li><a href="class-WPGMZA.Strings.html">Strings</a></li>
|
83 |
+
<li><a href="class-WPGMZA.Table.html">Table</a></li>
|
84 |
</ul>
|
85 |
|
86 |
|
90 |
<h3>Functions</h3>
|
91 |
<ul>
|
92 |
<li><a href="function-WPGMZA.create_marker_instance_delegate.html">create_marker_instance_delegate</a></li>
|
|
|
93 |
<li><a href="function-WPGMZA.query_nominatim_cache.html" class="deprecated">query_nominatim_cache</a></li>
|
94 |
<li><a href="function-WPGMZA.store_nominatim_cache.html" class="deprecated">store_nominatim_cache</a></li>
|
95 |
</ul>
|
134 |
<p>It also provides a number of helpful utility functions.</p>
|
135 |
</div>
|
136 |
|
137 |
+
<dl class="tree">
|
138 |
+
<dd style="padding-left:0px">
|
139 |
+
<a href="class-WPGMZA.Factory.html"><span>WPGMZA\Factory</span></a>
|
140 |
+
|
141 |
+
|
142 |
+
|
143 |
+
</dd>
|
144 |
+
<dd style="padding-left:30px">
|
145 |
+
<img src="resources/inherit.png" alt="Extended by">
|
146 |
+
<b><span>WPGMZA\Plugin</span></b>
|
147 |
+
|
148 |
+
|
149 |
+
</dd>
|
150 |
+
</dl>
|
151 |
|
152 |
|
153 |
|
162 |
<b>Namespace:</b> <a href="namespace-WPGMZA.html">WPGMZA</a><br>
|
163 |
|
164 |
|
165 |
+
<b>Located at</b> <a href="source-class-WPGMZA.Plugin.html#5-321" title="Go to source code">class.plugin.php</a>
|
166 |
<br>
|
167 |
</div>
|
168 |
|
182 |
|
183 |
<td class="name"><div>
|
184 |
<a class="anchor" href="#___construct">#</a>
|
185 |
+
<code><a href="source-class-WPGMZA.Plugin.html#41-111" title="Go to source code">__construct</a>( )</code>
|
186 |
|
187 |
<div class="description short">
|
188 |
<p>Constructor. Called when plugins_loaded fires.</p>
|
197 |
|
198 |
|
199 |
|
200 |
+
</div>
|
201 |
+
</div></td>
|
202 |
+
</tr>
|
203 |
+
<tr data-order="__set" id="___set">
|
204 |
+
|
205 |
+
<td class="attributes"><code>
|
206 |
+
public
|
207 |
+
|
208 |
+
|
209 |
+
|
210 |
+
</code>
|
211 |
+
</td>
|
212 |
+
|
213 |
+
<td class="name"><div>
|
214 |
+
<a class="anchor" href="#___set">#</a>
|
215 |
+
<code><a href="source-class-WPGMZA.Plugin.html#113-119" title="Go to source code">__set</a>( <span> <var>$name</var></span>, <span> <var>$value</var></span> )</code>
|
216 |
+
|
217 |
+
<div class="description short">
|
218 |
+
|
219 |
+
</div>
|
220 |
+
|
221 |
+
<div class="description detailed hidden">
|
222 |
+
|
223 |
+
|
224 |
+
|
225 |
+
|
226 |
+
|
227 |
+
|
228 |
+
|
229 |
+
|
230 |
</div>
|
231 |
</div></td>
|
232 |
</tr>
|
242 |
|
243 |
<td class="name"><div>
|
244 |
<a class="anchor" href="#___get">#</a>
|
245 |
+
<code><a href="source-class-WPGMZA.Plugin.html#121-137" title="Go to source code">__get</a>( <span> <var>$name</var></span> )</code>
|
246 |
|
247 |
<div class="description short">
|
248 |
<p>Getter, see property-read above.</p>
|
260 |
</div>
|
261 |
</div></td>
|
262 |
</tr>
|
263 |
+
<tr data-order="onInit" id="_onInit">
|
264 |
|
265 |
<td class="attributes"><code>
|
266 |
public
|
271 |
</td>
|
272 |
|
273 |
<td class="name"><div>
|
274 |
+
<a class="anchor" href="#_onInit">#</a>
|
275 |
+
<code><a href="source-class-WPGMZA.Plugin.html#139-142" title="Go to source code">onInit</a>( )</code>
|
276 |
|
277 |
<div class="description short">
|
278 |
+
|
279 |
</div>
|
280 |
|
281 |
<div class="description detailed hidden">
|
282 |
+
|
|
|
|
|
|
|
|
|
283 |
|
284 |
|
285 |
|
290 |
</div>
|
291 |
</div></td>
|
292 |
</tr>
|
293 |
+
<tr data-order="loadScripts" id="_loadScripts">
|
294 |
|
295 |
<td class="attributes"><code>
|
296 |
public
|
297 |
|
298 |
+
|
299 |
|
300 |
</code>
|
301 |
</td>
|
302 |
|
303 |
<td class="name"><div>
|
304 |
+
<a class="anchor" href="#_loadScripts">#</a>
|
305 |
+
<code><a href="source-class-WPGMZA.Plugin.html#144-177" title="Go to source code">loadScripts</a>( )</code>
|
306 |
|
307 |
<div class="description short">
|
308 |
+
<p>This function will cause the plugin scripts to be loaded. Firstly it will initialize an instance of ScriptLoader. If the developer mode setting is enabled, the scripts will be rebuilt.</p>
|
309 |
</div>
|
310 |
|
311 |
<div class="description detailed hidden">
|
312 |
+
<p>This function will cause the plugin scripts to be loaded. Firstly it will initialize an instance of ScriptLoader. If the developer mode setting is enabled, the scripts will be rebuilt.</p>
|
313 |
+
|
314 |
+
<p>If any of the enqueue scripts, admin enqueue scripts or enqueue block assets (Gutenberg) actions have already fired, this function will immediately ask the script loader to enqueue the plugins scripts and styles.</p>
|
315 |
+
|
316 |
+
<p>If none of those actions have fired yet, this function will bind to all three and enqueue the scripts at the correct time.</p>
|
317 |
|
318 |
|
319 |
|
|
|
|
|
|
|
|
|
320 |
|
321 |
|
322 |
|
329 |
<td class="attributes"><code>
|
330 |
public
|
331 |
|
332 |
+
|
333 |
|
334 |
</code>
|
335 |
</td>
|
336 |
|
337 |
<td class="name"><div>
|
338 |
<a class="anchor" href="#_getLocalizedData">#</a>
|
339 |
+
<code><a href="source-class-WPGMZA.Plugin.html#179-218" title="Go to source code">getLocalizedData</a>( )</code>
|
340 |
|
341 |
<div class="description short">
|
342 |
+
|
343 |
</div>
|
344 |
|
345 |
<div class="description detailed hidden">
|
346 |
+
|
347 |
|
|
|
348 |
|
349 |
|
350 |
|
|
|
|
|
|
|
|
|
|
|
351 |
|
352 |
|
353 |
|
366 |
|
367 |
<td class="name"><div>
|
368 |
<a class="anchor" href="#_getCurrentPage">#</a>
|
369 |
+
<code><a href="source-class-WPGMZA.Plugin.html#220-260" title="Go to source code">getCurrentPage</a>( )</code>
|
370 |
|
371 |
<div class="description short">
|
372 |
<p>Returns a string stating the current page, relevant to this plugin. Please refer to the constants on this class for a list of available pages. If the current page is not relevant to this plugin, NULL is returned.</p>
|
400 |
|
401 |
<td class="name"><div>
|
402 |
<a class="anchor" href="#_isUsingMinifiedScripts">#</a>
|
403 |
+
<code><a href="source-class-WPGMZA.Plugin.html#262-269" title="Go to source code">isUsingMinifiedScripts</a>( )</code>
|
404 |
|
405 |
<div class="description short">
|
406 |
<p>Returns true if we are to be using combined or minified JavaScript</p>
|
434 |
|
435 |
<td class="name"><div>
|
436 |
<a class="anchor" href="#_isInDeveloperMode">#</a>
|
437 |
+
<code><a href="source-class-WPGMZA.Plugin.html#271-278" title="Go to source code">isInDeveloperMode</a>( )</code>
|
438 |
|
439 |
<div class="description short">
|
440 |
<p>Returns true if the developer mode setting is checked, or if the developer mode cookie is set.</p>
|
468 |
|
469 |
<td class="name"><div>
|
470 |
<a class="anchor" href="#_isProVersion">#</a>
|
471 |
+
<code><a href="source-class-WPGMZA.Plugin.html#280-290" title="Go to source code">isProVersion</a>( )</code>
|
472 |
|
473 |
<div class="description short">
|
474 |
<p>Check whether we are running the Pro add-on.</p>
|
502 |
|
503 |
<td class="name"><div>
|
504 |
<a class="anchor" href="#_getBasicVersion">#</a>
|
505 |
+
<code><a href="source-class-WPGMZA.Plugin.html#292-306" title="Go to source code">getBasicVersion</a>( )</code>
|
506 |
|
507 |
<div class="description short">
|
508 |
<p>Returns the plugin version, based on the plugin comment header. This value will be cached if it hasn't been read already.</p>
|
536 |
|
537 |
<td class="name"><div>
|
538 |
<a class="anchor" href="#_onLoadTextDomainMOFile">#</a>
|
539 |
+
<code><a href="source-class-WPGMZA.Plugin.html#308-320" title="Go to source code">onLoadTextDomainMOFile</a>( <span>string <var>$mofile</var></span>, <span>string <var>$domain</var></span> )</code>
|
540 |
|
541 |
<div class="description short">
|
542 |
<p>Hooks into load_textdomain_mofile, this function is used to override the WordPress repo translations and force the translations bundled with our plugin to be used. These are more complete and accurate than the WordPress community translations.</p>
|
567 |
</tr>
|
568 |
</table>
|
569 |
|
570 |
+
<table class="summary inherited">
|
571 |
+
<caption>Methods inherited from <a href="class-WPGMZA.Factory.html#methods">WPGMZA\Factory</a></caption>
|
572 |
+
<tr>
|
573 |
+
<td><code>
|
574 |
+
<a href="class-WPGMZA.Factory.html#_createInstance">createInstance()</a>
|
575 |
+
</code></td>
|
576 |
+
</tr>
|
577 |
+
</table>
|
578 |
|
579 |
|
580 |
|
784 |
</div>
|
785 |
</td>
|
786 |
</tr>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
787 |
<tr data-order="scriptLoader" id="$scriptLoader">
|
788 |
<td class="attributes"><code>
|
789 |
protected
|
790 |
+
|
791 |
</code></td>
|
792 |
|
793 |
<td class="name">
|
794 |
+
<a href="source-class-WPGMZA.Plugin.html#35" title="Go to source code"><var>$scriptLoader</var></a>
|
795 |
|
796 |
<div class="description short">
|
797 |
+
|
798 |
</div>
|
799 |
|
800 |
<div class="description detailed hidden">
|
801 |
+
|
802 |
|
803 |
</div>
|
804 |
</td>
|
809 |
</div>
|
810 |
</td>
|
811 |
</tr>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
812 |
</table>
|
813 |
|
814 |
|
@@ -0,0 +1,333 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<!DOCTYPE html>
|
2 |
+
<html>
|
3 |
+
<head>
|
4 |
+
<meta charset="utf-8">
|
5 |
+
|
6 |
+
<title>Class WPGMZA\Query</title>
|
7 |
+
|
8 |
+
<link rel="stylesheet" href="resources/style.css?c2f33731c1948fbed7c333554678bfa68d4817da">
|
9 |
+
|
10 |
+
</head>
|
11 |
+
|
12 |
+
<body>
|
13 |
+
<div id="left">
|
14 |
+
<div id="menu">
|
15 |
+
<a href="index.html" title="Overview"><span>Overview</span></a>
|
16 |
+
|
17 |
+
|
18 |
+
<div id="groups">
|
19 |
+
<h3>Namespaces</h3>
|
20 |
+
<ul>
|
21 |
+
<li>
|
22 |
+
<a href="namespace-None.html">
|
23 |
+
None </a>
|
24 |
+
|
25 |
+
</li>
|
26 |
+
<li class="active">
|
27 |
+
<a href="namespace-WPGMZA.html">
|
28 |
+
WPGMZA<span></span>
|
29 |
+
</a>
|
30 |
+
|
31 |
+
<ul>
|
32 |
+
<li>
|
33 |
+
<a href="namespace-WPGMZA.Integration.html">
|
34 |
+
Integration </a>
|
35 |
+
|
36 |
+
</li>
|
37 |
+
<li>
|
38 |
+
<a href="namespace-WPGMZA.Selector.html">
|
39 |
+
Selector </a>
|
40 |
+
|
41 |
+
</li>
|
42 |
+
</ul></li>
|
43 |
+
</ul>
|
44 |
+
</div>
|
45 |
+
|
46 |
+
<hr>
|
47 |
+
|
48 |
+
|
49 |
+
<div id="elements">
|
50 |
+
<h3>Classes</h3>
|
51 |
+
<ul>
|
52 |
+
<li><a href="class-WPGMZA.AdminMarkerDataTable.html">AdminMarkerDataTable</a></li>
|
53 |
+
<li><a href="class-WPGMZA.AjaxTable.html">AjaxTable</a></li>
|
54 |
+
<li><a href="class-WPGMZA.AutoLoader.html">AutoLoader</a></li>
|
55 |
+
<li><a href="class-WPGMZA.Crud.html">Crud</a></li>
|
56 |
+
<li><a href="class-WPGMZA.Database.html">Database</a></li>
|
57 |
+
<li><a href="class-WPGMZA.DataTable.html">DataTable</a></li>
|
58 |
+
<li><a href="class-WPGMZA.Distance.html">Distance</a></li>
|
59 |
+
<li><a href="class-WPGMZA.DOMDocument.html">DOMDocument</a></li>
|
60 |
+
<li><a href="class-WPGMZA.DOMElement.html">DOMElement</a></li>
|
61 |
+
<li><a href="class-WPGMZA.Factory.html">Factory</a></li>
|
62 |
+
<li><a href="class-WPGMZA.GDPRCompliance.html">GDPRCompliance</a></li>
|
63 |
+
<li><a href="class-WPGMZA.GlobalSettings.html">GlobalSettings</a></li>
|
64 |
+
<li><a href="class-WPGMZA.GoogleGeocoder.html">GoogleGeocoder</a></li>
|
65 |
+
<li><a href="class-WPGMZA.GoogleMap.html">GoogleMap</a></li>
|
66 |
+
<li><a href="class-WPGMZA.GoogleMapsAPILoader.html" class="deprecated">GoogleMapsAPILoader</a></li>
|
67 |
+
<li><a href="class-WPGMZA.GoogleMapsLoader.html" class="deprecated">GoogleMapsLoader</a></li>
|
68 |
+
<li><a href="class-WPGMZA.LatLng.html">LatLng</a></li>
|
69 |
+
<li><a href="class-WPGMZA.Map.html">Map</a></li>
|
70 |
+
<li><a href="class-WPGMZA.MapsEngineDialog.html">MapsEngineDialog</a></li>
|
71 |
+
<li><a href="class-WPGMZA.Marker.html">Marker</a></li>
|
72 |
+
<li><a href="class-WPGMZA.MarkerDataTable.html">MarkerDataTable</a></li>
|
73 |
+
<li><a href="class-WPGMZA.MarkerFilter.html">MarkerFilter</a></li>
|
74 |
+
<li><a href="class-WPGMZA.ModalDialog.html">ModalDialog</a></li>
|
75 |
+
<li><a href="class-WPGMZA.NominatimGeocodeCache.html">NominatimGeocodeCache</a></li>
|
76 |
+
<li><a href="class-WPGMZA.OLLoader.html">OLLoader</a></li>
|
77 |
+
<li><a href="class-WPGMZA.Plugin.html">Plugin</a></li>
|
78 |
+
<li class="active"><a href="class-WPGMZA.Query.html">Query</a></li>
|
79 |
+
<li><a href="class-WPGMZA.QueryFragment.html">QueryFragment</a></li>
|
80 |
+
<li><a href="class-WPGMZA.RestAPI.html">RestAPI</a></li>
|
81 |
+
<li><a href="class-WPGMZA.ScriptLoader.html">ScriptLoader</a></li>
|
82 |
+
<li><a href="class-WPGMZA.Strings.html">Strings</a></li>
|
83 |
+
<li><a href="class-WPGMZA.Table.html">Table</a></li>
|
84 |
+
</ul>
|
85 |
+
|
86 |
+
|
87 |
+
|
88 |
+
|
89 |
+
|
90 |
+
<h3>Functions</h3>
|
91 |
+
<ul>
|
92 |
+
<li><a href="function-WPGMZA.create_marker_instance_delegate.html">create_marker_instance_delegate</a></li>
|
93 |
+
<li><a href="function-WPGMZA.query_nominatim_cache.html" class="deprecated">query_nominatim_cache</a></li>
|
94 |
+
<li><a href="function-WPGMZA.store_nominatim_cache.html" class="deprecated">store_nominatim_cache</a></li>
|
95 |
+
</ul>
|
96 |
+
</div>
|
97 |
+
</div>
|
98 |
+
</div>
|
99 |
+
|
100 |
+
<div id="splitter"></div>
|
101 |
+
|
102 |
+
<div id="right">
|
103 |
+
<div id="rightInner">
|
104 |
+
<form id="search">
|
105 |
+
<input type="hidden" name="cx" value="">
|
106 |
+
<input type="hidden" name="ie" value="UTF-8">
|
107 |
+
<input type="text" name="q" class="text" placeholder="Search">
|
108 |
+
</form>
|
109 |
+
|
110 |
+
<div id="navigation">
|
111 |
+
<ul>
|
112 |
+
<li>
|
113 |
+
<a href="index.html" title="Overview"><span>Overview</span></a>
|
114 |
+
</li>
|
115 |
+
<li>
|
116 |
+
<a href="namespace-WPGMZA.html" title="Summary of WPGMZA"><span>Namespace</span></a>
|
117 |
+
</li>
|
118 |
+
<li class="active">
|
119 |
+
<span>Class</span> </li>
|
120 |
+
</ul>
|
121 |
+
<ul>
|
122 |
+
</ul>
|
123 |
+
<ul>
|
124 |
+
</ul>
|
125 |
+
</div>
|
126 |
+
|
127 |
+
<div id="content" class="class">
|
128 |
+
<h1>Class Query</h1>
|
129 |
+
|
130 |
+
|
131 |
+
|
132 |
+
|
133 |
+
|
134 |
+
|
135 |
+
|
136 |
+
|
137 |
+
|
138 |
+
|
139 |
+
|
140 |
+
<div class="info">
|
141 |
+
|
142 |
+
|
143 |
+
<b>Namespace:</b> <a href="namespace-WPGMZA.html">WPGMZA</a><br>
|
144 |
+
|
145 |
+
|
146 |
+
<b>Located at</b> <a href="source-class-WPGMZA.Query.html#5-201" title="Go to source code">class.query.php</a>
|
147 |
+
<br>
|
148 |
+
</div>
|
149 |
+
|
150 |
+
|
151 |
+
|
152 |
+
<table class="summary methods" id="methods">
|
153 |
+
<caption>Methods summary</caption>
|
154 |
+
<tr data-order="__construct" id="___construct">
|
155 |
+
|
156 |
+
<td class="attributes"><code>
|
157 |
+
public
|
158 |
+
|
159 |
+
|
160 |
+
|
161 |
+
</code>
|
162 |
+
</td>
|
163 |
+
|
164 |
+
<td class="name"><div>
|
165 |
+
<a class="anchor" href="#___construct">#</a>
|
166 |
+
<code><a href="source-class-WPGMZA.Query.html#22-37" title="Go to source code">__construct</a>( <span> <var>$parts</var> = <span class="php-keyword1">null</span></span> )</code>
|
167 |
+
|
168 |
+
<div class="description short">
|
169 |
+
|
170 |
+
</div>
|
171 |
+
|
172 |
+
<div class="description detailed hidden">
|
173 |
+
|
174 |
+
|
175 |
+
|
176 |
+
|
177 |
+
|
178 |
+
|
179 |
+
|
180 |
+
|
181 |
+
</div>
|
182 |
+
</div></td>
|
183 |
+
</tr>
|
184 |
+
<tr data-order="__get" id="___get">
|
185 |
+
|
186 |
+
<td class="attributes"><code>
|
187 |
+
public
|
188 |
+
|
189 |
+
|
190 |
+
|
191 |
+
</code>
|
192 |
+
</td>
|
193 |
+
|
194 |
+
<td class="name"><div>
|
195 |
+
<a class="anchor" href="#___get">#</a>
|
196 |
+
<code><a href="source-class-WPGMZA.Query.html#39-50" title="Go to source code">__get</a>( <span> <var>$name</var></span> )</code>
|
197 |
+
|
198 |
+
<div class="description short">
|
199 |
+
|
200 |
+
</div>
|
201 |
+
|
202 |
+
<div class="description detailed hidden">
|
203 |
+
|
204 |
+
|
205 |
+
|
206 |
+
|
207 |
+
|
208 |
+
|
209 |
+
|
210 |
+
|
211 |
+
</div>
|
212 |
+
</div></td>
|
213 |
+
</tr>
|
214 |
+
<tr data-order="__set" id="___set">
|
215 |
+
|
216 |
+
<td class="attributes"><code>
|
217 |
+
public
|
218 |
+
|
219 |
+
|
220 |
+
|
221 |
+
</code>
|
222 |
+
</td>
|
223 |
+
|
224 |
+
<td class="name"><div>
|
225 |
+
<a class="anchor" href="#___set">#</a>
|
226 |
+
<code><a href="source-class-WPGMZA.Query.html#52-96" title="Go to source code">__set</a>( <span> <var>$name</var></span>, <span> <var>$value</var></span> )</code>
|
227 |
+
|
228 |
+
<div class="description short">
|
229 |
+
|
230 |
+
</div>
|
231 |
+
|
232 |
+
<div class="description detailed hidden">
|
233 |
+
|
234 |
+
|
235 |
+
|
236 |
+
|
237 |
+
|
238 |
+
|
239 |
+
|
240 |
+
|
241 |
+
</div>
|
242 |
+
</div></td>
|
243 |
+
</tr>
|
244 |
+
<tr data-order="in" id="_in">
|
245 |
+
|
246 |
+
<td class="attributes"><code>
|
247 |
+
public
|
248 |
+
|
249 |
+
|
250 |
+
|
251 |
+
</code>
|
252 |
+
</td>
|
253 |
+
|
254 |
+
<td class="name"><div>
|
255 |
+
<a class="anchor" href="#_in">#</a>
|
256 |
+
<code><a href="source-class-WPGMZA.Query.html#120-141" title="Go to source code">in</a>( <span> <var>$field</var></span>, <span> <var>$set</var></span>, <span> <var>$placeholder</var> = <span class="php-quote">'%d'</span></span> )</code>
|
257 |
+
|
258 |
+
<div class="description short">
|
259 |
+
|
260 |
+
</div>
|
261 |
+
|
262 |
+
<div class="description detailed hidden">
|
263 |
+
|
264 |
+
|
265 |
+
|
266 |
+
|
267 |
+
|
268 |
+
|
269 |
+
|
270 |
+
|
271 |
+
</div>
|
272 |
+
</div></td>
|
273 |
+
</tr>
|
274 |
+
<tr data-order="build" id="_build">
|
275 |
+
|
276 |
+
<td class="attributes"><code>
|
277 |
+
public
|
278 |
+
|
279 |
+
|
280 |
+
|
281 |
+
</code>
|
282 |
+
</td>
|
283 |
+
|
284 |
+
<td class="name"><div>
|
285 |
+
<a class="anchor" href="#_build">#</a>
|
286 |
+
<code><a href="source-class-WPGMZA.Query.html#143-200" title="Go to source code">build</a>( )</code>
|
287 |
+
|
288 |
+
<div class="description short">
|
289 |
+
|
290 |
+
</div>
|
291 |
+
|
292 |
+
<div class="description detailed hidden">
|
293 |
+
|
294 |
+
|
295 |
+
|
296 |
+
|
297 |
+
|
298 |
+
|
299 |
+
|
300 |
+
|
301 |
+
</div>
|
302 |
+
</div></td>
|
303 |
+
</tr>
|
304 |
+
</table>
|
305 |
+
|
306 |
+
|
307 |
+
|
308 |
+
|
309 |
+
|
310 |
+
|
311 |
+
|
312 |
+
|
313 |
+
|
314 |
+
|
315 |
+
|
316 |
+
|
317 |
+
|
318 |
+
|
319 |
+
|
320 |
+
|
321 |
+
|
322 |
+
|
323 |
+
</div>
|
324 |
+
|
325 |
+
<div id="footer">
|
326 |
+
API documentation generated by <a href="http://apigen.org">ApiGen</a>
|
327 |
+
</div>
|
328 |
+
</div>
|
329 |
+
</div>
|
330 |
+
<script src="resources/combined.js"></script>
|
331 |
+
<script src="elementlist.js"></script>
|
332 |
+
</body>
|
333 |
+
</html>
|
@@ -0,0 +1,380 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<!DOCTYPE html>
|
2 |
+
<html>
|
3 |
+
<head>
|
4 |
+
<meta charset="utf-8">
|
5 |
+
|
6 |
+
<title>Class WPGMZA\QueryFragment</title>
|
7 |
+
|
8 |
+
<link rel="stylesheet" href="resources/style.css?c2f33731c1948fbed7c333554678bfa68d4817da">
|
9 |
+
|
10 |
+
</head>
|
11 |
+
|
12 |
+
<body>
|
13 |
+
<div id="left">
|
14 |
+
<div id="menu">
|
15 |
+
<a href="index.html" title="Overview"><span>Overview</span></a>
|
16 |
+
|
17 |
+
|
18 |
+
<div id="groups">
|
19 |
+
<h3>Namespaces</h3>
|
20 |
+
<ul>
|
21 |
+
<li>
|
22 |
+
<a href="namespace-None.html">
|
23 |
+
None </a>
|
24 |
+
|
25 |
+
</li>
|
26 |
+
<li class="active">
|
27 |
+
<a href="namespace-WPGMZA.html">
|
28 |
+
WPGMZA<span></span>
|
29 |
+
</a>
|
30 |
+
|
31 |
+
<ul>
|
32 |
+
<li>
|
33 |
+
<a href="namespace-WPGMZA.Integration.html">
|
34 |
+
Integration </a>
|
35 |
+
|
36 |
+
</li>
|
37 |
+
<li>
|
38 |
+
<a href="namespace-WPGMZA.Selector.html">
|
39 |
+
Selector </a>
|
40 |
+
|
41 |
+
</li>
|
42 |
+
</ul></li>
|
43 |
+
</ul>
|
44 |
+
</div>
|
45 |
+
|
46 |
+
<hr>
|
47 |
+
|
48 |
+
|
49 |
+
<div id="elements">
|
50 |
+
<h3>Classes</h3>
|
51 |
+
<ul>
|
52 |
+
<li><a href="class-WPGMZA.AdminMarkerDataTable.html">AdminMarkerDataTable</a></li>
|
53 |
+
<li><a href="class-WPGMZA.AjaxTable.html">AjaxTable</a></li>
|
54 |
+
<li><a href="class-WPGMZA.AutoLoader.html">AutoLoader</a></li>
|
55 |
+
<li><a href="class-WPGMZA.Crud.html">Crud</a></li>
|
56 |
+
<li><a href="class-WPGMZA.Database.html">Database</a></li>
|
57 |
+
<li><a href="class-WPGMZA.DataTable.html">DataTable</a></li>
|
58 |
+
<li><a href="class-WPGMZA.Distance.html">Distance</a></li>
|
59 |
+
<li><a href="class-WPGMZA.DOMDocument.html">DOMDocument</a></li>
|
60 |
+
<li><a href="class-WPGMZA.DOMElement.html">DOMElement</a></li>
|
61 |
+
<li><a href="class-WPGMZA.Factory.html">Factory</a></li>
|
62 |
+
<li><a href="class-WPGMZA.GDPRCompliance.html">GDPRCompliance</a></li>
|
63 |
+
<li><a href="class-WPGMZA.GlobalSettings.html">GlobalSettings</a></li>
|
64 |
+
<li><a href="class-WPGMZA.GoogleGeocoder.html">GoogleGeocoder</a></li>
|
65 |
+
<li><a href="class-WPGMZA.GoogleMap.html">GoogleMap</a></li>
|
66 |
+
<li><a href="class-WPGMZA.GoogleMapsAPILoader.html" class="deprecated">GoogleMapsAPILoader</a></li>
|
67 |
+
<li><a href="class-WPGMZA.GoogleMapsLoader.html" class="deprecated">GoogleMapsLoader</a></li>
|
68 |
+
<li><a href="class-WPGMZA.LatLng.html">LatLng</a></li>
|
69 |
+
<li><a href="class-WPGMZA.Map.html">Map</a></li>
|
70 |
+
<li><a href="class-WPGMZA.MapsEngineDialog.html">MapsEngineDialog</a></li>
|
71 |
+
<li><a href="class-WPGMZA.Marker.html">Marker</a></li>
|
72 |
+
<li><a href="class-WPGMZA.MarkerDataTable.html">MarkerDataTable</a></li>
|
73 |
+
<li><a href="class-WPGMZA.MarkerFilter.html">MarkerFilter</a></li>
|
74 |
+
<li><a href="class-WPGMZA.ModalDialog.html">ModalDialog</a></li>
|
75 |
+
<li><a href="class-WPGMZA.NominatimGeocodeCache.html">NominatimGeocodeCache</a></li>
|
76 |
+
<li><a href="class-WPGMZA.OLLoader.html">OLLoader</a></li>
|
77 |
+
<li><a href="class-WPGMZA.Plugin.html">Plugin</a></li>
|
78 |
+
<li><a href="class-WPGMZA.Query.html">Query</a></li>
|
79 |
+
<li class="active"><a href="class-WPGMZA.QueryFragment.html">QueryFragment</a></li>
|
80 |
+
<li><a href="class-WPGMZA.RestAPI.html">RestAPI</a></li>
|
81 |
+
<li><a href="class-WPGMZA.ScriptLoader.html">ScriptLoader</a></li>
|
82 |
+
<li><a href="class-WPGMZA.Strings.html">Strings</a></li>
|
83 |
+
<li><a href="class-WPGMZA.Table.html">Table</a></li>
|
84 |
+
</ul>
|
85 |
+
|
86 |
+
|
87 |
+
|
88 |
+
|
89 |
+
|
90 |
+
<h3>Functions</h3>
|
91 |
+
<ul>
|
92 |
+
<li><a href="function-WPGMZA.create_marker_instance_delegate.html">create_marker_instance_delegate</a></li>
|
93 |
+
<li><a href="function-WPGMZA.query_nominatim_cache.html" class="deprecated">query_nominatim_cache</a></li>
|
94 |
+
<li><a href="function-WPGMZA.store_nominatim_cache.html" class="deprecated">store_nominatim_cache</a></li>
|
95 |
+
</ul>
|
96 |
+
</div>
|
97 |
+
</div>
|
98 |
+
</div>
|
99 |
+
|
100 |
+
<div id="splitter"></div>
|
101 |
+
|
102 |
+
<div id="right">
|
103 |
+
<div id="rightInner">
|
104 |
+
<form id="search">
|
105 |
+
<input type="hidden" name="cx" value="">
|
106 |
+
<input type="hidden" name="ie" value="UTF-8">
|
107 |
+
<input type="text" name="q" class="text" placeholder="Search">
|
108 |
+
</form>
|
109 |
+
|
110 |
+
<div id="navigation">
|
111 |
+
<ul>
|
112 |
+
<li>
|
113 |
+
<a href="index.html" title="Overview"><span>Overview</span></a>
|
114 |
+
</li>
|
115 |
+
<li>
|
116 |
+
<a href="namespace-WPGMZA.html" title="Summary of WPGMZA"><span>Namespace</span></a>
|
117 |
+
</li>
|
118 |
+
<li class="active">
|
119 |
+
<span>Class</span> </li>
|
120 |
+
</ul>
|
121 |
+
<ul>
|
122 |
+
</ul>
|
123 |
+
<ul>
|
124 |
+
</ul>
|
125 |
+
</div>
|
126 |
+
|
127 |
+
<div id="content" class="class">
|
128 |
+
<h1>Class QueryFragment</h1>
|
129 |
+
|
130 |
+
|
131 |
+
|
132 |
+
<dl class="tree">
|
133 |
+
<dd style="padding-left:0px">
|
134 |
+
<b><span>WPGMZA\QueryFragment</span></b>
|
135 |
+
implements
|
136 |
+
<span>ArrayAccess</span>
|
137 |
+
|
138 |
+
|
139 |
+
</dd>
|
140 |
+
</dl>
|
141 |
+
|
142 |
+
|
143 |
+
|
144 |
+
|
145 |
+
|
146 |
+
|
147 |
+
|
148 |
+
|
149 |
+
<div class="info">
|
150 |
+
|
151 |
+
|
152 |
+
<b>Namespace:</b> <a href="namespace-WPGMZA.html">WPGMZA</a><br>
|
153 |
+
|
154 |
+
|
155 |
+
<b>Located at</b> <a href="source-class-WPGMZA.QueryFragment.html#5-46" title="Go to source code">class.query-fragment.php</a>
|
156 |
+
<br>
|
157 |
+
</div>
|
158 |
+
|
159 |
+
|
160 |
+
|
161 |
+
<table class="summary methods" id="methods">
|
162 |
+
<caption>Methods summary</caption>
|
163 |
+
<tr data-order="offsetExists" id="_offsetExists">
|
164 |
+
|
165 |
+
<td class="attributes"><code>
|
166 |
+
public
|
167 |
+
|
168 |
+
|
169 |
+
|
170 |
+
</code>
|
171 |
+
</td>
|
172 |
+
|
173 |
+
<td class="name"><div>
|
174 |
+
<a class="anchor" href="#_offsetExists">#</a>
|
175 |
+
<code><a href="source-class-WPGMZA.QueryFragment.html#9-12" title="Go to source code">offsetExists</a>( <span> <var>$offset</var></span> )</code>
|
176 |
+
|
177 |
+
<div class="description short">
|
178 |
+
|
179 |
+
</div>
|
180 |
+
|
181 |
+
<div class="description detailed hidden">
|
182 |
+
|
183 |
+
|
184 |
+
|
185 |
+
|
186 |
+
|
187 |
+
|
188 |
+
|
189 |
+
|
190 |
+
<h4>Implementation of</h4>
|
191 |
+
<div class="list"><code>ArrayAccess::offsetExists()</code></div>
|
192 |
+
</div>
|
193 |
+
</div></td>
|
194 |
+
</tr>
|
195 |
+
<tr data-order="offsetGet" id="_offsetGet">
|
196 |
+
|
197 |
+
<td class="attributes"><code>
|
198 |
+
public
|
199 |
+
|
200 |
+
|
201 |
+
|
202 |
+
</code>
|
203 |
+
</td>
|
204 |
+
|
205 |
+
<td class="name"><div>
|
206 |
+
<a class="anchor" href="#_offsetGet">#</a>
|
207 |
+
<code><a href="source-class-WPGMZA.QueryFragment.html#14-17" title="Go to source code">offsetGet</a>( <span> <var>$offset</var></span> )</code>
|
208 |
+
|
209 |
+
<div class="description short">
|
210 |
+
|
211 |
+
</div>
|
212 |
+
|
213 |
+
<div class="description detailed hidden">
|
214 |
+
|
215 |
+
|
216 |
+
|
217 |
+
|
218 |
+
|
219 |
+
|
220 |
+
|
221 |
+
|
222 |
+
<h4>Implementation of</h4>
|
223 |
+
<div class="list"><code>ArrayAccess::offsetGet()</code></div>
|
224 |
+
</div>
|
225 |
+
</div></td>
|
226 |
+
</tr>
|
227 |
+
<tr data-order="offsetSet" id="_offsetSet">
|
228 |
+
|
229 |
+
<td class="attributes"><code>
|
230 |
+
public
|
231 |
+
|
232 |
+
|
233 |
+
|
234 |
+
</code>
|
235 |
+
</td>
|
236 |
+
|
237 |
+
<td class="name"><div>
|
238 |
+
<a class="anchor" href="#_offsetSet">#</a>
|
239 |
+
<code><a href="source-class-WPGMZA.QueryFragment.html#19-25" title="Go to source code">offsetSet</a>( <span> <var>$offset</var></span>, <span> <var>$value</var></span> )</code>
|
240 |
+
|
241 |
+
<div class="description short">
|
242 |
+
|
243 |
+
</div>
|
244 |
+
|
245 |
+
<div class="description detailed hidden">
|
246 |
+
|
247 |
+
|
248 |
+
|
249 |
+
|
250 |
+
|
251 |
+
|
252 |
+
|
253 |
+
|
254 |
+
<h4>Implementation of</h4>
|
255 |
+
<div class="list"><code>ArrayAccess::offsetSet()</code></div>
|
256 |
+
</div>
|
257 |
+
</div></td>
|
258 |
+
</tr>
|
259 |
+
<tr data-order="offsetUnset" id="_offsetUnset">
|
260 |
+
|
261 |
+
<td class="attributes"><code>
|
262 |
+
public
|
263 |
+
|
264 |
+
|
265 |
+
|
266 |
+
</code>
|
267 |
+
</td>
|
268 |
+
|
269 |
+
<td class="name"><div>
|
270 |
+
<a class="anchor" href="#_offsetUnset">#</a>
|
271 |
+
<code><a href="source-class-WPGMZA.QueryFragment.html#27-30" title="Go to source code">offsetUnset</a>( <span> <var>$offset</var></span> )</code>
|
272 |
+
|
273 |
+
<div class="description short">
|
274 |
+
|
275 |
+
</div>
|
276 |
+
|
277 |
+
<div class="description detailed hidden">
|
278 |
+
|
279 |
+
|
280 |
+
|
281 |
+
|
282 |
+
|
283 |
+
|
284 |
+
|
285 |
+
|
286 |
+
<h4>Implementation of</h4>
|
287 |
+
<div class="list"><code>ArrayAccess::offsetUnset()</code></div>
|
288 |
+
</div>
|
289 |
+
</div></td>
|
290 |
+
</tr>
|
291 |
+
<tr data-order="reset" id="_reset">
|
292 |
+
|
293 |
+
<td class="attributes"><code>
|
294 |
+
public
|
295 |
+
|
296 |
+
|
297 |
+
|
298 |
+
</code>
|
299 |
+
</td>
|
300 |
+
|
301 |
+
<td class="name"><div>
|
302 |
+
<a class="anchor" href="#_reset">#</a>
|
303 |
+
<code><a href="source-class-WPGMZA.QueryFragment.html#32-36" title="Go to source code">reset</a>( )</code>
|
304 |
+
|
305 |
+
<div class="description short">
|
306 |
+
|
307 |
+
</div>
|
308 |
+
|
309 |
+
<div class="description detailed hidden">
|
310 |
+
|
311 |
+
|
312 |
+
|
313 |
+
|
314 |
+
|
315 |
+
|
316 |
+
|
317 |
+
|
318 |
+
</div>
|
319 |
+
</div></td>
|
320 |
+
</tr>
|
321 |
+
<tr data-order="toArray" id="_toArray">
|
322 |
+
|
323 |
+
<td class="attributes"><code>
|
324 |
+
public
|
325 |
+
|
326 |
+
|
327 |
+
|
328 |
+
</code>
|
329 |
+
</td>
|
330 |
+
|
331 |
+
<td class="name"><div>
|
332 |
+
<a class="anchor" href="#_toArray">#</a>
|
333 |
+
<code><a href="source-class-WPGMZA.QueryFragment.html#38-45" title="Go to source code">toArray</a>( )</code>
|
334 |
+
|
335 |
+
<div class="description short">
|
336 |
+
|
337 |
+
</div>
|
338 |
+
|
339 |
+
<div class="description detailed hidden">
|
340 |
+
|
341 |
+
|
342 |
+
|
343 |
+
|
344 |
+
|
345 |
+
|
346 |
+
|
347 |
+
|
348 |
+
</div>
|
349 |
+
</div></td>
|
350 |
+
</tr>
|
351 |
+
</table>
|
352 |
+
|
353 |
+
|
354 |
+
|
355 |
+
|
356 |
+
|
357 |
+
|
358 |
+
|
359 |
+
|
360 |
+
|
361 |
+
|
362 |
+
|
363 |
+
|
364 |
+
|
365 |
+
|
366 |
+
|
367 |
+
|
368 |
+
|
369 |
+
|
370 |
+
</div>
|
371 |
+
|
372 |
+
<div id="footer">
|
373 |
+
API documentation generated by <a href="http://apigen.org">ApiGen</a>
|
374 |
+
</div>
|
375 |
+
</div>
|
376 |
+
</div>
|
377 |
+
<script src="resources/combined.js"></script>
|
378 |
+
<script src="elementlist.js"></script>
|
379 |
+
</body>
|
380 |
+
</html>
|
@@ -49,12 +49,18 @@
|
|
49 |
<div id="elements">
|
50 |
<h3>Classes</h3>
|
51 |
<ul>
|
|
|
|
|
52 |
<li><a href="class-WPGMZA.AutoLoader.html">AutoLoader</a></li>
|
53 |
<li><a href="class-WPGMZA.Crud.html">Crud</a></li>
|
|
|
|
|
|
|
54 |
<li><a href="class-WPGMZA.DOMDocument.html">DOMDocument</a></li>
|
55 |
<li><a href="class-WPGMZA.DOMElement.html">DOMElement</a></li>
|
56 |
<li><a href="class-WPGMZA.Factory.html">Factory</a></li>
|
57 |
<li><a href="class-WPGMZA.GDPRCompliance.html">GDPRCompliance</a></li>
|
|
|
58 |
<li><a href="class-WPGMZA.GoogleGeocoder.html">GoogleGeocoder</a></li>
|
59 |
<li><a href="class-WPGMZA.GoogleMap.html">GoogleMap</a></li>
|
60 |
<li><a href="class-WPGMZA.GoogleMapsAPILoader.html" class="deprecated">GoogleMapsAPILoader</a></li>
|
@@ -63,13 +69,18 @@
|
|
63 |
<li><a href="class-WPGMZA.Map.html">Map</a></li>
|
64 |
<li><a href="class-WPGMZA.MapsEngineDialog.html">MapsEngineDialog</a></li>
|
65 |
<li><a href="class-WPGMZA.Marker.html">Marker</a></li>
|
|
|
|
|
66 |
<li><a href="class-WPGMZA.ModalDialog.html">ModalDialog</a></li>
|
67 |
<li><a href="class-WPGMZA.NominatimGeocodeCache.html">NominatimGeocodeCache</a></li>
|
68 |
<li><a href="class-WPGMZA.OLLoader.html">OLLoader</a></li>
|
69 |
<li><a href="class-WPGMZA.Plugin.html">Plugin</a></li>
|
|
|
|
|
70 |
<li class="active"><a href="class-WPGMZA.RestAPI.html">RestAPI</a></li>
|
71 |
<li><a href="class-WPGMZA.ScriptLoader.html">ScriptLoader</a></li>
|
72 |
<li><a href="class-WPGMZA.Strings.html">Strings</a></li>
|
|
|
73 |
</ul>
|
74 |
|
75 |
|
@@ -79,7 +90,6 @@
|
|
79 |
<h3>Functions</h3>
|
80 |
<ul>
|
81 |
<li><a href="function-WPGMZA.create_marker_instance_delegate.html">create_marker_instance_delegate</a></li>
|
82 |
-
<li><a href="function-WPGMZA.create_plugin_instance.html" class="deprecated">create_plugin_instance</a></li>
|
83 |
<li><a href="function-WPGMZA.query_nominatim_cache.html" class="deprecated">query_nominatim_cache</a></li>
|
84 |
<li><a href="function-WPGMZA.store_nominatim_cache.html" class="deprecated">store_nominatim_cache</a></li>
|
85 |
</ul>
|
@@ -122,6 +132,20 @@
|
|
122 |
<p>This class facilitates all communication between the client and any server side modules which can be interacted with through the WordPress REST API.</p>
|
123 |
</div>
|
124 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
125 |
|
126 |
|
127 |
|
@@ -136,7 +160,7 @@
|
|
136 |
<b>Namespace:</b> <a href="namespace-WPGMZA.html">WPGMZA</a><br>
|
137 |
|
138 |
|
139 |
-
<b>Located at</b> <a href="source-class-WPGMZA.RestAPI.html#5-
|
140 |
<br>
|
141 |
</div>
|
142 |
|
@@ -216,7 +240,7 @@
|
|
216 |
|
217 |
<td class="name"><div>
|
218 |
<a class="anchor" href="#_onRestAPIInit">#</a>
|
219 |
-
<code><a href="source-class-WPGMZA.RestAPI.html#36-
|
220 |
|
221 |
<div class="description short">
|
222 |
<p>Callback for the rest_api_init action, this function registers the plugins REST API routes.</p>
|
@@ -231,6 +255,66 @@
|
|
231 |
|
232 |
|
233 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
234 |
</div>
|
235 |
</div></td>
|
236 |
</tr>
|
@@ -246,7 +330,7 @@
|
|
246 |
|
247 |
<td class="name"><div>
|
248 |
<a class="anchor" href="#_markers">#</a>
|
249 |
-
<code><a href="source-class-WPGMZA.RestAPI.html#
|
250 |
|
251 |
<div class="description short">
|
252 |
<p>Callback for the /markers REST API route.</p>
|
@@ -270,11 +354,49 @@
|
|
270 |
|
271 |
|
272 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
273 |
</div>
|
274 |
</div></td>
|
275 |
</tr>
|
276 |
</table>
|
277 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
278 |
|
279 |
|
280 |
|
49 |
<div id="elements">
|
50 |
<h3>Classes</h3>
|
51 |
<ul>
|
52 |
+
<li><a href="class-WPGMZA.AdminMarkerDataTable.html">AdminMarkerDataTable</a></li>
|
53 |
+
<li><a href="class-WPGMZA.AjaxTable.html">AjaxTable</a></li>
|
54 |
<li><a href="class-WPGMZA.AutoLoader.html">AutoLoader</a></li>
|
55 |
<li><a href="class-WPGMZA.Crud.html">Crud</a></li>
|
56 |
+
<li><a href="class-WPGMZA.Database.html">Database</a></li>
|
57 |
+
<li><a href="class-WPGMZA.DataTable.html">DataTable</a></li>
|
58 |
+
<li><a href="class-WPGMZA.Distance.html">Distance</a></li>
|
59 |
<li><a href="class-WPGMZA.DOMDocument.html">DOMDocument</a></li>
|
60 |
<li><a href="class-WPGMZA.DOMElement.html">DOMElement</a></li>
|
61 |
<li><a href="class-WPGMZA.Factory.html">Factory</a></li>
|
62 |
<li><a href="class-WPGMZA.GDPRCompliance.html">GDPRCompliance</a></li>
|
63 |
+
<li><a href="class-WPGMZA.GlobalSettings.html">GlobalSettings</a></li>
|
64 |
<li><a href="class-WPGMZA.GoogleGeocoder.html">GoogleGeocoder</a></li>
|
65 |
<li><a href="class-WPGMZA.GoogleMap.html">GoogleMap</a></li>
|
66 |
<li><a href="class-WPGMZA.GoogleMapsAPILoader.html" class="deprecated">GoogleMapsAPILoader</a></li>
|
69 |
<li><a href="class-WPGMZA.Map.html">Map</a></li>
|
70 |
<li><a href="class-WPGMZA.MapsEngineDialog.html">MapsEngineDialog</a></li>
|
71 |
<li><a href="class-WPGMZA.Marker.html">Marker</a></li>
|
72 |
+
<li><a href="class-WPGMZA.MarkerDataTable.html">MarkerDataTable</a></li>
|
73 |
+
<li><a href="class-WPGMZA.MarkerFilter.html">MarkerFilter</a></li>
|
74 |
<li><a href="class-WPGMZA.ModalDialog.html">ModalDialog</a></li>
|
75 |
<li><a href="class-WPGMZA.NominatimGeocodeCache.html">NominatimGeocodeCache</a></li>
|
76 |
<li><a href="class-WPGMZA.OLLoader.html">OLLoader</a></li>
|
77 |
<li><a href="class-WPGMZA.Plugin.html">Plugin</a></li>
|
78 |
+
<li><a href="class-WPGMZA.Query.html">Query</a></li>
|
79 |
+
<li><a href="class-WPGMZA.QueryFragment.html">QueryFragment</a></li>
|
80 |
<li class="active"><a href="class-WPGMZA.RestAPI.html">RestAPI</a></li>
|
81 |
<li><a href="class-WPGMZA.ScriptLoader.html">ScriptLoader</a></li>
|
82 |
<li><a href="class-WPGMZA.Strings.html">Strings</a></li>
|
83 |
+
<li><a href="class-WPGMZA.Table.html">Table</a></li>
|
84 |
</ul>
|
85 |
|
86 |
|
90 |
<h3>Functions</h3>
|
91 |
<ul>
|
92 |
<li><a href="function-WPGMZA.create_marker_instance_delegate.html">create_marker_instance_delegate</a></li>
|
|
|
93 |
<li><a href="function-WPGMZA.query_nominatim_cache.html" class="deprecated">query_nominatim_cache</a></li>
|
94 |
<li><a href="function-WPGMZA.store_nominatim_cache.html" class="deprecated">store_nominatim_cache</a></li>
|
95 |
</ul>
|
132 |
<p>This class facilitates all communication between the client and any server side modules which can be interacted with through the WordPress REST API.</p>
|
133 |
</div>
|
134 |
|
135 |
+
<dl class="tree">
|
136 |
+
<dd style="padding-left:0px">
|
137 |
+
<a href="class-WPGMZA.Factory.html"><span>WPGMZA\Factory</span></a>
|
138 |
+
|
139 |
+
|
140 |
+
|
141 |
+
</dd>
|
142 |
+
<dd style="padding-left:30px">
|
143 |
+
<img src="resources/inherit.png" alt="Extended by">
|
144 |
+
<b><span>WPGMZA\RestAPI</span></b>
|
145 |
+
|
146 |
+
|
147 |
+
</dd>
|
148 |
+
</dl>
|
149 |
|
150 |
|
151 |
|
160 |
<b>Namespace:</b> <a href="namespace-WPGMZA.html">WPGMZA</a><br>
|
161 |
|
162 |
|
163 |
+
<b>Located at</b> <a href="source-class-WPGMZA.RestAPI.html#5-229" title="Go to source code">class.rest-api.php</a>
|
164 |
<br>
|
165 |
</div>
|
166 |
|
240 |
|
241 |
<td class="name"><div>
|
242 |
<a class="anchor" href="#_onRestAPIInit">#</a>
|
243 |
+
<code><a href="source-class-WPGMZA.RestAPI.html#36-64" title="Go to source code">onRestAPIInit</a>( )</code>
|
244 |
|
245 |
<div class="description short">
|
246 |
<p>Callback for the rest_api_init action, this function registers the plugins REST API routes.</p>
|
255 |
|
256 |
|
257 |
|
258 |
+
</div>
|
259 |
+
</div></td>
|
260 |
+
</tr>
|
261 |
+
<tr data-order="maps" id="_maps">
|
262 |
+
|
263 |
+
<td class="attributes"><code>
|
264 |
+
public
|
265 |
+
|
266 |
+
|
267 |
+
|
268 |
+
</code>
|
269 |
+
</td>
|
270 |
+
|
271 |
+
<td class="name"><div>
|
272 |
+
<a class="anchor" href="#_maps">#</a>
|
273 |
+
<code><a href="source-class-WPGMZA.RestAPI.html#66-100" title="Go to source code">maps</a>( <span> <var>$request</var></span> )</code>
|
274 |
+
|
275 |
+
<div class="description short">
|
276 |
+
|
277 |
+
</div>
|
278 |
+
|
279 |
+
<div class="description detailed hidden">
|
280 |
+
|
281 |
+
|
282 |
+
|
283 |
+
|
284 |
+
|
285 |
+
|
286 |
+
|
287 |
+
|
288 |
+
</div>
|
289 |
+
</div></td>
|
290 |
+
</tr>
|
291 |
+
<tr data-order="sanitizeFieldNames" id="_sanitizeFieldNames">
|
292 |
+
|
293 |
+
<td class="attributes"><code>
|
294 |
+
protected
|
295 |
+
|
296 |
+
|
297 |
+
|
298 |
+
</code>
|
299 |
+
</td>
|
300 |
+
|
301 |
+
<td class="name"><div>
|
302 |
+
<a class="anchor" href="#_sanitizeFieldNames">#</a>
|
303 |
+
<code><a href="source-class-WPGMZA.RestAPI.html#102-116" title="Go to source code">sanitizeFieldNames</a>( <span> <var>$fields</var></span>, <span> <var>$table</var></span> )</code>
|
304 |
+
|
305 |
+
<div class="description short">
|
306 |
+
|
307 |
+
</div>
|
308 |
+
|
309 |
+
<div class="description detailed hidden">
|
310 |
+
|
311 |
+
|
312 |
+
|
313 |
+
|
314 |
+
|
315 |
+
|
316 |
+
|
317 |
+
|
318 |
</div>
|
319 |
</div></td>
|
320 |
</tr>
|
330 |
|
331 |
<td class="name"><div>
|
332 |
<a class="anchor" href="#_markers">#</a>
|
333 |
+
<code><a href="source-class-WPGMZA.RestAPI.html#118-214" title="Go to source code">markers</a>( <span>WP_REST_Request <var>$request</var></span> )</code>
|
334 |
|
335 |
<div class="description short">
|
336 |
<p>Callback for the /markers REST API route.</p>
|
354 |
|
355 |
|
356 |
|
357 |
+
</div>
|
358 |
+
</div></td>
|
359 |
+
</tr>
|
360 |
+
<tr data-order="datatables" id="_datatables">
|
361 |
+
|
362 |
+
<td class="attributes"><code>
|
363 |
+
public
|
364 |
+
|
365 |
+
|
366 |
+
|
367 |
+
</code>
|
368 |
+
</td>
|
369 |
+
|
370 |
+
<td class="name"><div>
|
371 |
+
<a class="anchor" href="#_datatables">#</a>
|
372 |
+
<code><a href="source-class-WPGMZA.RestAPI.html#216-228" title="Go to source code">datatables</a>( )</code>
|
373 |
+
|
374 |
+
<div class="description short">
|
375 |
+
|
376 |
+
</div>
|
377 |
+
|
378 |
+
<div class="description detailed hidden">
|
379 |
+
|
380 |
+
|
381 |
+
|
382 |
+
|
383 |
+
|
384 |
+
|
385 |
+
|
386 |
+
|
387 |
</div>
|
388 |
</div></td>
|
389 |
</tr>
|
390 |
</table>
|
391 |
|
392 |
+
<table class="summary inherited">
|
393 |
+
<caption>Methods inherited from <a href="class-WPGMZA.Factory.html#methods">WPGMZA\Factory</a></caption>
|
394 |
+
<tr>
|
395 |
+
<td><code>
|
396 |
+
<a href="class-WPGMZA.Factory.html#_createInstance">createInstance()</a>
|
397 |
+
</code></td>
|
398 |
+
</tr>
|
399 |
+
</table>
|
400 |
|
401 |
|
402 |
|
@@ -49,12 +49,18 @@
|
|
49 |
<div id="elements">
|
50 |
<h3>Classes</h3>
|
51 |
<ul>
|
|
|
|
|
52 |
<li><a href="class-WPGMZA.AutoLoader.html">AutoLoader</a></li>
|
53 |
<li><a href="class-WPGMZA.Crud.html">Crud</a></li>
|
|
|
|
|
|
|
54 |
<li><a href="class-WPGMZA.DOMDocument.html">DOMDocument</a></li>
|
55 |
<li><a href="class-WPGMZA.DOMElement.html">DOMElement</a></li>
|
56 |
<li><a href="class-WPGMZA.Factory.html">Factory</a></li>
|
57 |
<li><a href="class-WPGMZA.GDPRCompliance.html">GDPRCompliance</a></li>
|
|
|
58 |
<li><a href="class-WPGMZA.GoogleGeocoder.html">GoogleGeocoder</a></li>
|
59 |
<li><a href="class-WPGMZA.GoogleMap.html">GoogleMap</a></li>
|
60 |
<li><a href="class-WPGMZA.GoogleMapsAPILoader.html" class="deprecated">GoogleMapsAPILoader</a></li>
|
@@ -63,13 +69,18 @@
|
|
63 |
<li><a href="class-WPGMZA.Map.html">Map</a></li>
|
64 |
<li><a href="class-WPGMZA.MapsEngineDialog.html">MapsEngineDialog</a></li>
|
65 |
<li><a href="class-WPGMZA.Marker.html">Marker</a></li>
|
|
|
|
|
66 |
<li><a href="class-WPGMZA.ModalDialog.html">ModalDialog</a></li>
|
67 |
<li><a href="class-WPGMZA.NominatimGeocodeCache.html">NominatimGeocodeCache</a></li>
|
68 |
<li><a href="class-WPGMZA.OLLoader.html">OLLoader</a></li>
|
69 |
<li><a href="class-WPGMZA.Plugin.html">Plugin</a></li>
|
|
|
|
|
70 |
<li><a href="class-WPGMZA.RestAPI.html">RestAPI</a></li>
|
71 |
<li class="active"><a href="class-WPGMZA.ScriptLoader.html">ScriptLoader</a></li>
|
72 |
<li><a href="class-WPGMZA.Strings.html">Strings</a></li>
|
|
|
73 |
</ul>
|
74 |
|
75 |
|
@@ -79,7 +90,6 @@
|
|
79 |
<h3>Functions</h3>
|
80 |
<ul>
|
81 |
<li><a href="function-WPGMZA.create_marker_instance_delegate.html">create_marker_instance_delegate</a></li>
|
82 |
-
<li><a href="function-WPGMZA.create_plugin_instance.html" class="deprecated">create_plugin_instance</a></li>
|
83 |
<li><a href="function-WPGMZA.query_nominatim_cache.html" class="deprecated">query_nominatim_cache</a></li>
|
84 |
<li><a href="function-WPGMZA.store_nominatim_cache.html" class="deprecated">store_nominatim_cache</a></li>
|
85 |
</ul>
|
@@ -140,7 +150,7 @@
|
|
140 |
<b>Namespace:</b> <a href="namespace-WPGMZA.html">WPGMZA</a><br>
|
141 |
|
142 |
|
143 |
-
<b>Located at</b> <a href="source-class-WPGMZA.ScriptLoader.html#9-
|
144 |
<br>
|
145 |
</div>
|
146 |
|
@@ -160,7 +170,7 @@
|
|
160 |
|
161 |
<td class="name"><div>
|
162 |
<a class="anchor" href="#___construct">#</a>
|
163 |
-
<code><a href="source-class-WPGMZA.ScriptLoader.html#
|
164 |
|
165 |
<div class="description short">
|
166 |
<p>Constructor.</p>
|
@@ -195,7 +205,7 @@
|
|
195 |
|
196 |
<td class="name"><div>
|
197 |
<a class="anchor" href="#_log">#</a>
|
198 |
-
<code><a href="source-class-WPGMZA.ScriptLoader.html#
|
199 |
|
200 |
<div class="description short">
|
201 |
<p>Internal function used for logging, useful when debugging the build process. This function will erase the log for each PHP execution lifespan.</p>
|
@@ -230,7 +240,7 @@
|
|
230 |
|
231 |
<td class="name"><div>
|
232 |
<a class="anchor" href="#_rglob">#</a>
|
233 |
-
<code><a href="source-class-WPGMZA.ScriptLoader.html#
|
234 |
|
235 |
<div class="description short">
|
236 |
<p>Recursive glob. This function is used to match files given the specified pattern, recursively.</p>
|
@@ -275,7 +285,7 @@
|
|
275 |
|
276 |
<td class="name"><div>
|
277 |
<a class="anchor" href="#_getHandleFromModuleName">#</a>
|
278 |
-
<code><a href="source-class-WPGMZA.ScriptLoader.html#
|
279 |
|
280 |
<div class="description short">
|
281 |
<p>Converts a JavaScript module name to a script handle, for instance WPGMZA.GoogleMarker will be converted to wpgmza-google-marker.</p>
|
@@ -314,7 +324,7 @@
|
|
314 |
|
315 |
<td class="name"><div>
|
316 |
<a class="anchor" href="#_getLibraryScripts">#</a>
|
317 |
-
<code><a href="source-class-WPGMZA.ScriptLoader.html#
|
318 |
|
319 |
<div class="description short">
|
320 |
<p>This function returns an array of library scripts that the plugin depends on, where the array key is the script handle and the value is the script URL.</p>
|
@@ -352,7 +362,7 @@
|
|
352 |
|
353 |
<td class="name"><div>
|
354 |
<a class="anchor" href="#_getScanDirectories">#</a>
|
355 |
-
<code><a href="source-class-WPGMZA.ScriptLoader.html#
|
356 |
|
357 |
<div class="description short">
|
358 |
<p>Returns the directories to be scanned for JavaScript files.</p>
|
@@ -386,7 +396,7 @@
|
|
386 |
|
387 |
<td class="name"><div>
|
388 |
<a class="anchor" href="#_scanDependencies">#</a>
|
389 |
-
<code><a href="source-class-WPGMZA.ScriptLoader.html#
|
390 |
|
391 |
<div class="description short">
|
392 |
<p>This function performs the following actions:</p>
|
@@ -422,7 +432,7 @@
|
|
422 |
|
423 |
<td class="name"><div>
|
424 |
<a class="anchor" href="#_getCombineOrder">#</a>
|
425 |
-
<code><a href="source-class-WPGMZA.ScriptLoader.html#
|
426 |
|
427 |
<div class="description short">
|
428 |
<p>This function performs the following actions:</p>
|
@@ -470,7 +480,7 @@
|
|
470 |
|
471 |
<td class="name"><div>
|
472 |
<a class="anchor" href="#_buildCombinedFile">#</a>
|
473 |
-
<code><a href="source-class-WPGMZA.ScriptLoader.html#
|
474 |
|
475 |
<div class="description short">
|
476 |
<p>Builds all the plugin scripts into a combined (concatenated) string. The function will then check if the md5 hash of the existing combined script file matches the hash of the string in memory. If they match, the combined file is up to date and is left untouched. If they do not match, the combined file is updated.</p>
|
@@ -500,7 +510,7 @@
|
|
500 |
|
501 |
<td class="name"><div>
|
502 |
<a class="anchor" href="#_build">#</a>
|
503 |
-
<code><a href="source-class-WPGMZA.ScriptLoader.html#
|
504 |
|
505 |
<div class="description short">
|
506 |
<p>This function performs a full rebuild of the combined script file</p>
|
@@ -530,7 +540,7 @@
|
|
530 |
|
531 |
<td class="name"><div>
|
532 |
<a class="anchor" href="#_enqueueStyles">#</a>
|
533 |
-
<code><a href="source-class-WPGMZA.ScriptLoader.html#
|
534 |
|
535 |
<div class="description short">
|
536 |
<p>Enqueues all required stylesheets</p>
|
@@ -560,7 +570,7 @@
|
|
560 |
|
561 |
<td class="name"><div>
|
562 |
<a class="anchor" href="#_getPluginScripts">#</a>
|
563 |
-
<code><a href="source-class-WPGMZA.ScriptLoader.html#
|
564 |
|
565 |
<div class="description short">
|
566 |
<p>Returns an array of objects representing all scripts used by the plugin. In developer mode, this will be one script for each module, when not in developer mode, this will either be the combined or minified file, dependeing on which is more up to date.</p>
|
@@ -594,7 +604,7 @@
|
|
594 |
|
595 |
<td class="name"><div>
|
596 |
<a class="anchor" href="#_enqueueScripts">#</a>
|
597 |
-
<code><a href="source-class-WPGMZA.ScriptLoader.html#
|
598 |
|
599 |
<div class="description short">
|
600 |
<p>Enqueues all the libraries required by the plugin scripts, then enqueues the plugin scripts and localized data (JavaScript globals).</p>
|
@@ -624,7 +634,7 @@
|
|
624 |
|
625 |
<td class="name"><div>
|
626 |
<a class="anchor" href="#_enqueueLocalizedData">#</a>
|
627 |
-
<code><a href="source-class-WPGMZA.ScriptLoader.html#
|
628 |
|
629 |
<div class="description short">
|
630 |
<p>Enqueues the plugins localized data, as fetched from Plugin::getLocalizedData</p>
|
@@ -639,36 +649,6 @@
|
|
639 |
|
640 |
|
641 |
|
642 |
-
</div>
|
643 |
-
</div></td>
|
644 |
-
</tr>
|
645 |
-
<tr data-order="onScriptLoaderTag" id="_onScriptLoaderTag">
|
646 |
-
|
647 |
-
<td class="attributes"><code>
|
648 |
-
public
|
649 |
-
|
650 |
-
|
651 |
-
|
652 |
-
</code>
|
653 |
-
</td>
|
654 |
-
|
655 |
-
<td class="name"><div>
|
656 |
-
<a class="anchor" href="#_onScriptLoaderTag">#</a>
|
657 |
-
<code><a href="source-class-WPGMZA.ScriptLoader.html#559-565" title="Go to source code">onScriptLoaderTag</a>( <span> <var>$tag</var></span>, <span> <var>$handle</var></span>, <span> <var>$src</var></span> )</code>
|
658 |
-
|
659 |
-
<div class="description short">
|
660 |
-
|
661 |
-
</div>
|
662 |
-
|
663 |
-
<div class="description detailed hidden">
|
664 |
-
|
665 |
-
|
666 |
-
|
667 |
-
|
668 |
-
|
669 |
-
|
670 |
-
|
671 |
-
|
672 |
</div>
|
673 |
</div></td>
|
674 |
</tr>
|
@@ -694,7 +674,7 @@
|
|
694 |
</code></td>
|
695 |
|
696 |
<td class="name">
|
697 |
-
<a href="source-class-WPGMZA.ScriptLoader.html#
|
698 |
|
699 |
<div class="description short">
|
700 |
<p>Objects describing each script file, where the array key is the script handle.</p>
|
49 |
<div id="elements">
|
50 |
<h3>Classes</h3>
|
51 |
<ul>
|
52 |
+
<li><a href="class-WPGMZA.AdminMarkerDataTable.html">AdminMarkerDataTable</a></li>
|
53 |
+
<li><a href="class-WPGMZA.AjaxTable.html">AjaxTable</a></li>
|
54 |
<li><a href="class-WPGMZA.AutoLoader.html">AutoLoader</a></li>
|
55 |
<li><a href="class-WPGMZA.Crud.html">Crud</a></li>
|
56 |
+
<li><a href="class-WPGMZA.Database.html">Database</a></li>
|
57 |
+
<li><a href="class-WPGMZA.DataTable.html">DataTable</a></li>
|
58 |
+
<li><a href="class-WPGMZA.Distance.html">Distance</a></li>
|
59 |
<li><a href="class-WPGMZA.DOMDocument.html">DOMDocument</a></li>
|
60 |
<li><a href="class-WPGMZA.DOMElement.html">DOMElement</a></li>
|
61 |
<li><a href="class-WPGMZA.Factory.html">Factory</a></li>
|
62 |
<li><a href="class-WPGMZA.GDPRCompliance.html">GDPRCompliance</a></li>
|
63 |
+
<li><a href="class-WPGMZA.GlobalSettings.html">GlobalSettings</a></li>
|
64 |
<li><a href="class-WPGMZA.GoogleGeocoder.html">GoogleGeocoder</a></li>
|
65 |
<li><a href="class-WPGMZA.GoogleMap.html">GoogleMap</a></li>
|
66 |
<li><a href="class-WPGMZA.GoogleMapsAPILoader.html" class="deprecated">GoogleMapsAPILoader</a></li>
|
69 |
<li><a href="class-WPGMZA.Map.html">Map</a></li>
|
70 |
<li><a href="class-WPGMZA.MapsEngineDialog.html">MapsEngineDialog</a></li>
|
71 |
<li><a href="class-WPGMZA.Marker.html">Marker</a></li>
|
72 |
+
<li><a href="class-WPGMZA.MarkerDataTable.html">MarkerDataTable</a></li>
|
73 |
+
<li><a href="class-WPGMZA.MarkerFilter.html">MarkerFilter</a></li>
|
74 |
<li><a href="class-WPGMZA.ModalDialog.html">ModalDialog</a></li>
|
75 |
<li><a href="class-WPGMZA.NominatimGeocodeCache.html">NominatimGeocodeCache</a></li>
|
76 |
<li><a href="class-WPGMZA.OLLoader.html">OLLoader</a></li>
|
77 |
<li><a href="class-WPGMZA.Plugin.html">Plugin</a></li>
|
78 |
+
<li><a href="class-WPGMZA.Query.html">Query</a></li>
|
79 |
+
<li><a href="class-WPGMZA.QueryFragment.html">QueryFragment</a></li>
|
80 |
<li><a href="class-WPGMZA.RestAPI.html">RestAPI</a></li>
|
81 |
<li class="active"><a href="class-WPGMZA.ScriptLoader.html">ScriptLoader</a></li>
|
82 |
<li><a href="class-WPGMZA.Strings.html">Strings</a></li>
|
83 |
+
<li><a href="class-WPGMZA.Table.html">Table</a></li>
|
84 |
</ul>
|
85 |
|
86 |
|
90 |
<h3>Functions</h3>
|
91 |
<ul>
|
92 |
<li><a href="function-WPGMZA.create_marker_instance_delegate.html">create_marker_instance_delegate</a></li>
|
|
|
93 |
<li><a href="function-WPGMZA.query_nominatim_cache.html" class="deprecated">query_nominatim_cache</a></li>
|
94 |
<li><a href="function-WPGMZA.store_nominatim_cache.html" class="deprecated">store_nominatim_cache</a></li>
|
95 |
</ul>
|
150 |
<b>Namespace:</b> <a href="namespace-WPGMZA.html">WPGMZA</a><br>
|
151 |
|
152 |
|
153 |
+
<b>Located at</b> <a href="source-class-WPGMZA.ScriptLoader.html#9-601" title="Go to source code">class.script-loader.php</a>
|
154 |
<br>
|
155 |
</div>
|
156 |
|
170 |
|
171 |
<td class="name"><div>
|
172 |
<a class="anchor" href="#___construct">#</a>
|
173 |
+
<code><a href="source-class-WPGMZA.ScriptLoader.html#30-43" title="Go to source code">__construct</a>( <span>boolean <var>$proMode</var></span> )</code>
|
174 |
|
175 |
<div class="description short">
|
176 |
<p>Constructor.</p>
|
205 |
|
206 |
<td class="name"><div>
|
207 |
<a class="anchor" href="#_log">#</a>
|
208 |
+
<code><a href="source-class-WPGMZA.ScriptLoader.html#45-59" title="Go to source code">log</a>( <span>string <var>$str</var></span> )</code>
|
209 |
|
210 |
<div class="description short">
|
211 |
<p>Internal function used for logging, useful when debugging the build process. This function will erase the log for each PHP execution lifespan.</p>
|
240 |
|
241 |
<td class="name"><div>
|
242 |
<a class="anchor" href="#_rglob">#</a>
|
243 |
+
<code><a href="source-class-WPGMZA.ScriptLoader.html#61-79" title="Go to source code">rglob</a>( <span>string <var>$pattern</var></span>, <span>integer <var>$flags</var> = <span class="php-num">0</span></span> )</code>
|
244 |
|
245 |
<div class="description short">
|
246 |
<p>Recursive glob. This function is used to match files given the specified pattern, recursively.</p>
|
285 |
|
286 |
<td class="name"><div>
|
287 |
<a class="anchor" href="#_getHandleFromModuleName">#</a>
|
288 |
+
<code><a href="source-class-WPGMZA.ScriptLoader.html#81-93" title="Go to source code">getHandleFromModuleName</a>( <span>string <var>$module</var></span> )</code>
|
289 |
|
290 |
<div class="description short">
|
291 |
<p>Converts a JavaScript module name to a script handle, for instance WPGMZA.GoogleMarker will be converted to wpgmza-google-marker.</p>
|
324 |
|
325 |
<td class="name"><div>
|
326 |
<a class="anchor" href="#_getLibraryScripts">#</a>
|
327 |
+
<code><a href="source-class-WPGMZA.ScriptLoader.html#95-140" title="Go to source code">getLibraryScripts</a>( )</code>
|
328 |
|
329 |
<div class="description short">
|
330 |
<p>This function returns an array of library scripts that the plugin depends on, where the array key is the script handle and the value is the script URL.</p>
|
362 |
|
363 |
<td class="name"><div>
|
364 |
<a class="anchor" href="#_getScanDirectories">#</a>
|
365 |
+
<code><a href="source-class-WPGMZA.ScriptLoader.html#142-156" title="Go to source code">getScanDirectories</a>( )</code>
|
366 |
|
367 |
<div class="description short">
|
368 |
<p>Returns the directories to be scanned for JavaScript files.</p>
|
396 |
|
397 |
<td class="name"><div>
|
398 |
<a class="anchor" href="#_scanDependencies">#</a>
|
399 |
+
<code><a href="source-class-WPGMZA.ScriptLoader.html#158-254" title="Go to source code">scanDependencies</a>( )</code>
|
400 |
|
401 |
<div class="description short">
|
402 |
<p>This function performs the following actions:</p>
|
432 |
|
433 |
<td class="name"><div>
|
434 |
<a class="anchor" href="#_getCombineOrder">#</a>
|
435 |
+
<code><a href="source-class-WPGMZA.ScriptLoader.html#256-367" title="Go to source code">getCombineOrder</a>( )</code>
|
436 |
|
437 |
<div class="description short">
|
438 |
<p>This function performs the following actions:</p>
|
480 |
|
481 |
<td class="name"><div>
|
482 |
<a class="anchor" href="#_buildCombinedFile">#</a>
|
483 |
+
<code><a href="source-class-WPGMZA.ScriptLoader.html#369-435" title="Go to source code">buildCombinedFile</a>( )</code>
|
484 |
|
485 |
<div class="description short">
|
486 |
<p>Builds all the plugin scripts into a combined (concatenated) string. The function will then check if the md5 hash of the existing combined script file matches the hash of the string in memory. If they match, the combined file is up to date and is left untouched. If they do not match, the combined file is updated.</p>
|
510 |
|
511 |
<td class="name"><div>
|
512 |
<a class="anchor" href="#_build">#</a>
|
513 |
+
<code><a href="source-class-WPGMZA.ScriptLoader.html#437-445" title="Go to source code">build</a>( )</code>
|
514 |
|
515 |
<div class="description short">
|
516 |
<p>This function performs a full rebuild of the combined script file</p>
|
540 |
|
541 |
<td class="name"><div>
|
542 |
<a class="anchor" href="#_enqueueStyles">#</a>
|
543 |
+
<code><a href="source-class-WPGMZA.ScriptLoader.html#447-461" title="Go to source code">enqueueStyles</a>( )</code>
|
544 |
|
545 |
<div class="description short">
|
546 |
<p>Enqueues all required stylesheets</p>
|
570 |
|
571 |
<td class="name"><div>
|
572 |
<a class="anchor" href="#_getPluginScripts">#</a>
|
573 |
+
<code><a href="source-class-WPGMZA.ScriptLoader.html#463-505" title="Go to source code">getPluginScripts</a>( )</code>
|
574 |
|
575 |
<div class="description short">
|
576 |
<p>Returns an array of objects representing all scripts used by the plugin. In developer mode, this will be one script for each module, when not in developer mode, this will either be the combined or minified file, dependeing on which is more up to date.</p>
|
604 |
|
605 |
<td class="name"><div>
|
606 |
<a class="anchor" href="#_enqueueScripts">#</a>
|
607 |
+
<code><a href="source-class-WPGMZA.ScriptLoader.html#507-587" title="Go to source code">enqueueScripts</a>( )</code>
|
608 |
|
609 |
<div class="description short">
|
610 |
<p>Enqueues all the libraries required by the plugin scripts, then enqueues the plugin scripts and localized data (JavaScript globals).</p>
|
634 |
|
635 |
<td class="name"><div>
|
636 |
<a class="anchor" href="#_enqueueLocalizedData">#</a>
|
637 |
+
<code><a href="source-class-WPGMZA.ScriptLoader.html#589-600" title="Go to source code">enqueueLocalizedData</a>( )</code>
|
638 |
|
639 |
<div class="description short">
|
640 |
<p>Enqueues the plugins localized data, as fetched from Plugin::getLocalizedData</p>
|
649 |
|
650 |
|
651 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
652 |
</div>
|
653 |
</div></td>
|
654 |
</tr>
|
674 |
</code></td>
|
675 |
|
676 |
<td class="name">
|
677 |
+
<a href="source-class-WPGMZA.ScriptLoader.html#24-28" title="Go to source code"><var>$scripts</var></a>
|
678 |
|
679 |
<div class="description short">
|
680 |
<p>Objects describing each script file, where the array key is the script handle.</p>
|
@@ -49,12 +49,18 @@
|
|
49 |
<div id="elements">
|
50 |
<h3>Classes</h3>
|
51 |
<ul>
|
|
|
|
|
52 |
<li><a href="class-WPGMZA.AutoLoader.html">AutoLoader</a></li>
|
53 |
<li><a href="class-WPGMZA.Crud.html">Crud</a></li>
|
|
|
|
|
|
|
54 |
<li><a href="class-WPGMZA.DOMDocument.html">DOMDocument</a></li>
|
55 |
<li><a href="class-WPGMZA.DOMElement.html">DOMElement</a></li>
|
56 |
<li><a href="class-WPGMZA.Factory.html">Factory</a></li>
|
57 |
<li><a href="class-WPGMZA.GDPRCompliance.html">GDPRCompliance</a></li>
|
|
|
58 |
<li><a href="class-WPGMZA.GoogleGeocoder.html">GoogleGeocoder</a></li>
|
59 |
<li><a href="class-WPGMZA.GoogleMap.html">GoogleMap</a></li>
|
60 |
<li><a href="class-WPGMZA.GoogleMapsAPILoader.html" class="deprecated">GoogleMapsAPILoader</a></li>
|
@@ -63,13 +69,18 @@
|
|
63 |
<li><a href="class-WPGMZA.Map.html">Map</a></li>
|
64 |
<li><a href="class-WPGMZA.MapsEngineDialog.html">MapsEngineDialog</a></li>
|
65 |
<li><a href="class-WPGMZA.Marker.html">Marker</a></li>
|
|
|
|
|
66 |
<li><a href="class-WPGMZA.ModalDialog.html">ModalDialog</a></li>
|
67 |
<li><a href="class-WPGMZA.NominatimGeocodeCache.html">NominatimGeocodeCache</a></li>
|
68 |
<li><a href="class-WPGMZA.OLLoader.html">OLLoader</a></li>
|
69 |
<li><a href="class-WPGMZA.Plugin.html">Plugin</a></li>
|
|
|
|
|
70 |
<li><a href="class-WPGMZA.RestAPI.html">RestAPI</a></li>
|
71 |
<li><a href="class-WPGMZA.ScriptLoader.html">ScriptLoader</a></li>
|
72 |
<li class="active"><a href="class-WPGMZA.Strings.html">Strings</a></li>
|
|
|
73 |
</ul>
|
74 |
|
75 |
|
@@ -79,7 +90,6 @@
|
|
79 |
<h3>Functions</h3>
|
80 |
<ul>
|
81 |
<li><a href="function-WPGMZA.create_marker_instance_delegate.html">create_marker_instance_delegate</a></li>
|
82 |
-
<li><a href="function-WPGMZA.create_plugin_instance.html" class="deprecated">create_plugin_instance</a></li>
|
83 |
<li><a href="function-WPGMZA.query_nominatim_cache.html" class="deprecated">query_nominatim_cache</a></li>
|
84 |
<li><a href="function-WPGMZA.store_nominatim_cache.html" class="deprecated">store_nominatim_cache</a></li>
|
85 |
</ul>
|
@@ -137,7 +147,7 @@ In the future, functionality will be added to build a dummy static string file f
|
|
137 |
<b>Namespace:</b> <a href="namespace-WPGMZA.html">WPGMZA</a><br>
|
138 |
|
139 |
|
140 |
-
<b>Located at</b> <a href="source-class-WPGMZA.Strings.html#5-
|
141 |
<br>
|
142 |
</div>
|
143 |
|
@@ -157,7 +167,7 @@ In the future, functionality will be added to build a dummy static string file f
|
|
157 |
|
158 |
<td class="name"><div>
|
159 |
<a class="anchor" href="#_getLocalizedStrings">#</a>
|
160 |
-
<code><a href="source-class-WPGMZA.Strings.html#11-
|
161 |
|
162 |
<div class="description short">
|
163 |
<p>Returns localized strings, passed through the wpgmza_localized_strings filter</p>
|
@@ -191,7 +201,7 @@ In the future, functionality will be added to build a dummy static string file f
|
|
191 |
|
192 |
<td class="name"><div>
|
193 |
<a class="anchor" href="#_buildDynamicStringDummyFile">#</a>
|
194 |
-
<code><a href="source-class-WPGMZA.Strings.html#
|
195 |
|
196 |
<div class="description short">
|
197 |
<p>This function builds a dummy PHP file containing strings from the database,
|
49 |
<div id="elements">
|
50 |
<h3>Classes</h3>
|
51 |
<ul>
|
52 |
+
<li><a href="class-WPGMZA.AdminMarkerDataTable.html">AdminMarkerDataTable</a></li>
|
53 |
+
<li><a href="class-WPGMZA.AjaxTable.html">AjaxTable</a></li>
|
54 |
<li><a href="class-WPGMZA.AutoLoader.html">AutoLoader</a></li>
|
55 |
<li><a href="class-WPGMZA.Crud.html">Crud</a></li>
|
56 |
+
<li><a href="class-WPGMZA.Database.html">Database</a></li>
|
57 |
+
<li><a href="class-WPGMZA.DataTable.html">DataTable</a></li>
|
58 |
+
<li><a href="class-WPGMZA.Distance.html">Distance</a></li>
|
59 |
<li><a href="class-WPGMZA.DOMDocument.html">DOMDocument</a></li>
|
60 |
<li><a href="class-WPGMZA.DOMElement.html">DOMElement</a></li>
|
61 |
<li><a href="class-WPGMZA.Factory.html">Factory</a></li>
|
62 |
<li><a href="class-WPGMZA.GDPRCompliance.html">GDPRCompliance</a></li>
|
63 |
+
<li><a href="class-WPGMZA.GlobalSettings.html">GlobalSettings</a></li>
|
64 |
<li><a href="class-WPGMZA.GoogleGeocoder.html">GoogleGeocoder</a></li>
|
65 |
<li><a href="class-WPGMZA.GoogleMap.html">GoogleMap</a></li>
|
66 |
<li><a href="class-WPGMZA.GoogleMapsAPILoader.html" class="deprecated">GoogleMapsAPILoader</a></li>
|
69 |
<li><a href="class-WPGMZA.Map.html">Map</a></li>
|
70 |
<li><a href="class-WPGMZA.MapsEngineDialog.html">MapsEngineDialog</a></li>
|
71 |
<li><a href="class-WPGMZA.Marker.html">Marker</a></li>
|
72 |
+
<li><a href="class-WPGMZA.MarkerDataTable.html">MarkerDataTable</a></li>
|
73 |
+
<li><a href="class-WPGMZA.MarkerFilter.html">MarkerFilter</a></li>
|
74 |
<li><a href="class-WPGMZA.ModalDialog.html">ModalDialog</a></li>
|
75 |
<li><a href="class-WPGMZA.NominatimGeocodeCache.html">NominatimGeocodeCache</a></li>
|
76 |
<li><a href="class-WPGMZA.OLLoader.html">OLLoader</a></li>
|
77 |
<li><a href="class-WPGMZA.Plugin.html">Plugin</a></li>
|
78 |
+
<li><a href="class-WPGMZA.Query.html">Query</a></li>
|
79 |
+
<li><a href="class-WPGMZA.QueryFragment.html">QueryFragment</a></li>
|
80 |
<li><a href="class-WPGMZA.RestAPI.html">RestAPI</a></li>
|
81 |
<li><a href="class-WPGMZA.ScriptLoader.html">ScriptLoader</a></li>
|
82 |
<li class="active"><a href="class-WPGMZA.Strings.html">Strings</a></li>
|
83 |
+
<li><a href="class-WPGMZA.Table.html">Table</a></li>
|
84 |
</ul>
|
85 |
|
86 |
|
90 |
<h3>Functions</h3>
|
91 |
<ul>
|
92 |
<li><a href="function-WPGMZA.create_marker_instance_delegate.html">create_marker_instance_delegate</a></li>
|
|
|
93 |
<li><a href="function-WPGMZA.query_nominatim_cache.html" class="deprecated">query_nominatim_cache</a></li>
|
94 |
<li><a href="function-WPGMZA.store_nominatim_cache.html" class="deprecated">store_nominatim_cache</a></li>
|
95 |
</ul>
|
147 |
<b>Namespace:</b> <a href="namespace-WPGMZA.html">WPGMZA</a><br>
|
148 |
|
149 |
|
150 |
+
<b>Located at</b> <a href="source-class-WPGMZA.Strings.html#5-63" title="Go to source code">class.strings.php</a>
|
151 |
<br>
|
152 |
</div>
|
153 |
|
167 |
|
168 |
<td class="name"><div>
|
169 |
<a class="anchor" href="#_getLocalizedStrings">#</a>
|
170 |
+
<code><a href="source-class-WPGMZA.Strings.html#11-46" title="Go to source code">getLocalizedStrings</a>( )</code>
|
171 |
|
172 |
<div class="description short">
|
173 |
<p>Returns localized strings, passed through the wpgmza_localized_strings filter</p>
|
201 |
|
202 |
<td class="name"><div>
|
203 |
<a class="anchor" href="#_buildDynamicStringDummyFile">#</a>
|
204 |
+
<code><a href="source-class-WPGMZA.Strings.html#48-62" title="Go to source code">buildDynamicStringDummyFile</a>( )</code>
|
205 |
|
206 |
<div class="description short">
|
207 |
<p>This function builds a dummy PHP file containing strings from the database,
|
@@ -0,0 +1,435 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<!DOCTYPE html>
|
2 |
+
<html>
|
3 |
+
<head>
|
4 |
+
<meta charset="utf-8">
|
5 |
+
|
6 |
+
<title>Class WPGMZA\Table</title>
|
7 |
+
|
8 |
+
<link rel="stylesheet" href="resources/style.css?c2f33731c1948fbed7c333554678bfa68d4817da">
|
9 |
+
|
10 |
+
</head>
|
11 |
+
|
12 |
+
<body>
|
13 |
+
<div id="left">
|
14 |
+
<div id="menu">
|
15 |
+
<a href="index.html" title="Overview"><span>Overview</span></a>
|
16 |
+
|
17 |
+
|
18 |
+
<div id="groups">
|
19 |
+
<h3>Namespaces</h3>
|
20 |
+
<ul>
|
21 |
+
<li>
|
22 |
+
<a href="namespace-None.html">
|
23 |
+
None </a>
|
24 |
+
|
25 |
+
</li>
|
26 |
+
<li class="active">
|
27 |
+
<a href="namespace-WPGMZA.html">
|
28 |
+
WPGMZA<span></span>
|
29 |
+
</a>
|
30 |
+
|
31 |
+
<ul>
|
32 |
+
<li>
|
33 |
+
<a href="namespace-WPGMZA.Integration.html">
|
34 |
+
Integration </a>
|
35 |
+
|
36 |
+
</li>
|
37 |
+
<li>
|
38 |
+
<a href="namespace-WPGMZA.Selector.html">
|
39 |
+
Selector </a>
|
40 |
+
|
41 |
+
</li>
|
42 |
+
</ul></li>
|
43 |
+
</ul>
|
44 |
+
</div>
|
45 |
+
|
46 |
+
<hr>
|
47 |
+
|
48 |
+
|
49 |
+
<div id="elements">
|
50 |
+
<h3>Classes</h3>
|
51 |
+
<ul>
|
52 |
+
<li><a href="class-WPGMZA.AdminMarkerDataTable.html">AdminMarkerDataTable</a></li>
|
53 |
+
<li><a href="class-WPGMZA.AjaxTable.html">AjaxTable</a></li>
|
54 |
+
<li><a href="class-WPGMZA.AutoLoader.html">AutoLoader</a></li>
|
55 |
+
<li><a href="class-WPGMZA.Crud.html">Crud</a></li>
|
56 |
+
<li><a href="class-WPGMZA.Database.html">Database</a></li>
|
57 |
+
<li><a href="class-WPGMZA.DataTable.html">DataTable</a></li>
|
58 |
+
<li><a href="class-WPGMZA.Distance.html">Distance</a></li>
|
59 |
+
<li><a href="class-WPGMZA.DOMDocument.html">DOMDocument</a></li>
|
60 |
+
<li><a href="class-WPGMZA.DOMElement.html">DOMElement</a></li>
|
61 |
+
<li><a href="class-WPGMZA.Factory.html">Factory</a></li>
|
62 |
+
<li><a href="class-WPGMZA.GDPRCompliance.html">GDPRCompliance</a></li>
|
63 |
+
<li><a href="class-WPGMZA.GlobalSettings.html">GlobalSettings</a></li>
|
64 |
+
<li><a href="class-WPGMZA.GoogleGeocoder.html">GoogleGeocoder</a></li>
|
65 |
+
<li><a href="class-WPGMZA.GoogleMap.html">GoogleMap</a></li>
|
66 |
+
<li><a href="class-WPGMZA.GoogleMapsAPILoader.html" class="deprecated">GoogleMapsAPILoader</a></li>
|
67 |
+
<li><a href="class-WPGMZA.GoogleMapsLoader.html" class="deprecated">GoogleMapsLoader</a></li>
|
68 |
+
<li><a href="class-WPGMZA.LatLng.html">LatLng</a></li>
|
69 |
+
<li><a href="class-WPGMZA.Map.html">Map</a></li>
|
70 |
+
<li><a href="class-WPGMZA.MapsEngineDialog.html">MapsEngineDialog</a></li>
|
71 |
+
<li><a href="class-WPGMZA.Marker.html">Marker</a></li>
|
72 |
+
<li><a href="class-WPGMZA.MarkerDataTable.html">MarkerDataTable</a></li>
|
73 |
+
<li><a href="class-WPGMZA.MarkerFilter.html">MarkerFilter</a></li>
|
74 |
+
<li><a href="class-WPGMZA.ModalDialog.html">ModalDialog</a></li>
|
75 |
+
<li><a href="class-WPGMZA.NominatimGeocodeCache.html">NominatimGeocodeCache</a></li>
|
76 |
+
<li><a href="class-WPGMZA.OLLoader.html">OLLoader</a></li>
|
77 |
+
<li><a href="class-WPGMZA.Plugin.html">Plugin</a></li>
|
78 |
+
<li><a href="class-WPGMZA.Query.html">Query</a></li>
|
79 |
+
<li><a href="class-WPGMZA.QueryFragment.html">QueryFragment</a></li>
|
80 |
+
<li><a href="class-WPGMZA.RestAPI.html">RestAPI</a></li>
|
81 |
+
<li><a href="class-WPGMZA.ScriptLoader.html">ScriptLoader</a></li>
|
82 |
+
<li><a href="class-WPGMZA.Strings.html">Strings</a></li>
|
83 |
+
<li class="active"><a href="class-WPGMZA.Table.html">Table</a></li>
|
84 |
+
</ul>
|
85 |
+
|
86 |
+
|
87 |
+
|
88 |
+
|
89 |
+
|
90 |
+
<h3>Functions</h3>
|
91 |
+
<ul>
|
92 |
+
<li><a href="function-WPGMZA.create_marker_instance_delegate.html">create_marker_instance_delegate</a></li>
|
93 |
+
<li><a href="function-WPGMZA.query_nominatim_cache.html" class="deprecated">query_nominatim_cache</a></li>
|
94 |
+
<li><a href="function-WPGMZA.store_nominatim_cache.html" class="deprecated">store_nominatim_cache</a></li>
|
95 |
+
</ul>
|
96 |
+
</div>
|
97 |
+
</div>
|
98 |
+
</div>
|
99 |
+
|
100 |
+
<div id="splitter"></div>
|
101 |
+
|
102 |
+
<div id="right">
|
103 |
+
<div id="rightInner">
|
104 |
+
<form id="search">
|
105 |
+
<input type="hidden" name="cx" value="">
|
106 |
+
<input type="hidden" name="ie" value="UTF-8">
|
107 |
+
<input type="text" name="q" class="text" placeholder="Search">
|
108 |
+
</form>
|
109 |
+
|
110 |
+
<div id="navigation">
|
111 |
+
<ul>
|
112 |
+
<li>
|
113 |
+
<a href="index.html" title="Overview"><span>Overview</span></a>
|
114 |
+
</li>
|
115 |
+
<li>
|
116 |
+
<a href="namespace-WPGMZA.html" title="Summary of WPGMZA"><span>Namespace</span></a>
|
117 |
+
</li>
|
118 |
+
<li class="active">
|
119 |
+
<span>Class</span> </li>
|
120 |
+
</ul>
|
121 |
+
<ul>
|
122 |
+
</ul>
|
123 |
+
<ul>
|
124 |
+
</ul>
|
125 |
+
</div>
|
126 |
+
|
127 |
+
<div id="content" class="class">
|
128 |
+
<h1>Class Table</h1>
|
129 |
+
|
130 |
+
|
131 |
+
<div class="description">
|
132 |
+
<p>The Factory class is a base class which can be used to make any classes
|
133 |
+
externally extensible. A filter is added for wpgmza_create_{class} which
|
134 |
+
is called by createInstance. If this filter returns a subclass of Factory,
|
135 |
+
that filter will override the default class and will be used.</p>
|
136 |
+
|
137 |
+
<p>IMPORTANT: Any objects which subclass Factory MUST be created by calling
|
138 |
+
createInstance on the subclass. Calling new on the constructor directly will
|
139 |
+
not cause this filter to fire, and the extended class will not be used.</p>
|
140 |
+
</div>
|
141 |
+
|
142 |
+
<dl class="tree">
|
143 |
+
<dd style="padding-left:0px">
|
144 |
+
<a href="class-WPGMZA.Factory.html"><span>WPGMZA\Factory</span></a>
|
145 |
+
|
146 |
+
|
147 |
+
|
148 |
+
</dd>
|
149 |
+
<dd style="padding-left:30px">
|
150 |
+
<img src="resources/inherit.png" alt="Extended by">
|
151 |
+
<b><span>WPGMZA\Table</span></b>
|
152 |
+
|
153 |
+
|
154 |
+
</dd>
|
155 |
+
</dl>
|
156 |
+
|
157 |
+
|
158 |
+
<div>
|
159 |
+
<h4>Direct known subclasses</h4>
|
160 |
+
<a href="class-WPGMZA.AjaxTable.html">WPGMZA\AjaxTable</a>
|
161 |
+
</div>
|
162 |
+
|
163 |
+
<div>
|
164 |
+
<h4>Indirect known subclasses</h4>
|
165 |
+
<a href="class-WPGMZA.AdminMarkerDataTable.html">WPGMZA\AdminMarkerDataTable</a>,
|
166 |
+
<a href="class-WPGMZA.DataTable.html">WPGMZA\DataTable</a>,
|
167 |
+
<a href="class-WPGMZA.MarkerDataTable.html">WPGMZA\MarkerDataTable</a>
|
168 |
+
</div>
|
169 |
+
|
170 |
+
|
171 |
+
|
172 |
+
|
173 |
+
|
174 |
+
<div class="info">
|
175 |
+
|
176 |
+
|
177 |
+
<b>Namespace:</b> <a href="namespace-WPGMZA.html">WPGMZA</a><br>
|
178 |
+
|
179 |
+
|
180 |
+
<b>Located at</b> <a href="source-class-WPGMZA.Table.html#5-58" title="Go to source code">tables/class.table.php</a>
|
181 |
+
<br>
|
182 |
+
</div>
|
183 |
+
|
184 |
+
|
185 |
+
|
186 |
+
<table class="summary methods" id="methods">
|
187 |
+
<caption>Methods summary</caption>
|
188 |
+
<tr data-order="__construct" id="___construct">
|
189 |
+
|
190 |
+
<td class="attributes"><code>
|
191 |
+
public
|
192 |
+
|
193 |
+
|
194 |
+
|
195 |
+
</code>
|
196 |
+
</td>
|
197 |
+
|
198 |
+
<td class="name"><div>
|
199 |
+
<a class="anchor" href="#___construct">#</a>
|
200 |
+
<code><a href="source-class-WPGMZA.Table.html#11-21" title="Go to source code">__construct</a>( <span> <var>$table_name</var></span> )</code>
|
201 |
+
|
202 |
+
<div class="description short">
|
203 |
+
|
204 |
+
</div>
|
205 |
+
|
206 |
+
<div class="description detailed hidden">
|
207 |
+
|
208 |
+
|
209 |
+
|
210 |
+
|
211 |
+
|
212 |
+
|
213 |
+
|
214 |
+
|
215 |
+
</div>
|
216 |
+
</div></td>
|
217 |
+
</tr>
|
218 |
+
<tr data-order="loadDocument" id="_loadDocument">
|
219 |
+
|
220 |
+
<td class="attributes"><code>
|
221 |
+
protected
|
222 |
+
|
223 |
+
|
224 |
+
|
225 |
+
</code>
|
226 |
+
</td>
|
227 |
+
|
228 |
+
<td class="name"><div>
|
229 |
+
<a class="anchor" href="#_loadDocument">#</a>
|
230 |
+
<code><a href="source-class-WPGMZA.Table.html#23-26" title="Go to source code">loadDocument</a>( )</code>
|
231 |
+
|
232 |
+
<div class="description short">
|
233 |
+
|
234 |
+
</div>
|
235 |
+
|
236 |
+
<div class="description detailed hidden">
|
237 |
+
|
238 |
+
|
239 |
+
|
240 |
+
|
241 |
+
|
242 |
+
|
243 |
+
|
244 |
+
|
245 |
+
</div>
|
246 |
+
</div></td>
|
247 |
+
</tr>
|
248 |
+
<tr data-order="getElement" id="_getElement">
|
249 |
+
|
250 |
+
<td class="attributes"><code>
|
251 |
+
protected
|
252 |
+
|
253 |
+
|
254 |
+
|
255 |
+
</code>
|
256 |
+
</td>
|
257 |
+
|
258 |
+
<td class="name"><div>
|
259 |
+
<a class="anchor" href="#_getElement">#</a>
|
260 |
+
<code><a href="source-class-WPGMZA.Table.html#28-31" title="Go to source code">getElement</a>( )</code>
|
261 |
+
|
262 |
+
<div class="description short">
|
263 |
+
|
264 |
+
</div>
|
265 |
+
|
266 |
+
<div class="description detailed hidden">
|
267 |
+
|
268 |
+
|
269 |
+
|
270 |
+
|
271 |
+
|
272 |
+
|
273 |
+
|
274 |
+
|
275 |
+
</div>
|
276 |
+
</div></td>
|
277 |
+
</tr>
|
278 |
+
<tr data-order="__get" id="___get">
|
279 |
+
|
280 |
+
<td class="attributes"><code>
|
281 |
+
public
|
282 |
+
|
283 |
+
|
284 |
+
|
285 |
+
</code>
|
286 |
+
</td>
|
287 |
+
|
288 |
+
<td class="name"><div>
|
289 |
+
<a class="anchor" href="#___get">#</a>
|
290 |
+
<code><a href="source-class-WPGMZA.Table.html#33-39" title="Go to source code">__get</a>( <span> <var>$name</var></span> )</code>
|
291 |
+
|
292 |
+
<div class="description short">
|
293 |
+
|
294 |
+
</div>
|
295 |
+
|
296 |
+
<div class="description detailed hidden">
|
297 |
+
|
298 |
+
|
299 |
+
|
300 |
+
|
301 |
+
|
302 |
+
|
303 |
+
|
304 |
+
|
305 |
+
</div>
|
306 |
+
</div></td>
|
307 |
+
</tr>
|
308 |
+
<tr data-order="__set" id="___set">
|
309 |
+
|
310 |
+
<td class="attributes"><code>
|
311 |
+
public
|
312 |
+
|
313 |
+
|
314 |
+
|
315 |
+
</code>
|
316 |
+
</td>
|
317 |
+
|
318 |
+
<td class="name"><div>
|
319 |
+
<a class="anchor" href="#___set">#</a>
|
320 |
+
<code><a href="source-class-WPGMZA.Table.html#41-47" title="Go to source code">__set</a>( <span> <var>$name</var></span>, <span> <var>$value</var></span> )</code>
|
321 |
+
|
322 |
+
<div class="description short">
|
323 |
+
|
324 |
+
</div>
|
325 |
+
|
326 |
+
<div class="description detailed hidden">
|
327 |
+
|
328 |
+
|
329 |
+
|
330 |
+
|
331 |
+
|
332 |
+
|
333 |
+
|
334 |
+
|
335 |
+
</div>
|
336 |
+
</div></td>
|
337 |
+
</tr>
|
338 |
+
<tr data-order="html" id="_html">
|
339 |
+
|
340 |
+
<td class="attributes"><code>
|
341 |
+
public
|
342 |
+
|
343 |
+
|
344 |
+
|
345 |
+
</code>
|
346 |
+
</td>
|
347 |
+
|
348 |
+
<td class="name"><div>
|
349 |
+
<a class="anchor" href="#_html">#</a>
|
350 |
+
<code><a href="source-class-WPGMZA.Table.html#49-52" title="Go to source code">html</a>( )</code>
|
351 |
+
|
352 |
+
<div class="description short">
|
353 |
+
|
354 |
+
</div>
|
355 |
+
|
356 |
+
<div class="description detailed hidden">
|
357 |
+
|
358 |
+
|
359 |
+
|
360 |
+
|
361 |
+
|
362 |
+
|
363 |
+
|
364 |
+
|
365 |
+
</div>
|
366 |
+
</div></td>
|
367 |
+
</tr>
|
368 |
+
<tr data-order="data" id="_data">
|
369 |
+
|
370 |
+
<td class="attributes"><code>
|
371 |
+
public
|
372 |
+
|
373 |
+
|
374 |
+
|
375 |
+
</code>
|
376 |
+
</td>
|
377 |
+
|
378 |
+
<td class="name"><div>
|
379 |
+
<a class="anchor" href="#_data">#</a>
|
380 |
+
<code><a href="source-class-WPGMZA.Table.html#54-57" title="Go to source code">data</a>( <span> <var>$params</var></span> )</code>
|
381 |
+
|
382 |
+
<div class="description short">
|
383 |
+
|
384 |
+
</div>
|
385 |
+
|
386 |
+
<div class="description detailed hidden">
|
387 |
+
|
388 |
+
|
389 |
+
|
390 |
+
|
391 |
+
|
392 |
+
|
393 |
+
|
394 |
+
|
395 |
+
</div>
|
396 |
+
</div></td>
|
397 |
+
</tr>
|
398 |
+
</table>
|
399 |
+
|
400 |
+
<table class="summary inherited">
|
401 |
+
<caption>Methods inherited from <a href="class-WPGMZA.Factory.html#methods">WPGMZA\Factory</a></caption>
|
402 |
+
<tr>
|
403 |
+
<td><code>
|
404 |
+
<a href="class-WPGMZA.Factory.html#_createInstance">createInstance()</a>
|
405 |
+
</code></td>
|
406 |
+
</tr>
|
407 |
+
</table>
|
408 |
+
|
409 |
+
|
410 |
+
|
411 |
+
|
412 |
+
|
413 |
+
|
414 |
+
|
415 |
+
|
416 |
+
|
417 |
+
|
418 |
+
|
419 |
+
|
420 |
+
|
421 |
+
|
422 |
+
|
423 |
+
|
424 |
+
|
425 |
+
</div>
|
426 |
+
|
427 |
+
<div id="footer">
|
428 |
+
API documentation generated by <a href="http://apigen.org">ApiGen</a>
|
429 |
+
</div>
|
430 |
+
</div>
|
431 |
+
</div>
|
432 |
+
<script src="resources/combined.js"></script>
|
433 |
+
<script src="elementlist.js"></script>
|
434 |
+
</body>
|
435 |
+
</html>
|
@@ -1,3 +1,3 @@
|
|
1 |
|
2 |
var ApiGen = ApiGen || {};
|
3 |
-
ApiGen.elements = [["f","create_marker_instance_delegate()"],["f","
|
1 |
|
2 |
var ApiGen = ApiGen || {};
|
3 |
+
ApiGen.elements = [["f","create_marker_instance_delegate()"],["f","query_nominatim_cache()"],["f","store_nominatim_cache()"],["f","trace()"],["c","WPGMZA\\AdminMarkerDataTable"],["c","WPGMZA\\AjaxTable"],["c","WPGMZA\\AutoLoader"],["c","WPGMZA\\Crud"],["c","WPGMZA\\Database"],["c","WPGMZA\\DataTable"],["c","WPGMZA\\Distance"],["c","WPGMZA\\DOMDocument"],["c","WPGMZA\\DOMElement"],["c","WPGMZA\\Factory"],["c","WPGMZA\\GDPRCompliance"],["c","WPGMZA\\GlobalSettings"],["c","WPGMZA\\GoogleGeocoder"],["c","WPGMZA\\GoogleMap"],["c","WPGMZA\\GoogleMapsAPILoader"],["c","WPGMZA\\GoogleMapsLoader"],["c","WPGMZA\\Integration\\Gutenberg"],["c","WPGMZA\\Integration\\WPMigrateDB"],["c","WPGMZA\\LatLng"],["c","WPGMZA\\Map"],["c","WPGMZA\\MapsEngineDialog"],["c","WPGMZA\\Marker"],["c","WPGMZA\\MarkerDataTable"],["c","WPGMZA\\MarkerFilter"],["c","WPGMZA\\ModalDialog"],["c","WPGMZA\\NominatimGeocodeCache"],["c","WPGMZA\\OLLoader"],["c","WPGMZA\\Plugin"],["c","WPGMZA\\Query"],["c","WPGMZA\\QueryFragment"],["c","WPGMZA\\RestAPI"],["c","WPGMZA\\ScriptLoader"],["c","WPGMZA\\Selector\\AttributeSelector"],["c","WPGMZA\\Selector\\ConvertException"],["c","WPGMZA\\Selector\\ParseException"],["c","WPGMZA\\Selector\\Parser"],["c","WPGMZA\\Selector\\PseudoSelector"],["c","WPGMZA\\Selector\\Selector"],["c","WPGMZA\\Selector\\Token"],["c","WPGMZA\\Selector\\Tokenizer"],["c","WPGMZA\\Selector\\TokenStream"],["c","WPGMZA\\Selector\\XPathConverter"],["c","WPGMZA\\Strings"],["c","WPGMZA\\Table"],["f","wpgmza_backwards_compat_get_all_circle_data()"],["f","wpgmza_backwards_compat_get_all_rectangle_data()"],["f","wpgmza_check_admin_head_backwards_compat_v6()"],["f","wpgmza_check_map_editor_backwards_compat_v6()"],["f","wpgmza_check_pro_compat_required_v6()"],["f","wpgmza_check_user_backwards_compat_v6()"]];
|
@@ -139,7 +139,7 @@
|
|
139 |
</div>
|
140 |
</div>
|
141 |
</div>
|
142 |
-
<script src="resources/combined.js?
|
143 |
-
<script src="elementlist.js?
|
144 |
</body>
|
145 |
</html>
|
139 |
</div>
|
140 |
</div>
|
141 |
</div>
|
142 |
+
<script src="resources/combined.js?bdf41a0492319853d610bde7b68b95e93d08fae3"></script>
|
143 |
+
<script src="elementlist.js?ce6e64dd6d2e258467153e0fbb3257ea07b69a7b"></script>
|
144 |
</body>
|
145 |
</html>
|
@@ -49,12 +49,18 @@
|
|
49 |
<div id="elements">
|
50 |
<h3>Classes</h3>
|
51 |
<ul>
|
|
|
|
|
52 |
<li><a href="class-WPGMZA.AutoLoader.html">AutoLoader</a></li>
|
53 |
<li><a href="class-WPGMZA.Crud.html">Crud</a></li>
|
|
|
|
|
|
|
54 |
<li><a href="class-WPGMZA.DOMDocument.html">DOMDocument</a></li>
|
55 |
<li><a href="class-WPGMZA.DOMElement.html">DOMElement</a></li>
|
56 |
<li><a href="class-WPGMZA.Factory.html">Factory</a></li>
|
57 |
<li><a href="class-WPGMZA.GDPRCompliance.html">GDPRCompliance</a></li>
|
|
|
58 |
<li><a href="class-WPGMZA.GoogleGeocoder.html">GoogleGeocoder</a></li>
|
59 |
<li><a href="class-WPGMZA.GoogleMap.html">GoogleMap</a></li>
|
60 |
<li><a href="class-WPGMZA.GoogleMapsAPILoader.html" class="deprecated">GoogleMapsAPILoader</a></li>
|
@@ -63,13 +69,18 @@
|
|
63 |
<li><a href="class-WPGMZA.Map.html">Map</a></li>
|
64 |
<li><a href="class-WPGMZA.MapsEngineDialog.html">MapsEngineDialog</a></li>
|
65 |
<li><a href="class-WPGMZA.Marker.html">Marker</a></li>
|
|
|
|
|
66 |
<li><a href="class-WPGMZA.ModalDialog.html">ModalDialog</a></li>
|
67 |
<li><a href="class-WPGMZA.NominatimGeocodeCache.html">NominatimGeocodeCache</a></li>
|
68 |
<li><a href="class-WPGMZA.OLLoader.html">OLLoader</a></li>
|
69 |
<li><a href="class-WPGMZA.Plugin.html">Plugin</a></li>
|
|
|
|
|
70 |
<li><a href="class-WPGMZA.RestAPI.html">RestAPI</a></li>
|
71 |
<li><a href="class-WPGMZA.ScriptLoader.html">ScriptLoader</a></li>
|
72 |
<li><a href="class-WPGMZA.Strings.html">Strings</a></li>
|
|
|
73 |
</ul>
|
74 |
|
75 |
|
@@ -79,7 +90,6 @@
|
|
79 |
<h3>Functions</h3>
|
80 |
<ul>
|
81 |
<li class="active"><a href="function-WPGMZA.create_marker_instance_delegate.html">create_marker_instance_delegate</a></li>
|
82 |
-
<li><a href="function-WPGMZA.create_plugin_instance.html" class="deprecated">create_plugin_instance</a></li>
|
83 |
<li><a href="function-WPGMZA.query_nominatim_cache.html" class="deprecated">query_nominatim_cache</a></li>
|
84 |
<li><a href="function-WPGMZA.store_nominatim_cache.html" class="deprecated">store_nominatim_cache</a></li>
|
85 |
</ul>
|
@@ -123,7 +133,7 @@
|
|
123 |
<b>Namespace:</b> <a href="namespace-WPGMZA.html">WPGMZA</a><br>
|
124 |
|
125 |
<b>Located at</b>
|
126 |
-
<a href="source-function-WPGMZA.create_marker_instance_delegate.html#
|
127 |
class.marker.php
|
128 |
</a><br>
|
129 |
</div>
|
@@ -147,7 +157,7 @@
|
|
147 |
</div>
|
148 |
</div>
|
149 |
</div>
|
150 |
-
<script src="resources/combined.js?
|
151 |
-
<script src="elementlist.js?
|
152 |
</body>
|
153 |
</html>
|
49 |
<div id="elements">
|
50 |
<h3>Classes</h3>
|
51 |
<ul>
|
52 |
+
<li><a href="class-WPGMZA.AdminMarkerDataTable.html">AdminMarkerDataTable</a></li>
|
53 |
+
<li><a href="class-WPGMZA.AjaxTable.html">AjaxTable</a></li>
|
54 |
<li><a href="class-WPGMZA.AutoLoader.html">AutoLoader</a></li>
|
55 |
<li><a href="class-WPGMZA.Crud.html">Crud</a></li>
|
56 |
+
<li><a href="class-WPGMZA.Database.html">Database</a></li>
|
57 |
+
<li><a href="class-WPGMZA.DataTable.html">DataTable</a></li>
|
58 |
+
<li><a href="class-WPGMZA.Distance.html">Distance</a></li>
|
59 |
<li><a href="class-WPGMZA.DOMDocument.html">DOMDocument</a></li>
|
60 |
<li><a href="class-WPGMZA.DOMElement.html">DOMElement</a></li>
|
61 |
<li><a href="class-WPGMZA.Factory.html">Factory</a></li>
|
62 |
<li><a href="class-WPGMZA.GDPRCompliance.html">GDPRCompliance</a></li>
|
63 |
+
<li><a href="class-WPGMZA.GlobalSettings.html">GlobalSettings</a></li>
|
64 |
<li><a href="class-WPGMZA.GoogleGeocoder.html">GoogleGeocoder</a></li>
|
65 |
<li><a href="class-WPGMZA.GoogleMap.html">GoogleMap</a></li>
|
66 |
<li><a href="class-WPGMZA.GoogleMapsAPILoader.html" class="deprecated">GoogleMapsAPILoader</a></li>
|
69 |
<li><a href="class-WPGMZA.Map.html">Map</a></li>
|
70 |
<li><a href="class-WPGMZA.MapsEngineDialog.html">MapsEngineDialog</a></li>
|
71 |
<li><a href="class-WPGMZA.Marker.html">Marker</a></li>
|
72 |
+
<li><a href="class-WPGMZA.MarkerDataTable.html">MarkerDataTable</a></li>
|
73 |
+
<li><a href="class-WPGMZA.MarkerFilter.html">MarkerFilter</a></li>
|
74 |
<li><a href="class-WPGMZA.ModalDialog.html">ModalDialog</a></li>
|
75 |
<li><a href="class-WPGMZA.NominatimGeocodeCache.html">NominatimGeocodeCache</a></li>
|
76 |
<li><a href="class-WPGMZA.OLLoader.html">OLLoader</a></li>
|
77 |
<li><a href="class-WPGMZA.Plugin.html">Plugin</a></li>
|
78 |
+
<li><a href="class-WPGMZA.Query.html">Query</a></li>
|
79 |
+
<li><a href="class-WPGMZA.QueryFragment.html">QueryFragment</a></li>
|
80 |
<li><a href="class-WPGMZA.RestAPI.html">RestAPI</a></li>
|
81 |
<li><a href="class-WPGMZA.ScriptLoader.html">ScriptLoader</a></li>
|
82 |
<li><a href="class-WPGMZA.Strings.html">Strings</a></li>
|
83 |
+
<li><a href="class-WPGMZA.Table.html">Table</a></li>
|
84 |
</ul>
|
85 |
|
86 |
|
90 |
<h3>Functions</h3>
|
91 |
<ul>
|
92 |
<li class="active"><a href="function-WPGMZA.create_marker_instance_delegate.html">create_marker_instance_delegate</a></li>
|
|
|
93 |
<li><a href="function-WPGMZA.query_nominatim_cache.html" class="deprecated">query_nominatim_cache</a></li>
|
94 |
<li><a href="function-WPGMZA.store_nominatim_cache.html" class="deprecated">store_nominatim_cache</a></li>
|
95 |
</ul>
|
133 |
<b>Namespace:</b> <a href="namespace-WPGMZA.html">WPGMZA</a><br>
|
134 |
|
135 |
<b>Located at</b>
|
136 |
+
<a href="source-function-WPGMZA.create_marker_instance_delegate.html#166-169" title="Go to source code">
|
137 |
class.marker.php
|
138 |
</a><br>
|
139 |
</div>
|
157 |
</div>
|
158 |
</div>
|
159 |
</div>
|
160 |
+
<script src="resources/combined.js?bdf41a0492319853d610bde7b68b95e93d08fae3"></script>
|
161 |
+
<script src="elementlist.js?ce6e64dd6d2e258467153e0fbb3257ea07b69a7b"></script>
|
162 |
</body>
|
163 |
</html>
|
@@ -49,12 +49,18 @@
|
|
49 |
<div id="elements">
|
50 |
<h3>Classes</h3>
|
51 |
<ul>
|
|
|
|
|
52 |
<li><a href="class-WPGMZA.AutoLoader.html">AutoLoader</a></li>
|
53 |
<li><a href="class-WPGMZA.Crud.html">Crud</a></li>
|
|
|
|
|
|
|
54 |
<li><a href="class-WPGMZA.DOMDocument.html">DOMDocument</a></li>
|
55 |
<li><a href="class-WPGMZA.DOMElement.html">DOMElement</a></li>
|
56 |
<li><a href="class-WPGMZA.Factory.html">Factory</a></li>
|
57 |
<li><a href="class-WPGMZA.GDPRCompliance.html">GDPRCompliance</a></li>
|
|
|
58 |
<li><a href="class-WPGMZA.GoogleGeocoder.html">GoogleGeocoder</a></li>
|
59 |
<li><a href="class-WPGMZA.GoogleMap.html">GoogleMap</a></li>
|
60 |
<li><a href="class-WPGMZA.GoogleMapsAPILoader.html" class="deprecated">GoogleMapsAPILoader</a></li>
|
@@ -63,13 +69,18 @@
|
|
63 |
<li><a href="class-WPGMZA.Map.html">Map</a></li>
|
64 |
<li><a href="class-WPGMZA.MapsEngineDialog.html">MapsEngineDialog</a></li>
|
65 |
<li><a href="class-WPGMZA.Marker.html">Marker</a></li>
|
|
|
|
|
66 |
<li><a href="class-WPGMZA.ModalDialog.html">ModalDialog</a></li>
|
67 |
<li><a href="class-WPGMZA.NominatimGeocodeCache.html">NominatimGeocodeCache</a></li>
|
68 |
<li><a href="class-WPGMZA.OLLoader.html">OLLoader</a></li>
|
69 |
<li><a href="class-WPGMZA.Plugin.html">Plugin</a></li>
|
|
|
|
|
70 |
<li><a href="class-WPGMZA.RestAPI.html">RestAPI</a></li>
|
71 |
<li><a href="class-WPGMZA.ScriptLoader.html">ScriptLoader</a></li>
|
72 |
<li><a href="class-WPGMZA.Strings.html">Strings</a></li>
|
|
|
73 |
</ul>
|
74 |
|
75 |
|
@@ -79,7 +90,6 @@
|
|
79 |
<h3>Functions</h3>
|
80 |
<ul>
|
81 |
<li><a href="function-WPGMZA.create_marker_instance_delegate.html">create_marker_instance_delegate</a></li>
|
82 |
-
<li><a href="function-WPGMZA.create_plugin_instance.html" class="deprecated">create_plugin_instance</a></li>
|
83 |
<li class="active"><a href="function-WPGMZA.query_nominatim_cache.html" class="deprecated">query_nominatim_cache</a></li>
|
84 |
<li><a href="function-WPGMZA.store_nominatim_cache.html" class="deprecated">store_nominatim_cache</a></li>
|
85 |
</ul>
|
@@ -144,7 +154,7 @@
|
|
144 |
</div>
|
145 |
</div>
|
146 |
</div>
|
147 |
-
<script src="resources/combined.js?
|
148 |
-
<script src="elementlist.js?
|
149 |
</body>
|
150 |
</html>
|
49 |
<div id="elements">
|
50 |
<h3>Classes</h3>
|
51 |
<ul>
|
52 |
+
<li><a href="class-WPGMZA.AdminMarkerDataTable.html">AdminMarkerDataTable</a></li>
|
53 |
+
<li><a href="class-WPGMZA.AjaxTable.html">AjaxTable</a></li>
|
54 |
<li><a href="class-WPGMZA.AutoLoader.html">AutoLoader</a></li>
|
55 |
<li><a href="class-WPGMZA.Crud.html">Crud</a></li>
|
56 |
+
<li><a href="class-WPGMZA.Database.html">Database</a></li>
|
57 |
+
<li><a href="class-WPGMZA.DataTable.html">DataTable</a></li>
|
58 |
+
<li><a href="class-WPGMZA.Distance.html">Distance</a></li>
|
59 |
<li><a href="class-WPGMZA.DOMDocument.html">DOMDocument</a></li>
|
60 |
<li><a href="class-WPGMZA.DOMElement.html">DOMElement</a></li>
|
61 |
<li><a href="class-WPGMZA.Factory.html">Factory</a></li>
|
62 |
<li><a href="class-WPGMZA.GDPRCompliance.html">GDPRCompliance</a></li>
|
63 |
+
<li><a href="class-WPGMZA.GlobalSettings.html">GlobalSettings</a></li>
|
64 |
<li><a href="class-WPGMZA.GoogleGeocoder.html">GoogleGeocoder</a></li>
|
65 |
<li><a href="class-WPGMZA.GoogleMap.html">GoogleMap</a></li>
|
66 |
<li><a href="class-WPGMZA.GoogleMapsAPILoader.html" class="deprecated">GoogleMapsAPILoader</a></li>
|
69 |
<li><a href="class-WPGMZA.Map.html">Map</a></li>
|
70 |
<li><a href="class-WPGMZA.MapsEngineDialog.html">MapsEngineDialog</a></li>
|
71 |
<li><a href="class-WPGMZA.Marker.html">Marker</a></li>
|
72 |
+
<li><a href="class-WPGMZA.MarkerDataTable.html">MarkerDataTable</a></li>
|
73 |
+
<li><a href="class-WPGMZA.MarkerFilter.html">MarkerFilter</a></li>
|
74 |
<li><a href="class-WPGMZA.ModalDialog.html">ModalDialog</a></li>
|
75 |
<li><a href="class-WPGMZA.NominatimGeocodeCache.html">NominatimGeocodeCache</a></li>
|
76 |
<li><a href="class-WPGMZA.OLLoader.html">OLLoader</a></li>
|
77 |
<li><a href="class-WPGMZA.Plugin.html">Plugin</a></li>
|
78 |
+
<li><a href="class-WPGMZA.Query.html">Query</a></li>
|
79 |
+
<li><a href="class-WPGMZA.QueryFragment.html">QueryFragment</a></li>
|
80 |
<li><a href="class-WPGMZA.RestAPI.html">RestAPI</a></li>
|
81 |
<li><a href="class-WPGMZA.ScriptLoader.html">ScriptLoader</a></li>
|
82 |
<li><a href="class-WPGMZA.Strings.html">Strings</a></li>
|
83 |
+
<li><a href="class-WPGMZA.Table.html">Table</a></li>
|
84 |
</ul>
|
85 |
|
86 |
|
90 |
<h3>Functions</h3>
|
91 |
<ul>
|
92 |
<li><a href="function-WPGMZA.create_marker_instance_delegate.html">create_marker_instance_delegate</a></li>
|
|
|
93 |
<li class="active"><a href="function-WPGMZA.query_nominatim_cache.html" class="deprecated">query_nominatim_cache</a></li>
|
94 |
<li><a href="function-WPGMZA.store_nominatim_cache.html" class="deprecated">store_nominatim_cache</a></li>
|
95 |
</ul>
|
154 |
</div>
|
155 |
</div>
|
156 |
</div>
|
157 |
+
<script src="resources/combined.js?bdf41a0492319853d610bde7b68b95e93d08fae3"></script>
|
158 |
+
<script src="elementlist.js?ce6e64dd6d2e258467153e0fbb3257ea07b69a7b"></script>
|
159 |
</body>
|
160 |
</html>
|
@@ -49,12 +49,18 @@
|
|
49 |
<div id="elements">
|
50 |
<h3>Classes</h3>
|
51 |
<ul>
|
|
|
|
|
52 |
<li><a href="class-WPGMZA.AutoLoader.html">AutoLoader</a></li>
|
53 |
<li><a href="class-WPGMZA.Crud.html">Crud</a></li>
|
|
|
|
|
|
|
54 |
<li><a href="class-WPGMZA.DOMDocument.html">DOMDocument</a></li>
|
55 |
<li><a href="class-WPGMZA.DOMElement.html">DOMElement</a></li>
|
56 |
<li><a href="class-WPGMZA.Factory.html">Factory</a></li>
|
57 |
<li><a href="class-WPGMZA.GDPRCompliance.html">GDPRCompliance</a></li>
|
|
|
58 |
<li><a href="class-WPGMZA.GoogleGeocoder.html">GoogleGeocoder</a></li>
|
59 |
<li><a href="class-WPGMZA.GoogleMap.html">GoogleMap</a></li>
|
60 |
<li><a href="class-WPGMZA.GoogleMapsAPILoader.html" class="deprecated">GoogleMapsAPILoader</a></li>
|
@@ -63,13 +69,18 @@
|
|
63 |
<li><a href="class-WPGMZA.Map.html">Map</a></li>
|
64 |
<li><a href="class-WPGMZA.MapsEngineDialog.html">MapsEngineDialog</a></li>
|
65 |
<li><a href="class-WPGMZA.Marker.html">Marker</a></li>
|
|
|
|
|
66 |
<li><a href="class-WPGMZA.ModalDialog.html">ModalDialog</a></li>
|
67 |
<li><a href="class-WPGMZA.NominatimGeocodeCache.html">NominatimGeocodeCache</a></li>
|
68 |
<li><a href="class-WPGMZA.OLLoader.html">OLLoader</a></li>
|
69 |
<li><a href="class-WPGMZA.Plugin.html">Plugin</a></li>
|
|
|
|
|
70 |
<li><a href="class-WPGMZA.RestAPI.html">RestAPI</a></li>
|
71 |
<li><a href="class-WPGMZA.ScriptLoader.html">ScriptLoader</a></li>
|
72 |
<li><a href="class-WPGMZA.Strings.html">Strings</a></li>
|
|
|
73 |
</ul>
|
74 |
|
75 |
|
@@ -79,7 +90,6 @@
|
|
79 |
<h3>Functions</h3>
|
80 |
<ul>
|
81 |
<li><a href="function-WPGMZA.create_marker_instance_delegate.html">create_marker_instance_delegate</a></li>
|
82 |
-
<li><a href="function-WPGMZA.create_plugin_instance.html" class="deprecated">create_plugin_instance</a></li>
|
83 |
<li><a href="function-WPGMZA.query_nominatim_cache.html" class="deprecated">query_nominatim_cache</a></li>
|
84 |
<li class="active"><a href="function-WPGMZA.store_nominatim_cache.html" class="deprecated">store_nominatim_cache</a></li>
|
85 |
</ul>
|
@@ -144,7 +154,7 @@
|
|
144 |
</div>
|
145 |
</div>
|
146 |
</div>
|
147 |
-
<script src="resources/combined.js?
|
148 |
-
<script src="elementlist.js?
|
149 |
</body>
|
150 |
</html>
|
49 |
<div id="elements">
|
50 |
<h3>Classes</h3>
|
51 |
<ul>
|
52 |
+
<li><a href="class-WPGMZA.AdminMarkerDataTable.html">AdminMarkerDataTable</a></li>
|
53 |
+
<li><a href="class-WPGMZA.AjaxTable.html">AjaxTable</a></li>
|
54 |
<li><a href="class-WPGMZA.AutoLoader.html">AutoLoader</a></li>
|
55 |
<li><a href="class-WPGMZA.Crud.html">Crud</a></li>
|
56 |
+
<li><a href="class-WPGMZA.Database.html">Database</a></li>
|
57 |
+
<li><a href="class-WPGMZA.DataTable.html">DataTable</a></li>
|
58 |
+
<li><a href="class-WPGMZA.Distance.html">Distance</a></li>
|
59 |
<li><a href="class-WPGMZA.DOMDocument.html">DOMDocument</a></li>
|
60 |
<li><a href="class-WPGMZA.DOMElement.html">DOMElement</a></li>
|
61 |
<li><a href="class-WPGMZA.Factory.html">Factory</a></li>
|
62 |
<li><a href="class-WPGMZA.GDPRCompliance.html">GDPRCompliance</a></li>
|
63 |
+
<li><a href="class-WPGMZA.GlobalSettings.html">GlobalSettings</a></li>
|
64 |
<li><a href="class-WPGMZA.GoogleGeocoder.html">GoogleGeocoder</a></li>
|
65 |
<li><a href="class-WPGMZA.GoogleMap.html">GoogleMap</a></li>
|
66 |
<li><a href="class-WPGMZA.GoogleMapsAPILoader.html" class="deprecated">GoogleMapsAPILoader</a></li>
|
69 |
<li><a href="class-WPGMZA.Map.html">Map</a></li>
|
70 |
<li><a href="class-WPGMZA.MapsEngineDialog.html">MapsEngineDialog</a></li>
|
71 |
<li><a href="class-WPGMZA.Marker.html">Marker</a></li>
|
72 |
+
<li><a href="class-WPGMZA.MarkerDataTable.html">MarkerDataTable</a></li>
|
73 |
+
<li><a href="class-WPGMZA.MarkerFilter.html">MarkerFilter</a></li>
|
74 |
<li><a href="class-WPGMZA.ModalDialog.html">ModalDialog</a></li>
|
75 |
<li><a href="class-WPGMZA.NominatimGeocodeCache.html">NominatimGeocodeCache</a></li>
|
76 |
<li><a href="class-WPGMZA.OLLoader.html">OLLoader</a></li>
|
77 |
<li><a href="class-WPGMZA.Plugin.html">Plugin</a></li>
|
78 |
+
<li><a href="class-WPGMZA.Query.html">Query</a></li>
|
79 |
+
<li><a href="class-WPGMZA.QueryFragment.html">QueryFragment</a></li>
|
80 |
<li><a href="class-WPGMZA.RestAPI.html">RestAPI</a></li>
|
81 |
<li><a href="class-WPGMZA.ScriptLoader.html">ScriptLoader</a></li>
|
82 |
<li><a href="class-WPGMZA.Strings.html">Strings</a></li>
|
83 |
+
<li><a href="class-WPGMZA.Table.html">Table</a></li>
|
84 |
</ul>
|
85 |
|
86 |
|
90 |
<h3>Functions</h3>
|
91 |
<ul>
|
92 |
<li><a href="function-WPGMZA.create_marker_instance_delegate.html">create_marker_instance_delegate</a></li>
|
|
|
93 |
<li><a href="function-WPGMZA.query_nominatim_cache.html" class="deprecated">query_nominatim_cache</a></li>
|
94 |
<li class="active"><a href="function-WPGMZA.store_nominatim_cache.html" class="deprecated">store_nominatim_cache</a></li>
|
95 |
</ul>
|
154 |
</div>
|
155 |
</div>
|
156 |
</div>
|
157 |
+
<script src="resources/combined.js?bdf41a0492319853d610bde7b68b95e93d08fae3"></script>
|
158 |
+
<script src="elementlist.js?ce6e64dd6d2e258467153e0fbb3257ea07b69a7b"></script>
|
159 |
</body>
|
160 |
</html>
|
@@ -101,7 +101,7 @@
|
|
101 |
|
102 |
|
103 |
<b>Located at</b>
|
104 |
-
<a href="source-function-wpgmza_backwards_compat_get_all_circle_data.html#
|
105 |
compat/backwards_compat_v6.php
|
106 |
</a><br>
|
107 |
</div>
|
@@ -117,7 +117,7 @@
|
|
117 |
</div>
|
118 |
</div>
|
119 |
</div>
|
120 |
-
<script src="resources/combined.js?
|
121 |
-
<script src="elementlist.js?
|
122 |
</body>
|
123 |
</html>
|
101 |
|
102 |
|
103 |
<b>Located at</b>
|
104 |
+
<a href="source-function-wpgmza_backwards_compat_get_all_circle_data.html#97-110" title="Go to source code">
|
105 |
compat/backwards_compat_v6.php
|
106 |
</a><br>
|
107 |
</div>
|
117 |
</div>
|
118 |
</div>
|
119 |
</div>
|
120 |
+
<script src="resources/combined.js?bdf41a0492319853d610bde7b68b95e93d08fae3"></script>
|
121 |
+
<script src="elementlist.js?ce6e64dd6d2e258467153e0fbb3257ea07b69a7b"></script>
|
122 |
</body>
|
123 |
</html>
|
@@ -101,7 +101,7 @@
|
|
101 |
|
102 |
|
103 |
<b>Located at</b>
|
104 |
-
<a href="source-function-wpgmza_backwards_compat_get_all_rectangle_data.html#
|
105 |
compat/backwards_compat_v6.php
|
106 |
</a><br>
|
107 |
</div>
|
@@ -117,7 +117,7 @@
|
|
117 |
</div>
|
118 |
</div>
|
119 |
</div>
|
120 |
-
<script src="resources/combined.js?
|
121 |
-
<script src="elementlist.js?
|
122 |
</body>
|
123 |
</html>
|
101 |
|
102 |
|
103 |
<b>Located at</b>
|
104 |
+
<a href="source-function-wpgmza_backwards_compat_get_all_rectangle_data.html#112-125" title="Go to source code">
|
105 |
compat/backwards_compat_v6.php
|
106 |
</a><br>
|
107 |
</div>
|
117 |
</div>
|
118 |
</div>
|
119 |
</div>
|
120 |
+
<script src="resources/combined.js?bdf41a0492319853d610bde7b68b95e93d08fae3"></script>
|
121 |
+
<script src="elementlist.js?ce6e64dd6d2e258467153e0fbb3257ea07b69a7b"></script>
|
122 |
</body>
|
123 |
</html>
|
@@ -120,7 +120,7 @@
|
|
120 |
</div>
|
121 |
</div>
|
122 |
</div>
|
123 |
-
<script src="resources/combined.js?
|
124 |
-
<script src="elementlist.js?
|
125 |
</body>
|
126 |
</html>
|
120 |
</div>
|
121 |
</div>
|
122 |
</div>
|
123 |
+
<script src="resources/combined.js?bdf41a0492319853d610bde7b68b95e93d08fae3"></script>
|
124 |
+
<script src="elementlist.js?ce6e64dd6d2e258467153e0fbb3257ea07b69a7b"></script>
|
125 |
</body>
|
126 |
</html>
|
@@ -105,7 +105,7 @@ Set's up backwards compatibility if this is the case</p>
|
|
105 |
|
106 |
|
107 |
<b>Located at</b>
|
108 |
-
<a href="source-function-wpgmza_check_map_editor_backwards_compat_v6.html#
|
109 |
compat/backwards_compat_v6.php
|
110 |
</a><br>
|
111 |
</div>
|
@@ -121,7 +121,7 @@ Set's up backwards compatibility if this is the case</p>
|
|
121 |
</div>
|
122 |
</div>
|
123 |
</div>
|
124 |
-
<script src="resources/combined.js?
|
125 |
-
<script src="elementlist.js?
|
126 |
</body>
|
127 |
</html>
|
105 |
|
106 |
|
107 |
<b>Located at</b>
|
108 |
+
<a href="source-function-wpgmza_check_map_editor_backwards_compat_v6.html#44-81" title="Go to source code">
|
109 |
compat/backwards_compat_v6.php
|
110 |
</a><br>
|
111 |
</div>
|
121 |
</div>
|
122 |
</div>
|
123 |
</div>
|
124 |
+
<script src="resources/combined.js?bdf41a0492319853d610bde7b68b95e93d08fae3"></script>
|
125 |
+
<script src="elementlist.js?ce6e64dd6d2e258467153e0fbb3257ea07b69a7b"></script>
|
126 |
</body>
|
127 |
</html>
|
@@ -104,7 +104,7 @@
|
|
104 |
|
105 |
|
106 |
<b>Located at</b>
|
107 |
-
<a href="source-function-wpgmza_check_pro_compat_required_v6.html#
|
108 |
compat/backwards_compat_v6.php
|
109 |
</a><br>
|
110 |
</div>
|
@@ -120,7 +120,7 @@
|
|
120 |
</div>
|
121 |
</div>
|
122 |
</div>
|
123 |
-
<script src="resources/combined.js?
|
124 |
-
<script src="elementlist.js?
|
125 |
</body>
|
126 |
</html>
|
104 |
|
105 |
|
106 |
<b>Located at</b>
|
107 |
+
<a href="source-function-wpgmza_check_pro_compat_required_v6.html#83-95" title="Go to source code">
|
108 |
compat/backwards_compat_v6.php
|
109 |
</a><br>
|
110 |
</div>
|
120 |
</div>
|
121 |
</div>
|
122 |
</div>
|
123 |
+
<script src="resources/combined.js?bdf41a0492319853d610bde7b68b95e93d08fae3"></script>
|
124 |
+
<script src="elementlist.js?ce6e64dd6d2e258467153e0fbb3257ea07b69a7b"></script>
|
125 |
</body>
|
126 |
</html>
|
@@ -104,7 +104,7 @@
|
|
104 |
|
105 |
|
106 |
<b>Located at</b>
|
107 |
-
<a href="source-function-wpgmza_check_user_backwards_compat_v6.html#26-
|
108 |
compat/backwards_compat_v6.php
|
109 |
</a><br>
|
110 |
</div>
|
@@ -120,7 +120,7 @@
|
|
120 |
</div>
|
121 |
</div>
|
122 |
</div>
|
123 |
-
<script src="resources/combined.js?
|
124 |
-
<script src="elementlist.js?
|
125 |
</body>
|
126 |
</html>
|
104 |
|
105 |
|
106 |
<b>Located at</b>
|
107 |
+
<a href="source-function-wpgmza_check_user_backwards_compat_v6.html#26-39" title="Go to source code">
|
108 |
compat/backwards_compat_v6.php
|
109 |
</a><br>
|
110 |
</div>
|
120 |
</div>
|
121 |
</div>
|
122 |
</div>
|
123 |
+
<script src="resources/combined.js?bdf41a0492319853d610bde7b68b95e93d08fae3"></script>
|
124 |
+
<script src="elementlist.js?ce6e64dd6d2e258467153e0fbb3257ea07b69a7b"></script>
|
125 |
</body>
|
126 |
</html>
|
@@ -48,12 +48,18 @@
|
|
48 |
<div id="elements">
|
49 |
<h3>Classes</h3>
|
50 |
<ul>
|
|
|
|
|
51 |
<li><a href="class-WPGMZA.AutoLoader.html">WPGMZA\AutoLoader</a></li>
|
52 |
<li><a href="class-WPGMZA.Crud.html">WPGMZA\Crud</a></li>
|
|
|
|
|
|
|
53 |
<li><a href="class-WPGMZA.DOMDocument.html">WPGMZA\DOMDocument</a></li>
|
54 |
<li><a href="class-WPGMZA.DOMElement.html">WPGMZA\DOMElement</a></li>
|
55 |
<li><a href="class-WPGMZA.Factory.html">WPGMZA\Factory</a></li>
|
56 |
<li><a href="class-WPGMZA.GDPRCompliance.html">WPGMZA\GDPRCompliance</a></li>
|
|
|
57 |
<li><a href="class-WPGMZA.GoogleGeocoder.html">WPGMZA\GoogleGeocoder</a></li>
|
58 |
<li><a href="class-WPGMZA.GoogleMap.html">WPGMZA\GoogleMap</a></li>
|
59 |
<li><a href="class-WPGMZA.GoogleMapsAPILoader.html" class="deprecated">WPGMZA\GoogleMapsAPILoader</a></li>
|
@@ -64,10 +70,14 @@
|
|
64 |
<li><a href="class-WPGMZA.Map.html">WPGMZA\Map</a></li>
|
65 |
<li><a href="class-WPGMZA.MapsEngineDialog.html">WPGMZA\MapsEngineDialog</a></li>
|
66 |
<li><a href="class-WPGMZA.Marker.html">WPGMZA\Marker</a></li>
|
|
|
|
|
67 |
<li><a href="class-WPGMZA.ModalDialog.html">WPGMZA\ModalDialog</a></li>
|
68 |
<li><a href="class-WPGMZA.NominatimGeocodeCache.html">WPGMZA\NominatimGeocodeCache</a></li>
|
69 |
<li><a href="class-WPGMZA.OLLoader.html">WPGMZA\OLLoader</a></li>
|
70 |
<li><a href="class-WPGMZA.Plugin.html">WPGMZA\Plugin</a></li>
|
|
|
|
|
71 |
<li><a href="class-WPGMZA.RestAPI.html">WPGMZA\RestAPI</a></li>
|
72 |
<li><a href="class-WPGMZA.ScriptLoader.html">WPGMZA\ScriptLoader</a></li>
|
73 |
<li><a href="class-WPGMZA.Selector.AttributeSelector.html">WPGMZA\Selector\AttributeSelector</a></li>
|
@@ -79,6 +89,7 @@
|
|
79 |
<li><a href="class-WPGMZA.Selector.TokenStream.html">WPGMZA\Selector\TokenStream</a></li>
|
80 |
<li><a href="class-WPGMZA.Selector.XPathConverter.html">WPGMZA\Selector\XPathConverter</a></li>
|
81 |
<li><a href="class-WPGMZA.Strings.html">WPGMZA\Strings</a></li>
|
|
|
82 |
</ul>
|
83 |
|
84 |
|
@@ -93,7 +104,6 @@
|
|
93 |
<h3>Functions</h3>
|
94 |
<ul>
|
95 |
<li><a href="function-WPGMZA.create_marker_instance_delegate.html">WPGMZA\create_marker_instance_delegate</a></li>
|
96 |
-
<li><a href="function-WPGMZA.create_plugin_instance.html" class="deprecated">WPGMZA\create_plugin_instance</a></li>
|
97 |
<li><a href="function-WPGMZA.query_nominatim_cache.html" class="deprecated">WPGMZA\query_nominatim_cache</a></li>
|
98 |
<li><a href="function-WPGMZA.Selector.trace.html">WPGMZA\Selector\trace</a></li>
|
99 |
<li><a href="function-WPGMZA.store_nominatim_cache.html" class="deprecated">WPGMZA\store_nominatim_cache</a></li>
|
@@ -161,7 +171,7 @@
|
|
161 |
</div>
|
162 |
</div>
|
163 |
</div>
|
164 |
-
<script src="resources/combined.js?
|
165 |
-
<script src="elementlist.js?
|
166 |
</body>
|
167 |
</html>
|
48 |
<div id="elements">
|
49 |
<h3>Classes</h3>
|
50 |
<ul>
|
51 |
+
<li><a href="class-WPGMZA.AdminMarkerDataTable.html">WPGMZA\AdminMarkerDataTable</a></li>
|
52 |
+
<li><a href="class-WPGMZA.AjaxTable.html">WPGMZA\AjaxTable</a></li>
|
53 |
<li><a href="class-WPGMZA.AutoLoader.html">WPGMZA\AutoLoader</a></li>
|
54 |
<li><a href="class-WPGMZA.Crud.html">WPGMZA\Crud</a></li>
|
55 |
+
<li><a href="class-WPGMZA.Database.html">WPGMZA\Database</a></li>
|
56 |
+
<li><a href="class-WPGMZA.DataTable.html">WPGMZA\DataTable</a></li>
|
57 |
+
<li><a href="class-WPGMZA.Distance.html">WPGMZA\Distance</a></li>
|
58 |
<li><a href="class-WPGMZA.DOMDocument.html">WPGMZA\DOMDocument</a></li>
|
59 |
<li><a href="class-WPGMZA.DOMElement.html">WPGMZA\DOMElement</a></li>
|
60 |
<li><a href="class-WPGMZA.Factory.html">WPGMZA\Factory</a></li>
|
61 |
<li><a href="class-WPGMZA.GDPRCompliance.html">WPGMZA\GDPRCompliance</a></li>
|
62 |
+
<li><a href="class-WPGMZA.GlobalSettings.html">WPGMZA\GlobalSettings</a></li>
|
63 |
<li><a href="class-WPGMZA.GoogleGeocoder.html">WPGMZA\GoogleGeocoder</a></li>
|
64 |
<li><a href="class-WPGMZA.GoogleMap.html">WPGMZA\GoogleMap</a></li>
|
65 |
<li><a href="class-WPGMZA.GoogleMapsAPILoader.html" class="deprecated">WPGMZA\GoogleMapsAPILoader</a></li>
|
70 |
<li><a href="class-WPGMZA.Map.html">WPGMZA\Map</a></li>
|
71 |
<li><a href="class-WPGMZA.MapsEngineDialog.html">WPGMZA\MapsEngineDialog</a></li>
|
72 |
<li><a href="class-WPGMZA.Marker.html">WPGMZA\Marker</a></li>
|
73 |
+
<li><a href="class-WPGMZA.MarkerDataTable.html">WPGMZA\MarkerDataTable</a></li>
|
74 |
+
<li><a href="class-WPGMZA.MarkerFilter.html">WPGMZA\MarkerFilter</a></li>
|
75 |
<li><a href="class-WPGMZA.ModalDialog.html">WPGMZA\ModalDialog</a></li>
|
76 |
<li><a href="class-WPGMZA.NominatimGeocodeCache.html">WPGMZA\NominatimGeocodeCache</a></li>
|
77 |
<li><a href="class-WPGMZA.OLLoader.html">WPGMZA\OLLoader</a></li>
|
78 |
<li><a href="class-WPGMZA.Plugin.html">WPGMZA\Plugin</a></li>
|
79 |
+
<li><a href="class-WPGMZA.Query.html">WPGMZA\Query</a></li>
|
80 |
+
<li><a href="class-WPGMZA.QueryFragment.html">WPGMZA\QueryFragment</a></li>
|
81 |
<li><a href="class-WPGMZA.RestAPI.html">WPGMZA\RestAPI</a></li>
|
82 |
<li><a href="class-WPGMZA.ScriptLoader.html">WPGMZA\ScriptLoader</a></li>
|
83 |
<li><a href="class-WPGMZA.Selector.AttributeSelector.html">WPGMZA\Selector\AttributeSelector</a></li>
|
89 |
<li><a href="class-WPGMZA.Selector.TokenStream.html">WPGMZA\Selector\TokenStream</a></li>
|
90 |
<li><a href="class-WPGMZA.Selector.XPathConverter.html">WPGMZA\Selector\XPathConverter</a></li>
|
91 |
<li><a href="class-WPGMZA.Strings.html">WPGMZA\Strings</a></li>
|
92 |
+
<li><a href="class-WPGMZA.Table.html">WPGMZA\Table</a></li>
|
93 |
</ul>
|
94 |
|
95 |
|
104 |
<h3>Functions</h3>
|
105 |
<ul>
|
106 |
<li><a href="function-WPGMZA.create_marker_instance_delegate.html">WPGMZA\create_marker_instance_delegate</a></li>
|
|
|
107 |
<li><a href="function-WPGMZA.query_nominatim_cache.html" class="deprecated">WPGMZA\query_nominatim_cache</a></li>
|
108 |
<li><a href="function-WPGMZA.Selector.trace.html">WPGMZA\Selector\trace</a></li>
|
109 |
<li><a href="function-WPGMZA.store_nominatim_cache.html" class="deprecated">WPGMZA\store_nominatim_cache</a></li>
|
171 |
</div>
|
172 |
</div>
|
173 |
</div>
|
174 |
+
<script src="resources/combined.js?bdf41a0492319853d610bde7b68b95e93d08fae3"></script>
|
175 |
+
<script src="elementlist.js?ce6e64dd6d2e258467153e0fbb3257ea07b69a7b"></script>
|
176 |
</body>
|
177 |
</html>
|
@@ -136,7 +136,7 @@ Set's up backwards compatibility if this is the case</p></td>
|
|
136 |
</div>
|
137 |
</div>
|
138 |
</div>
|
139 |
-
<script src="resources/combined.js?
|
140 |
-
<script src="elementlist.js?
|
141 |
</body>
|
142 |
</html>
|
136 |
</div>
|
137 |
</div>
|
138 |
</div>
|
139 |
+
<script src="resources/combined.js?bdf41a0492319853d610bde7b68b95e93d08fae3"></script>
|
140 |
+
<script src="elementlist.js?ce6e64dd6d2e258467153e0fbb3257ea07b69a7b"></script>
|
141 |
</body>
|
142 |
</html>
|
@@ -115,7 +115,7 @@
|
|
115 |
</div>
|
116 |
</div>
|
117 |
</div>
|
118 |
-
<script src="resources/combined.js?
|
119 |
-
<script src="elementlist.js?
|
120 |
</body>
|
121 |
</html>
|
115 |
</div>
|
116 |
</div>
|
117 |
</div>
|
118 |
+
<script src="resources/combined.js?bdf41a0492319853d610bde7b68b95e93d08fae3"></script>
|
119 |
+
<script src="elementlist.js?ce6e64dd6d2e258467153e0fbb3257ea07b69a7b"></script>
|
120 |
</body>
|
121 |
</html>
|
@@ -172,7 +172,7 @@
|
|
172 |
</div>
|
173 |
</div>
|
174 |
</div>
|
175 |
-
<script src="resources/combined.js?
|
176 |
-
<script src="elementlist.js?
|
177 |
</body>
|
178 |
</html>
|
172 |
</div>
|
173 |
</div>
|
174 |
</div>
|
175 |
+
<script src="resources/combined.js?bdf41a0492319853d610bde7b68b95e93d08fae3"></script>
|
176 |
+
<script src="elementlist.js?ce6e64dd6d2e258467153e0fbb3257ea07b69a7b"></script>
|
177 |
</body>
|
178 |
</html>
|
@@ -49,12 +49,18 @@
|
|
49 |
<div id="elements">
|
50 |
<h3>Classes</h3>
|
51 |
<ul>
|
|
|
|
|
52 |
<li><a href="class-WPGMZA.AutoLoader.html">AutoLoader</a></li>
|
53 |
<li><a href="class-WPGMZA.Crud.html">Crud</a></li>
|
|
|
|
|
|
|
54 |
<li><a href="class-WPGMZA.DOMDocument.html">DOMDocument</a></li>
|
55 |
<li><a href="class-WPGMZA.DOMElement.html">DOMElement</a></li>
|
56 |
<li><a href="class-WPGMZA.Factory.html">Factory</a></li>
|
57 |
<li><a href="class-WPGMZA.GDPRCompliance.html">GDPRCompliance</a></li>
|
|
|
58 |
<li><a href="class-WPGMZA.GoogleGeocoder.html">GoogleGeocoder</a></li>
|
59 |
<li><a href="class-WPGMZA.GoogleMap.html">GoogleMap</a></li>
|
60 |
<li><a href="class-WPGMZA.GoogleMapsAPILoader.html" class="deprecated">GoogleMapsAPILoader</a></li>
|
@@ -63,13 +69,18 @@
|
|
63 |
<li><a href="class-WPGMZA.Map.html">Map</a></li>
|
64 |
<li><a href="class-WPGMZA.MapsEngineDialog.html">MapsEngineDialog</a></li>
|
65 |
<li><a href="class-WPGMZA.Marker.html">Marker</a></li>
|
|
|
|
|
66 |
<li><a href="class-WPGMZA.ModalDialog.html">ModalDialog</a></li>
|
67 |
<li><a href="class-WPGMZA.NominatimGeocodeCache.html">NominatimGeocodeCache</a></li>
|
68 |
<li><a href="class-WPGMZA.OLLoader.html">OLLoader</a></li>
|
69 |
<li><a href="class-WPGMZA.Plugin.html">Plugin</a></li>
|
|
|
|
|
70 |
<li><a href="class-WPGMZA.RestAPI.html">RestAPI</a></li>
|
71 |
<li><a href="class-WPGMZA.ScriptLoader.html">ScriptLoader</a></li>
|
72 |
<li><a href="class-WPGMZA.Strings.html">Strings</a></li>
|
|
|
73 |
</ul>
|
74 |
|
75 |
|
@@ -79,7 +90,6 @@
|
|
79 |
<h3>Functions</h3>
|
80 |
<ul>
|
81 |
<li><a href="function-WPGMZA.create_marker_instance_delegate.html">create_marker_instance_delegate</a></li>
|
82 |
-
<li><a href="function-WPGMZA.create_plugin_instance.html" class="deprecated">create_plugin_instance</a></li>
|
83 |
<li><a href="function-WPGMZA.query_nominatim_cache.html" class="deprecated">query_nominatim_cache</a></li>
|
84 |
<li><a href="function-WPGMZA.store_nominatim_cache.html" class="deprecated">store_nominatim_cache</a></li>
|
85 |
</ul>
|
@@ -129,6 +139,20 @@
|
|
129 |
|
130 |
<table class="summary" id="classes">
|
131 |
<caption>Classes summary</caption>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
132 |
<tr>
|
133 |
<td class="name"><a href="class-WPGMZA.AutoLoader.html">AutoLoader</a></td>
|
134 |
<td><p>The AutoLoader class can be used to scan a directory and register any
|
@@ -140,6 +164,21 @@ classes found in the PHP files there, recursively.</p></td>
|
|
140 |
objects which are stored on in the database and represented in server
|
141 |
side logic, for example Map, Marker, Polygon</p></td>
|
142 |
</tr>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
143 |
<tr>
|
144 |
<td class="name"><a href="class-WPGMZA.DOMDocument.html">DOMDocument</a></td>
|
145 |
<td></td>
|
@@ -160,6 +199,10 @@ that filter will override the default class and will be used.</p></td>
|
|
160 |
<td><p>This module handles all GDPR functionality for the plugin, including
|
161 |
displaying notices, settings and handling logic</p></td>
|
162 |
</tr>
|
|
|
|
|
|
|
|
|
163 |
<tr>
|
164 |
<td class="name"><a href="class-WPGMZA.GoogleGeocoder.html">GoogleGeocoder</a></td>
|
165 |
<td>Server side Google Maps geocoding.</td>
|
@@ -192,6 +235,20 @@ displaying notices, settings and handling logic</p></td>
|
|
192 |
<td class="name"><a href="class-WPGMZA.Marker.html">Marker</a></td>
|
193 |
<td>This class represents a marker</td>
|
194 |
</tr>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
195 |
<tr>
|
196 |
<td class="name"><a href="class-WPGMZA.ModalDialog.html">ModalDialog</a></td>
|
197 |
<td>Base class for remodal dependent modal dialogs. This class enqueues the relevant scripts and styles.</td>
|
@@ -208,6 +265,14 @@ displaying notices, settings and handling logic</p></td>
|
|
208 |
<td class="name"><a href="class-WPGMZA.Plugin.html">Plugin</a></td>
|
209 |
<td>This class represents the plugin itself. Broadly, this module handles practically all interaction with the platform (WP), loading assets as needed, and hooking into the platforms interface to provide menus etc.</td>
|
210 |
</tr>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
211 |
<tr>
|
212 |
<td class="name"><a href="class-WPGMZA.RestAPI.html">RestAPI</a></td>
|
213 |
<td>This class facilitates all communication between the client and any server side modules which can be interacted with through the WordPress REST API.</td>
|
@@ -221,6 +286,13 @@ displaying notices, settings and handling logic</p></td>
|
|
221 |
<td><p>This class is a container for all localized strings used by the plugin.
|
222 |
In the future, functionality will be added to build a dummy static string file from dynamic strings in the database, this will allow 3rd party software to scan dynamic strings for translation</p></td>
|
223 |
</tr>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
224 |
</table>
|
225 |
|
226 |
|
@@ -233,10 +305,6 @@ In the future, functionality will be added to build a dummy static string file f
|
|
233 |
<td class="name"><a href="function-WPGMZA.create_marker_instance_delegate.html">create_marker_instance_delegate</a></td>
|
234 |
<td></td>
|
235 |
</tr>
|
236 |
-
<tr>
|
237 |
-
<td class="name"><a href="function-WPGMZA.create_plugin_instance.html" class="deprecated">create_plugin_instance</a></td>
|
238 |
-
<td>The Factory class will take over this functionality from 7.11.00 onwards. Do not use this hook.</td>
|
239 |
-
</tr>
|
240 |
<tr>
|
241 |
<td class="name"><a href="function-WPGMZA.query_nominatim_cache.html" class="deprecated">query_nominatim_cache</a></td>
|
242 |
<td>Bind function to query Nominatim cache.</td>
|
@@ -253,7 +321,7 @@ In the future, functionality will be added to build a dummy static string file f
|
|
253 |
</div>
|
254 |
</div>
|
255 |
</div>
|
256 |
-
<script src="resources/combined.js?
|
257 |
-
<script src="elementlist.js?
|
258 |
</body>
|
259 |
</html>
|
49 |
<div id="elements">
|
50 |
<h3>Classes</h3>
|
51 |
<ul>
|
52 |
+
<li><a href="class-WPGMZA.AdminMarkerDataTable.html">AdminMarkerDataTable</a></li>
|
53 |
+
<li><a href="class-WPGMZA.AjaxTable.html">AjaxTable</a></li>
|
54 |
<li><a href="class-WPGMZA.AutoLoader.html">AutoLoader</a></li>
|
55 |
<li><a href="class-WPGMZA.Crud.html">Crud</a></li>
|
56 |
+
<li><a href="class-WPGMZA.Database.html">Database</a></li>
|
57 |
+
<li><a href="class-WPGMZA.DataTable.html">DataTable</a></li>
|
58 |
+
<li><a href="class-WPGMZA.Distance.html">Distance</a></li>
|
59 |
<li><a href="class-WPGMZA.DOMDocument.html">DOMDocument</a></li>
|
60 |
<li><a href="class-WPGMZA.DOMElement.html">DOMElement</a></li>
|
61 |
<li><a href="class-WPGMZA.Factory.html">Factory</a></li>
|
62 |
<li><a href="class-WPGMZA.GDPRCompliance.html">GDPRCompliance</a></li>
|
63 |
+
<li><a href="class-WPGMZA.GlobalSettings.html">GlobalSettings</a></li>
|
64 |
<li><a href="class-WPGMZA.GoogleGeocoder.html">GoogleGeocoder</a></li>
|
65 |
<li><a href="class-WPGMZA.GoogleMap.html">GoogleMap</a></li>
|
66 |
<li><a href="class-WPGMZA.GoogleMapsAPILoader.html" class="deprecated">GoogleMapsAPILoader</a></li>
|
69 |
<li><a href="class-WPGMZA.Map.html">Map</a></li>
|
70 |
<li><a href="class-WPGMZA.MapsEngineDialog.html">MapsEngineDialog</a></li>
|
71 |
<li><a href="class-WPGMZA.Marker.html">Marker</a></li>
|
72 |
+
<li><a href="class-WPGMZA.MarkerDataTable.html">MarkerDataTable</a></li>
|
73 |
+
<li><a href="class-WPGMZA.MarkerFilter.html">MarkerFilter</a></li>
|
74 |
<li><a href="class-WPGMZA.ModalDialog.html">ModalDialog</a></li>
|
75 |
<li><a href="class-WPGMZA.NominatimGeocodeCache.html">NominatimGeocodeCache</a></li>
|
76 |
<li><a href="class-WPGMZA.OLLoader.html">OLLoader</a></li>
|
77 |
<li><a href="class-WPGMZA.Plugin.html">Plugin</a></li>
|
78 |
+
<li><a href="class-WPGMZA.Query.html">Query</a></li>
|
79 |
+
<li><a href="class-WPGMZA.QueryFragment.html">QueryFragment</a></li>
|
80 |
<li><a href="class-WPGMZA.RestAPI.html">RestAPI</a></li>
|
81 |
<li><a href="class-WPGMZA.ScriptLoader.html">ScriptLoader</a></li>
|
82 |
<li><a href="class-WPGMZA.Strings.html">Strings</a></li>
|
83 |
+
<li><a href="class-WPGMZA.Table.html">Table</a></li>
|
84 |
</ul>
|
85 |
|
86 |
|
90 |
<h3>Functions</h3>
|
91 |
<ul>
|
92 |
<li><a href="function-WPGMZA.create_marker_instance_delegate.html">create_marker_instance_delegate</a></li>
|
|
|
93 |
<li><a href="function-WPGMZA.query_nominatim_cache.html" class="deprecated">query_nominatim_cache</a></li>
|
94 |
<li><a href="function-WPGMZA.store_nominatim_cache.html" class="deprecated">store_nominatim_cache</a></li>
|
95 |
</ul>
|
139 |
|
140 |
<table class="summary" id="classes">
|
141 |
<caption>Classes summary</caption>
|
142 |
+
<tr>
|
143 |
+
<td class="name"><a href="class-WPGMZA.AdminMarkerDataTable.html">AdminMarkerDataTable</a></td>
|
144 |
+
<td><p>The Factory class is a base class which can be used to make any classes
|
145 |
+
externally extensible. A filter is added for wpgmza_create_{class} which
|
146 |
+
is called by createInstance. If this filter returns a subclass of Factory,
|
147 |
+
that filter will override the default class and will be used.</p></td>
|
148 |
+
</tr>
|
149 |
+
<tr>
|
150 |
+
<td class="name"><a href="class-WPGMZA.AjaxTable.html">AjaxTable</a></td>
|
151 |
+
<td><p>The Factory class is a base class which can be used to make any classes
|
152 |
+
externally extensible. A filter is added for wpgmza_create_{class} which
|
153 |
+
is called by createInstance. If this filter returns a subclass of Factory,
|
154 |
+
that filter will override the default class and will be used.</p></td>
|
155 |
+
</tr>
|
156 |
<tr>
|
157 |
<td class="name"><a href="class-WPGMZA.AutoLoader.html">AutoLoader</a></td>
|
158 |
<td><p>The AutoLoader class can be used to scan a directory and register any
|
164 |
objects which are stored on in the database and represented in server
|
165 |
side logic, for example Map, Marker, Polygon</p></td>
|
166 |
</tr>
|
167 |
+
<tr>
|
168 |
+
<td class="name"><a href="class-WPGMZA.Database.html">Database</a></td>
|
169 |
+
<td></td>
|
170 |
+
</tr>
|
171 |
+
<tr>
|
172 |
+
<td class="name"><a href="class-WPGMZA.DataTable.html">DataTable</a></td>
|
173 |
+
<td><p>The Factory class is a base class which can be used to make any classes
|
174 |
+
externally extensible. A filter is added for wpgmza_create_{class} which
|
175 |
+
is called by createInstance. If this filter returns a subclass of Factory,
|
176 |
+
that filter will override the default class and will be used.</p></td>
|
177 |
+
</tr>
|
178 |
+
<tr>
|
179 |
+
<td class="name"><a href="class-WPGMZA.Distance.html">Distance</a></td>
|
180 |
+
<td></td>
|
181 |
+
</tr>
|
182 |
<tr>
|
183 |
<td class="name"><a href="class-WPGMZA.DOMDocument.html">DOMDocument</a></td>
|
184 |
<td></td>
|
199 |
<td><p>This module handles all GDPR functionality for the plugin, including
|
200 |
displaying notices, settings and handling logic</p></td>
|
201 |
</tr>
|
202 |
+
<tr>
|
203 |
+
<td class="name"><a href="class-WPGMZA.GlobalSettings.html">GlobalSettings</a></td>
|
204 |
+
<td></td>
|
205 |
+
</tr>
|
206 |
<tr>
|
207 |
<td class="name"><a href="class-WPGMZA.GoogleGeocoder.html">GoogleGeocoder</a></td>
|
208 |
<td>Server side Google Maps geocoding.</td>
|
235 |
<td class="name"><a href="class-WPGMZA.Marker.html">Marker</a></td>
|
236 |
<td>This class represents a marker</td>
|
237 |
</tr>
|
238 |
+
<tr>
|
239 |
+
<td class="name"><a href="class-WPGMZA.MarkerDataTable.html">MarkerDataTable</a></td>
|
240 |
+
<td><p>The Factory class is a base class which can be used to make any classes
|
241 |
+
externally extensible. A filter is added for wpgmza_create_{class} which
|
242 |
+
is called by createInstance. If this filter returns a subclass of Factory,
|
243 |
+
that filter will override the default class and will be used.</p></td>
|
244 |
+
</tr>
|
245 |
+
<tr>
|
246 |
+
<td class="name"><a href="class-WPGMZA.MarkerFilter.html">MarkerFilter</a></td>
|
247 |
+
<td><p>The Factory class is a base class which can be used to make any classes
|
248 |
+
externally extensible. A filter is added for wpgmza_create_{class} which
|
249 |
+
is called by createInstance. If this filter returns a subclass of Factory,
|
250 |
+
that filter will override the default class and will be used.</p></td>
|
251 |
+
</tr>
|
252 |
<tr>
|
253 |
<td class="name"><a href="class-WPGMZA.ModalDialog.html">ModalDialog</a></td>
|
254 |
<td>Base class for remodal dependent modal dialogs. This class enqueues the relevant scripts and styles.</td>
|
265 |
<td class="name"><a href="class-WPGMZA.Plugin.html">Plugin</a></td>
|
266 |
<td>This class represents the plugin itself. Broadly, this module handles practically all interaction with the platform (WP), loading assets as needed, and hooking into the platforms interface to provide menus etc.</td>
|
267 |
</tr>
|
268 |
+
<tr>
|
269 |
+
<td class="name"><a href="class-WPGMZA.Query.html">Query</a></td>
|
270 |
+
<td></td>
|
271 |
+
</tr>
|
272 |
+
<tr>
|
273 |
+
<td class="name"><a href="class-WPGMZA.QueryFragment.html">QueryFragment</a></td>
|
274 |
+
<td></td>
|
275 |
+
</tr>
|
276 |
<tr>
|
277 |
<td class="name"><a href="class-WPGMZA.RestAPI.html">RestAPI</a></td>
|
278 |
<td>This class facilitates all communication between the client and any server side modules which can be interacted with through the WordPress REST API.</td>
|
286 |
<td><p>This class is a container for all localized strings used by the plugin.
|
287 |
In the future, functionality will be added to build a dummy static string file from dynamic strings in the database, this will allow 3rd party software to scan dynamic strings for translation</p></td>
|
288 |
</tr>
|
289 |
+
<tr>
|
290 |
+
<td class="name"><a href="class-WPGMZA.Table.html">Table</a></td>
|
291 |
+
<td><p>The Factory class is a base class which can be used to make any classes
|
292 |
+
externally extensible. A filter is added for wpgmza_create_{class} which
|
293 |
+
is called by createInstance. If this filter returns a subclass of Factory,
|
294 |
+
that filter will override the default class and will be used.</p></td>
|
295 |
+
</tr>
|
296 |
</table>
|
297 |
|
298 |
|
305 |
<td class="name"><a href="function-WPGMZA.create_marker_instance_delegate.html">create_marker_instance_delegate</a></td>
|
306 |
<td></td>
|
307 |
</tr>
|
|
|
|
|
|
|
|
|
308 |
<tr>
|
309 |
<td class="name"><a href="function-WPGMZA.query_nominatim_cache.html" class="deprecated">query_nominatim_cache</a></td>
|
310 |
<td>Bind function to query Nominatim cache.</td>
|
321 |
</div>
|
322 |
</div>
|
323 |
</div>
|
324 |
+
<script src="resources/combined.js?bdf41a0492319853d610bde7b68b95e93d08fae3"></script>
|
325 |
+
<script src="elementlist.js?ce6e64dd6d2e258467153e0fbb3257ea07b69a7b"></script>
|
326 |
</body>
|
327 |
</html>
|
@@ -1,6 +1,6 @@
|
|
1 |
|
2 |
var ApiGen = ApiGen || {};
|
3 |
-
ApiGen.config = {"options":{"elementDetailsCollapsed":true,"elementsOrder":"natural"},"name":"ApiGen theme","templatesPath":"E:\\Programming\\Code Cabin\\htdocs-7.
|
4 |
|
5 |
|
6 |
/*! jQuery v1.10.2 | (c) 2005, 2013 jQuery Foundation, Inc. | jquery.org/license
|
1 |
|
2 |
var ApiGen = ApiGen || {};
|
3 |
+
ApiGen.config = {"options":{"elementDetailsCollapsed":true,"elementsOrder":"natural"},"name":"ApiGen theme","templatesPath":"E:\\Programming\\Code Cabin\\htdocs-7.11.00\\wp-content\\plugins\\vendor\\apigen\\apigen\\bin\/..\/..\/..\/..\/\/vendor\/apigen\/theme-default\/src","resources":{"E:\\Programming\\Code Cabin\\htdocs-7.11.00\\wp-content\\plugins\\vendor\\apigen\\apigen\\bin\/..\/..\/..\/..\/\/vendor\/apigen\/theme-default\/src\/resources":"resources"},"templates":{"overview":{"filename":"index.html","template":"E:\\Programming\\Code Cabin\\htdocs-7.11.00\\wp-content\\plugins\\vendor\\apigen\\apigen\\bin\/..\/..\/..\/..\/\/vendor\/apigen\/theme-default\/src\/overview.latte"},"combined":{"filename":"resources\/combined.js","template":"E:\\Programming\\Code Cabin\\htdocs-7.11.00\\wp-content\\plugins\\vendor\\apigen\\apigen\\bin\/..\/..\/..\/..\/\/vendor\/apigen\/theme-default\/src\/combined.js.latte"},"elementlist":{"filename":"elementlist.js","template":"E:\\Programming\\Code Cabin\\htdocs-7.11.00\\wp-content\\plugins\\vendor\\apigen\\apigen\\bin\/..\/..\/..\/..\/\/vendor\/apigen\/theme-default\/src\/elementlist.js.latte"},"404":{"filename":"404.html","template":"E:\\Programming\\Code Cabin\\htdocs-7.11.00\\wp-content\\plugins\\vendor\\apigen\\apigen\\bin\/..\/..\/..\/..\/\/vendor\/apigen\/theme-default\/src\/404.latte"},"package":{"filename":"package-%s.html","template":"E:\\Programming\\Code Cabin\\htdocs-7.11.00\\wp-content\\plugins\\vendor\\apigen\\apigen\\bin\/..\/..\/..\/..\/\/vendor\/apigen\/theme-default\/src\/package.latte"},"namespace":{"filename":"namespace-%s.html","template":"E:\\Programming\\Code Cabin\\htdocs-7.11.00\\wp-content\\plugins\\vendor\\apigen\\apigen\\bin\/..\/..\/..\/..\/\/vendor\/apigen\/theme-default\/src\/namespace.latte"},"class":{"filename":"class-%s.html","template":"E:\\Programming\\Code Cabin\\htdocs-7.11.00\\wp-content\\plugins\\vendor\\apigen\\apigen\\bin\/..\/..\/..\/..\/\/vendor\/apigen\/theme-default\/src\/class.latte"},"constant":{"filename":"constant-%s.html","template":"E:\\Programming\\Code Cabin\\htdocs-7.11.00\\wp-content\\plugins\\vendor\\apigen\\apigen\\bin\/..\/..\/..\/..\/\/vendor\/apigen\/theme-default\/src\/constant.latte"},"function":{"filename":"function-%s.html","template":"E:\\Programming\\Code Cabin\\htdocs-7.11.00\\wp-content\\plugins\\vendor\\apigen\\apigen\\bin\/..\/..\/..\/..\/\/vendor\/apigen\/theme-default\/src\/function.latte"},"annotationGroup":{"filename":"annotation-group-%s.html","template":"E:\\Programming\\Code Cabin\\htdocs-7.11.00\\wp-content\\plugins\\vendor\\apigen\\apigen\\bin\/..\/..\/..\/..\/\/vendor\/apigen\/theme-default\/src\/annotation-group.latte"},"source":{"filename":"source-%s.html","template":"E:\\Programming\\Code Cabin\\htdocs-7.11.00\\wp-content\\plugins\\vendor\\apigen\\apigen\\bin\/..\/..\/..\/..\/\/vendor\/apigen\/theme-default\/src\/source.latte"},"tree":{"filename":"tree.html","template":"E:\\Programming\\Code Cabin\\htdocs-7.11.00\\wp-content\\plugins\\vendor\\apigen\\apigen\\bin\/..\/..\/..\/..\/\/vendor\/apigen\/theme-default\/src\/tree.latte"},"sitemap":{"filename":"sitemap.xml","template":"E:\\Programming\\Code Cabin\\htdocs-7.11.00\\wp-content\\plugins\\vendor\\apigen\\apigen\\bin\/..\/..\/..\/..\/\/vendor\/apigen\/theme-default\/src\/sitemap.xml.latte"},"opensearch":{"filename":"opensearch.xml","template":"E:\\Programming\\Code Cabin\\htdocs-7.11.00\\wp-content\\plugins\\vendor\\apigen\\apigen\\bin\/..\/..\/..\/..\/\/vendor\/apigen\/theme-default\/src\/opensearch.xml.latte"},"robots":{"filename":"robots.txt","template":"E:\\Programming\\Code Cabin\\htdocs-7.11.00\\wp-content\\plugins\\vendor\\apigen\\apigen\\bin\/..\/..\/..\/..\/\/vendor\/apigen\/theme-default\/src\/robots.txt.latte"}}};
|
4 |
|
5 |
|
6 |
/*! jQuery v1.10.2 | (c) 2005, 2013 jQuery Foundation, Inc. | jquery.org/license
|
@@ -0,0 +1,265 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<!DOCTYPE html>
|
2 |
+
<html>
|
3 |
+
<head>
|
4 |
+
<meta charset="utf-8">
|
5 |
+
<meta name="robots" content="noindex">
|
6 |
+
|
7 |
+
<title>File tables/class.admin-marker-datatable.php</title>
|
8 |
+
|
9 |
+
<link rel="stylesheet" href="resources/style.css?c2f33731c1948fbed7c333554678bfa68d4817da">
|
10 |
+
|
11 |
+
</head>
|
12 |
+
|
13 |
+
<body>
|
14 |
+
<div id="left">
|
15 |
+
<div id="menu">
|
16 |
+
<a href="index.html" title="Overview"><span>Overview</span></a>
|
17 |
+
|
18 |
+
|
19 |
+
<div id="groups">
|
20 |
+
<h3>Namespaces</h3>
|
21 |
+
<ul>
|
22 |
+
<li>
|
23 |
+
<a href="namespace-None.html">
|
24 |
+
None </a>
|
25 |
+
|
26 |
+
</li>
|
27 |
+
<li>
|
28 |
+
<a href="namespace-WPGMZA.html">
|
29 |
+
WPGMZA<span></span>
|
30 |
+
</a>
|
31 |
+
|
32 |
+
<ul>
|
33 |
+
<li>
|
34 |
+
<a href="namespace-WPGMZA.Integration.html">
|
35 |
+
Integration </a>
|
36 |
+
|
37 |
+
</li>
|
38 |
+
<li>
|
39 |
+
<a href="namespace-WPGMZA.Selector.html">
|
40 |
+
Selector </a>
|
41 |
+
|
42 |
+
</li>
|
43 |
+
</ul></li>
|
44 |
+
</ul>
|
45 |
+
</div>
|
46 |
+
|
47 |
+
<hr>
|
48 |
+
|
49 |
+
|
50 |
+
<div id="elements">
|
51 |
+
<h3>Classes</h3>
|
52 |
+
<ul>
|
53 |
+
<li><a href="class-WPGMZA.AdminMarkerDataTable.html">WPGMZA\AdminMarkerDataTable</a></li>
|
54 |
+
<li><a href="class-WPGMZA.AjaxTable.html">WPGMZA\AjaxTable</a></li>
|
55 |
+
<li><a href="class-WPGMZA.AutoLoader.html">WPGMZA\AutoLoader</a></li>
|
56 |
+
<li><a href="class-WPGMZA.Crud.html">WPGMZA\Crud</a></li>
|
57 |
+
<li><a href="class-WPGMZA.Database.html">WPGMZA\Database</a></li>
|
58 |
+
<li><a href="class-WPGMZA.DataTable.html">WPGMZA\DataTable</a></li>
|
59 |
+
<li><a href="class-WPGMZA.Distance.html">WPGMZA\Distance</a></li>
|
60 |
+
<li><a href="class-WPGMZA.DOMDocument.html">WPGMZA\DOMDocument</a></li>
|
61 |
+
<li><a href="class-WPGMZA.DOMElement.html">WPGMZA\DOMElement</a></li>
|
62 |
+
<li><a href="class-WPGMZA.Factory.html">WPGMZA\Factory</a></li>
|
63 |
+
<li><a href="class-WPGMZA.GDPRCompliance.html">WPGMZA\GDPRCompliance</a></li>
|
64 |
+
<li><a href="class-WPGMZA.GlobalSettings.html">WPGMZA\GlobalSettings</a></li>
|
65 |
+
<li><a href="class-WPGMZA.GoogleGeocoder.html">WPGMZA\GoogleGeocoder</a></li>
|
66 |
+
<li><a href="class-WPGMZA.GoogleMap.html">WPGMZA\GoogleMap</a></li>
|
67 |
+
<li><a href="class-WPGMZA.GoogleMapsAPILoader.html" class="deprecated">WPGMZA\GoogleMapsAPILoader</a></li>
|
68 |
+
<li><a href="class-WPGMZA.GoogleMapsLoader.html" class="deprecated">WPGMZA\GoogleMapsLoader</a></li>
|
69 |
+
<li><a href="class-WPGMZA.Integration.Gutenberg.html">WPGMZA\Integration\Gutenberg</a></li>
|
70 |
+
<li><a href="class-WPGMZA.Integration.WPMigrateDB.html">WPGMZA\Integration\WPMigrateDB</a></li>
|
71 |
+
<li><a href="class-WPGMZA.LatLng.html">WPGMZA\LatLng</a></li>
|
72 |
+
<li><a href="class-WPGMZA.Map.html">WPGMZA\Map</a></li>
|
73 |
+
<li><a href="class-WPGMZA.MapsEngineDialog.html">WPGMZA\MapsEngineDialog</a></li>
|
74 |
+
<li><a href="class-WPGMZA.Marker.html">WPGMZA\Marker</a></li>
|
75 |
+
<li><a href="class-WPGMZA.MarkerDataTable.html">WPGMZA\MarkerDataTable</a></li>
|
76 |
+
<li><a href="class-WPGMZA.MarkerFilter.html">WPGMZA\MarkerFilter</a></li>
|
77 |
+
<li><a href="class-WPGMZA.ModalDialog.html">WPGMZA\ModalDialog</a></li>
|
78 |
+
<li><a href="class-WPGMZA.NominatimGeocodeCache.html">WPGMZA\NominatimGeocodeCache</a></li>
|
79 |
+
<li><a href="class-WPGMZA.OLLoader.html">WPGMZA\OLLoader</a></li>
|
80 |
+
<li><a href="class-WPGMZA.Plugin.html">WPGMZA\Plugin</a></li>
|
81 |
+
<li><a href="class-WPGMZA.Query.html">WPGMZA\Query</a></li>
|
82 |
+
<li><a href="class-WPGMZA.QueryFragment.html">WPGMZA\QueryFragment</a></li>
|
83 |
+
<li><a href="class-WPGMZA.RestAPI.html">WPGMZA\RestAPI</a></li>
|
84 |
+
<li><a href="class-WPGMZA.ScriptLoader.html">WPGMZA\ScriptLoader</a></li>
|
85 |
+
<li><a href="class-WPGMZA.Selector.AttributeSelector.html">WPGMZA\Selector\AttributeSelector</a></li>
|
86 |
+
<li><a href="class-WPGMZA.Selector.Parser.html">WPGMZA\Selector\Parser</a></li>
|
87 |
+
<li><a href="class-WPGMZA.Selector.PseudoSelector.html">WPGMZA\Selector\PseudoSelector</a></li>
|
88 |
+
<li><a href="class-WPGMZA.Selector.Selector.html">WPGMZA\Selector\Selector</a></li>
|
89 |
+
<li><a href="class-WPGMZA.Selector.Token.html">WPGMZA\Selector\Token</a></li>
|
90 |
+
<li><a href="class-WPGMZA.Selector.Tokenizer.html">WPGMZA\Selector\Tokenizer</a></li>
|
91 |
+
<li><a href="class-WPGMZA.Selector.TokenStream.html">WPGMZA\Selector\TokenStream</a></li>
|
92 |
+
<li><a href="class-WPGMZA.Selector.XPathConverter.html">WPGMZA\Selector\XPathConverter</a></li>
|
93 |
+
<li><a href="class-WPGMZA.Strings.html">WPGMZA\Strings</a></li>
|
94 |
+
<li><a href="class-WPGMZA.Table.html">WPGMZA\Table</a></li>
|
95 |
+
</ul>
|
96 |
+
|
97 |
+
|
98 |
+
|
99 |
+
<h3>Exceptions</h3>
|
100 |
+
<ul>
|
101 |
+
<li><a href="class-WPGMZA.Selector.ConvertException.html">WPGMZA\Selector\ConvertException</a></li>
|
102 |
+
<li><a href="class-WPGMZA.Selector.ParseException.html">WPGMZA\Selector\ParseException</a></li>
|
103 |
+
</ul>
|
104 |
+
|
105 |
+
|
106 |
+
<h3>Functions</h3>
|
107 |
+
<ul>
|
108 |
+
<li><a href="function-WPGMZA.create_marker_instance_delegate.html">WPGMZA\create_marker_instance_delegate</a></li>
|
109 |
+
<li><a href="function-WPGMZA.query_nominatim_cache.html" class="deprecated">WPGMZA\query_nominatim_cache</a></li>
|
110 |
+
<li><a href="function-WPGMZA.Selector.trace.html">WPGMZA\Selector\trace</a></li>
|
111 |
+
<li><a href="function-WPGMZA.store_nominatim_cache.html" class="deprecated">WPGMZA\store_nominatim_cache</a></li>
|
112 |
+
<li><a href="function-wpgmza_backwards_compat_get_all_circle_data.html">wpgmza_backwards_compat_get_all_circle_data</a></li>
|
113 |
+
<li><a href="function-wpgmza_backwards_compat_get_all_rectangle_data.html">wpgmza_backwards_compat_get_all_rectangle_data</a></li>
|
114 |
+
<li><a href="function-wpgmza_check_admin_head_backwards_compat_v6.html">wpgmza_check_admin_head_backwards_compat_v6</a></li>
|
115 |
+
<li><a href="function-wpgmza_check_map_editor_backwards_compat_v6.html">wpgmza_check_map_editor_backwards_compat_v6</a></li>
|
116 |
+
<li><a href="function-wpgmza_check_pro_compat_required_v6.html">wpgmza_check_pro_compat_required_v6</a></li>
|
117 |
+
<li><a href="function-wpgmza_check_user_backwards_compat_v6.html">wpgmza_check_user_backwards_compat_v6</a></li>
|
118 |
+
</ul>
|
119 |
+
</div>
|
120 |
+
</div>
|
121 |
+
</div>
|
122 |
+
|
123 |
+
<div id="splitter"></div>
|
124 |
+
|
125 |
+
<div id="right">
|
126 |
+
<div id="rightInner">
|
127 |
+
<form id="search">
|
128 |
+
<input type="hidden" name="cx" value="">
|
129 |
+
<input type="hidden" name="ie" value="UTF-8">
|
130 |
+
<input type="text" name="q" class="text" placeholder="Search">
|
131 |
+
</form>
|
132 |
+
|
133 |
+
<div id="navigation">
|
134 |
+
<ul>
|
135 |
+
<li>
|
136 |
+
<a href="index.html" title="Overview"><span>Overview</span></a>
|
137 |
+
</li>
|
138 |
+
<li>
|
139 |
+
<span>Namespace</span> </li>
|
140 |
+
<li>
|
141 |
+
<span>Class</span> </li>
|
142 |
+
</ul>
|
143 |
+
<ul>
|
144 |
+
</ul>
|
145 |
+
<ul>
|
146 |
+
</ul>
|
147 |
+
</div>
|
148 |
+
|
149 |
+
<pre class="numbers"><code><span class="l"><a href="#1"> 1: </a></span><span class="l"><a href="#2"> 2: </a></span><span class="l"><a href="#3"> 3: </a></span><span class="l"><a href="#4"> 4: </a></span><span class="l"><a href="#5"> 5: </a></span><span class="l"><a href="#6"> 6: </a></span><span class="l"><a href="#7"> 7: </a></span><span class="l"><a href="#8"> 8: </a></span><span class="l"><a href="#9"> 9: </a></span><span class="l"><a href="#10"> 10: </a></span><span class="l"><a href="#11"> 11: </a></span><span class="l"><a href="#12"> 12: </a></span><span class="l"><a href="#13"> 13: </a></span><span class="l"><a href="#14"> 14: </a></span><span class="l"><a href="#15"> 15: </a></span><span class="l"><a href="#16"> 16: </a></span><span class="l"><a href="#17"> 17: </a></span><span class="l"><a href="#18"> 18: </a></span><span class="l"><a href="#19"> 19: </a></span><span class="l"><a href="#20"> 20: </a></span></span><span class="l"><a href="#21"> 21: </a></span></span><span class="l"><a href="#22"> 22: </a></span></span><span class="l"><a href="#23"> 23: </a></span></span><span class="l"><a href="#24"> 24: </a></span><span class="l"><a href="#25"> 25: </a></span><span class="l"><a href="#26"> 26: </a></span><span class="l"><a href="#27"> 27: </a></span><span class="l"><a href="#28"> 28: </a></span><span class="l"><a href="#29"> 29: </a></span><span class="l"><a href="#30"> 30: </a></span><span class="l"><a href="#31"> 31: </a></span><span class="l"><a href="#32"> 32: </a></span><span class="l"><a href="#33"> 33: </a></span><span class="l"><a href="#34"> 34: </a></span><span class="l"><a href="#35"> 35: </a></span><span class="l"><a href="#36"> 36: </a></span><span class="l"><a href="#37"> 37: </a></span><span class="l"><a href="#38"> 38: </a></span><span class="l"><a href="#39"> 39: </a></span><span class="l"><a href="#40"> 40: </a></span><span class="l"><a href="#41"> 41: </a></span><span class="l"><a href="#42"> 42: </a></span><span class="l"><a href="#43"> 43: </a></span><span class="l"><a href="#44"> 44: </a></span><span class="l"><a href="#45"> 45: </a></span><span class="l"><a href="#46"> 46: </a></span><span class="l"><a href="#47"> 47: </a></span></span><span class="l"><a href="#48"> 48: </a></span></span><span class="l"><a href="#49"> 49: </a></span></span><span class="l"><a href="#50"> 50: </a></span></span><span class="l"><a href="#51"> 51: </a></span></span><span class="l"><a href="#52"> 52: </a></span><span class="l"><a href="#53"> 53: </a></span><span class="l"><a href="#54"> 54: </a></span></span><span class="l"><a href="#55"> 55: </a></span></span><span class="l"><a href="#56"> 56: </a></span></span><span class="l"><a href="#57"> 57: </a></span><span class="l"><a href="#58"> 58: </a></span><span class="l"><a href="#59"> 59: </a></span></span><span class="l"><a href="#60"> 60: </a></span></span><span class="l"><a href="#61"> 61: </a></span></span><span class="l"><a href="#62"> 62: </a></span></span><span class="l"><a href="#63"> 63: </a></span></span><span class="l"><a href="#64"> 64: </a></span></span><span class="l"><a href="#65"> 65: </a></span></span><span class="l"><a href="#66"> 66: </a></span></span><span class="l"><a href="#67"> 67: </a></span><span class="l"><a href="#68"> 68: </a></span><span class="l"><a href="#69"> 69: </a></span><span class="l"><a href="#70"> 70: </a></span><span class="l"><a href="#71"> 71: </a></span><span class="l"><a href="#72"> 72: </a></span><span class="l"><a href="#73"> 73: </a></span><span class="l"><a href="#74"> 74: </a></span><span class="l"><a href="#75"> 75: </a></span><span class="l"><a href="#76"> 76: </a></span><span class="l"><a href="#77"> 77: </a></span><span class="l"><a href="#78"> 78: </a></span><span class="l"><a href="#79"> 79: </a></span><span class="l"><a href="#80"> 80: </a></span><span class="l"><a href="#81"> 81: </a></span><span class="l"><a href="#82"> 82: </a></span><span class="l"><a href="#83"> 83: </a></span><span class="l"><a href="#84"> 84: </a></span><span class="l"><a href="#85"> 85: </a></span><span class="l"><a href="#86"> 86: </a></span><span class="l"><a href="#87"> 87: </a></span><span class="l"><a href="#88"> 88: </a></span><span class="l"><a href="#89"> 89: </a></span><span class="l"><a href="#90"> 90: </a></span><span class="l"><a href="#91"> 91: </a></span><span class="l"><a href="#92"> 92: </a></span><span class="l"><a href="#93"> 93: </a></span><span class="l"><a href="#94"> 94: </a></span><span class="l"><a href="#95"> 95: </a></span><span class="l"><a href="#96"> 96: </a></span><span class="l"><a href="#97"> 97: </a></span><span class="l"><a href="#98"> 98: </a></span><span class="l"><a href="#99"> 99: </a></span><span class="l"><a href="#100">100: </a></span><span class="l"><a href="#101">101: </a></span><span class="l"><a href="#102">102: </a></span><span class="l"><a href="#103">103: </a></span><span class="l"><a href="#104">104: </a></span><span class="l"><a href="#105">105: </a></span><span class="l"><a href="#106">106: </a></span></code></pre>
|
150 |
+
<pre class="code"><code><span id="1" class="l"><span class="xlang"><?php</span>
|
151 |
+
</span><span id="2" class="l">
|
152 |
+
</span><span id="3" class="l"><span class="php-keyword1">namespace</span> WPGMZA;
|
153 |
+
</span><span id="4" class="l">
|
154 |
+
</span><span id="5" class="l"><span class="php-keyword1">class</span> AdminMarkerDataTable <span class="php-keyword1">extends</span> MarkerDataTable
|
155 |
+
</span><span id="6" class="l">{
|
156 |
+
</span><span id="7" class="l"> <span class="php-keyword1">const</span> ID_PLACEHOLDER = <span class="php-quote">'__5d5621cf7b6bb90bfb7bda85a0df7293'</span>;
|
157 |
+
</span><span id="8" class="l">
|
158 |
+
</span><span id="9" class="l"> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> __construct(<span class="php-var">$ajax_parameters</span>=<span class="php-keyword1">null</span>)
|
159 |
+
</span><span id="10" class="l"> {
|
160 |
+
</span><span id="11" class="l"> MarkerDataTable::__construct(<span class="php-var">$ajax_parameters</span>, <span class="php-keyword1">array</span>(
|
161 |
+
</span><span id="12" class="l"> <span class="php-quote">'order'</span> => <span class="php-keyword1">array</span>(
|
162 |
+
</span><span id="13" class="l"> <span class="php-num">1</span>,
|
163 |
+
</span><span id="14" class="l"> <span class="php-quote">'desc'</span>
|
164 |
+
</span><span id="15" class="l"> )
|
165 |
+
</span><span id="16" class="l"> ));
|
166 |
+
</span><span id="17" class="l">
|
167 |
+
</span><span id="18" class="l"> <span class="php-var">$this</span>->element->setAttribute(<span class="php-quote">'data-wpgmza-admin-marker-datatable'</span>, <span class="php-keyword1">null</span>);
|
168 |
+
</span><span id="19" class="l">
|
169 |
+
</span><span id="20" class="l"> <span class="php-var">$this</span>->element->import(<span class="php-quote">'<div>
|
170 |
+
</span></span><span id="21" class="l"><span class="php-quote"> &#x21b3;
|
171 |
+
</span></span><span id="22" class="l"><span class="php-quote"> <button class="wpgmza button select_all_markers" type="button">'</span> . __(<span class="php-quote">'Select All'</span>, <span class="php-quote">'wp-google-maps'</span>) . <span class="php-quote">'</button>
|
172 |
+
</span></span><span id="23" class="l"><span class="php-quote"> <button class="wpgmza button bulk_delete" type="button">'</span> . __(<span class="php-quote">'Bulk Delete'</span>, <span class="php-quote">'wp-google-maps'</span>) . <span class="php-quote">'</button>
|
173 |
+
</span></span><span id="24" class="l"><span class="php-quote"> </div>'</span>);
|
174 |
+
</span><span id="25" class="l"> }
|
175 |
+
</span><span id="26" class="l">
|
176 |
+
</span><span id="27" class="l"> <span class="php-keyword1">protected</span> <span class="php-keyword1">function</span> getColumns()
|
177 |
+
</span><span id="28" class="l"> {
|
178 |
+
</span><span id="29" class="l"> <span class="php-keyword1">return</span> <span class="php-keyword1">array</span>(
|
179 |
+
</span><span id="30" class="l"> <span class="php-quote">'mark'</span> => __(<span class="php-quote">'Mark'</span>, <span class="php-quote">'wp-google-maps'</span>),
|
180 |
+
</span><span id="31" class="l"> <span class="php-quote">'id'</span> => __(<span class="php-quote">'ID'</span>, <span class="php-quote">'wp-google-maps'</span>),
|
181 |
+
</span><span id="32" class="l"> <span class="php-quote">'icon'</span> => __(<span class="php-quote">'Icon'</span>, <span class="php-quote">'wp-google-maps'</span>),
|
182 |
+
</span><span id="33" class="l"> <span class="php-quote">'title'</span> => __(<span class="php-quote">'Title'</span>, <span class="php-quote">'wp-google-maps'</span>),
|
183 |
+
</span><span id="34" class="l"> <span class="php-quote">'category'</span> => __(<span class="php-quote">'Category'</span>, <span class="php-quote">'wp-google-maps'</span>),
|
184 |
+
</span><span id="35" class="l"> <span class="php-quote">'address'</span> => __(<span class="php-quote">'Address'</span>, <span class="php-quote">'wp-google-maps'</span>),
|
185 |
+
</span><span id="36" class="l"> <span class="php-quote">'description'</span> => __(<span class="php-quote">'Description'</span>, <span class="php-quote">'wp-google-maps'</span>),
|
186 |
+
</span><span id="37" class="l"> <span class="php-quote">'pic'</span> => __(<span class="php-quote">'Image'</span>, <span class="php-quote">'wp-google-maps'</span>),
|
187 |
+
</span><span id="38" class="l"> <span class="php-quote">'link'</span> => __(<span class="php-quote">'Link'</span>, <span class="php-quote">'wp-google-maps'</span>),
|
188 |
+
</span><span id="39" class="l"> <span class="php-quote">'action'</span> => __(<span class="php-quote">'Action'</span>, <span class="php-quote">'wp-google-maps'</span>)
|
189 |
+
</span><span id="40" class="l"> );
|
190 |
+
</span><span id="41" class="l"> }
|
191 |
+
</span><span id="42" class="l">
|
192 |
+
</span><span id="43" class="l"> <span class="php-keyword1">protected</span> <span class="php-keyword1">function</span> getActionButtons()
|
193 |
+
</span><span id="44" class="l"> {
|
194 |
+
</span><span id="45" class="l"> <span class="php-var">$id_placeholder</span> = AdminMarkerDataTable::ID_PLACEHOLDER;
|
195 |
+
</span><span id="46" class="l">
|
196 |
+
</span><span id="47" class="l"> <span class="php-keyword1">return</span> <span class="php-quote">'REPLACE(\'
|
197 |
+
</span></span><span id="48" class="l"><span class="php-quote">
|
198 |
+
</span></span><span id="49" class="l"><span class="php-quote"> <a title="Edit this marker" class="wpgmza_edit_btn button" id="'</span> . <span class="php-var">$id_placeholder</span> . <span class="php-quote">'" data-edit-marker-id="'</span> . <span class="php-var">$id_placeholder</span> . <span class="php-quote">'">
|
199 |
+
</span></span><span id="50" class="l"><span class="php-quote"> <i class="fa fa-edit"> </i>
|
200 |
+
</span></span><span id="51" class="l"><span class="php-quote"> </a>
|
201 |
+
</span></span><span id="52" class="l"><span class="php-quote"> <a href="?page=wp-google-maps-menu&amp;action=edit_marker&amp;id='</span> . <span class="php-var">$id_placeholder</span> . <span class="php-quote">'" title="'</span>
|
202 |
+
</span><span id="53" class="l"> . esc_attr( __(<span class="php-quote">'Edit this marker location'</span>, <span class="php-quote">'wp-google-maps'</span>) ) .
|
203 |
+
</span><span id="54" class="l"> <span class="php-quote">'" class="wpgmza_edit_btn button" id="'</span> . <span class="php-var">$id_placeholder</span> . <span class="php-quote">'">
|
204 |
+
</span></span><span id="55" class="l"><span class="php-quote"> <i class="fa fa-map-marker"> </i>
|
205 |
+
</span></span><span id="56" class="l"><span class="php-quote"> </a>
|
206 |
+
</span></span><span id="57" class="l"><span class="php-quote"> <a href="javascript: ;" title="'</span>
|
207 |
+
</span><span id="58" class="l"> . esc_attr( __(<span class="php-quote">'Delete this marker'</span>, <span class="php-quote">'wp-google-maps'</span>) ) .
|
208 |
+
</span><span id="59" class="l"> <span class="php-quote">'" class="wpgmza_del_btn button" id="'</span> . <span class="php-var">$id_placeholder</span> . <span class="php-quote">'">
|
209 |
+
</span></span><span id="60" class="l"><span class="php-quote"> <i class="fa fa-times"> </i>
|
210 |
+
</span></span><span id="61" class="l"><span class="php-quote"> </a>
|
211 |
+
</span></span><span id="62" class="l"><span class="php-quote">
|
212 |
+
</span></span><span id="63" class="l"><span class="php-quote"> \',
|
213 |
+
</span></span><span id="64" class="l"><span class="php-quote"> "'</span> . <span class="php-var">$id_placeholder</span> . <span class="php-quote">'",
|
214 |
+
</span></span><span id="65" class="l"><span class="php-quote"> id
|
215 |
+
</span></span><span id="66" class="l"><span class="php-quote"> ) AS `action`
|
216 |
+
</span></span><span id="67" class="l"><span class="php-quote"> '</span>;
|
217 |
+
</span><span id="68" class="l"> }
|
218 |
+
</span><span id="69" class="l">
|
219 |
+
</span><span id="70" class="l"> <span class="php-keyword1">protected</span> <span class="php-keyword1">function</span> filterColumns(&<span class="php-var">$columns</span>, <span class="php-var">$input_params</span>)
|
220 |
+
</span><span id="71" class="l"> {
|
221 |
+
</span><span id="72" class="l"> MarkerDataTable::filterColumns(<span class="php-var">$columns</span>, <span class="php-var">$input_params</span>);
|
222 |
+
</span><span id="73" class="l">
|
223 |
+
</span><span id="74" class="l"> <span class="php-keyword1">foreach</span>(<span class="php-var">$columns</span> <span class="php-keyword1">as</span> <span class="php-var">$key</span> => <span class="php-var">$value</span>)
|
224 |
+
</span><span id="75" class="l"> {
|
225 |
+
</span><span id="76" class="l"> <span class="php-var">$name</span> = <span class="php-var">$this</span>->getColumnNameByIndex(<span class="php-var">$key</span>);
|
226 |
+
</span><span id="77" class="l">
|
227 |
+
</span><span id="78" class="l"> <span class="php-keyword1">switch</span>(<span class="php-var">$name</span>)
|
228 |
+
</span><span id="79" class="l"> {
|
229 |
+
</span><span id="80" class="l"> <span class="php-keyword1">case</span> <span class="php-quote">'category'</span>:
|
230 |
+
</span><span id="81" class="l"> <span class="php-keyword1">case</span> <span class="php-quote">'description'</span>:
|
231 |
+
</span><span id="82" class="l"> <span class="php-keyword1">case</span> <span class="php-quote">'pic'</span>:
|
232 |
+
</span><span id="83" class="l"> <span class="php-var">$columns</span>[<span class="php-var">$key</span>] = <span class="php-quote">'"" AS '</span> . <span class="php-var">$name</span>;
|
233 |
+
</span><span id="84" class="l"> <span class="php-keyword1">break</span>;
|
234 |
+
</span><span id="85" class="l">
|
235 |
+
</span><span id="86" class="l"> <span class="php-keyword1">case</span> <span class="php-quote">'action'</span>:
|
236 |
+
</span><span id="87" class="l"> <span class="php-var">$columns</span>[<span class="php-var">$key</span>] = <span class="php-var">$this</span>->getActionButtons();
|
237 |
+
</span><span id="88" class="l"> <span class="php-keyword1">break</span>;
|
238 |
+
</span><span id="89" class="l">
|
239 |
+
</span><span id="90" class="l"> <span class="php-keyword1">case</span> <span class="php-quote">'icon'</span>:
|
240 |
+
</span><span id="91" class="l"> <span class="php-var">$columns</span>[<span class="php-var">$key</span>] = <span class="php-quote">'\'<img src="'</span> . Marker::DEFAULT_ICON . <span class="php-quote">'"/>\' AS icon'</span>;
|
241 |
+
</span><span id="92" class="l"> <span class="php-keyword1">break</span>;
|
242 |
+
</span><span id="93" class="l"> }
|
243 |
+
</span><span id="94" class="l"> }
|
244 |
+
</span><span id="95" class="l">
|
245 |
+
</span><span id="96" class="l"> <span class="php-keyword1">return</span> <span class="php-var">$columns</span>;
|
246 |
+
</span><span id="97" class="l"> }
|
247 |
+
</span><span id="98" class="l">
|
248 |
+
</span><span id="99" class="l"> <span class="php-keyword1">protected</span> <span class="php-keyword1">function</span> getSearchClause(<span class="php-var">$input_params</span>, &<span class="php-var">$query_params</span>, <span class="php-var">$exclude_columns</span>=<span class="php-keyword1">null</span>)
|
249 |
+
</span><span id="100" class="l"> {
|
250 |
+
</span><span id="101" class="l"> <span class="php-keyword1">return</span> MarkerDataTable::getSearchClause(<span class="php-var">$input_params</span>, <span class="php-var">$query_params</span>, <span class="php-keyword1">array</span>(
|
251 |
+
</span><span id="102" class="l"> <span class="php-quote">'mark'</span>,
|
252 |
+
</span><span id="103" class="l"> <span class="php-quote">'action'</span>
|
253 |
+
</span><span id="104" class="l"> ));
|
254 |
+
</span><span id="105" class="l"> }
|
255 |
+
</span><span id="106" class="l">}</span></code></pre>
|
256 |
+
|
257 |
+
<div id="footer">
|
258 |
+
API documentation generated by <a href="http://apigen.org">ApiGen</a>
|
259 |
+
</div>
|
260 |
+
</div>
|
261 |
+
</div>
|
262 |
+
<script src="resources/combined.js?bdf41a0492319853d610bde7b68b95e93d08fae3"></script>
|
263 |
+
<script src="elementlist.js?ce6e64dd6d2e258467153e0fbb3257ea07b69a7b"></script>
|
264 |
+
</body>
|
265 |
+
</html>
|
@@ -0,0 +1,492 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<!DOCTYPE html>
|
2 |
+
<html>
|
3 |
+
<head>
|
4 |
+
<meta charset="utf-8">
|
5 |
+
<meta name="robots" content="noindex">
|
6 |
+
|
7 |
+
<title>File tables/class.ajax-table.php</title>
|
8 |
+
|
9 |
+
<link rel="stylesheet" href="resources/style.css?c2f33731c1948fbed7c333554678bfa68d4817da">
|
10 |
+
|
11 |
+
</head>
|
12 |
+
|
13 |
+
<body>
|
14 |
+
<div id="left">
|
15 |
+
<div id="menu">
|
16 |
+
<a href="index.html" title="Overview"><span>Overview</span></a>
|
17 |
+
|
18 |
+
|
19 |
+
<div id="groups">
|
20 |
+
<h3>Namespaces</h3>
|
21 |
+
<ul>
|
22 |
+
<li>
|
23 |
+
<a href="namespace-None.html">
|
24 |
+
None </a>
|
25 |
+
|
26 |
+
</li>
|
27 |
+
<li>
|
28 |
+
<a href="namespace-WPGMZA.html">
|
29 |
+
WPGMZA<span></span>
|
30 |
+
</a>
|
31 |
+
|
32 |
+
<ul>
|
33 |
+
<li>
|
34 |
+
<a href="namespace-WPGMZA.Integration.html">
|
35 |
+
Integration </a>
|
36 |
+
|
37 |
+
</li>
|
38 |
+
<li>
|
39 |
+
<a href="namespace-WPGMZA.Selector.html">
|
40 |
+
Selector </a>
|
41 |
+
|
42 |
+
</li>
|
43 |
+
</ul></li>
|
44 |
+
</ul>
|
45 |
+
</div>
|
46 |
+
|
47 |
+
<hr>
|
48 |
+
|
49 |
+
|
50 |
+
<div id="elements">
|
51 |
+
<h3>Classes</h3>
|
52 |
+
<ul>
|
53 |
+
<li><a href="class-WPGMZA.AdminMarkerDataTable.html">WPGMZA\AdminMarkerDataTable</a></li>
|
54 |
+
<li><a href="class-WPGMZA.AjaxTable.html">WPGMZA\AjaxTable</a></li>
|
55 |
+
<li><a href="class-WPGMZA.AutoLoader.html">WPGMZA\AutoLoader</a></li>
|
56 |
+
<li><a href="class-WPGMZA.Crud.html">WPGMZA\Crud</a></li>
|
57 |
+
<li><a href="class-WPGMZA.Database.html">WPGMZA\Database</a></li>
|
58 |
+
<li><a href="class-WPGMZA.DataTable.html">WPGMZA\DataTable</a></li>
|
59 |
+
<li><a href="class-WPGMZA.Distance.html">WPGMZA\Distance</a></li>
|
60 |
+
<li><a href="class-WPGMZA.DOMDocument.html">WPGMZA\DOMDocument</a></li>
|
61 |
+
<li><a href="class-WPGMZA.DOMElement.html">WPGMZA\DOMElement</a></li>
|
62 |
+
<li><a href="class-WPGMZA.Factory.html">WPGMZA\Factory</a></li>
|
63 |
+
<li><a href="class-WPGMZA.GDPRCompliance.html">WPGMZA\GDPRCompliance</a></li>
|
64 |
+
<li><a href="class-WPGMZA.GlobalSettings.html">WPGMZA\GlobalSettings</a></li>
|
65 |
+
<li><a href="class-WPGMZA.GoogleGeocoder.html">WPGMZA\GoogleGeocoder</a></li>
|
66 |
+
<li><a href="class-WPGMZA.GoogleMap.html">WPGMZA\GoogleMap</a></li>
|
67 |
+
<li><a href="class-WPGMZA.GoogleMapsAPILoader.html" class="deprecated">WPGMZA\GoogleMapsAPILoader</a></li>
|
68 |
+
<li><a href="class-WPGMZA.GoogleMapsLoader.html" class="deprecated">WPGMZA\GoogleMapsLoader</a></li>
|
69 |
+
<li><a href="class-WPGMZA.Integration.Gutenberg.html">WPGMZA\Integration\Gutenberg</a></li>
|
70 |
+
<li><a href="class-WPGMZA.Integration.WPMigrateDB.html">WPGMZA\Integration\WPMigrateDB</a></li>
|
71 |
+
<li><a href="class-WPGMZA.LatLng.html">WPGMZA\LatLng</a></li>
|
72 |
+
<li><a href="class-WPGMZA.Map.html">WPGMZA\Map</a></li>
|
73 |
+
<li><a href="class-WPGMZA.MapsEngineDialog.html">WPGMZA\MapsEngineDialog</a></li>
|
74 |
+
<li><a href="class-WPGMZA.Marker.html">WPGMZA\Marker</a></li>
|
75 |
+
<li><a href="class-WPGMZA.MarkerDataTable.html">WPGMZA\MarkerDataTable</a></li>
|
76 |
+
<li><a href="class-WPGMZA.MarkerFilter.html">WPGMZA\MarkerFilter</a></li>
|
77 |
+
<li><a href="class-WPGMZA.ModalDialog.html">WPGMZA\ModalDialog</a></li>
|
78 |
+
<li><a href="class-WPGMZA.NominatimGeocodeCache.html">WPGMZA\NominatimGeocodeCache</a></li>
|
79 |
+
<li><a href="class-WPGMZA.OLLoader.html">WPGMZA\OLLoader</a></li>
|
80 |
+
<li><a href="class-WPGMZA.Plugin.html">WPGMZA\Plugin</a></li>
|
81 |
+
<li><a href="class-WPGMZA.Query.html">WPGMZA\Query</a></li>
|
82 |
+
<li><a href="class-WPGMZA.QueryFragment.html">WPGMZA\QueryFragment</a></li>
|
83 |
+
<li><a href="class-WPGMZA.RestAPI.html">WPGMZA\RestAPI</a></li>
|
84 |
+
<li><a href="class-WPGMZA.ScriptLoader.html">WPGMZA\ScriptLoader</a></li>
|
85 |
+
<li><a href="class-WPGMZA.Selector.AttributeSelector.html">WPGMZA\Selector\AttributeSelector</a></li>
|
86 |
+
<li><a href="class-WPGMZA.Selector.Parser.html">WPGMZA\Selector\Parser</a></li>
|
87 |
+
<li><a href="class-WPGMZA.Selector.PseudoSelector.html">WPGMZA\Selector\PseudoSelector</a></li>
|
88 |
+
<li><a href="class-WPGMZA.Selector.Selector.html">WPGMZA\Selector\Selector</a></li>
|
89 |
+
<li><a href="class-WPGMZA.Selector.Token.html">WPGMZA\Selector\Token</a></li>
|
90 |
+
<li><a href="class-WPGMZA.Selector.Tokenizer.html">WPGMZA\Selector\Tokenizer</a></li>
|
91 |
+
<li><a href="class-WPGMZA.Selector.TokenStream.html">WPGMZA\Selector\TokenStream</a></li>
|
92 |
+
<li><a href="class-WPGMZA.Selector.XPathConverter.html">WPGMZA\Selector\XPathConverter</a></li>
|
93 |
+
<li><a href="class-WPGMZA.Strings.html">WPGMZA\Strings</a></li>
|
94 |
+
<li><a href="class-WPGMZA.Table.html">WPGMZA\Table</a></li>
|
95 |
+
</ul>
|
96 |
+
|
97 |
+
|
98 |
+
|
99 |
+
<h3>Exceptions</h3>
|
100 |
+
<ul>
|
101 |
+
<li><a href="class-WPGMZA.Selector.ConvertException.html">WPGMZA\Selector\ConvertException</a></li>
|
102 |
+
<li><a href="class-WPGMZA.Selector.ParseException.html">WPGMZA\Selector\ParseException</a></li>
|
103 |
+
</ul>
|
104 |
+
|
105 |
+
|
106 |
+
<h3>Functions</h3>
|
107 |
+
<ul>
|
108 |
+
<li><a href="function-WPGMZA.create_marker_instance_delegate.html">WPGMZA\create_marker_instance_delegate</a></li>
|
109 |
+
<li><a href="function-WPGMZA.query_nominatim_cache.html" class="deprecated">WPGMZA\query_nominatim_cache</a></li>
|
110 |
+
<li><a href="function-WPGMZA.Selector.trace.html">WPGMZA\Selector\trace</a></li>
|
111 |
+
<li><a href="function-WPGMZA.store_nominatim_cache.html" class="deprecated">WPGMZA\store_nominatim_cache</a></li>
|
112 |
+
<li><a href="function-wpgmza_backwards_compat_get_all_circle_data.html">wpgmza_backwards_compat_get_all_circle_data</a></li>
|
113 |
+
<li><a href="function-wpgmza_backwards_compat_get_all_rectangle_data.html">wpgmza_backwards_compat_get_all_rectangle_data</a></li>
|
114 |
+
<li><a href="function-wpgmza_check_admin_head_backwards_compat_v6.html">wpgmza_check_admin_head_backwards_compat_v6</a></li>
|
115 |
+
<li><a href="function-wpgmza_check_map_editor_backwards_compat_v6.html">wpgmza_check_map_editor_backwards_compat_v6</a></li>
|
116 |
+
<li><a href="function-wpgmza_check_pro_compat_required_v6.html">wpgmza_check_pro_compat_required_v6</a></li>
|
117 |
+
<li><a href="function-wpgmza_check_user_backwards_compat_v6.html">wpgmza_check_user_backwards_compat_v6</a></li>
|
118 |
+
</ul>
|
119 |
+
</div>
|
120 |
+
</div>
|
121 |
+
</div>
|
122 |
+
|
123 |
+
<div id="splitter"></div>
|
124 |
+
|
125 |
+
<div id="right">
|
126 |
+
<div id="rightInner">
|
127 |
+
<form id="search">
|
128 |
+
<input type="hidden" name="cx" value="">
|
129 |
+
<input type="hidden" name="ie" value="UTF-8">
|
130 |
+
<input type="text" name="q" class="text" placeholder="Search">
|
131 |
+
</form>
|
132 |
+
|
133 |
+
<div id="navigation">
|
134 |
+
<ul>
|
135 |
+
<li>
|
136 |
+
<a href="index.html" title="Overview"><span>Overview</span></a>
|
137 |
+
</li>
|
138 |
+
<li>
|
139 |
+
<span>Namespace</span> </li>
|
140 |
+
<li>
|
141 |
+
<span>Class</span> </li>
|
142 |
+
</ul>
|
143 |
+
<ul>
|
144 |
+
</ul>
|
145 |
+
<ul>
|
146 |
+
</ul>
|
147 |
+
</div>
|
148 |
+
|
149 |
+
<pre class="numbers"><code><span class="l"><a href="#1"> 1: </a></span><span class="l"><a href="#2"> 2: </a></span><span class="l"><a href="#3"> 3: </a></span><span class="l"><a href="#4"> 4: </a></span><span class="l"><a href="#5"> 5: </a></span><span class="l"><a href="#6"> 6: </a></span><span class="l"><a href="#7"> 7: </a></span><span class="l"><a href="#8"> 8: </a></span><span class="l"><a href="#9"> 9: </a></span><span class="l"><a href="#10"> 10: </a></span><span class="l"><a href="#11"> 11: </a></span><span class="l"><a href="#12"> 12: </a></span><span class="l"><a href="#13"> 13: </a></span><span class="l"><a href="#14"> 14: </a></span><span class="l"><a href="#15"> 15: </a></span><span class="l"><a href="#16"> 16: </a></span><span class="l"><a href="#17"> 17: </a></span><span class="l"><a href="#18"> 18: </a></span><span class="l"><a href="#19"> 19: </a></span><span class="l"><a href="#20"> 20: </a></span><span class="l"><a href="#21"> 21: </a></span><span class="l"><a href="#22"> 22: </a></span><span class="l"><a href="#23"> 23: </a></span><span class="l"><a href="#24"> 24: </a></span><span class="l"><a href="#25"> 25: </a></span><span class="l"><a href="#26"> 26: </a></span><span class="l"><a href="#27"> 27: </a></span><span class="l"><a href="#28"> 28: </a></span><span class="l"><a href="#29"> 29: </a></span><span class="l"><a href="#30"> 30: </a></span><span class="l"><a href="#31"> 31: </a></span><span class="l"><a href="#32"> 32: </a></span><span class="l"><a href="#33"> 33: </a></span><span class="l"><a href="#34"> 34: </a></span><span class="l"><a href="#35"> 35: </a></span><span class="l"><a href="#36"> 36: </a></span><span class="l"><a href="#37"> 37: </a></span><span class="l"><a href="#38"> 38: </a></span><span class="l"><a href="#39"> 39: </a></span><span class="l"><a href="#40"> 40: </a></span><span class="l"><a href="#41"> 41: </a></span><span class="l"><a href="#42"> 42: </a></span><span class="l"><a href="#43"> 43: </a></span><span class="l"><a href="#44"> 44: </a></span><span class="l"><a href="#45"> 45: </a></span><span class="l"><a href="#46"> 46: </a></span><span class="l"><a href="#47"> 47: </a></span><span class="l"><a href="#48"> 48: </a></span><span class="l"><a href="#49"> 49: </a></span><span class="l"><a href="#50"> 50: </a></span><span class="l"><a href="#51"> 51: </a></span><span class="l"><a href="#52"> 52: </a></span><span class="l"><a href="#53"> 53: </a></span><span class="l"><a href="#54"> 54: </a></span><span class="l"><a href="#55"> 55: </a></span><span class="l"><a href="#56"> 56: </a></span><span class="l"><a href="#57"> 57: </a></span><span class="l"><a href="#58"> 58: </a></span><span class="l"><a href="#59"> 59: </a></span><span class="l"><a href="#60"> 60: </a></span><span class="l"><a href="#61"> 61: </a></span><span class="l"><a href="#62"> 62: </a></span><span class="l"><a href="#63"> 63: </a></span><span class="l"><a href="#64"> 64: </a></span><span class="l"><a href="#65"> 65: </a></span><span class="l"><a href="#66"> 66: </a></span><span class="l"><a href="#67"> 67: </a></span><span class="l"><a href="#68"> 68: </a></span><span class="l"><a href="#69"> 69: </a></span><span class="l"><a href="#70"> 70: </a></span><span class="l"><a href="#71"> 71: </a></span><span class="l"><a href="#72"> 72: </a></span><span class="l"><a href="#73"> 73: </a></span><span class="l"><a href="#74"> 74: </a></span><span class="l"><a href="#75"> 75: </a></span><span class="l"><a href="#76"> 76: </a></span><span class="l"><a href="#77"> 77: </a></span><span class="l"><a href="#78"> 78: </a></span><span class="l"><a href="#79"> 79: </a></span><span class="l"><a href="#80"> 80: </a></span><span class="l"><a href="#81"> 81: </a></span><span class="l"><a href="#82"> 82: </a></span><span class="l"><a href="#83"> 83: </a></span><span class="l"><a href="#84"> 84: </a></span><span class="l"><a href="#85"> 85: </a></span><span class="l"><a href="#86"> 86: </a></span><span class="l"><a href="#87"> 87: </a></span><span class="l"><a href="#88"> 88: </a></span><span class="l"><a href="#89"> 89: </a></span><span class="l"><a href="#90"> 90: </a></span><span class="l"><a href="#91"> 91: </a></span><span class="l"><a href="#92"> 92: </a></span><span class="l"><a href="#93"> 93: </a></span><span class="l"><a href="#94"> 94: </a></span><span class="l"><a href="#95"> 95: </a></span><span class="l"><a href="#96"> 96: </a></span><span class="l"><a href="#97"> 97: </a></span><span class="l"><a href="#98"> 98: </a></span><span class="l"><a href="#99"> 99: </a></span><span class="l"><a href="#100">100: </a></span><span class="l"><a href="#101">101: </a></span><span class="l"><a href="#102">102: </a></span><span class="l"><a href="#103">103: </a></span><span class="l"><a href="#104">104: </a></span><span class="l"><a href="#105">105: </a></span><span class="l"><a href="#106">106: </a></span><span class="l"><a href="#107">107: </a></span><span class="l"><a href="#108">108: </a></span><span class="l"><a href="#109">109: </a></span><span class="l"><a href="#110">110: </a></span><span class="l"><a href="#111">111: </a></span><span class="l"><a href="#112">112: </a></span><span class="l"><a href="#113">113: </a></span><span class="l"><a href="#114">114: </a></span><span class="l"><a href="#115">115: </a></span><span class="l"><a href="#116">116: </a></span><span class="l"><a href="#117">117: </a></span><span class="l"><a href="#118">118: </a></span><span class="l"><a href="#119">119: </a></span><span class="l"><a href="#120">120: </a></span><span class="l"><a href="#121">121: </a></span><span class="l"><a href="#122">122: </a></span><span class="l"><a href="#123">123: </a></span><span class="l"><a href="#124">124: </a></span><span class="l"><a href="#125">125: </a></span><span class="l"><a href="#126">126: </a></span><span class="l"><a href="#127">127: </a></span><span class="l"><a href="#128">128: </a></span><span class="l"><a href="#129">129: </a></span><span class="l"><a href="#130">130: </a></span><span class="l"><a href="#131">131: </a></span><span class="l"><a href="#132">132: </a></span><span class="l"><a href="#133">133: </a></span><span class="l"><a href="#134">134: </a></span><span class="l"><a href="#135">135: </a></span><span class="l"><a href="#136">136: </a></span><span class="l"><a href="#137">137: </a></span><span class="l"><a href="#138">138: </a></span><span class="l"><a href="#139">139: </a></span><span class="l"><a href="#140">140: </a></span><span class="l"><a href="#141">141: </a></span><span class="l"><a href="#142">142: </a></span><span class="l"><a href="#143">143: </a></span><span class="l"><a href="#144">144: </a></span><span class="l"><a href="#145">145: </a></span><span class="l"><a href="#146">146: </a></span><span class="l"><a href="#147">147: </a></span><span class="l"><a href="#148">148: </a></span><span class="l"><a href="#149">149: </a></span><span class="l"><a href="#150">150: </a></span><span class="l"><a href="#151">151: </a></span><span class="l"><a href="#152">152: </a></span><span class="l"><a href="#153">153: </a></span><span class="l"><a href="#154">154: </a></span><span class="l"><a href="#155">155: </a></span><span class="l"><a href="#156">156: </a></span><span class="l"><a href="#157">157: </a></span><span class="l"><a href="#158">158: </a></span><span class="l"><a href="#159">159: </a></span><span class="l"><a href="#160">160: </a></span><span class="l"><a href="#161">161: </a></span><span class="l"><a href="#162">162: </a></span><span class="l"><a href="#163">163: </a></span><span class="l"><a href="#164">164: </a></span><span class="l"><a href="#165">165: </a></span><span class="l"><a href="#166">166: </a></span><span class="l"><a href="#167">167: </a></span><span class="l"><a href="#168">168: </a></span><span class="l"><a href="#169">169: </a></span><span class="l"><a href="#170">170: </a></span><span class="l"><a href="#171">171: </a></span><span class="l"><a href="#172">172: </a></span><span class="l"><a href="#173">173: </a></span><span class="l"><a href="#174">174: </a></span><span class="l"><a href="#175">175: </a></span><span class="l"><a href="#176">176: </a></span><span class="l"><a href="#177">177: </a></span><span class="l"><a href="#178">178: </a></span><span class="l"><a href="#179">179: </a></span><span class="l"><a href="#180">180: </a></span></span><span class="l"><a href="#181">181: </a></span></span><span class="l"><a href="#182">182: </a></span></span><span class="l"><a href="#183">183: </a></span><span class="l"><a href="#184">184: </a></span><span class="l"><a href="#185">185: </a></span><span class="l"><a href="#186">186: </a></span><span class="l"><a href="#187">187: </a></span><span class="l"><a href="#188">188: </a></span><span class="l"><a href="#189">189: </a></span></span><span class="l"><a href="#190">190: </a></span></span><span class="l"><a href="#191">191: </a></span></span><span class="l"><a href="#192">192: </a></span><span class="l"><a href="#193">193: </a></span><span class="l"><a href="#194">194: </a></span><span class="l"><a href="#195">195: </a></span><span class="l"><a href="#196">196: </a></span><span class="l"><a href="#197">197: </a></span><span class="l"><a href="#198">198: </a></span><span class="l"><a href="#199">199: </a></span><span class="l"><a href="#200">200: </a></span><span class="l"><a href="#201">201: </a></span><span class="l"><a href="#202">202: </a></span><span class="l"><a href="#203">203: </a></span><span class="l"><a href="#204">204: </a></span><span class="l"><a href="#205">205: </a></span><span class="l"><a href="#206">206: </a></span></span><span class="l"><a href="#207">207: </a></span></span><span class="l"><a href="#208">208: </a></span></span><span class="l"><a href="#209">209: </a></span><span class="l"><a href="#210">210: </a></span><span class="l"><a href="#211">211: </a></span><span class="l"><a href="#212">212: </a></span><span class="l"><a href="#213">213: </a></span><span class="l"><a href="#214">214: </a></span><span class="l"><a href="#215">215: </a></span></span><span class="l"><a href="#216">216: </a></span></span><span class="l"><a href="#217">217: </a></span></span><span class="l"><a href="#218">218: </a></span><span class="l"><a href="#219">219: </a></span><span class="l"><a href="#220">220: </a></span><span class="l"><a href="#221">221: </a></span><span class="l"><a href="#222">222: </a></span><span class="l"><a href="#223">223: </a></span><span class="l"><a href="#224">224: </a></span></span><span class="l"><a href="#225">225: </a></span></span><span class="l"><a href="#226">226: </a></span></span><span class="l"><a href="#227">227: </a></span><span class="l"><a href="#228">228: </a></span><span class="l"><a href="#229">229: </a></span><span class="l"><a href="#230">230: </a></span><span class="l"><a href="#231">231: </a></span><span class="l"><a href="#232">232: </a></span><span class="l"><a href="#233">233: </a></span><span class="l"><a href="#234">234: </a></span><span class="l"><a href="#235">235: </a></span><span class="l"><a href="#236">236: </a></span><span class="l"><a href="#237">237: </a></span><span class="l"><a href="#238">238: </a></span><span class="l"><a href="#239">239: </a></span><span class="l"><a href="#240">240: </a></span><span class="l"><a href="#241">241: </a></span><span class="l"><a href="#242">242: </a></span><span class="l"><a href="#243">243: </a></span><span class="l"><a href="#244">244: </a></span><span class="l"><a href="#245">245: </a></span><span class="l"><a href="#246">246: </a></span><span class="l"><a href="#247">247: </a></span><span class="l"><a href="#248">248: </a></span><span class="l"><a href="#249">249: </a></span><span class="l"><a href="#250">250: </a></span><span class="l"><a href="#251">251: </a></span><span class="l"><a href="#252">252: </a></span><span class="l"><a href="#253">253: </a></span><span class="l"><a href="#254">254: </a></span><span class="l"><a href="#255">255: </a></span><span class="l"><a href="#256">256: </a></span><span class="l"><a href="#257">257: </a></span><span class="l"><a href="#258">258: </a></span><span class="l"><a href="#259">259: </a></span><span class="l"><a href="#260">260: </a></span><span class="l"><a href="#261">261: </a></span><span class="l"><a href="#262">262: </a></span><span class="l"><a href="#263">263: </a></span><span class="l"><a href="#264">264: </a></span><span class="l"><a href="#265">265: </a></span><span class="l"><a href="#266">266: </a></span><span class="l"><a href="#267">267: </a></span><span class="l"><a href="#268">268: </a></span><span class="l"><a href="#269">269: </a></span><span class="l"><a href="#270">270: </a></span><span class="l"><a href="#271">271: </a></span><span class="l"><a href="#272">272: </a></span><span class="l"><a href="#273">273: </a></span><span class="l"><a href="#274">274: </a></span><span class="l"><a href="#275">275: </a></span><span class="l"><a href="#276">276: </a></span><span class="l"><a href="#277">277: </a></span><span class="l"><a href="#278">278: </a></span><span class="l"><a href="#279">279: </a></span><span class="l"><a href="#280">280: </a></span><span class="l"><a href="#281">281: </a></span><span class="l"><a href="#282">282: </a></span><span class="l"><a href="#283">283: </a></span><span class="l"><a href="#284">284: </a></span><span class="l"><a href="#285">285: </a></span><span class="l"><a href="#286">286: </a></span><span class="l"><a href="#287">287: </a></span><span class="l"><a href="#288">288: </a></span><span class="l"><a href="#289">289: </a></span><span class="l"><a href="#290">290: </a></span><span class="l"><a href="#291">291: </a></span><span class="l"><a href="#292">292: </a></span><span class="l"><a href="#293">293: </a></span><span class="l"><a href="#294">294: </a></span><span class="l"><a href="#295">295: </a></span><span class="l"><a href="#296">296: </a></span><span class="l"><a href="#297">297: </a></span><span class="l"><a href="#298">298: </a></span><span class="l"><a href="#299">299: </a></span><span class="l"><a href="#300">300: </a></span><span class="l"><a href="#301">301: </a></span><span class="l"><a href="#302">302: </a></span><span class="l"><a href="#303">303: </a></span><span class="l"><a href="#304">304: </a></span><span class="l"><a href="#305">305: </a></span><span class="l"><a href="#306">306: </a></span><span class="l"><a href="#307">307: </a></span><span class="l"><a href="#308">308: </a></span><span class="l"><a href="#309">309: </a></span><span class="l"><a href="#310">310: </a></span><span class="l"><a href="#311">311: </a></span><span class="l"><a href="#312">312: </a></span><span class="l"><a href="#313">313: </a></span><span class="l"><a href="#314">314: </a></span><span class="l"><a href="#315">315: </a></span><span class="l"><a href="#316">316: </a></span><span class="l"><a href="#317">317: </a></span><span class="l"><a href="#318">318: </a></span><span class="l"><a href="#319">319: </a></span><span class="l"><a href="#320">320: </a></span><span class="l"><a href="#321">321: </a></span><span class="l"><a href="#322">322: </a></span><span class="l"><a href="#323">323: </a></span><span class="l"><a href="#324">324: </a></span><span class="l"><a href="#325">325: </a></span><span class="l"><a href="#326">326: </a></span><span class="l"><a href="#327">327: </a></span><span class="l"><a href="#328">328: </a></span><span class="l"><a href="#329">329: </a></span><span class="l"><a href="#330">330: </a></span><span class="l"><a href="#331">331: </a></span><span class="l"><a href="#332">332: </a></span><span class="l"><a href="#333">333: </a></span></code></pre>
|
150 |
+
<pre class="code"><code><span id="1" class="l"><span class="xlang"><?php</span>
|
151 |
+
</span><span id="2" class="l">
|
152 |
+
</span><span id="3" class="l"><span class="php-keyword1">namespace</span> WPGMZA;
|
153 |
+
</span><span id="4" class="l">
|
154 |
+
</span><span id="5" class="l"><span class="php-keyword1">class</span> AjaxTable <span class="php-keyword1">extends</span> Table
|
155 |
+
</span><span id="6" class="l">{
|
156 |
+
</span><span id="7" class="l"> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> __construct(<span class="php-var">$table_name</span>, <span class="php-var">$rest_api_route</span>, <span class="php-var">$ajax_parameters</span>=<span class="php-keyword1">null</span>)
|
157 |
+
</span><span id="8" class="l"> {
|
158 |
+
</span><span id="9" class="l"> Table::__construct(<span class="php-var">$table_name</span>);
|
159 |
+
</span><span id="10" class="l">
|
160 |
+
</span><span id="11" class="l"> <span class="php-var">$this</span>->element->setAttribute(<span class="php-quote">'data-wpgmza-php-class'</span>, <span class="php-keyword2">get_called_class</span>());
|
161 |
+
</span><span id="12" class="l">
|
162 |
+
</span><span id="13" class="l"> <span class="php-var">$this</span>->setRestAPIRoute(<span class="php-var">$rest_api_route</span>);
|
163 |
+
</span><span id="14" class="l">
|
164 |
+
</span><span id="15" class="l"> <span class="php-keyword1">if</span>(<span class="php-var">$ajax_parameters</span>)
|
165 |
+
</span><span id="16" class="l"> <span class="php-var">$this</span>->setAjaxParameters(<span class="php-var">$ajax_parameters</span>);
|
166 |
+
</span><span id="17" class="l"> }
|
167 |
+
</span><span id="18" class="l">
|
168 |
+
</span><span id="19" class="l"> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> getAjaxParameters()
|
169 |
+
</span><span id="20" class="l"> {
|
170 |
+
</span><span id="21" class="l"> <span class="php-keyword1">return</span> <span class="php-var">$this</span>->getAttributeParams(<span class="php-quote">'data-wpgmza-ajax-parameters'</span>);
|
171 |
+
</span><span id="22" class="l"> }
|
172 |
+
</span><span id="23" class="l">
|
173 |
+
</span><span id="24" class="l"> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> setAjaxParameters(<span class="php-var">$ajax_parameters</span>)
|
174 |
+
</span><span id="25" class="l"> {
|
175 |
+
</span><span id="26" class="l"> <span class="php-var">$this</span>->setAttributeParams(<span class="php-quote">'data-wpgmza-ajax-parameters'</span>, <span class="php-var">$ajax_parameters</span>);
|
176 |
+
</span><span id="27" class="l"> }
|
177 |
+
</span><span id="28" class="l">
|
178 |
+
</span><span id="29" class="l"> <span class="php-keyword1">protected</span> <span class="php-keyword1">function</span> getAttributeParams(<span class="php-var">$name</span>)
|
179 |
+
</span><span id="30" class="l"> {
|
180 |
+
</span><span id="31" class="l"> <span class="php-keyword1">if</span>(!<span class="php-var">$this</span>->element->hasAttribute(<span class="php-var">$name</span>))
|
181 |
+
</span><span id="32" class="l"> <span class="php-keyword1">return</span> (object)<span class="php-keyword1">array</span>();
|
182 |
+
</span><span id="33" class="l">
|
183 |
+
</span><span id="34" class="l"> <span class="php-keyword1">return</span> <span class="php-keyword2">json_decode</span>(<span class="php-var">$this</span>->element->getAttribute(<span class="php-var">$name</span>));
|
184 |
+
</span><span id="35" class="l"> }
|
185 |
+
</span><span id="36" class="l">
|
186 |
+
</span><span id="37" class="l"> <span class="php-keyword1">protected</span> <span class="php-keyword1">function</span> setAttributeParams(<span class="php-var">$name</span>, <span class="php-var">$params</span>)
|
187 |
+
</span><span id="38" class="l"> {
|
188 |
+
</span><span id="39" class="l"> <span class="php-keyword1">if</span>(!(<span class="php-keyword2">is_array</span>(<span class="php-var">$params</span>) || <span class="php-keyword2">is_object</span>(<span class="php-var">$params</span>)))
|
189 |
+
</span><span id="40" class="l"> <span class="php-keyword1">throw</span> <span class="php-keyword1">new</span> \Exception(<span class="php-quote">'Parameters must be JSON serializable'</span>);
|
190 |
+
</span><span id="41" class="l">
|
191 |
+
</span><span id="42" class="l"> <span class="php-var">$obj</span> = <span class="php-var">$this</span>->getAttributeParams(<span class="php-var">$name</span>);
|
192 |
+
</span><span id="43" class="l">
|
193 |
+
</span><span id="44" class="l"> <span class="php-keyword1">foreach</span>(<span class="php-var">$params</span> <span class="php-keyword1">as</span> <span class="php-var">$key</span> => <span class="php-var">$value</span>)
|
194 |
+
</span><span id="45" class="l"> <span class="php-var">$obj</span>->{<span class="php-var">$key</span>} = <span class="php-var">$value</span>;
|
195 |
+
</span><span id="46" class="l">
|
196 |
+
</span><span id="47" class="l"> <span class="php-var">$this</span>->element->setAttribute(<span class="php-var">$name</span>, <span class="php-keyword2">json_encode</span>(<span class="php-var">$obj</span>));
|
197 |
+
</span><span id="48" class="l"> }
|
198 |
+
</span><span id="49" class="l">
|
199 |
+
</span><span id="50" class="l"> <span class="php-keyword1">protected</span> <span class="php-keyword1">function</span> getRestAPIRoute()
|
200 |
+
</span><span id="51" class="l"> {
|
201 |
+
</span><span id="52" class="l"> <span class="php-keyword1">return</span> <span class="php-var">$this</span>->element->getAttribute(<span class="php-quote">'data-wpgmza-rest-api-route'</span>);
|
202 |
+
</span><span id="53" class="l"> }
|
203 |
+
</span><span id="54" class="l">
|
204 |
+
</span><span id="55" class="l"> <span class="php-keyword1">protected</span> <span class="php-keyword1">function</span> setRestAPIRoute(<span class="php-var">$route</span>)
|
205 |
+
</span><span id="56" class="l"> {
|
206 |
+
</span><span id="57" class="l"> <span class="php-keyword1">if</span>(!<span class="php-keyword2">is_string</span>(<span class="php-var">$route</span>))
|
207 |
+
</span><span id="58" class="l"> <span class="php-keyword1">throw</span> <span class="php-keyword1">new</span> \Exception(<span class="php-quote">'Invalid REST API route'</span>);
|
208 |
+
</span><span id="59" class="l">
|
209 |
+
</span><span id="60" class="l"> <span class="php-var">$this</span>->element->setAttribute(<span class="php-quote">'data-wpgmza-rest-api-route'</span>, <span class="php-var">$route</span>);
|
210 |
+
</span><span id="61" class="l"> }
|
211 |
+
</span><span id="62" class="l">
|
212 |
+
</span><span id="63" class="l"> <span class="php-keyword1">protected</span> <span class="php-keyword1">function</span> getColumns()
|
213 |
+
</span><span id="64" class="l"> {
|
214 |
+
</span><span id="65" class="l"> <span class="php-keyword1">throw</span> <span class="php-keyword1">new</span> \Exception(<span class="php-quote">'Abstract function called'</span>);
|
215 |
+
</span><span id="66" class="l"> }
|
216 |
+
</span><span id="67" class="l">
|
217 |
+
</span><span id="68" class="l"> <span class="php-keyword1">protected</span> <span class="php-keyword1">function</span> getColumnNameByIndex(<span class="php-var">$index</span>)
|
218 |
+
</span><span id="69" class="l"> {
|
219 |
+
</span><span id="70" class="l"> <span class="php-var">$i</span> = <span class="php-num">0</span>;
|
220 |
+
</span><span id="71" class="l"> <span class="php-var">$columns</span> = <span class="php-var">$this</span>->getColumns();
|
221 |
+
</span><span id="72" class="l">
|
222 |
+
</span><span id="73" class="l"> <span class="php-keyword1">foreach</span>(<span class="php-var">$columns</span> <span class="php-keyword1">as</span> <span class="php-var">$key</span> => <span class="php-var">$value</span>)
|
223 |
+
</span><span id="74" class="l"> {
|
224 |
+
</span><span id="75" class="l"> <span class="php-keyword1">if</span>(<span class="php-var">$i</span>++ == <span class="php-var">$index</span>)
|
225 |
+
</span><span id="76" class="l"> <span class="php-keyword1">return</span> <span class="php-var">$key</span>;
|
226 |
+
</span><span id="77" class="l"> }
|
227 |
+
</span><span id="78" class="l">
|
228 |
+
</span><span id="79" class="l"> <span class="php-keyword1">return</span> <span class="php-keyword1">null</span>;
|
229 |
+
</span><span id="80" class="l"> }
|
230 |
+
</span><span id="81" class="l">
|
231 |
+
</span><span id="82" class="l"> <span class="php-keyword1">protected</span> <span class="php-keyword1">function</span> getOrderBy(<span class="php-var">$input_params</span>, <span class="php-var">$column_keys</span>)
|
232 |
+
</span><span id="83" class="l"> {
|
233 |
+
</span><span id="84" class="l"> <span class="php-keyword1">return</span> <span class="php-quote">'id'</span>;
|
234 |
+
</span><span id="85" class="l"> }
|
235 |
+
</span><span id="86" class="l">
|
236 |
+
</span><span id="87" class="l"> <span class="php-keyword1">protected</span> <span class="php-keyword1">function</span> getOrderDirection(<span class="php-var">$input_params</span>)
|
237 |
+
</span><span id="88" class="l"> {
|
238 |
+
</span><span id="89" class="l"> <span class="php-keyword1">return</span> <span class="php-quote">'DESC'</span>;
|
239 |
+
</span><span id="90" class="l"> }
|
240 |
+
</span><span id="91" class="l">
|
241 |
+
</span><span id="92" class="l"> <span class="php-keyword1">protected</span> <span class="php-keyword1">function</span> getWhereClause(<span class="php-var">$input_params</span>, &<span class="php-var">$query_params</span>, <span class="php-var">$clause_for_total</span>=<span class="php-keyword1">false</span>)
|
242 |
+
</span><span id="93" class="l"> {
|
243 |
+
</span><span id="94" class="l"> <span class="php-keyword1">global</span> <span class="php-var">$wpgmza</span>;
|
244 |
+
</span><span id="95" class="l">
|
245 |
+
</span><span id="96" class="l"> <span class="php-var">$clauses</span> = <span class="php-keyword1">array</span>();
|
246 |
+
</span><span id="97" class="l">
|
247 |
+
</span><span id="98" class="l"> <span class="php-keyword1">if</span>(<span class="php-keyword1">isset</span>(<span class="php-var">$input_params</span>[<span class="php-quote">'overrideMarkerIDs'</span>]))
|
248 |
+
</span><span id="99" class="l"> {
|
249 |
+
</span><span id="100" class="l"> <span class="php-var">$markerIDs</span> = <span class="php-var">$input_params</span>[<span class="php-quote">'overrideMarkerIDs'</span>];
|
250 |
+
</span><span id="101" class="l">
|
251 |
+
</span><span id="102" class="l"> <span class="php-keyword1">if</span>(<span class="php-keyword2">is_string</span>(<span class="php-var">$markerIDs</span>))
|
252 |
+
</span><span id="103" class="l"> <span class="php-var">$markerIDs</span> = <span class="php-keyword2">explode</span>(<span class="php-quote">','</span>, <span class="php-var">$markerIDs</span>);
|
253 |
+
</span><span id="104" class="l">
|
254 |
+
</span><span id="105" class="l"> <span class="php-keyword1">if</span>(<span class="php-keyword1">empty</span>(<span class="php-var">$markerIDs</span>))
|
255 |
+
</span><span id="106" class="l"> <span class="php-keyword1">return</span> <span class="php-quote">'0'</span>;
|
256 |
+
</span><span id="107" class="l"> <span class="php-keyword1">else</span>
|
257 |
+
</span><span id="108" class="l"> <span class="php-keyword1">return</span> <span class="php-quote">'id IN ('</span> . <span class="php-keyword2">implode</span>(<span class="php-quote">', '</span>, <span class="php-keyword2">array_map</span>(<span class="php-quote">'intval'</span>, <span class="php-var">$markerIDs</span>)) . <span class="php-quote">')'</span>;
|
258 |
+
</span><span id="109" class="l"> }
|
259 |
+
</span><span id="110" class="l">
|
260 |
+
</span><span id="111" class="l"> <span class="php-keyword1">if</span>(<span class="php-keyword1">isset</span>(<span class="php-var">$input_params</span>[<span class="php-quote">'mashup_ids'</span>]))
|
261 |
+
</span><span id="112" class="l"> {
|
262 |
+
</span><span id="113" class="l"> <span class="php-comment">// NB: This is Pro logic and should be moved ideally</span>
|
263 |
+
</span><span id="114" class="l"> <span class="php-var">$mashup_ids</span> = <span class="php-var">$input_params</span>[<span class="php-quote">'mashup_ids'</span>];
|
264 |
+
</span><span id="115" class="l"> <span class="php-var">$placeholders</span> = <span class="php-keyword2">implode</span>(<span class="php-quote">','</span>, <span class="php-keyword2">array_fill</span>(<span class="php-num">0</span>, <span class="php-keyword2">count</span>(<span class="php-var">$mashup_ids</span>), <span class="php-quote">'%d'</span>));
|
265 |
+
</span><span id="116" class="l">
|
266 |
+
</span><span id="117" class="l"> <span class="php-var">$clauses</span>[<span class="php-quote">'mashup_ids'</span>] = <span class="php-quote">'map_id IN ('</span> . <span class="php-var">$placeholders</span>. <span class="php-quote">')'</span>;
|
267 |
+
</span><span id="118" class="l">
|
268 |
+
</span><span id="119" class="l"> <span class="php-keyword1">for</span>(<span class="php-var">$i</span> = <span class="php-num">0</span>; <span class="php-var">$i</span> < <span class="php-keyword2">count</span>(<span class="php-var">$mashup_ids</span>); <span class="php-var">$i</span>++)
|
269 |
+
</span><span id="120" class="l"> <span class="php-var">$query_params</span>[] = <span class="php-var">$mashup_ids</span>[<span class="php-var">$i</span>];
|
270 |
+
</span><span id="121" class="l"> }
|
271 |
+
</span><span id="122" class="l"> <span class="php-keyword1">else</span> <span class="php-keyword1">if</span>(<span class="php-keyword1">isset</span>(<span class="php-var">$input_params</span>[<span class="php-quote">'map_id'</span>]))
|
272 |
+
</span><span id="123" class="l"> {
|
273 |
+
</span><span id="124" class="l"> <span class="php-var">$clauses</span>[<span class="php-quote">'map_id'</span>] = <span class="php-quote">'map_id=%d'</span>;
|
274 |
+
</span><span id="125" class="l"> <span class="php-var">$query_params</span>[] = <span class="php-var">$input_params</span>[<span class="php-quote">'map_id'</span>];
|
275 |
+
</span><span id="126" class="l"> }
|
276 |
+
</span><span id="127" class="l">
|
277 |
+
</span><span id="128" class="l"> <span class="php-keyword1">if</span>(!(is_admin() || (<span class="php-keyword2">preg_match</span>(<span class="php-quote">'/page=wp-google-maps-menu/'</span>, <span class="php-var">$_SERVER</span>[<span class="php-quote">'HTTP_REFERER'</span>]) && current_user_can(<span class="php-quote">'administrator'</span>))))
|
278 |
+
</span><span id="129" class="l"> {
|
279 |
+
</span><span id="130" class="l"> <span class="php-var">$clauses</span>[<span class="php-quote">'approved'</span>] = <span class="php-quote">'approved=%d'</span>;
|
280 |
+
</span><span id="131" class="l"> <span class="php-var">$query_params</span>[] = <span class="php-num">1</span>;
|
281 |
+
</span><span id="132" class="l"> }
|
282 |
+
</span><span id="133" class="l">
|
283 |
+
</span><span id="134" class="l"> <span class="php-keyword1">if</span>(!<span class="php-var">$clause_for_total</span>)
|
284 |
+
</span><span id="135" class="l"> {
|
285 |
+
</span><span id="136" class="l"> <span class="php-var">$search_clause</span> = <span class="php-var">$this</span>->getSearchClause(<span class="php-var">$input_params</span>, <span class="php-var">$query_params</span>);
|
286 |
+
</span><span id="137" class="l"> <span class="php-keyword1">if</span>(!<span class="php-keyword1">empty</span>(<span class="php-var">$search_clause</span>))
|
287 |
+
</span><span id="138" class="l"> <span class="php-var">$clauses</span>[<span class="php-quote">'search'</span>] = <span class="php-var">$search_clause</span>;
|
288 |
+
</span><span id="139" class="l"> }
|
289 |
+
</span><span id="140" class="l">
|
290 |
+
</span><span id="141" class="l"> <span class="php-keyword1">if</span>(<span class="php-keyword1">empty</span>(<span class="php-var">$clauses</span>))
|
291 |
+
</span><span id="142" class="l"> <span class="php-keyword1">return</span> <span class="php-quote">'1'</span>;
|
292 |
+
</span><span id="143" class="l">
|
293 |
+
</span><span id="144" class="l"> <span class="php-keyword1">return</span> <span class="php-keyword2">implode</span>(<span class="php-quote">' AND '</span>, <span class="php-var">$clauses</span>);
|
294 |
+
</span><span id="145" class="l"> }
|
295 |
+
</span><span id="146" class="l">
|
296 |
+
</span><span id="147" class="l"> <span class="php-keyword1">protected</span> <span class="php-keyword1">function</span> getSearchClause(<span class="php-var">$input_params</span>, &<span class="php-var">$query_params</span>, <span class="php-var">$exclude_columns</span>=<span class="php-keyword1">null</span>)
|
297 |
+
</span><span id="148" class="l"> {
|
298 |
+
</span><span id="149" class="l"> <span class="php-keyword1">global</span> <span class="php-var">$wpdb</span>;
|
299 |
+
</span><span id="150" class="l">
|
300 |
+
</span><span id="151" class="l"> <span class="php-keyword1">if</span>(<span class="php-keyword1">isset</span>(<span class="php-var">$input_params</span>[<span class="php-quote">'overrideMarkerIDs'</span>]))
|
301 |
+
</span><span id="152" class="l"> <span class="php-keyword1">return</span> <span class="php-quote">""</span>;
|
302 |
+
</span><span id="153" class="l">
|
303 |
+
</span><span id="154" class="l"> <span class="php-keyword1">if</span>(<span class="php-keyword1">empty</span>(<span class="php-var">$input_params</span>[<span class="php-quote">'search'</span>][<span class="php-quote">'value'</span>]))
|
304 |
+
</span><span id="155" class="l"> <span class="php-keyword1">return</span> <span class="php-quote">""</span>;
|
305 |
+
</span><span id="156" class="l">
|
306 |
+
</span><span id="157" class="l"> <span class="php-var">$columns</span> = <span class="php-var">$this</span>->getColumns();
|
307 |
+
</span><span id="158" class="l">
|
308 |
+
</span><span id="159" class="l"> <span class="php-var">$clauses</span> = <span class="php-keyword1">array</span>();
|
309 |
+
</span><span id="160" class="l"> <span class="php-var">$term</span> = <span class="php-var">$input_params</span>[<span class="php-quote">'search'</span>][<span class="php-quote">'value'</span>];
|
310 |
+
</span><span id="161" class="l"> <span class="php-var">$subclauses</span> = <span class="php-keyword1">array</span>();
|
311 |
+
</span><span id="162" class="l">
|
312 |
+
</span><span id="163" class="l"> <span class="php-keyword1">foreach</span>(<span class="php-var">$columns</span> <span class="php-keyword1">as</span> <span class="php-var">$key</span> => <span class="php-var">$label</span>)
|
313 |
+
</span><span id="164" class="l"> {
|
314 |
+
</span><span id="165" class="l"> <span class="php-keyword1">if</span>(<span class="php-var">$exclude_columns</span> && <span class="php-keyword2">array_search</span>(<span class="php-var">$key</span>, <span class="php-var">$exclude_columns</span>) !== <span class="php-keyword1">false</span>)
|
315 |
+
</span><span id="166" class="l"> <span class="php-keyword1">continue</span>;
|
316 |
+
</span><span id="167" class="l">
|
317 |
+
</span><span id="168" class="l"> <span class="php-keyword2">array_push</span>(<span class="php-var">$subclauses</span>, <span class="php-quote">"</span><span class="php-var">$key</span><span class="php-quote"> LIKE %s"</span>);
|
318 |
+
</span><span id="169" class="l"> <span class="php-keyword2">array_push</span>(<span class="php-var">$query_params</span>, <span class="php-quote">"%%"</span> . <span class="php-var">$wpdb</span>->esc_like(<span class="php-var">$term</span>) . <span class="php-quote">"%%"</span>);
|
319 |
+
</span><span id="170" class="l"> }
|
320 |
+
</span><span id="171" class="l">
|
321 |
+
</span><span id="172" class="l"> <span class="php-keyword1">if</span>(<span class="php-keyword1">empty</span>(<span class="php-var">$subclauses</span>))
|
322 |
+
</span><span id="173" class="l"> <span class="php-keyword1">return</span> <span class="php-quote">''</span>;
|
323 |
+
</span><span id="174" class="l">
|
324 |
+
</span><span id="175" class="l"> <span class="php-var">$result</span> = <span class="php-quote">"("</span> . <span class="php-keyword2">implode</span>(<span class="php-quote">' OR '</span>, <span class="php-var">$subclauses</span>) . <span class="php-quote">")"</span>;
|
325 |
+
</span><span id="176" class="l">
|
326 |
+
</span><span id="177" class="l"> <span class="php-keyword1">return</span> <span class="php-var">$result</span>;
|
327 |
+
</span><span id="178" class="l"> }
|
328 |
+
</span><span id="179" class="l">
|
329 |
+
</span><span id="180" class="l"> <span class="php-comment">/**
|
330 |
+
</span></span><span id="181" class="l"><span class="php-comment"> * Gets the HAVING clause for the table query
|
331 |
+
</span></span><span id="182" class="l"><span class="php-comment"> * @return string
|
332 |
+
</span></span><span id="183" class="l"><span class="php-comment"> */</span>
|
333 |
+
</span><span id="184" class="l"> <span class="php-keyword1">protected</span> <span class="php-keyword1">function</span> getHavingClause(<span class="php-var">$input_params</span>, &<span class="php-var">$query_params</span>, <span class="php-var">$exclude_columns</span>=<span class="php-keyword1">null</span>)
|
334 |
+
</span><span id="185" class="l"> {
|
335 |
+
</span><span id="186" class="l"> <span class="php-keyword1">return</span> <span class="php-quote">''</span>;
|
336 |
+
</span><span id="187" class="l"> }
|
337 |
+
</span><span id="188" class="l">
|
338 |
+
</span><span id="189" class="l"> <span class="php-comment">/**
|
339 |
+
</span></span><span id="190" class="l"><span class="php-comment"> * Override this function to add additional columns to the query
|
340 |
+
</span></span><span id="191" class="l"><span class="php-comment"> * @return array
|
341 |
+
</span></span><span id="192" class="l"><span class="php-comment"> */</span>
|
342 |
+
</span><span id="193" class="l"> <span class="php-keyword1">protected</span> <span class="php-keyword1">function</span> filterColumns(&<span class="php-var">$columns</span>, <span class="php-var">$input_params</span>)
|
343 |
+
</span><span id="194" class="l"> {
|
344 |
+
</span><span id="195" class="l"> <span class="php-keyword1">foreach</span>(<span class="php-var">$columns</span> <span class="php-keyword1">as</span> <span class="php-var">$key</span> => <span class="php-var">$value</span>)
|
345 |
+
</span><span id="196" class="l"> {
|
346 |
+
</span><span id="197" class="l"> <span class="php-keyword1">if</span>(<span class="php-var">$value</span> == <span class="php-quote">'mark'</span>)
|
347 |
+
</span><span id="198" class="l"> <span class="php-var">$columns</span>[<span class="php-var">$key</span>] = <span class="php-quote">'\'<input type="checkbox" name="mark"/>\' AS mark'</span>;
|
348 |
+
</span><span id="199" class="l"> <span class="php-comment">//else</span>
|
349 |
+
</span><span id="200" class="l"> <span class="php-comment">//$columns[$key] = "`$value`";</span>
|
350 |
+
</span><span id="201" class="l"> }
|
351 |
+
</span><span id="202" class="l">
|
352 |
+
</span><span id="203" class="l"> <span class="php-keyword1">return</span> <span class="php-var">$columns</span>;
|
353 |
+
</span><span id="204" class="l"> }
|
354 |
+
</span><span id="205" class="l">
|
355 |
+
</span><span id="206" class="l"> <span class="php-comment">/**
|
356 |
+
</span></span><span id="207" class="l"><span class="php-comment"> * Override this function to manipulate data before it's converted to datatables numeric array format
|
357 |
+
</span></span><span id="208" class="l"><span class="php-comment"> * @return array
|
358 |
+
</span></span><span id="209" class="l"><span class="php-comment"> */</span>
|
359 |
+
</span><span id="210" class="l"> <span class="php-keyword1">protected</span> <span class="php-keyword1">function</span> filterResults(&<span class="php-var">$rows</span>)
|
360 |
+
</span><span id="211" class="l"> {
|
361 |
+
</span><span id="212" class="l"> <span class="php-keyword1">return</span> <span class="php-var">$rows</span>;
|
362 |
+
</span><span id="213" class="l"> }
|
363 |
+
</span><span id="214" class="l">
|
364 |
+
</span><span id="215" class="l"> <span class="php-comment">/**
|
365 |
+
</span></span><span id="216" class="l"><span class="php-comment"> * Function can be used to override order by column
|
366 |
+
</span></span><span id="217" class="l"><span class="php-comment"> * @return string
|
367 |
+
</span></span><span id="218" class="l"><span class="php-comment"> */</span>
|
368 |
+
</span><span id="219" class="l"> <span class="php-keyword1">protected</span> <span class="php-keyword1">function</span> filterOrderBy(<span class="php-var">$orderBy</span>, <span class="php-var">$keys</span>)
|
369 |
+
</span><span id="220" class="l"> {
|
370 |
+
</span><span id="221" class="l"> <span class="php-keyword1">return</span> <span class="php-var">$orderBy</span>;
|
371 |
+
</span><span id="222" class="l"> }
|
372 |
+
</span><span id="223" class="l">
|
373 |
+
</span><span id="224" class="l"> <span class="php-comment">/**
|
374 |
+
</span></span><span id="225" class="l"><span class="php-comment"> * Function can be used to override order by column
|
375 |
+
</span></span><span id="226" class="l"><span class="php-comment"> * @return string
|
376 |
+
</span></span><span id="227" class="l"><span class="php-comment"> */</span>
|
377 |
+
</span><span id="228" class="l"> <span class="php-keyword1">protected</span> <span class="php-keyword1">function</span> filterOrderDirection(<span class="php-var">$orderDirection</span>)
|
378 |
+
</span><span id="229" class="l"> {
|
379 |
+
</span><span id="230" class="l"> <span class="php-keyword1">return</span> <span class="php-var">$orderDirection</span>;
|
380 |
+
</span><span id="231" class="l"> }
|
381 |
+
</span><span id="232" class="l">
|
382 |
+
</span><span id="233" class="l"> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> getRecords(<span class="php-var">$input_params</span>)
|
383 |
+
</span><span id="234" class="l"> {
|
384 |
+
</span><span id="235" class="l"> <span class="php-keyword1">global</span> <span class="php-var">$wpdb</span>;
|
385 |
+
</span><span id="236" class="l"> <span class="php-keyword1">global</span> <span class="php-var">$wpgmza</span>;
|
386 |
+
</span><span id="237" class="l">
|
387 |
+
</span><span id="238" class="l"> <span class="php-comment">// Build query</span>
|
388 |
+
</span><span id="239" class="l"> <span class="php-var">$columns</span> = <span class="php-var">$this</span>->getColumns();
|
389 |
+
</span><span id="240" class="l"> <span class="php-var">$keys</span> = <span class="php-keyword2">array_keys</span>(<span class="php-var">$columns</span>);
|
390 |
+
</span><span id="241" class="l">
|
391 |
+
</span><span id="242" class="l"> <span class="php-var">$query_params</span> = <span class="php-keyword1">array</span>();
|
392 |
+
</span><span id="243" class="l"> <span class="php-var">$total_query_params</span> = <span class="php-keyword1">array</span>();
|
393 |
+
</span><span id="244" class="l">
|
394 |
+
</span><span id="245" class="l"> <span class="php-comment">// Where / Having</span>
|
395 |
+
</span><span id="246" class="l"> <span class="php-var">$where</span> = <span class="php-var">$this</span>->getWhereClause(<span class="php-var">$input_params</span>, <span class="php-var">$query_params</span>);
|
396 |
+
</span><span id="247" class="l"> <span class="php-var">$having</span> = <span class="php-var">$this</span>->getHavingClause(<span class="php-var">$input_params</span>, <span class="php-var">$query_params</span>);
|
397 |
+
</span><span id="248" class="l">
|
398 |
+
</span><span id="249" class="l"> <span class="php-comment">// Order by</span>
|
399 |
+
</span><span id="250" class="l"> <span class="php-var">$order_column</span> = <span class="php-var">$this</span>->filterOrderBy( <span class="php-var">$this</span>->getOrderBy(<span class="php-var">$input_params</span>, <span class="php-var">$keys</span>), <span class="php-var">$keys</span> );
|
400 |
+
</span><span id="251" class="l"> <span class="php-var">$order_dir</span> = <span class="php-var">$this</span>->filterOrderDirection( <span class="php-var">$this</span>->getOrderDirection(<span class="php-var">$input_params</span>) );
|
401 |
+
</span><span id="252" class="l">
|
402 |
+
</span><span id="253" class="l"> <span class="php-comment">// Columns to select</span>
|
403 |
+
</span><span id="254" class="l"> <span class="php-var">$columns</span> = <span class="php-var">$this</span>->filterColumns(<span class="php-var">$keys</span>, <span class="php-var">$input_params</span>);
|
404 |
+
</span><span id="255" class="l">
|
405 |
+
</span><span id="256" class="l"> <span class="php-var">$imploded</span> = <span class="php-keyword2">implode</span>(<span class="php-quote">','</span>, <span class="php-var">$columns</span>);
|
406 |
+
</span><span id="257" class="l">
|
407 |
+
</span><span id="258" class="l"> <span class="php-var">$qstr</span> = <span class="php-quote">"SELECT SQL_CALC_FOUND_ROWS </span><span class="php-var">$imploded</span><span class="php-quote"> FROM </span><span class="php-var">{$this->table_name}</span><span class="php-quote"> WHERE </span><span class="php-var">$where</span><span class="php-quote">"</span>;
|
408 |
+
</span><span id="259" class="l"> <span class="php-keyword1">if</span>(!<span class="php-keyword1">empty</span>(<span class="php-var">$having</span>))
|
409 |
+
</span><span id="260" class="l"> <span class="php-var">$qstr</span> .= <span class="php-quote">" HAVING </span><span class="php-var">$having</span><span class="php-quote">"</span>;
|
410 |
+
</span><span id="261" class="l">
|
411 |
+
</span><span id="262" class="l"> <span class="php-comment">// This code allows for more natural numeric sorting on text fields, not just numeric fields</span>
|
412 |
+
</span><span id="263" class="l"> <span class="php-keyword1">if</span>(<span class="php-keyword1">empty</span>(<span class="php-var">$order_column</span>))
|
413 |
+
</span><span id="264" class="l"> <span class="php-var">$order_column</span> = <span class="php-quote">'id'</span>;
|
414 |
+
</span><span id="265" class="l"> <span class="php-keyword1">if</span>(<span class="php-keyword1">empty</span>(<span class="php-var">$order_dir</span>))
|
415 |
+
</span><span id="266" class="l"> <span class="php-var">$order_dir</span> = <span class="php-quote">'ASC'</span>;
|
416 |
+
</span><span id="267" class="l"> <span class="php-var">$qstr</span> .= <span class="php-quote">" ORDER BY ISNULL(</span><span class="php-var">{$order_column}</span><span class="php-quote">), </span><span class="php-var">{$order_column}</span><span class="php-quote">+0 </span><span class="php-var">{$order_dir}</span><span class="php-quote">, </span><span class="php-var">{$order_column}</span><span class="php-quote"> </span><span class="php-var">{$order_dir}</span><span class="php-quote">"</span>;
|
417 |
+
</span><span id="268" class="l">
|
418 |
+
</span><span id="269" class="l"> <span class="php-comment">// Limit</span>
|
419 |
+
</span><span id="270" class="l"> <span class="php-keyword1">if</span>(<span class="php-keyword1">isset</span>(<span class="php-var">$input_params</span>[<span class="php-quote">'length'</span>]))
|
420 |
+
</span><span id="271" class="l"> {
|
421 |
+
</span><span id="272" class="l"> <span class="php-var">$length</span> = <span class="php-var">$input_params</span>[<span class="php-quote">'length'</span>];
|
422 |
+
</span><span id="273" class="l"> <span class="php-keyword1">if</span>(<span class="php-keyword1">isset</span>(<span class="php-var">$length</span>) &&
|
423 |
+
</span><span id="274" class="l"> <span class="php-var">$length</span> != <span class="php-quote">'-1'</span> &&
|
424 |
+
</span><span id="275" class="l"> !<span class="php-keyword2">preg_match</span>(<span class="php-quote">'/^all$/i'</span>, <span class="php-var">$length</span>))
|
425 |
+
</span><span id="276" class="l"> {
|
426 |
+
</span><span id="277" class="l"> <span class="php-var">$qstr</span> .= <span class="php-quote">" LIMIT "</span> . <span class="php-keyword2">intval</span>(<span class="php-var">$input_params</span>[<span class="php-quote">'length'</span>]);
|
427 |
+
</span><span id="278" class="l">
|
428 |
+
</span><span id="279" class="l"> <span class="php-keyword1">if</span>(<span class="php-keyword1">isset</span>(<span class="php-var">$input_params</span>[<span class="php-quote">'start'</span>]))
|
429 |
+
</span><span id="280" class="l"> <span class="php-var">$qstr</span> .= <span class="php-quote">" OFFSET "</span> . <span class="php-keyword2">intval</span>(<span class="php-var">$input_params</span>[<span class="php-quote">'start'</span>]);
|
430 |
+
</span><span id="281" class="l"> }
|
431 |
+
</span><span id="282" class="l"> }
|
432 |
+
</span><span id="283" class="l">
|
433 |
+
</span><span id="284" class="l"> <span class="php-comment">// Total count</span>
|
434 |
+
</span><span id="285" class="l"> <span class="php-var">$count_query_params</span> = <span class="php-keyword1">array</span>();
|
435 |
+
</span><span id="286" class="l"> <span class="php-var">$count_where</span> = <span class="php-var">$this</span>->getWhereClause(<span class="php-var">$input_params</span>, <span class="php-var">$count_query_params</span>, <span class="php-keyword1">true</span>);
|
436 |
+
</span><span id="287" class="l">
|
437 |
+
</span><span id="288" class="l"> <span class="php-var">$count_qstr</span> = <span class="php-quote">"SELECT COUNT(id) FROM </span><span class="php-var">{$this->table_name}</span><span class="php-quote"> WHERE </span><span class="php-var">$count_where</span><span class="php-quote">"</span>;
|
438 |
+
</span><span id="289" class="l">
|
439 |
+
</span><span id="290" class="l"> <span class="php-keyword1">if</span>(!<span class="php-keyword1">empty</span>(<span class="php-var">$query_params</span>))
|
440 |
+
</span><span id="291" class="l"> <span class="php-var">$stmt</span> = <span class="php-var">$wpdb</span>->prepare(<span class="php-var">$count_qstr</span>, <span class="php-var">$count_query_params</span>);
|
441 |
+
</span><span id="292" class="l"> <span class="php-keyword1">else</span>
|
442 |
+
</span><span id="293" class="l"> <span class="php-var">$stmt</span> = <span class="php-var">$count_qstr</span>;
|
443 |
+
</span><span id="294" class="l">
|
444 |
+
</span><span id="295" class="l"> <span class="php-var">$total_count</span> = (int)<span class="php-var">$wpdb</span>->get_var(<span class="php-var">$stmt</span>);
|
445 |
+
</span><span id="296" class="l">
|
446 |
+
</span><span id="297" class="l"> <span class="php-comment">// Body</span>
|
447 |
+
</span><span id="298" class="l"> <span class="php-keyword1">if</span>(!<span class="php-keyword1">empty</span>(<span class="php-var">$query_params</span>))
|
448 |
+
</span><span id="299" class="l"> <span class="php-var">$stmt</span> = <span class="php-var">$wpdb</span>->prepare(<span class="php-var">$qstr</span>, <span class="php-var">$query_params</span>);
|
449 |
+
</span><span id="300" class="l"> <span class="php-keyword1">else</span>
|
450 |
+
</span><span id="301" class="l"> <span class="php-var">$stmt</span> = <span class="php-var">$qstr</span>;
|
451 |
+
</span><span id="302" class="l">
|
452 |
+
</span><span id="303" class="l"> <span class="php-var">$rows</span> = <span class="php-var">$wpdb</span>->get_results(<span class="php-var">$stmt</span>);
|
453 |
+
</span><span id="304" class="l">
|
454 |
+
</span><span id="305" class="l"> <span class="php-var">$this</span>->filterResults(<span class="php-var">$rows</span>);
|
455 |
+
</span><span id="306" class="l">
|
456 |
+
</span><span id="307" class="l"> <span class="php-comment">// Found rows</span>
|
457 |
+
</span><span id="308" class="l"> <span class="php-var">$found_rows</span> = <span class="php-var">$wpdb</span>->get_var(<span class="php-quote">'SELECT FOUND_ROWS()'</span>);
|
458 |
+
</span><span id="309" class="l">
|
459 |
+
</span><span id="310" class="l"> <span class="php-comment">// Meta</span>
|
460 |
+
</span><span id="311" class="l"> <span class="php-var">$meta</span> = <span class="php-keyword1">array</span>();
|
461 |
+
</span><span id="312" class="l"> <span class="php-keyword1">foreach</span>(<span class="php-var">$rows</span> <span class="php-keyword1">as</span> <span class="php-var">$key</span> => <span class="php-var">$value</span>)
|
462 |
+
</span><span id="313" class="l"> <span class="php-var">$meta</span>[<span class="php-var">$key</span>] = <span class="php-var">$value</span>;
|
463 |
+
</span><span id="314" class="l">
|
464 |
+
</span><span id="315" class="l"> <span class="php-var">$result</span> = (object)<span class="php-keyword1">array</span>(
|
465 |
+
</span><span id="316" class="l"> <span class="php-quote">'recordsTotal'</span> => <span class="php-var">$total_count</span>,
|
466 |
+
</span><span id="317" class="l"> <span class="php-quote">'recordsFiltered'</span> => <span class="php-var">$found_rows</span>,
|
467 |
+
</span><span id="318" class="l"> <span class="php-quote">'data'</span> => apply_filters(<span class="php-quote">'wpgmza_ajax_table_records'</span>, <span class="php-var">$rows</span>),
|
468 |
+
</span><span id="319" class="l"> <span class="php-quote">'meta'</span> => apply_filters(<span class="php-quote">'wpgmza_ajax_table_meta'</span>, <span class="php-var">$meta</span>)
|
469 |
+
</span><span id="320" class="l"> );
|
470 |
+
</span><span id="321" class="l">
|
471 |
+
</span><span id="322" class="l"> <span class="php-keyword1">if</span>(<span class="php-var">$wpgmza</span>->isInDeveloperMode())
|
472 |
+
</span><span id="323" class="l"> <span class="php-var">$result</span>->query = <span class="php-var">$stmt</span>;
|
473 |
+
</span><span id="324" class="l">
|
474 |
+
</span><span id="325" class="l"> <span class="php-keyword1">return</span> <span class="php-var">$result</span>;
|
475 |
+
</span><span id="326" class="l"> }
|
476 |
+
</span><span id="327" class="l">
|
477 |
+
</span><span id="328" class="l"> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> data(<span class="php-var">$input_params</span>)
|
478 |
+
</span><span id="329" class="l"> {
|
479 |
+
</span><span id="330" class="l"> <span class="php-keyword1">return</span> <span class="php-var">$this</span>->getRecords(<span class="php-var">$input_params</span>);
|
480 |
+
</span><span id="331" class="l"> }
|
481 |
+
</span><span id="332" class="l">}
|
482 |
+
</span><span id="333" class="l"></span></code></pre>
|
483 |
+
|
484 |
+
<div id="footer">
|
485 |
+
API documentation generated by <a href="http://apigen.org">ApiGen</a>
|
486 |
+
</div>
|
487 |
+
</div>
|
488 |
+
</div>
|
489 |
+
<script src="resources/combined.js?bdf41a0492319853d610bde7b68b95e93d08fae3"></script>
|
490 |
+
<script src="elementlist.js?ce6e64dd6d2e258467153e0fbb3257ea07b69a7b"></script>
|
491 |
+
</body>
|
492 |
+
</html>
|
@@ -50,12 +50,18 @@
|
|
50 |
<div id="elements">
|
51 |
<h3>Classes</h3>
|
52 |
<ul>
|
|
|
|
|
53 |
<li><a href="class-WPGMZA.AutoLoader.html">WPGMZA\AutoLoader</a></li>
|
54 |
<li><a href="class-WPGMZA.Crud.html">WPGMZA\Crud</a></li>
|
|
|
|
|
|
|
55 |
<li><a href="class-WPGMZA.DOMDocument.html">WPGMZA\DOMDocument</a></li>
|
56 |
<li><a href="class-WPGMZA.DOMElement.html">WPGMZA\DOMElement</a></li>
|
57 |
<li><a href="class-WPGMZA.Factory.html">WPGMZA\Factory</a></li>
|
58 |
<li><a href="class-WPGMZA.GDPRCompliance.html">WPGMZA\GDPRCompliance</a></li>
|
|
|
59 |
<li><a href="class-WPGMZA.GoogleGeocoder.html">WPGMZA\GoogleGeocoder</a></li>
|
60 |
<li><a href="class-WPGMZA.GoogleMap.html">WPGMZA\GoogleMap</a></li>
|
61 |
<li><a href="class-WPGMZA.GoogleMapsAPILoader.html" class="deprecated">WPGMZA\GoogleMapsAPILoader</a></li>
|
@@ -66,10 +72,14 @@
|
|
66 |
<li><a href="class-WPGMZA.Map.html">WPGMZA\Map</a></li>
|
67 |
<li><a href="class-WPGMZA.MapsEngineDialog.html">WPGMZA\MapsEngineDialog</a></li>
|
68 |
<li><a href="class-WPGMZA.Marker.html">WPGMZA\Marker</a></li>
|
|
|
|
|
69 |
<li><a href="class-WPGMZA.ModalDialog.html">WPGMZA\ModalDialog</a></li>
|
70 |
<li><a href="class-WPGMZA.NominatimGeocodeCache.html">WPGMZA\NominatimGeocodeCache</a></li>
|
71 |
<li><a href="class-WPGMZA.OLLoader.html">WPGMZA\OLLoader</a></li>
|
72 |
<li><a href="class-WPGMZA.Plugin.html">WPGMZA\Plugin</a></li>
|
|
|
|
|
73 |
<li><a href="class-WPGMZA.RestAPI.html">WPGMZA\RestAPI</a></li>
|
74 |
<li><a href="class-WPGMZA.ScriptLoader.html">WPGMZA\ScriptLoader</a></li>
|
75 |
<li><a href="class-WPGMZA.Selector.AttributeSelector.html">WPGMZA\Selector\AttributeSelector</a></li>
|
@@ -81,6 +91,7 @@
|
|
81 |
<li><a href="class-WPGMZA.Selector.TokenStream.html">WPGMZA\Selector\TokenStream</a></li>
|
82 |
<li><a href="class-WPGMZA.Selector.XPathConverter.html">WPGMZA\Selector\XPathConverter</a></li>
|
83 |
<li><a href="class-WPGMZA.Strings.html">WPGMZA\Strings</a></li>
|
|
|
84 |
</ul>
|
85 |
|
86 |
|
@@ -95,7 +106,6 @@
|
|
95 |
<h3>Functions</h3>
|
96 |
<ul>
|
97 |
<li><a href="function-WPGMZA.create_marker_instance_delegate.html">WPGMZA\create_marker_instance_delegate</a></li>
|
98 |
-
<li><a href="function-WPGMZA.create_plugin_instance.html" class="deprecated">WPGMZA\create_plugin_instance</a></li>
|
99 |
<li><a href="function-WPGMZA.query_nominatim_cache.html" class="deprecated">WPGMZA\query_nominatim_cache</a></li>
|
100 |
<li><a href="function-WPGMZA.Selector.trace.html">WPGMZA\Selector\trace</a></li>
|
101 |
<li><a href="function-WPGMZA.store_nominatim_cache.html" class="deprecated">WPGMZA\store_nominatim_cache</a></li>
|
@@ -136,199 +146,200 @@
|
|
136 |
</ul>
|
137 |
</div>
|
138 |
|
139 |
-
<pre class="numbers"><code><span class="l"><a href="#1"> 1: </a></span><span class="l"><a href="#2"> 2: </a></span><span class="l"><a href="#3"> 3: </a></span><span class="l"><a href="#4"> 4: </a></span
|
140 |
<pre class="code"><code><span id="1" class="l"><span class="xlang"><?php</span>
|
141 |
-
</span><span id="2" class="l"
|
142 |
-
</span><span id="3" class="l">
|
143 |
-
</span><span id="4" class="l"
|
144 |
-
</span
|
145 |
-
</span></span><span id="6" class="l"><span class="php-comment"> *
|
146 |
-
</span></span><span id="7" class="l"><span class="php-comment"> *
|
147 |
-
</span></span><span id="8" class="l"><span class="php-comment"> *
|
148 |
-
</span></span><span id="9" class="l"><span class="php-comment"> *
|
149 |
-
</span></span><span id="10" class="l"><span class="php-comment"> *
|
150 |
-
</span></span><span id="11" class="l"><span class="php-comment">
|
151 |
-
</span><span id="12" class="l"><span class="php-
|
152 |
-
</span><span id="13" class="l">
|
153 |
-
</span><span id="14" class="l">
|
154 |
-
</span><span id="15" class="l">
|
155 |
-
</span><span id="16" class="l">
|
156 |
-
</span
|
157 |
-
</span></span><span id="18" class="l"><span class="php-comment">
|
158 |
-
</span><span id="19" class="l"
|
159 |
-
</span><span id="20" class="l">
|
160 |
-
</span><span id="21" class="l">
|
161 |
-
</span><span id="22" class="l">
|
162 |
-
</span><span id="23" class="l">
|
163 |
-
</span><span id="24" class="l">
|
164 |
-
</span><span id="25" class="l">
|
165 |
-
</span><span id="26" class="l">
|
166 |
-
</span
|
167 |
-
</span></span><span id="28" class="l"><span class="php-comment"> *
|
168 |
-
</span></span><span id="29" class="l"><span class="php-comment"> * @
|
169 |
-
</span></span><span id="30" class="l"><span class="php-comment">
|
170 |
-
</span><span id="31" class="l"
|
171 |
-
</span><span id="32" class="l">
|
172 |
-
</span><span id="33" class="l">
|
173 |
-
</span><span id="34" class="l">
|
174 |
-
</span><span id="35" class="l">
|
175 |
-
</span
|
176 |
-
</span></span><span id="37" class="l"><span class="php-comment">
|
177 |
-
</span></span><span id="38" class="l"><span class="php-comment">
|
178 |
-
</span></span><span id="39" class="l"><span class="php-comment">
|
179 |
-
</span></span><span id="40" class="l"><span class="php-comment">
|
180 |
-
</span></span><span id="41" class="l"><span class="php-comment">
|
181 |
-
</span><span id="42" class="l">
|
182 |
-
</span><span id="43" class="l">
|
183 |
-
</span><span id="44" class="l">
|
184 |
-
</span
|
185 |
-
</span></span><span id="46" class="l"><span class="php-comment"> *
|
186 |
-
</span></span><span id="47" class="l"><span class="php-comment"> * @
|
187 |
-
</span></span><span id="48" class="l"><span class="php-comment"> *
|
188 |
-
</span></span><span id="49" class="l"><span class="php-comment">
|
189 |
-
</span><span id="50" class="l"
|
190 |
-
</span><span id="51" class="l">
|
191 |
-
</span><span id="52" class="l">
|
192 |
-
</span><span id="53" class="l"> <span class="php-var">$
|
193 |
-
</span><span id="54" class="l"> <span class="php-var">$
|
194 |
-
</span><span id="55" class="l"> <span class="php-var">$
|
195 |
-
</span><span id="56" class="l">
|
196 |
-
</span><span id="57" class="l">
|
197 |
-
</span><span id="58" class="l">
|
198 |
-
</span><span id="59" class="l">
|
199 |
-
</span><span id="60" class="l">
|
200 |
-
</span><span id="61" class="l">
|
201 |
-
</span><span id="62" class="l">
|
202 |
-
</span><span id="63" class="l">
|
203 |
-
</span><span id="64" class="l">
|
204 |
-
</span><span id="65" class="l">
|
205 |
-
</span><span id="66" class="l">
|
206 |
-
</span><span id="67" class="l">
|
207 |
-
</span><span id="68" class="l">
|
208 |
-
</span><span id="69" class="l">
|
209 |
-
</span><span id="70" class="l">
|
210 |
-
</span><span id="71" class="l">
|
211 |
-
</span><span id="72" class="l">
|
212 |
-
</span><span id="73" class="l">
|
213 |
-
</span><span id="74" class="l">
|
214 |
-
</span><span id="75" class="l">
|
215 |
-
</span><span id="76" class="l">
|
216 |
-
</span><span id="77" class="l">
|
217 |
-
</span><span id="78" class="l">
|
218 |
-
</span><span id="79" class="l">
|
219 |
-
</span><span id="80" class="l">
|
220 |
-
</span><span id="81" class="l">
|
221 |
-
</span><span id="82" class="l">
|
222 |
-
</span><span id="83" class="l">
|
223 |
-
</span><span id="84" class="l">
|
224 |
-
</span><span id="85" class="l">
|
225 |
-
</span><span id="86" class="l">
|
226 |
-
</span><span id="87" class="l">
|
227 |
-
</span><span id="88" class="l">
|
228 |
-
</span><span id="89" class="l">
|
229 |
-
</span><span id="90" class="l">
|
230 |
-
</span><span id="91" class="l">
|
231 |
-
</span><span id="92" class="l">
|
232 |
-
</span><span id="93" class="l">
|
233 |
-
</span><span id="94" class="l">
|
234 |
-
</span><span id="95" class="l">
|
235 |
-
</span><span id="96" class="l">
|
236 |
-
</span><span id="97" class="l">
|
237 |
-
</span><span id="98" class="l">
|
238 |
-
</span><span id="99" class="l">
|
239 |
-
</span><span id="100" class="l">
|
240 |
-
</span><span id="101" class="l">
|
241 |
-
</span><span id="102" class="l">
|
242 |
-
</span><span id="103" class="l">
|
243 |
-
</span><span id="104" class="l">
|
244 |
-
</span><span id="105" class="l">
|
245 |
-
</span><span id="106" class="l">
|
246 |
-
</span><span id="107" class="l">
|
247 |
-
</span
|
248 |
-
</span></span><span id="109" class="l"><span class="php-comment"> *
|
249 |
-
</span></span><span id="110" class="l"><span class="php-comment"> * @
|
250 |
-
</span></span><span id="111" class="l"><span class="php-comment">
|
251 |
-
</span><span id="112" class="l"
|
252 |
-
</span><span id="113" class="l">
|
253 |
-
</span><span id="114" class="l">
|
254 |
-
</span><span id="115" class="l">
|
255 |
-
</span><span id="116" class="l">
|
256 |
-
</span><span id="117" class="l">
|
257 |
-
</span><span id="118" class="l">
|
258 |
-
</span><span id="119" class="l"> <span class="php-var">$
|
259 |
-
</span><span id="120" class="l"> <span class="php-var">$
|
260 |
-
</span><span id="121" class="l">
|
261 |
-
</span><span id="122" class="l">
|
262 |
-
</span><span id="123" class="l">
|
263 |
-
</span><span id="124" class="l"> <span class="php-var">$
|
264 |
-
</span><span id="125" class="l"> <span class="php-var">$
|
265 |
-
</span><span id="126" class="l">
|
266 |
-
</span><span id="127" class="l">
|
267 |
-
</span><span id="128" class="l">
|
268 |
-
</span><span id="129" class="l">
|
269 |
-
</span><span id="130" class="l">
|
270 |
-
</span><span id="131" class="l">
|
271 |
-
</span
|
272 |
-
</span></span><span id="133" class="l"><span class="php-comment"> *
|
273 |
-
</span></span><span id="134" class="l"><span class="php-comment"> * @
|
274 |
-
</span></span><span id="135" class="l"><span class="php-comment">
|
275 |
-
</span><span id="136" class="l"
|
276 |
-
</span><span id="137" class="l">
|
277 |
-
</span><span id="138" class="l">
|
278 |
-
</span><span id="139" class="l">
|
279 |
-
</span><span id="140" class="l">
|
280 |
-
</span><span id="141" class="l"> <span class="php-comment">//$
|
281 |
-
</span><span id="142" class="l">
|
282 |
-
</span><span id="143" class="l">
|
283 |
-
</span><span id="144" class="l">
|
284 |
-
</span><span id="145" class="l">
|
285 |
-
</span><span id="146" class="l">
|
286 |
-
</span><span id="147" class="l">
|
287 |
-
</span><span id="148" class="l">
|
288 |
-
</span><span id="149" class="l">
|
289 |
-
</span><span id="150" class="l">
|
290 |
-
</span><span id="151" class="l">
|
291 |
-
</span><span id="152" class="l">
|
292 |
-
</span><span id="153" class="l">
|
293 |
-
</span><span id="154" class="l">
|
294 |
-
</span
|
295 |
-
</span></span><span id="156" class="l"><span class="php-comment"> *
|
296 |
-
</span></span><span id="157" class="l"><span class="php-comment"> * @
|
297 |
-
</span></span><span id="158" class="l"><span class="php-comment"> * @
|
298 |
-
</span></span><span id="159" class="l"><span class="php-comment">
|
299 |
-
</span><span id="160" class="l"
|
300 |
-
</span><span id="161" class="l">
|
301 |
-
</span><span id="162" class="l">
|
302 |
-
</span><span id="163" class="l">
|
303 |
-
</span><span id="164" class="l">
|
304 |
-
</span><span id="165" class="l">
|
305 |
-
</span><span id="166" class="l">
|
306 |
-
</span><span id="167" class="l">
|
307 |
-
</span><span id="168" class="l">
|
308 |
-
</span><span id="169" class="l">
|
309 |
-
</span><span id="170" class="l">
|
310 |
-
</span><span id="171" class="l">
|
311 |
-
</span><span id="172" class="l">
|
312 |
-
</span><span id="173" class="l">
|
313 |
-
</span><span id="174" class="l">
|
314 |
-
</span><span id="175" class="l">
|
315 |
-
</span><span id="176" class="l">
|
316 |
-
</span><span id="177" class="l">
|
317 |
-
</span><span id="178" class="l">
|
318 |
-
</span><span id="179" class="l">
|
319 |
-
</span><span id="180" class="l"
|
320 |
-
</span><span id="181" class="l"><span class="php-
|
321 |
-
</span><span id="182" class="l"><span class="php-var">$wpgmza_auto_loader</span
|
322 |
-
</span><span id="183" class="l"
|
323 |
-
</span><span id="184" class="l"
|
324 |
-
</span><span id="185" class="l"
|
|
|
325 |
|
326 |
<div id="footer">
|
327 |
API documentation generated by <a href="http://apigen.org">ApiGen</a>
|
328 |
</div>
|
329 |
</div>
|
330 |
</div>
|
331 |
-
<script src="resources/combined.js?
|
332 |
-
<script src="elementlist.js?
|
333 |
</body>
|
334 |
</html>
|
50 |
<div id="elements">
|
51 |
<h3>Classes</h3>
|
52 |
<ul>
|
53 |
+
<li><a href="class-WPGMZA.AdminMarkerDataTable.html">WPGMZA\AdminMarkerDataTable</a></li>
|
54 |
+
<li><a href="class-WPGMZA.AjaxTable.html">WPGMZA\AjaxTable</a></li>
|
55 |
<li><a href="class-WPGMZA.AutoLoader.html">WPGMZA\AutoLoader</a></li>
|
56 |
<li><a href="class-WPGMZA.Crud.html">WPGMZA\Crud</a></li>
|
57 |
+
<li><a href="class-WPGMZA.Database.html">WPGMZA\Database</a></li>
|
58 |
+
<li><a href="class-WPGMZA.DataTable.html">WPGMZA\DataTable</a></li>
|
59 |
+
<li><a href="class-WPGMZA.Distance.html">WPGMZA\Distance</a></li>
|
60 |
<li><a href="class-WPGMZA.DOMDocument.html">WPGMZA\DOMDocument</a></li>
|
61 |
<li><a href="class-WPGMZA.DOMElement.html">WPGMZA\DOMElement</a></li>
|
62 |
<li><a href="class-WPGMZA.Factory.html">WPGMZA\Factory</a></li>
|
63 |
<li><a href="class-WPGMZA.GDPRCompliance.html">WPGMZA\GDPRCompliance</a></li>
|
64 |
+
<li><a href="class-WPGMZA.GlobalSettings.html">WPGMZA\GlobalSettings</a></li>
|
65 |
<li><a href="class-WPGMZA.GoogleGeocoder.html">WPGMZA\GoogleGeocoder</a></li>
|
66 |
<li><a href="class-WPGMZA.GoogleMap.html">WPGMZA\GoogleMap</a></li>
|
67 |
<li><a href="class-WPGMZA.GoogleMapsAPILoader.html" class="deprecated">WPGMZA\GoogleMapsAPILoader</a></li>
|
72 |
<li><a href="class-WPGMZA.Map.html">WPGMZA\Map</a></li>
|
73 |
<li><a href="class-WPGMZA.MapsEngineDialog.html">WPGMZA\MapsEngineDialog</a></li>
|
74 |
<li><a href="class-WPGMZA.Marker.html">WPGMZA\Marker</a></li>
|
75 |
+
<li><a href="class-WPGMZA.MarkerDataTable.html">WPGMZA\MarkerDataTable</a></li>
|
76 |
+
<li><a href="class-WPGMZA.MarkerFilter.html">WPGMZA\MarkerFilter</a></li>
|
77 |
<li><a href="class-WPGMZA.ModalDialog.html">WPGMZA\ModalDialog</a></li>
|
78 |
<li><a href="class-WPGMZA.NominatimGeocodeCache.html">WPGMZA\NominatimGeocodeCache</a></li>
|
79 |
<li><a href="class-WPGMZA.OLLoader.html">WPGMZA\OLLoader</a></li>
|
80 |
<li><a href="class-WPGMZA.Plugin.html">WPGMZA\Plugin</a></li>
|
81 |
+
<li><a href="class-WPGMZA.Query.html">WPGMZA\Query</a></li>
|
82 |
+
<li><a href="class-WPGMZA.QueryFragment.html">WPGMZA\QueryFragment</a></li>
|
83 |
<li><a href="class-WPGMZA.RestAPI.html">WPGMZA\RestAPI</a></li>
|
84 |
<li><a href="class-WPGMZA.ScriptLoader.html">WPGMZA\ScriptLoader</a></li>
|
85 |
<li><a href="class-WPGMZA.Selector.AttributeSelector.html">WPGMZA\Selector\AttributeSelector</a></li>
|
91 |
<li><a href="class-WPGMZA.Selector.TokenStream.html">WPGMZA\Selector\TokenStream</a></li>
|
92 |
<li><a href="class-WPGMZA.Selector.XPathConverter.html">WPGMZA\Selector\XPathConverter</a></li>
|
93 |
<li><a href="class-WPGMZA.Strings.html">WPGMZA\Strings</a></li>
|
94 |
+
<li><a href="class-WPGMZA.Table.html">WPGMZA\Table</a></li>
|
95 |
</ul>
|
96 |
|
97 |
|
106 |
<h3>Functions</h3>
|
107 |
<ul>
|
108 |
<li><a href="function-WPGMZA.create_marker_instance_delegate.html">WPGMZA\create_marker_instance_delegate</a></li>
|
|
|
109 |
<li><a href="function-WPGMZA.query_nominatim_cache.html" class="deprecated">WPGMZA\query_nominatim_cache</a></li>
|
110 |
<li><a href="function-WPGMZA.Selector.trace.html">WPGMZA\Selector\trace</a></li>
|
111 |
<li><a href="function-WPGMZA.store_nominatim_cache.html" class="deprecated">WPGMZA\store_nominatim_cache</a></li>
|
146 |
</ul>
|
147 |
</div>
|
148 |
|
149 |
+
<pre class="numbers"><code><span class="l"><a href="#1"> 1: </a></span><span class="l"><a href="#2"> 2: </a></span><span class="l"><a href="#3"> 3: </a></span><span class="l"><a href="#4"> 4: </a></span><span class="l"><a href="#5"> 5: </a></span></span><span class="l"><a href="#6"> 6: </a></span></span><span class="l"><a href="#7"> 7: </a></span></span><span class="l"><a href="#8"> 8: </a></span></span><span class="l"><a href="#9"> 9: </a></span></span><span class="l"><a href="#10"> 10: </a></span></span><span class="l"><a href="#11"> 11: </a></span></span><span class="l"><a href="#12"> 12: </a></span><span class="l"><a href="#13"> 13: </a></span><span class="l"><a href="#14"> 14: </a></span><span class="l"><a href="#15"> 15: </a></span><span class="l"><a href="#16"> 16: </a></span><span class="l"><a href="#17"> 17: </a></span></span><span class="l"><a href="#18"> 18: </a></span></span><span class="l"><a href="#19"> 19: </a></span><span class="l"><a href="#20"> 20: </a></span><span class="l"><a href="#21"> 21: </a></span><span class="l"><a href="#22"> 22: </a></span><span class="l"><a href="#23"> 23: </a></span><span class="l"><a href="#24"> 24: </a></span><span class="l"><a href="#25"> 25: </a></span><span class="l"><a href="#26"> 26: </a></span><span class="l"><a href="#27"> 27: </a></span></span><span class="l"><a href="#28"> 28: </a></span></span><span class="l"><a href="#29"> 29: </a></span></span><span class="l"><a href="#30"> 30: </a></span></span><span class="l"><a href="#31"> 31: </a></span><span class="l"><a href="#32"> 32: </a></span><span class="l"><a href="#33"> 33: </a></span><span class="l"><a href="#34"> 34: </a></span><span class="l"><a href="#35"> 35: </a></span><span class="l"><a href="#36"> 36: </a></span></span><span class="l"><a href="#37"> 37: </a></span></span><span class="l"><a href="#38"> 38: </a></span></span><span class="l"><a href="#39"> 39: </a></span></span><span class="l"><a href="#40"> 40: </a></span></span><span class="l"><a href="#41"> 41: </a></span></span><span class="l"><a href="#42"> 42: </a></span><span class="l"><a href="#43"> 43: </a></span><span class="l"><a href="#44"> 44: </a></span><span class="l"><a href="#45"> 45: </a></span></span><span class="l"><a href="#46"> 46: </a></span></span><span class="l"><a href="#47"> 47: </a></span></span><span class="l"><a href="#48"> 48: </a></span></span><span class="l"><a href="#49"> 49: </a></span></span><span class="l"><a href="#50"> 50: </a></span><span class="l"><a href="#51"> 51: </a></span><span class="l"><a href="#52"> 52: </a></span><span class="l"><a href="#53"> 53: </a></span><span class="l"><a href="#54"> 54: </a></span><span class="l"><a href="#55"> 55: </a></span><span class="l"><a href="#56"> 56: </a></span><span class="l"><a href="#57"> 57: </a></span><span class="l"><a href="#58"> 58: </a></span><span class="l"><a href="#59"> 59: </a></span><span class="l"><a href="#60"> 60: </a></span><span class="l"><a href="#61"> 61: </a></span><span class="l"><a href="#62"> 62: </a></span><span class="l"><a href="#63"> 63: </a></span><span class="l"><a href="#64"> 64: </a></span><span class="l"><a href="#65"> 65: </a></span><span class="l"><a href="#66"> 66: </a></span><span class="l"><a href="#67"> 67: </a></span><span class="l"><a href="#68"> 68: </a></span><span class="l"><a href="#69"> 69: </a></span><span class="l"><a href="#70"> 70: </a></span><span class="l"><a href="#71"> 71: </a></span><span class="l"><a href="#72"> 72: </a></span><span class="l"><a href="#73"> 73: </a></span><span class="l"><a href="#74"> 74: </a></span><span class="l"><a href="#75"> 75: </a></span><span class="l"><a href="#76"> 76: </a></span><span class="l"><a href="#77"> 77: </a></span><span class="l"><a href="#78"> 78: </a></span><span class="l"><a href="#79"> 79: </a></span><span class="l"><a href="#80"> 80: </a></span><span class="l"><a href="#81"> 81: </a></span><span class="l"><a href="#82"> 82: </a></span><span class="l"><a href="#83"> 83: </a></span><span class="l"><a href="#84"> 84: </a></span><span class="l"><a href="#85"> 85: </a></span><span class="l"><a href="#86"> 86: </a></span><span class="l"><a href="#87"> 87: </a></span><span class="l"><a href="#88"> 88: </a></span><span class="l"><a href="#89"> 89: </a></span><span class="l"><a href="#90"> 90: </a></span><span class="l"><a href="#91"> 91: </a></span><span class="l"><a href="#92"> 92: </a></span><span class="l"><a href="#93"> 93: </a></span><span class="l"><a href="#94"> 94: </a></span><span class="l"><a href="#95"> 95: </a></span><span class="l"><a href="#96"> 96: </a></span><span class="l"><a href="#97"> 97: </a></span><span class="l"><a href="#98"> 98: </a></span><span class="l"><a href="#99"> 99: </a></span><span class="l"><a href="#100">100: </a></span><span class="l"><a href="#101">101: </a></span><span class="l"><a href="#102">102: </a></span><span class="l"><a href="#103">103: </a></span><span class="l"><a href="#104">104: </a></span><span class="l"><a href="#105">105: </a></span><span class="l"><a href="#106">106: </a></span><span class="l"><a href="#107">107: </a></span><span class="l"><a href="#108">108: </a></span></span><span class="l"><a href="#109">109: </a></span></span><span class="l"><a href="#110">110: </a></span></span><span class="l"><a href="#111">111: </a></span></span><span class="l"><a href="#112">112: </a></span><span class="l"><a href="#113">113: </a></span><span class="l"><a href="#114">114: </a></span><span class="l"><a href="#115">115: </a></span><span class="l"><a href="#116">116: </a></span><span class="l"><a href="#117">117: </a></span><span class="l"><a href="#118">118: </a></span><span class="l"><a href="#119">119: </a></span><span class="l"><a href="#120">120: </a></span><span class="l"><a href="#121">121: </a></span><span class="l"><a href="#122">122: </a></span><span class="l"><a href="#123">123: </a></span><span class="l"><a href="#124">124: </a></span><span class="l"><a href="#125">125: </a></span><span class="l"><a href="#126">126: </a></span><span class="l"><a href="#127">127: </a></span><span class="l"><a href="#128">128: </a></span><span class="l"><a href="#129">129: </a></span><span class="l"><a href="#130">130: </a></span><span class="l"><a href="#131">131: </a></span><span class="l"><a href="#132">132: </a></span></span><span class="l"><a href="#133">133: </a></span></span><span class="l"><a href="#134">134: </a></span></span><span class="l"><a href="#135">135: </a></span></span><span class="l"><a href="#136">136: </a></span><span class="l"><a href="#137">137: </a></span><span class="l"><a href="#138">138: </a></span><span class="l"><a href="#139">139: </a></span><span class="l"><a href="#140">140: </a></span><span class="l"><a href="#141">141: </a></span><span class="l"><a href="#142">142: </a></span><span class="l"><a href="#143">143: </a></span><span class="l"><a href="#144">144: </a></span><span class="l"><a href="#145">145: </a></span><span class="l"><a href="#146">146: </a></span><span class="l"><a href="#147">147: </a></span><span class="l"><a href="#148">148: </a></span><span class="l"><a href="#149">149: </a></span><span class="l"><a href="#150">150: </a></span><span class="l"><a href="#151">151: </a></span><span class="l"><a href="#152">152: </a></span><span class="l"><a href="#153">153: </a></span><span class="l"><a href="#154">154: </a></span><span class="l"><a href="#155">155: </a></span></span><span class="l"><a href="#156">156: </a></span></span><span class="l"><a href="#157">157: </a></span></span><span class="l"><a href="#158">158: </a></span></span><span class="l"><a href="#159">159: </a></span></span><span class="l"><a href="#160">160: </a></span><span class="l"><a href="#161">161: </a></span><span class="l"><a href="#162">162: </a></span><span class="l"><a href="#163">163: </a></span><span class="l"><a href="#164">164: </a></span><span class="l"><a href="#165">165: </a></span><span class="l"><a href="#166">166: </a></span><span class="l"><a href="#167">167: </a></span><span class="l"><a href="#168">168: </a></span><span class="l"><a href="#169">169: </a></span><span class="l"><a href="#170">170: </a></span><span class="l"><a href="#171">171: </a></span><span class="l"><a href="#172">172: </a></span><span class="l"><a href="#173">173: </a></span><span class="l"><a href="#174">174: </a></span><span class="l"><a href="#175">175: </a></span><span class="l"><a href="#176">176: </a></span><span class="l"><a href="#177">177: </a></span><span class="l"><a href="#178">178: </a></span><span class="l"><a href="#179">179: </a></span><span class="l"><a href="#180">180: </a></span><span class="l"><a href="#181">181: </a></span><span class="l"><a href="#182">182: </a></span><span class="l"><a href="#183">183: </a></span><span class="l"><a href="#184">184: </a></span><span class="l"><a href="#185">185: </a></span><span class="l"><a href="#186">186: </a></span></code></pre>
|
150 |
<pre class="code"><code><span id="1" class="l"><span class="xlang"><?php</span>
|
151 |
+
</span><span id="2" class="l">
|
152 |
+
</span><span id="3" class="l"><span class="php-keyword1">namespace</span> WPGMZA;
|
153 |
+
</span><span id="4" class="l">
|
154 |
+
</span><span id="5" class="l"><span class="php-comment">/**
|
155 |
+
</span></span><span id="6" class="l"><span class="php-comment"> * The AutoLoader class can be used to scan a directory and register any
|
156 |
+
</span></span><span id="7" class="l"><span class="php-comment"> * classes found in the PHP files there, recursively.
|
157 |
+
</span></span><span id="8" class="l"><span class="php-comment"> *
|
158 |
+
</span></span><span id="9" class="l"><span class="php-comment"> * These classes will be registered for autoloading.
|
159 |
+
</span></span><span id="10" class="l"><span class="php-comment"> *
|
160 |
+
</span></span><span id="11" class="l"><span class="php-comment"> * This class may be built on to use a JSON cache in the future.
|
161 |
+
</span></span><span id="12" class="l"><span class="php-comment"> */</span>
|
162 |
+
</span><span id="13" class="l"><span class="php-keyword1">class</span> AutoLoader
|
163 |
+
</span><span id="14" class="l">{
|
164 |
+
</span><span id="15" class="l"> <span class="php-keyword1">protected</span> <span class="php-var">$filenamesByClass</span>;
|
165 |
+
</span><span id="16" class="l">
|
166 |
+
</span><span id="17" class="l"> <span class="php-comment">/**
|
167 |
+
</span></span><span id="18" class="l"><span class="php-comment"> * The AutoLoader constructor.
|
168 |
+
</span></span><span id="19" class="l"><span class="php-comment"> */</span>
|
169 |
+
</span><span id="20" class="l"> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> __construct()
|
170 |
+
</span><span id="21" class="l"> {
|
171 |
+
</span><span id="22" class="l"> <span class="php-comment">// TODO: Maybe cache these in a JSON object and only refreshin developer mode</span>
|
172 |
+
</span><span id="23" class="l">
|
173 |
+
</span><span id="24" class="l"> <span class="php-var">$this</span>->filenamesByClass = <span class="php-keyword1">array</span>();
|
174 |
+
</span><span id="25" class="l"> }
|
175 |
+
</span><span id="26" class="l">
|
176 |
+
</span><span id="27" class="l"> <span class="php-comment">/**
|
177 |
+
</span></span><span id="28" class="l"><span class="php-comment"> * Updates the JSON cache of classes
|
178 |
+
</span></span><span id="29" class="l"><span class="php-comment"> * @todo implement
|
179 |
+
</span></span><span id="30" class="l"><span class="php-comment"> * @return void
|
180 |
+
</span></span><span id="31" class="l"><span class="php-comment"> */</span>
|
181 |
+
</span><span id="32" class="l"> <span class="php-keyword1">protected</span> <span class="php-keyword1">function</span> updateCache()
|
182 |
+
</span><span id="33" class="l"> {
|
183 |
+
</span><span id="34" class="l"> <span class="php-comment">// TODO: Not yet implemented</span>
|
184 |
+
</span><span id="35" class="l">
|
185 |
+
</span><span id="36" class="l"> <span class="php-comment">/*$dst = plugin_dir_path(__FILE__) . 'classes.json';
|
186 |
+
</span></span><span id="37" class="l"><span class="php-comment">
|
187 |
+
</span></span><span id="38" class="l"><span class="php-comment"> $json = json_encode((object)array(
|
188 |
+
</span></span><span id="39" class="l"><span class="php-comment"> 'filenamesByClass' => $this->filenamesByClass
|
189 |
+
</span></span><span id="40" class="l"><span class="php-comment"> ));
|
190 |
+
</span></span><span id="41" class="l"><span class="php-comment">
|
191 |
+
</span></span><span id="42" class="l"><span class="php-comment"> file_put_contents($dst, $json);*/</span>
|
192 |
+
</span><span id="43" class="l"> }
|
193 |
+
</span><span id="44" class="l">
|
194 |
+
</span><span id="45" class="l"> <span class="php-comment">/**
|
195 |
+
</span></span><span id="46" class="l"><span class="php-comment"> * Gets the first class defined in the specified file
|
196 |
+
</span></span><span id="47" class="l"><span class="php-comment"> * @param string $file The file to scan for a class
|
197 |
+
</span></span><span id="48" class="l"><span class="php-comment"> * @return string The fully qualified class, or NULL if none found
|
198 |
+
</span></span><span id="49" class="l"><span class="php-comment"> * NB: With thanks to netcoder - https://stackoverflow.com/questions/7153000/get-class-name-from-file
|
199 |
+
</span></span><span id="50" class="l"><span class="php-comment"> */</span>
|
200 |
+
</span><span id="51" class="l"> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> getClassesInFile(<span class="php-var">$file</span>)
|
201 |
+
</span><span id="52" class="l"> {
|
202 |
+
</span><span id="53" class="l"> <span class="php-var">$fp</span> = <span class="php-keyword2">fopen</span>(<span class="php-var">$file</span>, <span class="php-quote">'r'</span>);
|
203 |
+
</span><span id="54" class="l"> <span class="php-var">$class</span> = <span class="php-var">$namespace</span> = <span class="php-var">$buffer</span> = <span class="php-quote">''</span>;
|
204 |
+
</span><span id="55" class="l"> <span class="php-var">$i</span> = <span class="php-num">0</span>;
|
205 |
+
</span><span id="56" class="l"> <span class="php-var">$results</span> = <span class="php-keyword1">array</span>();
|
206 |
+
</span><span id="57" class="l">
|
207 |
+
</span><span id="58" class="l"> <span class="php-var">$buffer</span> = <span class="php-keyword2">file_get_contents</span>(<span class="php-var">$file</span>);
|
208 |
+
</span><span id="59" class="l">
|
209 |
+
</span><span id="60" class="l"> <span class="php-keyword1">if</span>(!<span class="php-keyword2">function_exists</span>(<span class="php-quote">'token_get_all'</span>))
|
210 |
+
</span><span id="61" class="l"> {
|
211 |
+
</span><span id="62" class="l"> <span class="php-comment">// Regex fallback for users without token_get_all</span>
|
212 |
+
</span><span id="63" class="l">
|
213 |
+
</span><span id="64" class="l"> <span class="php-keyword1">if</span>(<span class="php-keyword2">preg_match</span>(<span class="php-quote">'/^\s*namespace\s+(.+);/m'</span>, <span class="php-var">$buffer</span>, <span class="php-var">$m</span>))
|
214 |
+
</span><span id="65" class="l"> <span class="php-var">$namespace</span> = <span class="php-quote">'\\'</span> . <span class="php-keyword2">trim</span>(<span class="php-var">$m</span>[<span class="php-num">1</span>]);
|
215 |
+
</span><span id="66" class="l">
|
216 |
+
</span><span id="67" class="l"> <span class="php-keyword1">if</span>(<span class="php-keyword2">preg_match</span>(<span class="php-quote">'/^(abstract)?\s*class\s+(\w+)/m'</span>, <span class="php-var">$buffer</span>, <span class="php-var">$m</span>))
|
217 |
+
</span><span id="68" class="l"> <span class="php-var">$class</span> = <span class="php-keyword2">trim</span>(<span class="php-var">$m</span>[<span class="php-num">2</span>]);
|
218 |
+
</span><span id="69" class="l">
|
219 |
+
</span><span id="70" class="l"> <span class="php-var">$result</span> = <span class="php-var">$namespace</span> . <span class="php-quote">'\\'</span> . <span class="php-var">$class</span>;
|
220 |
+
</span><span id="71" class="l"> }
|
221 |
+
</span><span id="72" class="l"> <span class="php-keyword1">else</span>
|
222 |
+
</span><span id="73" class="l"> {
|
223 |
+
</span><span id="74" class="l"> <span class="php-var">$tokens</span> = @<span class="php-keyword2">token_get_all</span>(<span class="php-var">$buffer</span>);
|
224 |
+
</span><span id="75" class="l">
|
225 |
+
</span><span id="76" class="l"> <span class="php-keyword1">for</span> (;<span class="php-var">$i</span><<span class="php-keyword2">count</span>(<span class="php-var">$tokens</span>);<span class="php-var">$i</span>++) {
|
226 |
+
</span><span id="77" class="l"> <span class="php-keyword1">if</span> (<span class="php-var">$tokens</span>[<span class="php-var">$i</span>][<span class="php-num">0</span>] === T_NAMESPACE) {
|
227 |
+
</span><span id="78" class="l"> <span class="php-keyword1">for</span> (<span class="php-var">$j</span>=<span class="php-var">$i</span>+<span class="php-num">1</span>;<span class="php-var">$j</span><<span class="php-keyword2">count</span>(<span class="php-var">$tokens</span>); <span class="php-var">$j</span>++) {
|
228 |
+
</span><span id="79" class="l"> <span class="php-keyword1">if</span> (<span class="php-var">$tokens</span>[<span class="php-var">$j</span>][<span class="php-num">0</span>] === T_STRING) {
|
229 |
+
</span><span id="80" class="l"> <span class="php-var">$namespace</span> .= <span class="php-quote">'\\'</span>.<span class="php-var">$tokens</span>[<span class="php-var">$j</span>][<span class="php-num">1</span>];
|
230 |
+
</span><span id="81" class="l"> } <span class="php-keyword1">else</span> <span class="php-keyword1">if</span> (<span class="php-var">$tokens</span>[<span class="php-var">$j</span>] === <span class="php-quote">'{'</span> || <span class="php-var">$tokens</span>[<span class="php-var">$j</span>] === <span class="php-quote">';'</span>) {
|
231 |
+
</span><span id="82" class="l"> <span class="php-keyword1">break</span>;
|
232 |
+
</span><span id="83" class="l"> }
|
233 |
+
</span><span id="84" class="l"> }
|
234 |
+
</span><span id="85" class="l"> }
|
235 |
+
</span><span id="86" class="l">
|
236 |
+
</span><span id="87" class="l"> <span class="php-keyword1">if</span> (<span class="php-var">$tokens</span>[<span class="php-var">$i</span>][<span class="php-num">0</span>] === T_CLASS) {
|
237 |
+
</span><span id="88" class="l"> <span class="php-keyword1">for</span> (<span class="php-var">$j</span>=<span class="php-var">$i</span>+<span class="php-num">1</span>;<span class="php-var">$j</span><<span class="php-keyword2">count</span>(<span class="php-var">$tokens</span>);<span class="php-var">$j</span>++) {
|
238 |
+
</span><span id="89" class="l"> <span class="php-keyword1">if</span> (<span class="php-var">$tokens</span>[<span class="php-var">$j</span>] === <span class="php-quote">'{'</span>) {
|
239 |
+
</span><span id="90" class="l"> <span class="php-var">$class</span> = <span class="php-var">$tokens</span>[<span class="php-var">$i</span>+<span class="php-num">2</span>][<span class="php-num">1</span>];
|
240 |
+
</span><span id="91" class="l"> }
|
241 |
+
</span><span id="92" class="l"> }
|
242 |
+
</span><span id="93" class="l"> }
|
243 |
+
</span><span id="94" class="l">
|
244 |
+
</span><span id="95" class="l"> <span class="php-keyword1">if</span>(!<span class="php-keyword1">empty</span>(<span class="php-var">$class</span>))
|
245 |
+
</span><span id="96" class="l"> <span class="php-keyword1">break</span>;
|
246 |
+
</span><span id="97" class="l"> }
|
247 |
+
</span><span id="98" class="l">
|
248 |
+
</span><span id="99" class="l"> <span class="php-var">$result</span> = <span class="php-var">$namespace</span> . <span class="php-quote">'\\'</span> . <span class="php-var">$class</span>;
|
249 |
+
</span><span id="100" class="l"> }
|
250 |
+
</span><span id="101" class="l">
|
251 |
+
</span><span id="102" class="l"> <span class="php-keyword1">if</span>(<span class="php-keyword1">empty</span>(<span class="php-var">$class</span>))
|
252 |
+
</span><span id="103" class="l"> <span class="php-keyword1">return</span> <span class="php-keyword1">null</span>;
|
253 |
+
</span><span id="104" class="l">
|
254 |
+
</span><span id="105" class="l"> <span class="php-keyword1">return</span> <span class="php-var">$result</span>;
|
255 |
+
</span><span id="106" class="l"> }
|
256 |
+
</span><span id="107" class="l">
|
257 |
+
</span><span id="108" class="l"> <span class="php-comment">/**
|
258 |
+
</span></span><span id="109" class="l"><span class="php-comment"> * Gets all the classes in PHP files in the specified path, recursively
|
259 |
+
</span></span><span id="110" class="l"><span class="php-comment"> * @param string $path The path to scan
|
260 |
+
</span></span><span id="111" class="l"><span class="php-comment"> * @return array An array of all the fully qualified
|
261 |
+
</span></span><span id="112" class="l"><span class="php-comment"> */</span>
|
262 |
+
</span><span id="113" class="l"> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> getClassesInPathByFilename(<span class="php-var">$path</span>)
|
263 |
+
</span><span id="114" class="l"> {
|
264 |
+
</span><span id="115" class="l"> <span class="php-comment">// var_dump("Getting classes in $path");</span>
|
265 |
+
</span><span id="116" class="l">
|
266 |
+
</span><span id="117" class="l"> <span class="php-var">$results</span> = <span class="php-keyword1">array</span>();
|
267 |
+
</span><span id="118" class="l">
|
268 |
+
</span><span id="119" class="l"> <span class="php-var">$dir</span> = <span class="php-keyword1">new</span> \RecursiveDirectoryIterator(<span class="php-var">$path</span>);
|
269 |
+
</span><span id="120" class="l"> <span class="php-var">$iter</span> = <span class="php-keyword1">new</span> \RecursiveIteratorIterator(<span class="php-var">$dir</span>);
|
270 |
+
</span><span id="121" class="l"> <span class="php-var">$regex</span> = <span class="php-keyword1">new</span> \RegexIterator(<span class="php-var">$iter</span>, <span class="php-quote">'/^.+(\.php)$/i'</span>, \RecursiveRegexIterator::GET_MATCH);
|
271 |
+
</span><span id="122" class="l">
|
272 |
+
</span><span id="123" class="l"> <span class="php-keyword1">foreach</span>(<span class="php-var">$regex</span> <span class="php-keyword1">as</span> <span class="php-var">$m</span>) {
|
273 |
+
</span><span id="124" class="l"> <span class="php-var">$file</span> = <span class="php-var">$m</span>[<span class="php-num">0</span>];
|
274 |
+
</span><span id="125" class="l"> <span class="php-var">$classes</span> = <span class="php-var">$this</span>->getClassesInFile(<span class="php-var">$file</span>);
|
275 |
+
</span><span id="126" class="l"> <span class="php-var">$results</span>[<span class="php-var">$file</span>] = <span class="php-var">$classes</span>;
|
276 |
+
</span><span id="127" class="l"> }
|
277 |
+
</span><span id="128" class="l">
|
278 |
+
</span><span id="129" class="l"> <span class="php-keyword1">return</span> <span class="php-var">$results</span>;
|
279 |
+
</span><span id="130" class="l"> }
|
280 |
+
</span><span id="131" class="l">
|
281 |
+
</span><span id="132" class="l"> <span class="php-comment">/**
|
282 |
+
</span></span><span id="133" class="l"><span class="php-comment"> * Recursively scans all PHP files in the given patch and registers any classes found.
|
283 |
+
</span></span><span id="134" class="l"><span class="php-comment"> * @param string $path The path to scan
|
284 |
+
</span></span><span id="135" class="l"><span class="php-comment"> * @return void
|
285 |
+
</span></span><span id="136" class="l"><span class="php-comment"> */</span>
|
286 |
+
</span><span id="137" class="l"> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> registerClassesInPath(<span class="php-var">$path</span>)
|
287 |
+
</span><span id="138" class="l"> {
|
288 |
+
</span><span id="139" class="l"> <span class="php-keyword1">global</span> <span class="php-var">$wpgmza</span>;
|
289 |
+
</span><span id="140" class="l">
|
290 |
+
</span><span id="141" class="l"> <span class="php-comment">//$cacheFile = $relative . 'includes/auto-loader-cache.json';</span>
|
291 |
+
</span><span id="142" class="l"> <span class="php-comment">//$useCache = !$wpgmza->isInDeveloperMode() && file_exists($cacheFile);</span>
|
292 |
+
</span><span id="143" class="l">
|
293 |
+
</span><span id="144" class="l"> <span class="php-var">$classesByFilename</span> = <span class="php-var">$this</span>->getClassesInPathByFilename(<span class="php-var">$path</span>);
|
294 |
+
</span><span id="145" class="l">
|
295 |
+
</span><span id="146" class="l"> <span class="php-keyword1">foreach</span>(<span class="php-var">$classesByFilename</span> <span class="php-keyword1">as</span> <span class="php-var">$file</span> => <span class="php-var">$class</span>)
|
296 |
+
</span><span id="147" class="l"> {
|
297 |
+
</span><span id="148" class="l"> <span class="php-keyword1">if</span>(!<span class="php-keyword1">empty</span>(<span class="php-var">$class</span>))
|
298 |
+
</span><span id="149" class="l"> <span class="php-var">$this</span>->filenamesByClass[<span class="php-var">$class</span>] = <span class="php-var">$file</span>;
|
299 |
+
</span><span id="150" class="l"> }
|
300 |
+
</span><span id="151" class="l">
|
301 |
+
</span><span id="152" class="l"> <span class="php-var">$this</span>->updateCache();
|
302 |
+
</span><span id="153" class="l"> }
|
303 |
+
</span><span id="154" class="l">
|
304 |
+
</span><span id="155" class="l"> <span class="php-comment">/**
|
305 |
+
</span></span><span id="156" class="l"><span class="php-comment"> * This function is registered with PHPs native spl_autoloader_register to require the file associated with the class. This function is to be treated as private and should only be called by PHP itself.
|
306 |
+
</span></span><span id="157" class="l"><span class="php-comment"> * @internal
|
307 |
+
</span></span><span id="158" class="l"><span class="php-comment"> * @param string $class The class passed in by PHP
|
308 |
+
</span></span><span id="159" class="l"><span class="php-comment"> * @return void
|
309 |
+
</span></span><span id="160" class="l"><span class="php-comment"> */</span>
|
310 |
+
</span><span id="161" class="l"> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> callback(<span class="php-var">$class</span>)
|
311 |
+
</span><span id="162" class="l"> {
|
312 |
+
</span><span id="163" class="l"> <span class="php-var">$pattern</span> = <span class="php-quote">"/^(\\\\?)WPGMZA/"</span>;
|
313 |
+
</span><span id="164" class="l">
|
314 |
+
</span><span id="165" class="l"> <span class="php-keyword1">if</span>(!<span class="php-keyword2">preg_match</span>(<span class="php-var">$pattern</span>, <span class="php-var">$class</span>, <span class="php-var">$m</span>))
|
315 |
+
</span><span id="166" class="l"> <span class="php-keyword1">return</span>;
|
316 |
+
</span><span id="167" class="l">
|
317 |
+
</span><span id="168" class="l"> <span class="php-keyword1">if</span>(<span class="php-keyword1">empty</span>(<span class="php-var">$m</span>[<span class="php-num">1</span>]))
|
318 |
+
</span><span id="169" class="l"> <span class="php-var">$class</span> = <span class="php-quote">'\\'</span> . <span class="php-var">$class</span>;
|
319 |
+
</span><span id="170" class="l">
|
320 |
+
</span><span id="171" class="l"> <span class="php-keyword1">if</span>(!<span class="php-keyword1">isset</span>(<span class="php-var">$this</span>->filenamesByClass[<span class="php-var">$class</span>]))
|
321 |
+
</span><span id="172" class="l"> <span class="php-keyword1">return</span>;
|
322 |
+
</span><span id="173" class="l">
|
323 |
+
</span><span id="174" class="l"> <span class="php-var">$file</span> = <span class="php-var">$this</span>->filenamesByClass[<span class="php-var">$class</span>];
|
324 |
+
</span><span id="175" class="l">
|
325 |
+
</span><span id="176" class="l"> <span class="php-keyword1">require_once</span>( <span class="php-var">$file</span> );
|
326 |
+
</span><span id="177" class="l"> }
|
327 |
+
</span><span id="178" class="l">
|
328 |
+
</span><span id="179" class="l">}
|
329 |
+
</span><span id="180" class="l">
|
330 |
+
</span><span id="181" class="l"><span class="php-keyword1">global</span> <span class="php-var">$wpgmza_auto_loader</span>;
|
331 |
+
</span><span id="182" class="l"><span class="php-var">$wpgmza_auto_loader</span> = <span class="php-keyword1">new</span> AutoLoader();
|
332 |
+
</span><span id="183" class="l"><span class="php-var">$wpgmza_auto_loader</span>->registerClassesInPath(__DIR__);
|
333 |
+
</span><span id="184" class="l">
|
334 |
+
</span><span id="185" class="l"><span class="php-keyword2">spl_autoload_register</span>(<span class="php-keyword1">array</span>(<span class="php-var">$wpgmza_auto_loader</span>, <span class="php-quote">'callback'</span>));
|
335 |
+
</span><span id="186" class="l"></span></code></pre>
|
336 |
|
337 |
<div id="footer">
|
338 |
API documentation generated by <a href="http://apigen.org">ApiGen</a>
|
339 |
</div>
|
340 |
</div>
|
341 |
</div>
|
342 |
+
<script src="resources/combined.js?bdf41a0492319853d610bde7b68b95e93d08fae3"></script>
|
343 |
+
<script src="elementlist.js?ce6e64dd6d2e258467153e0fbb3257ea07b69a7b"></script>
|
344 |
</body>
|
345 |
</html>
|
@@ -50,12 +50,18 @@
|
|
50 |
<div id="elements">
|
51 |
<h3>Classes</h3>
|
52 |
<ul>
|
|
|
|
|
53 |
<li><a href="class-WPGMZA.AutoLoader.html">WPGMZA\AutoLoader</a></li>
|
54 |
<li><a href="class-WPGMZA.Crud.html">WPGMZA\Crud</a></li>
|
|
|
|
|
|
|
55 |
<li><a href="class-WPGMZA.DOMDocument.html">WPGMZA\DOMDocument</a></li>
|
56 |
<li><a href="class-WPGMZA.DOMElement.html">WPGMZA\DOMElement</a></li>
|
57 |
<li><a href="class-WPGMZA.Factory.html">WPGMZA\Factory</a></li>
|
58 |
<li><a href="class-WPGMZA.GDPRCompliance.html">WPGMZA\GDPRCompliance</a></li>
|
|
|
59 |
<li><a href="class-WPGMZA.GoogleGeocoder.html">WPGMZA\GoogleGeocoder</a></li>
|
60 |
<li><a href="class-WPGMZA.GoogleMap.html">WPGMZA\GoogleMap</a></li>
|
61 |
<li><a href="class-WPGMZA.GoogleMapsAPILoader.html" class="deprecated">WPGMZA\GoogleMapsAPILoader</a></li>
|
@@ -66,10 +72,14 @@
|
|
66 |
<li><a href="class-WPGMZA.Map.html">WPGMZA\Map</a></li>
|
67 |
<li><a href="class-WPGMZA.MapsEngineDialog.html">WPGMZA\MapsEngineDialog</a></li>
|
68 |
<li><a href="class-WPGMZA.Marker.html">WPGMZA\Marker</a></li>
|
|
|
|
|
69 |
<li><a href="class-WPGMZA.ModalDialog.html">WPGMZA\ModalDialog</a></li>
|
70 |
<li><a href="class-WPGMZA.NominatimGeocodeCache.html">WPGMZA\NominatimGeocodeCache</a></li>
|
71 |
<li><a href="class-WPGMZA.OLLoader.html">WPGMZA\OLLoader</a></li>
|
72 |
<li><a href="class-WPGMZA.Plugin.html">WPGMZA\Plugin</a></li>
|
|
|
|
|
73 |
<li><a href="class-WPGMZA.RestAPI.html">WPGMZA\RestAPI</a></li>
|
74 |
<li><a href="class-WPGMZA.ScriptLoader.html">WPGMZA\ScriptLoader</a></li>
|
75 |
<li><a href="class-WPGMZA.Selector.AttributeSelector.html">WPGMZA\Selector\AttributeSelector</a></li>
|
@@ -81,6 +91,7 @@
|
|
81 |
<li><a href="class-WPGMZA.Selector.TokenStream.html">WPGMZA\Selector\TokenStream</a></li>
|
82 |
<li><a href="class-WPGMZA.Selector.XPathConverter.html">WPGMZA\Selector\XPathConverter</a></li>
|
83 |
<li><a href="class-WPGMZA.Strings.html">WPGMZA\Strings</a></li>
|
|
|
84 |
</ul>
|
85 |
|
86 |
|
@@ -95,7 +106,6 @@
|
|
95 |
<h3>Functions</h3>
|
96 |
<ul>
|
97 |
<li><a href="function-WPGMZA.create_marker_instance_delegate.html">WPGMZA\create_marker_instance_delegate</a></li>
|
98 |
-
<li><a href="function-WPGMZA.create_plugin_instance.html" class="deprecated">WPGMZA\create_plugin_instance</a></li>
|
99 |
<li><a href="function-WPGMZA.query_nominatim_cache.html" class="deprecated">WPGMZA\query_nominatim_cache</a></li>
|
100 |
<li><a href="function-WPGMZA.Selector.trace.html">WPGMZA\Selector\trace</a></li>
|
101 |
<li><a href="function-WPGMZA.store_nominatim_cache.html" class="deprecated">WPGMZA\store_nominatim_cache</a></li>
|
@@ -136,7 +146,7 @@
|
|
136 |
</ul>
|
137 |
</div>
|
138 |
|
139 |
-
<pre class="numbers"><code><span class="l"><a href="#1"> 1: </a></span><span class="l"><a href="#2"> 2: </a></span><span class="l"><a href="#3"> 3: </a></span><span class="l"><a href="#4"> 4: </a></span><span class="l"><a href="#5"> 5: </a></span></span><span class="l"><a href="#6"> 6: </a></span></span><span class="l"><a href="#7"> 7: </a></span></span><span class="l"><a href="#8"> 8: </a></span></span><span class="l"><a href="#9"> 9: </a></span><span class="l"><a href="#10"> 10: </a></span><span class="l"><a href="#11"> 11: </a></span><span class="l"><a href="#12"> 12: </a></span><span class="l"><a href="#13"> 13: </a></span><span class="l"><a href="#14"> 14: </a></span><span class="l"><a href="#15"> 15: </a></span><span class="l"><a href="#16"> 16: </a></span><span class="l"><a href="#17"> 17: </a></span><span class="l"><a href="#18"> 18: </a></span><span class="l"><a href="#19"> 19: </a></span><span class="l"><a href="#20"> 20: </a></span><span class="l"><a href="#21"> 21: </a></span><span class="l"><a href="#22"> 22: </a></span><span class="l"><a href="#23"> 23: </a></span><span class="l"><a href="#24"> 24: </a></span><span class="l"><a href="#25"> 25: </a></span></span><span class="l"><a href="#26"> 26: </a></span></span><span class="l"><a href="#27"> 27: </a></span></span><span class="l"><a href="#28"> 28: </a></span></span><span class="l"><a href="#29"> 29: </a></span><span class="l"><a href="#30"> 30: </a></span><span class="l"><a href="#31"> 31: </a></span><span class="l"><a href="#32"> 32: </a></span><span class="l"><a href="#33"> 33: </a></span><span class="l"><a href="#34"> 34: </a></span><span class="l"><a href="#35"> 35: </a></span><span class="l"><a href="#36"> 36: </a></span><span class="l"><a href="#37"> 37: </a></span><span class="l"><a href="#38"> 38: </a></span><span class="l"><a href="#39"> 39: </a></span><span class="l"><a href="#40"> 40: </a></span><span class="l"><a href="#41"> 41: </a></span><span class="l"><a href="#42"> 42: </a></span><span class="l"><a href="#43"> 43: </a></span><span class="l"><a href="#44"> 44: </a></span><span class="l"><a href="#45"> 45: </a></span><span class="l"><a href="#46"> 46: </a></span><span class="l"><a href="#47"> 47: </a></span><span class="l"><a href="#48"> 48: </a></span><span class="l"><a href="#49"> 49: </a></span><span class="l"><a href="#50"> 50: </a></span><span class="l"><a href="#51"> 51: </a></span><span class="l"><a href="#52"> 52: </a></span><span class="l"><a href="#53"> 53: </a></span><span class="l"><a href="#54"> 54: </a></span><span class="l"><a href="#55"> 55: </a></span><span class="l"><a href="#56"> 56: </a></span><span class="l"><a href="#57"> 57: </a></span><span class="l"><a href="#58"> 58: </a></span><span class="l"><a href="#59"> 59: </a></span><span class="l"><a href="#60"> 60: </a></span><span class="l"><a href="#61"> 61: </a></span><span class="l"><a href="#62"> 62: </a></span><span class="l"><a href="#63"> 63: </a></span><span class="l"><a href="#64"> 64: </a></span><span class="l"><a href="#65"> 65: </a></span><span class="l"><a href="#66"> 66: </a></span><span class="l"><a href="#67"> 67: </a></span><span class="l"><a href="#68"> 68: </a></span><span class="l"><a href="#69"> 69: </a></span><span class="l"><a href="#70"> 70: </a></span><span class="l"><a href="#71"> 71: </a></span><span class="l"><a href="#72"> 72: </a></span><span class="l"><a href="#73"> 73: </a></span><span class="l"><a href="#74"> 74: </a></span><span class="l"><a href="#75"> 75: </a></span><span class="l"><a href="#76"> 76: </a></span><span class="l"><a href="#77"> 77: </a></span><span class="l"><a href="#78"> 78: </a></span><span class="l"><a href="#79"> 79: </a></span><span class="l"><a href="#80"> 80: </a></span><span class="l"><a href="#81"> 81: </a></span><span class="l"><a href="#82"> 82: </a></span><span class="l"><a href="#83"> 83: </a></span><span class="l"><a href="#84"> 84: </a></span><span class="l"><a href="#85"> 85: </a></span><span class="l"><a href="#86"> 86: </a></span><span class="l"><a href="#87"> 87: </a></span><span class="l"><a href="#88"> 88: </a></span><span class="l"><a href="#89"> 89: </a></span><span class="l"><a href="#90"> 90: </a></span><span class="l"><a href="#91"> 91: </a></span><span class="l"><a href="#92"> 92: </a></span><span class="l"><a href="#93"> 93: </a></span><span class="l"><a href="#94"> 94: </a></span><span class="l"><a href="#95"> 95: </a></span><span class="l"><a href="#96"> 96: </a></span><span class="l"><a href="#97"> 97: </a></span><span class="l"><a href="#98"> 98: </a></span><span class="l"><a href="#99"> 99: </a></span><span class="l"><a href="#100">100: </a></span><span class="l"><a href="#101">101: </a></span><span class="l"><a href="#102">102: </a></span><span class="l"><a href="#103">103: </a></span><span class="l"><a href="#104">104: </a></span><span class="l"><a href="#105">105: </a></span><span class="l"><a href="#106">106: </a></span><span class="l"><a href="#107">107: </a></span><span class="l"><a href="#108">108: </a></span><span class="l"><a href="#109">109: </a></span><span class="l"><a href="#110">110: </a></span><span class="l"><a href="#111">111: </a></span><span class="l"><a href="#112">112: </a></span><span class="l"><a href="#113">113: </a></span><span class="l"><a href="#114">114: </a></span></span><span class="l"><a href="#115">115: </a></span></span><span class="l"><a href="#116">116: </a></span></span><span class="l"><a href="#117">117: </a></span><span class="l"><a href="#118">118: </a></span><span class="l"><a href="#119">119: </a></span><span class="l"><a href="#120">120: </a></span><span class="l"><a href="#121">121: </a></span><span class="l"><a href="#122">122: </a></span><span class="l"><a href="#123">123: </a></span></span><span class="l"><a href="#124">124: </a></span></span><span class="l"><a href="#125">125: </a></span></span><span class="l"><a href="#126">126: </a></span><span class="l"><a href="#127">127: </a></span><span class="l"><a href="#128">128: </a></span><span class="l"><a href="#129">129: </a></span><span class="l"><a href="#130">130: </a></span><span class="l"><a href="#131">131: </a></span><span class="l"><a href="#132">132: </a></span></span><span class="l"><a href="#133">133: </a></span></span><span class="l"><a href="#134">134: </a></span></span><span class="l"><a href="#135">135: </a></span><span class="l"><a href="#136">136: </a></span><span class="l"><a href="#137">137: </a></span><span class="l"><a href="#138">138: </a></span><span class="l"><a href="#139">139: </a></span><span class="l"><a href="#140">140: </a></span><span class="l"><a href="#141">141: </a></span></span><span class="l"><a href="#142">142: </a></span></span><span class="l"><a href="#143">143: </a></span></span><span class="l"><a href="#144">144: </a></span><span class="l"><a href="#145">145: </a></span><span class="l"><a href="#146">146: </a></span><span class="l"><a href="#147">147: </a></span><span class="l"><a href="#148">148: </a></span><span class="l"><a href="#149">149: </a></span><span class="l"><a href="#150">150: </a></span><span class="l"><a href="#151">151: </a></span><span class="l"><a href="#152">152: </a></span><span class="l"><a href="#153">153: </a></span><span class="l"><a href="#154">154: </a></span><span class="l"><a href="#155">155: </a></span><span class="l"><a href="#156">156: </a></span><span class="l"><a href="#157">157: </a></span><span class="l"><a href="#158">158: </a></span></span><span class="l"><a href="#159">159: </a></span></span><span class="l"><a href="#160">160: </a></span></span><span class="l"><a href="#161">161: </a></span></span><span class="l"><a href="#162">162: </a></span><span class="l"><a href="#163">163: </a></span><span class="l"><a href="#164">164: </a></span><span class="l"><a href="#165">165: </a></span><span class="l"><a href="#166">166: </a></span><span class="l"><a href="#167">167: </a></span><span class="l"><a href="#168">168: </a></span><span class="l"><a href="#169">169: </a></span><span class="l"><a href="#170">170: </a></span><span class="l"><a href="#171">171: </a></span><span class="l"><a href="#172">172: </a></span><span class="l"><a href="#173">173: </a></span><span class="l"><a href="#174">174: </a></span><span class="l"><a href="#175">175: </a></span><span class="l"><a href="#176">176: </a></span><span class="l"><a href="#177">177: </a></span><span class="l"><a href="#178">178: </a></span><span class="l"><a href="#179">179: </a></span><span class="l"><a href="#180">180: </a></span><span class="l"><a href="#181">181: </a></span><span class="l"><a href="#182">182: </a></span><span class="l"><a href="#183">183: </a></span><span class="l"><a href="#184">184: </a></span><span class="l"><a href="#185">185: </a></span><span class="l"><a href="#186">186: </a></span></span><span class="l"><a href="#187">187: </a></span></span><span class="l"><a href="#188">188: </a></span></span><span class="l"><a href="#189">189: </a></span></span><span class="l"><a href="#190">190: </a></span></span><span class="l"><a href="#191">191: </a></span></span><span class="l"><a href="#192">192: </a></span></span><span class="l"><a href="#193">193: </a></span></span><span class="l"><a href="#194">194: </a></span></span><span class="l"><a href="#195">195: </a></span></span><span class="l"><a href="#196">196: </a></span></span><span class="l"><a href="#197">197: </a></span></span><span class="l"><a href="#198">198: </a></span><span class="l"><a href="#199">199: </a></span><span class="l"><a href="#200">200: </a></span><span class="l"><a href="#201">201: </a></span><span class="l"><a href="#202">202: </a></span><span class="l"><a href="#203">203: </a></span><span class="l"><a href="#204">204: </a></span><span class="l"><a href="#205">205: </a></span><span class="l"><a href="#206">206: </a></span><span class="l"><a href="#207">207: </a></span><span class="l"><a href="#208">208: </a></span></span><span class="l"><a href="#209">209: </a></span></span><span class="l"><a href="#210">210: </a></span></span><span class="l"><a href="#211">211: </a></span></span><span class="l"><a href="#212">212: </a></span><span class="l"><a href="#213">213: </a></span><span class="l"><a href="#214">214: </a></span><span class="l"><a href="#215">215: </a></span><span class="l"><a href="#216">216: </a></span><span class="l"><a href="#217">217: </a></span><span class="l"><a href="#218">218: </a></span><span class="l"><a href="#219">219: </a></span><span class="l"><a href="#220">220: </a></span><span class="l"><a href="#221">221: </a></span></span><span class="l"><a href="#222">222: </a></span></span><span class="l"><a href="#223">223: </a></span></span><span class="l"><a href="#224">224: </a></span><span class="l"><a href="#225">225: </a></span><span class="l"><a href="#226">226: </a></span><span class="l"><a href="#227">227: </a></span><span class="l"><a href="#228">228: </a></span><span class="l"><a href="#229">229: </a></span><span class="l"><a href="#230">230: </a></span><span class="l"><a href="#231">231: </a></span><span class="l"><a href="#232">232: </a></span><span class="l"><a href="#233">233: </a></span><span class="l"><a href="#234">234: </a></span><span class="l"><a href="#235">235: </a></span><span class="l"><a href="#236">236: </a></span><span class="l"><a href="#237">237: </a></span><span class="l"><a href="#238">238: </a></span><span class="l"><a href="#239">239: </a></span><span class="l"><a href="#240">240: </a></span><span class="l"><a href="#241">241: </a></span></span><span class="l"><a href="#242">242: </a></span></span><span class="l"><a href="#243">243: </a></span></span><span class="l"><a href="#244">244: </a></span><span class="l"><a href="#245">245: </a></span><span class="l"><a href="#246">246: </a></span><span class="l"><a href="#247">247: </a></span><span class="l"><a href="#248">248: </a></span><span class="l"><a href="#249">249: </a></span><span class="l"><a href="#250">250: </a></span><span class="l"><a href="#251">251: </a></span><span class="l"><a href="#252">252: </a></span><span class="l"><a href="#253">253: </a></span><span class="l"><a href="#254">254: </a></span><span class="l"><a href="#255">255: </a></span><span class="l"><a href="#256">256: </a></span><span class="l"><a href="#257">257: </a></span><span class="l"><a href="#258">258: </a></span><span class="l"><a href="#259">259: </a></span><span class="l"><a href="#260">260: </a></span><span class="l"><a href="#261">261: </a></span></span><span class="l"><a href="#262">262: </a></span></span><span class="l"><a href="#263">263: </a></span></span><span class="l"><a href="#264">264: </a></span><span class="l"><a href="#265">265: </a></span><span class="l"><a href="#266">266: </a></span><span class="l"><a href="#267">267: </a></span><span class="l"><a href="#268">268: </a></span><span class="l"><a href="#269">269: </a></span><span class="l"><a href="#270">270: </a></span></span><span class="l"><a href="#271">271: </a></span></span><span class="l"><a href="#272">272: </a></span></span><span class="l"><a href="#273">273: </a></span></span><span class="l"><a href="#274">274: </a></span><span class="l"><a href="#275">275: </a></span><span class="l"><a href="#276">276: </a></span><span class="l"><a href="#277">277: </a></span><span class="l"><a href="#278">278: </a></span><span class="l"><a href="#279">279: </a></span><span class="l"><a href="#280">280: </a></span><span class="l"><a href="#281">281: </a></span></span><span class="l"><a href="#282">282: </a></span></span><span class="l"><a href="#283">283: </a></span></span><span class="l"><a href="#284">284: </a></span><span class="l"><a href="#285">285: </a></span><span class="l"><a href="#286">286: </a></span><span class="l"><a href="#287">287: </a></span><span class="l"><a href="#288">288: </a></span><span class="l"><a href="#289">289: </a></span><span class="l"><a href="#290">290: </a></span></span><span class="l"><a href="#291">291: </a></span></span><span class="l"><a href="#292">292: </a></span></span><span class="l"><a href="#293">293: </a></span><span class="l"><a href="#294">294: </a></span><span class="l"><a href="#295">295: </a></span><span class="l"><a href="#296">296: </a></span><span class="l"><a href="#297">297: </a></span><span class="l"><a href="#298">298: </a></span><span class="l"><a href="#299">299: </a></span><span class="l"><a href="#300">300: </a></span><span class="l"><a href="#301">301: </a></span><span class="l"><a href="#302">302: </a></span><span class="l"><a href="#303">303: </a></span><span class="l"><a href="#304">304: </a></span><span class="l"><a href="#305">305: </a></span><span class="l"><a href="#306">306: </a></span><span class="l"><a href="#307">307: </a></span><span class="l"><a href="#308">308: </a></span></span><span class="l"><a href="#309">309: </a></span></span><span class="l"><a href="#310">310: </a></span></span><span class="l"><a href="#311">311: </a></span><span class="l"><a href="#312">312: </a></span><span class="l"><a href="#313">313: </a></span><span class="l"><a href="#314">314: </a></span><span class="l"><a href="#315">315: </a></span><span class="l"><a href="#316">316: </a></span><span class="l"><a href="#317">317: </a></span><span class="l"><a href="#318">318: </a></span><span class="l"><a href="#319">319: </a></span><span class="l"><a href="#320">320: </a></span></span><span class="l"><a href="#321">321: </a></span></span><span class="l"><a href="#322">322: </a></span></span><span class="l"><a href="#323">323: </a></span></span><span class="l"><a href="#324">324: </a></span><span class="l"><a href="#325">325: </a></span><span class="l"><a href="#326">326: </a></span><span class="l"><a href="#327">327: </a></span><span class="l"><a href="#328">328: </a></span><span class="l"><a href="#329">329: </a></span><span class="l"><a href="#330">330: </a></span><span class="l"><a href="#331">331: </a></span><span class="l"><a href="#332">332: </a></span><span class="l"><a href="#333">333: </a></span><span class="l"><a href="#334">334: </a></span><span class="l"><a href="#335">335: </a></span><span class="l"><a href="#336">336: </a></span><span class="l"><a href="#337">337: </a></span><span class="l"><a href="#338">338: </a></span><span class="l"><a href="#339">339: </a></span><span class="l"><a href="#340">340: </a></span><span class="l"><a href="#341">341: </a></span><span class="l"><a href="#342">342: </a></span><span class="l"><a href="#343">343: </a></span><span class="l"><a href="#344">344: </a></span><span class="l"><a href="#345">345: </a></span><span class="l"><a href="#346">346: </a></span><span class="l"><a href="#347">347: </a></span></span><span class="l"><a href="#348">348: </a></span></span><span class="l"><a href="#349">349: </a></span></span><span class="l"><a href="#350">350: </a></span></span><span class="l"><a href="#351">351: </a></span><span class="l"><a href="#352">352: </a></span><span class="l"><a href="#353">353: </a></span><span class="l"><a href="#354">354: </a></span><span class="l"><a href="#355">355: </a></span><span class="l"><a href="#356">356: </a></span><span class="l"><a href="#357">357: </a></span><span class="l"><a href="#358">358: </a></span><span class="l"><a href="#359">359: </a></span><span class="l"><a href="#360">360: </a></span><span class="l"><a href="#361">361: </a></span><span class="l"><a href="#362">362: </a></span><span class="l"><a href="#363">363: </a></span><span class="l"><a href="#364">364: </a></span><span class="l"><a href="#365">365: </a></span><span class="l"><a href="#366">366: </a></span><span class="l"><a href="#367">367: </a></span><span class="l"><a href="#368">368: </a></span><span class="l"><a href="#369">369: </a></span><span class="l"><a href="#370">370: </a></span><span class="l"><a href="#371">371: </a></span><span class="l"><a href="#372">372: </a></span><span class="l"><a href="#373">373: </a></span><span class="l"><a href="#374">374: </a></span><span class="l"><a href="#375">375: </a></span><span class="l"><a href="#376">376: </a></span></span><span class="l"><a href="#377">377: </a></span></span><span class="l"><a href="#378">378: </a></span></span><span class="l"><a href="#379">379: </a></span><span class="l"><a href="#380">380: </a></span><span class="l"><a href="#381">381: </a></span><span class="l"><a href="#382">382: </a></span><span class="l"><a href="#383">383: </a></span><span class="l"><a href="#384">384: </a></span><span class="l"><a href="#385">385: </a></span><span class="l"><a href="#386">386: </a></span><span class="l"><a href="#387">387: </a></span><span class="l"><a href="#388">388: </a></span><span class="l"><a href="#389">389: </a></span><span class="l"><a href="#390">390: </a></span><span class="l"><a href="#391">391: </a></span><span class="l"><a href="#392">392: </a></span><span class="l"><a href="#393">393: </a></span><span class="l"><a href="#394">394: </a></span><span class="l"><a href="#395">395: </a></span><span class="l"><a href="#396">396: </a></span></span><span class="l"><a href="#397">397: </a></span></span><span class="l"><a href="#398">398: </a></span></span><span class="l"><a href="#399">399: </a></span></span><span class="l"><a href="#400">400: </a></span><span class="l"><a href="#401">401: </a></span><span class="l"><a href="#402">402: </a></span><span class="l"><a href="#403">403: </a></span><span class="l"><a href="#404">404: </a></span><span class="l"><a href="#405">405: </a></span><span class="l"><a href="#406">406: </a></span><span class="l"><a href="#407">407: </a></span><span class="l"><a href="#408">408: </a></span><span class="l"><a href="#409">409: </a></span><span class="l"><a href="#410">410: </a></span><span class="l"><a href="#411">411: </a></span><span class="l"><a href="#412">412: </a></span><span class="l"><a href="#413">413: </a></span><span class="l"><a href="#414">414: </a></span><span class="l"><a href="#415">415: </a></span><span class="l"><a href="#416">416: </a></span><span class="l"><a href="#417">417: </a></span><span class="l"><a href="#418">418: </a></span><span class="l"><a href="#419">419: </a></span><span class="l"><a href="#420">420: </a></span><span class="l"><a href="#421">421: </a></span><span class="l"><a href="#422">422: </a></span><span class="l"><a href="#423">423: </a></span><span class="l"><a href="#424">424: </a></span><span class="l"><a href="#425">425: </a></span><span class="l"><a href="#426">426: </a></span><span class="l"><a href="#427">427: </a></span><span class="l"><a href="#428">428: </a></span><span class="l"><a href="#429">429: </a></span><span class="l"><a href="#430">430: </a></span><span class="l"><a href="#431">431: </a></span><span class="l"><a href="#432">432: </a></span><span class="l"><a href="#433">433: </a></span><span class="l"><a href="#434">434: </a></span><span class="l"><a href="#435">435: </a></span><span class="l"><a href="#436">436: </a></span><span class="l"><a href="#437">437: </a></span><span class="l"><a href="#438">438: </a></span><span class="l"><a href="#439">439: </a></span><span class="l"><a href="#440">440: </a></span><span class="l"><a href="#441">441: </a></span><span class="l"><a href="#442">442: </a></span><span class="l"><a href="#443">443: </a></span><span class="l"><a href="#444">444: </a></span><span class="l"><a href="#445">445: </a></span><span class="l"><a href="#446">446: </a></span><span class="l"><a href="#447">447: </a></span><span class="l"><a href="#448">448: </a></span><span class="l"><a href="#449">449: </a></span><span class="l"><a href="#450">450: </a></span><span class="l"><a href="#451">451: </a></span><span class="l"><a href="#452">452: </a></span></span><span class="l"><a href="#453">453: </a></span></span><span class="l"><a href="#454">454: </a></span></span><span class="l"><a href="#455">455: </a></span></span><span class="l"><a href="#456">456: </a></span><span class="l"><a href="#457">457: </a></span><span class="l"><a href="#458">458: </a></span><span class="l"><a href="#459">459: </a></span><span class="l"><a href="#460">460: </a></span><span class="l"><a href="#461">461: </a></span><span class="l"><a href="#462">462: </a></span><span class="l"><a href="#463">463: </a></span><span class="l"><a href="#464">464: </a></span><span class="l"><a href="#465">465: </a></span><span class="l"><a href="#466">466: </a></span><span class="l"><a href="#467">467: </a></span><span class="l"><a href="#468">468: </a></span><span class="l"><a href="#469">469: </a></span><span class="l"><a href="#470">470: </a></span></span><span class="l"><a href="#471">471: </a></span></span><span class="l"><a href="#472">472: </a></span></span><span class="l"><a href="#473">473: </a></span></span><span class="l"><a href="#474">474: </a></span></span><span class="l"><a href="#475">475: </a></span><span class="l"><a href="#476">476: </a></span><span class="l"><a href="#477">477: </a></span><span class="l"><a href="#478">478: </a></span><span class="l"><a href="#479">479: </a></span><span class="l"><a href="#480">480: </a></span><span class="l"><a href="#481">481: </a></span><span class="l"><a href="#482">482: </a></span><span class="l"><a href="#483">483: </a></span><span class="l"><a href="#484">484: </a></span><span class="l"><a href="#485">485: </a></span><span class="l"><a href="#486">486: </a></span><span class="l"><a href="#487">487: </a></span><span class="l"><a href="#488">488: </a></span><span class="l"><a href="#489">489: </a></span><span class="l"><a href="#490">490: </a></span><span class="l"><a href="#491">491: </a></span><span class="l"><a href="#492">492: </a></span><span class="l"><a href="#493">493: </a></span><span class="l"><a href="#494">494: </a></span><span class="l"><a href="#495">495: </a></span><span class="l"><a href="#496">496: </a></span><span class="l"><a href="#497">497: </a></span><span class="l"><a href="#498">498: </a></span><span class="l"><a href="#499">499: </a></span><span class="l"><a href="#500">500: </a></span><span class="l"><a href="#501">501: </a></span><span class="l"><a href="#502">502: </a></span></span><span class="l"><a href="#503">503: </a></span></span><span class="l"><a href="#504">504: </a></span></span><span class="l"><a href="#505">505: </a></span></span><span class="l"><a href="#506">506: </a></span><span class="l"><a href="#507">507: </a></span><span class="l"><a href="#508">508: </a></span><span class="l"><a href="#509">509: </a></span><span class="l"><a href="#510">510: </a></span><span class="l"><a href="#511">511: </a></span><span class="l"><a href="#512">512: </a></span><span class="l"><a href="#513">513: </a></span><span class="l"><a href="#514">514: </a></span></span><span class="l"><a href="#515">515: </a></span></span><span class="l"><a href="#516">516: </a></span></span><span class="l"><a href="#517">517: </a></span></span><span class="l"><a href="#518">518: </a></span><span class="l"><a href="#519">519: </a></span><span class="l"><a href="#520">520: </a></span><span class="l"><a href="#521">521: </a></span><span class="l"><a href="#522">522: </a></span><span class="l"><a href="#523">523: </a></span><span class="l"><a href="#524">524: </a></span><span class="l"><a href="#525">525: </a></span><span class="l"><a href="#526">526: </a></span></span><span class="l"><a href="#527">527: </a></span></span><span class="l"><a href="#528">528: </a></span></span><span class="l"><a href="#529">529: </a></span></span><span class="l"><a href="#530">530: </a></span></span><span class="l"><a href="#531">531: </a></span><span class="l"><a href="#532">532: </a></span><span class="l"><a href="#533">533: </a></span><span class="l"><a href="#534">534: </a></span><span class="l"><a href="#535">535: </a></span><span class="l"><a href="#536">536: </a></span><span class="l"><a href="#537">537: </a></span><span class="l"><a href="#538">538: </a></span><span class="l"><a href="#539">539: </a></span><span class="l"><a href="#540">540: </a></span><span class="l"><a href="#541">541: </a></span><span class="l"><a href="#542">542: </a></span><span class="l"><a href="#543">543: </a></span><span class="l"><a href="#544">544: </a></span><span class="l"><a href="#545">545: </a></span><span class="l"><a href="#546">546: </a></span><span class="l"><a href="#547">547: </a></span><span class="l"><a href="#548">548: </a></span><span class="l"><a href="#549">549: </a></span><span class="l"><a href="#550">550: </a></span><span class="l"><a href="#551">551: </a></span></span><span class="l"><a href="#552">552: </a></span></span><span class="l"><a href="#553">553: </a></span></span><span class="l"><a href="#554">554: </a></span></span><span class="l"><a href="#555">555: </a></span></span><span class="l"><a href="#556">556: </a></span><span class="l"><a href="#557">557: </a></span><span class="l"><a href="#558">558: </a></span><span class="l"><a href="#559">559: </a></span><span class="l"><a href="#560">560: </a></span><span class="l"><a href="#561">561: </a></span><span class="l"><a href="#562">562: </a></span><span class="l"><a href="#563">563: </a></span><span class="l"><a href="#564">564: </a></span></span><span class="l"><a href="#565">565: </a></span></span><span class="l"><a href="#566">566: </a></span></span><span class="l"><a href="#567">567: </a></span></span><span class="l"><a href="#568">568: </a></span></span><span class="l"><a href="#569">569: </a></span></span><span class="l"><a href="#570">570: </a></span></span><span class="l"><a href="#571">571: </a></span><span class="l"><a href="#572">572: </a></span><span class="l"><a href="#573">573: </a></span><span class="l"><a href="#574">574: </a></span><span class="l"><a href="#575">575: </a></span><span class="l"><a href="#576">576: </a></span><span class="l"><a href="#577">577: </a></span><span class="l"><a href="#578">578: </a></span><span class="l"><a href="#579">579: </a></span><span class="l"><a href="#580">580: </a></span><span class="l"><a href="#581">581: </a></span><span class="l"><a href="#582">582: </a></span><span class="l"><a href="#583">583: </a></span><span class="l"><a href="#584">584: </a></span><span class="l"><a href="#585">585: </a></span><span class="l"><a href="#586">586: </a></span><span class="l"><a href="#587">587: </a></span><span class="l"><a href="#588">588: </a></span><span class="l"><a href="#589">589: </a></span><span class="l"><a href="#590">590: </a></span><span class="l"><a href="#591">591: </a></span><span class="l"><a href="#592">592: </a></span><span class="l"><a href="#593">593: </a></span><span class="l"><a href="#594">594: </a></span><span class="l"><a href="#595">595: </a></span><span class="l"><a href="#596">596: </a></span><span class="l"><a href="#597">597: </a></span><span class="l"><a href="#598">598: </a></span><span class="l"><a href="#599">599: </a></span><span class="l"><a href="#600">600: </a></span><span class="l"><a href="#601">601: </a></span><span class="l"><a href="#602">602: </a></span><span class="l"><a href="#603">603: </a></span><span class="l"><a href="#604">604: </a></span><span class="l"><a href="#605">605: </a></span><span class="l"><a href="#606">606: </a></span><span class="l"><a href="#607">607: </a></span><span class="l"><a href="#608">608: </a></span><span class="l"><a href="#609">609: </a></span><span class="l"><a href="#610">610: </a></span><span class="l"><a href="#611">611: </a></span><span class="l"><a href="#612">612: </a></span><span class="l"><a href="#613">613: </a></span><span class="l"><a href="#614">614: </a></span><span class="l"><a href="#615">615: </a></span><span class="l"><a href="#616">616: </a></span><span class="l"><a href="#617">617: </a></span><span class="l"><a href="#618">618: </a></span><span class="l"><a href="#619">619: </a></span><span class="l"><a href="#620">620: </a></span><span class="l"><a href="#621">621: </a></span></span><span class="l"><a href="#622">622: </a></span></span><span class="l"><a href="#623">623: </a></span></span><span class="l"><a href="#624">624: </a></span></span><span class="l"><a href="#625">625: </a></span><span class="l"><a href="#626">626: </a></span><span class="l"><a href="#627">627: </a></span><span class="l"><a href="#628">628: </a></span><span class="l"><a href="#629">629: </a></span><span class="l"><a href="#630">630: </a></span><span class="l"><a href="#631">631: </a></span><span class="l"><a href="#632">632: </a></span><span class="l"><a href="#633">633: </a></span><span class="l"><a href="#634">634: </a></span><span class="l"><a href="#635">635: </a></span><span class="l"><a href="#636">636: </a></span><span class="l"><a href="#637">637: </a></span><span class="l"><a href="#638">638: </a></span></code></pre>
|
140 |
<pre class="code"><code><span id="1" class="l"><span class="xlang"><?php</span>
|
141 |
</span><span id="2" class="l">
|
142 |
</span><span id="3" class="l"><span class="php-keyword1">namespace</span> WPGMZA;
|
@@ -146,7 +156,7 @@
|
|
146 |
</span></span><span id="7" class="l"><span class="php-comment"> * objects which are stored on in the database and represented in server
|
147 |
</span></span><span id="8" class="l"><span class="php-comment"> * side logic, for example Map, Marker, Polygon
|
148 |
</span></span><span id="9" class="l"><span class="php-comment"> */</span>
|
149 |
-
</span><span id="10" class="l"><span class="php-keyword1">class</span> Crud <span class="php-keyword1">implements</span> \IteratorAggregate, \JsonSerializable
|
150 |
</span><span id="11" class="l">{
|
151 |
</span><span id="12" class="l"> <span class="php-keyword1">const</span> SINGLE_READ = <span class="php-quote">"single-read"</span>;
|
152 |
</span><span id="13" class="l"> <span class="php-keyword1">const</span> BULK_READ = <span class="php-quote">"bulk-read"</span>;
|
@@ -505,7 +515,7 @@
|
|
505 |
</span><span id="366" class="l">
|
506 |
</span><span id="367" class="l"> <span class="php-var">$arbitrary_data_column_name</span> = <span class="php-var">$this</span>->get_arbitrary_data_column_name();
|
507 |
</span><span id="368" class="l">
|
508 |
-
</span><span id="369" class="l"> <span class="php-keyword1">if</span>(<span class="php-var">$arbitrary_data_column_name</span> && <span class="php-keyword1">isset</span>(<span class="php-var">$this</span>->fields
|
509 |
</span><span id="370" class="l"> {
|
510 |
</span><span id="371" class="l"> <span class="php-var">$this</span>->parse_arbitrary_data(<span class="php-var">$this</span>->fields[<span class="php-var">$arbitrary_data_column_name</span>]);
|
511 |
</span><span id="372" class="l"> <span class="php-keyword1">unset</span>(<span class="php-var">$this</span>->fields[<span class="php-var">$arbitrary_data_column_name</span>]);
|
@@ -743,45 +753,46 @@
|
|
743 |
</span><span id="604" class="l">
|
744 |
</span><span id="605" class="l"> <span class="php-var">$stmt</span> = <span class="php-var">$wpdb</span>->prepare(<span class="php-quote">"SELECT </span><span class="php-var">$arbitrary_data_column_name</span><span class="php-quote"> FROM </span><span class="php-var">{$this->table_name}</span><span class="php-quote"> WHERE id=%d"</span>, <span class="php-keyword1">array</span>(<span class="php-var">$this</span>->id));
|
745 |
</span><span id="606" class="l">
|
746 |
-
</span><span id="607" class="l"> <span class="php-var">$
|
747 |
-
</span><span id="608" class="l">
|
748 |
-
</span><span id="609" class="l">
|
749 |
-
</span><span id="610" class="l">
|
750 |
-
</span><span id="611" class="l">
|
751 |
-
</span><span id="612" class="l">
|
752 |
-
</span><span id="613" class="l">
|
753 |
-
</span><span id="614" class="l">
|
754 |
-
</span><span id="615" class="l">
|
755 |
-
</span><span id="616" class="l">
|
756 |
-
</span><span id="617" class="l">
|
757 |
-
</span><span id="618" class="l">
|
758 |
-
</span><span id="619" class="l">
|
759 |
-
</span><span id="620" class="l">
|
760 |
-
</span><span id="621" class="l">
|
761 |
-
</span
|
762 |
-
</span></span><span id="623" class="l"><span class="php-comment"> *
|
763 |
-
</span></span><span id="624" class="l"><span class="php-comment"> * @
|
764 |
-
</span></span><span id="625" class="l"><span class="php-comment">
|
765 |
-
</span><span id="626" class="l"
|
766 |
-
</span><span id="627" class="l">
|
767 |
-
</span><span id="628" class="l">
|
768 |
-
</span><span id="629" class="l">
|
769 |
-
</span><span id="630" class="l">
|
770 |
-
</span><span id="631" class="l">
|
771 |
-
</span><span id="632" class="l">
|
772 |
-
</span><span id="633" class="l">
|
773 |
-
</span><span id="634" class="l">
|
774 |
-
</span><span id="635" class="l">
|
775 |
-
</span><span id="636" class="l">
|
776 |
-
</span><span id="637" class="l">}
|
777 |
-
</span><span id="638" class="l"
|
|
|
778 |
|
779 |
<div id="footer">
|
780 |
API documentation generated by <a href="http://apigen.org">ApiGen</a>
|
781 |
</div>
|
782 |
</div>
|
783 |
</div>
|
784 |
-
<script src="resources/combined.js?
|
785 |
-
<script src="elementlist.js?
|
786 |
</body>
|
787 |
</html>
|
50 |
<div id="elements">
|
51 |
<h3>Classes</h3>
|
52 |
<ul>
|
53 |
+
<li><a href="class-WPGMZA.AdminMarkerDataTable.html">WPGMZA\AdminMarkerDataTable</a></li>
|
54 |
+
<li><a href="class-WPGMZA.AjaxTable.html">WPGMZA\AjaxTable</a></li>
|
55 |
<li><a href="class-WPGMZA.AutoLoader.html">WPGMZA\AutoLoader</a></li>
|
56 |
<li><a href="class-WPGMZA.Crud.html">WPGMZA\Crud</a></li>
|
57 |
+
<li><a href="class-WPGMZA.Database.html">WPGMZA\Database</a></li>
|
58 |
+
<li><a href="class-WPGMZA.DataTable.html">WPGMZA\DataTable</a></li>
|
59 |
+
<li><a href="class-WPGMZA.Distance.html">WPGMZA\Distance</a></li>
|
60 |
<li><a href="class-WPGMZA.DOMDocument.html">WPGMZA\DOMDocument</a></li>
|
61 |
<li><a href="class-WPGMZA.DOMElement.html">WPGMZA\DOMElement</a></li>
|
62 |
<li><a href="class-WPGMZA.Factory.html">WPGMZA\Factory</a></li>
|
63 |
<li><a href="class-WPGMZA.GDPRCompliance.html">WPGMZA\GDPRCompliance</a></li>
|
64 |
+
<li><a href="class-WPGMZA.GlobalSettings.html">WPGMZA\GlobalSettings</a></li>
|
65 |
<li><a href="class-WPGMZA.GoogleGeocoder.html">WPGMZA\GoogleGeocoder</a></li>
|
66 |
<li><a href="class-WPGMZA.GoogleMap.html">WPGMZA\GoogleMap</a></li>
|
67 |
<li><a href="class-WPGMZA.GoogleMapsAPILoader.html" class="deprecated">WPGMZA\GoogleMapsAPILoader</a></li>
|
72 |
<li><a href="class-WPGMZA.Map.html">WPGMZA\Map</a></li>
|
73 |
<li><a href="class-WPGMZA.MapsEngineDialog.html">WPGMZA\MapsEngineDialog</a></li>
|
74 |
<li><a href="class-WPGMZA.Marker.html">WPGMZA\Marker</a></li>
|
75 |
+
<li><a href="class-WPGMZA.MarkerDataTable.html">WPGMZA\MarkerDataTable</a></li>
|
76 |
+
<li><a href="class-WPGMZA.MarkerFilter.html">WPGMZA\MarkerFilter</a></li>
|
77 |
<li><a href="class-WPGMZA.ModalDialog.html">WPGMZA\ModalDialog</a></li>
|
78 |
<li><a href="class-WPGMZA.NominatimGeocodeCache.html">WPGMZA\NominatimGeocodeCache</a></li>
|
79 |
<li><a href="class-WPGMZA.OLLoader.html">WPGMZA\OLLoader</a></li>
|
80 |
<li><a href="class-WPGMZA.Plugin.html">WPGMZA\Plugin</a></li>
|
81 |
+
<li><a href="class-WPGMZA.Query.html">WPGMZA\Query</a></li>
|
82 |
+
<li><a href="class-WPGMZA.QueryFragment.html">WPGMZA\QueryFragment</a></li>
|
83 |
<li><a href="class-WPGMZA.RestAPI.html">WPGMZA\RestAPI</a></li>
|
84 |
<li><a href="class-WPGMZA.ScriptLoader.html">WPGMZA\ScriptLoader</a></li>
|
85 |
<li><a href="class-WPGMZA.Selector.AttributeSelector.html">WPGMZA\Selector\AttributeSelector</a></li>
|
91 |
<li><a href="class-WPGMZA.Selector.TokenStream.html">WPGMZA\Selector\TokenStream</a></li>
|
92 |
<li><a href="class-WPGMZA.Selector.XPathConverter.html">WPGMZA\Selector\XPathConverter</a></li>
|
93 |
<li><a href="class-WPGMZA.Strings.html">WPGMZA\Strings</a></li>
|
94 |
+
<li><a href="class-WPGMZA.Table.html">WPGMZA\Table</a></li>
|
95 |
</ul>
|
96 |
|
97 |
|
106 |
<h3>Functions</h3>
|
107 |
<ul>
|
108 |
<li><a href="function-WPGMZA.create_marker_instance_delegate.html">WPGMZA\create_marker_instance_delegate</a></li>
|
|
|
109 |
<li><a href="function-WPGMZA.query_nominatim_cache.html" class="deprecated">WPGMZA\query_nominatim_cache</a></li>
|
110 |
<li><a href="function-WPGMZA.Selector.trace.html">WPGMZA\Selector\trace</a></li>
|
111 |
<li><a href="function-WPGMZA.store_nominatim_cache.html" class="deprecated">WPGMZA\store_nominatim_cache</a></li>
|
146 |
</ul>
|
147 |
</div>
|
148 |
|
149 |
+
<pre class="numbers"><code><span class="l"><a href="#1"> 1: </a></span><span class="l"><a href="#2"> 2: </a></span><span class="l"><a href="#3"> 3: </a></span><span class="l"><a href="#4"> 4: </a></span><span class="l"><a href="#5"> 5: </a></span></span><span class="l"><a href="#6"> 6: </a></span></span><span class="l"><a href="#7"> 7: </a></span></span><span class="l"><a href="#8"> 8: </a></span></span><span class="l"><a href="#9"> 9: </a></span><span class="l"><a href="#10"> 10: </a></span><span class="l"><a href="#11"> 11: </a></span><span class="l"><a href="#12"> 12: </a></span><span class="l"><a href="#13"> 13: </a></span><span class="l"><a href="#14"> 14: </a></span><span class="l"><a href="#15"> 15: </a></span><span class="l"><a href="#16"> 16: </a></span><span class="l"><a href="#17"> 17: </a></span><span class="l"><a href="#18"> 18: </a></span><span class="l"><a href="#19"> 19: </a></span><span class="l"><a href="#20"> 20: </a></span><span class="l"><a href="#21"> 21: </a></span><span class="l"><a href="#22"> 22: </a></span><span class="l"><a href="#23"> 23: </a></span><span class="l"><a href="#24"> 24: </a></span><span class="l"><a href="#25"> 25: </a></span></span><span class="l"><a href="#26"> 26: </a></span></span><span class="l"><a href="#27"> 27: </a></span></span><span class="l"><a href="#28"> 28: </a></span></span><span class="l"><a href="#29"> 29: </a></span><span class="l"><a href="#30"> 30: </a></span><span class="l"><a href="#31"> 31: </a></span><span class="l"><a href="#32"> 32: </a></span><span class="l"><a href="#33"> 33: </a></span><span class="l"><a href="#34"> 34: </a></span><span class="l"><a href="#35"> 35: </a></span><span class="l"><a href="#36"> 36: </a></span><span class="l"><a href="#37"> 37: </a></span><span class="l"><a href="#38"> 38: </a></span><span class="l"><a href="#39"> 39: </a></span><span class="l"><a href="#40"> 40: </a></span><span class="l"><a href="#41"> 41: </a></span><span class="l"><a href="#42"> 42: </a></span><span class="l"><a href="#43"> 43: </a></span><span class="l"><a href="#44"> 44: </a></span><span class="l"><a href="#45"> 45: </a></span><span class="l"><a href="#46"> 46: </a></span><span class="l"><a href="#47"> 47: </a></span><span class="l"><a href="#48"> 48: </a></span><span class="l"><a href="#49"> 49: </a></span><span class="l"><a href="#50"> 50: </a></span><span class="l"><a href="#51"> 51: </a></span><span class="l"><a href="#52"> 52: </a></span><span class="l"><a href="#53"> 53: </a></span><span class="l"><a href="#54"> 54: </a></span><span class="l"><a href="#55"> 55: </a></span><span class="l"><a href="#56"> 56: </a></span><span class="l"><a href="#57"> 57: </a></span><span class="l"><a href="#58"> 58: </a></span><span class="l"><a href="#59"> 59: </a></span><span class="l"><a href="#60"> 60: </a></span><span class="l"><a href="#61"> 61: </a></span><span class="l"><a href="#62"> 62: </a></span><span class="l"><a href="#63"> 63: </a></span><span class="l"><a href="#64"> 64: </a></span><span class="l"><a href="#65"> 65: </a></span><span class="l"><a href="#66"> 66: </a></span><span class="l"><a href="#67"> 67: </a></span><span class="l"><a href="#68"> 68: </a></span><span class="l"><a href="#69"> 69: </a></span><span class="l"><a href="#70"> 70: </a></span><span class="l"><a href="#71"> 71: </a></span><span class="l"><a href="#72"> 72: </a></span><span class="l"><a href="#73"> 73: </a></span><span class="l"><a href="#74"> 74: </a></span><span class="l"><a href="#75"> 75: </a></span><span class="l"><a href="#76"> 76: </a></span><span class="l"><a href="#77"> 77: </a></span><span class="l"><a href="#78"> 78: </a></span><span class="l"><a href="#79"> 79: </a></span><span class="l"><a href="#80"> 80: </a></span><span class="l"><a href="#81"> 81: </a></span><span class="l"><a href="#82"> 82: </a></span><span class="l"><a href="#83"> 83: </a></span><span class="l"><a href="#84"> 84: </a></span><span class="l"><a href="#85"> 85: </a></span><span class="l"><a href="#86"> 86: </a></span><span class="l"><a href="#87"> 87: </a></span><span class="l"><a href="#88"> 88: </a></span><span class="l"><a href="#89"> 89: </a></span><span class="l"><a href="#90"> 90: </a></span><span class="l"><a href="#91"> 91: </a></span><span class="l"><a href="#92"> 92: </a></span><span class="l"><a href="#93"> 93: </a></span><span class="l"><a href="#94"> 94: </a></span><span class="l"><a href="#95"> 95: </a></span><span class="l"><a href="#96"> 96: </a></span><span class="l"><a href="#97"> 97: </a></span><span class="l"><a href="#98"> 98: </a></span><span class="l"><a href="#99"> 99: </a></span><span class="l"><a href="#100">100: </a></span><span class="l"><a href="#101">101: </a></span><span class="l"><a href="#102">102: </a></span><span class="l"><a href="#103">103: </a></span><span class="l"><a href="#104">104: </a></span><span class="l"><a href="#105">105: </a></span><span class="l"><a href="#106">106: </a></span><span class="l"><a href="#107">107: </a></span><span class="l"><a href="#108">108: </a></span><span class="l"><a href="#109">109: </a></span><span class="l"><a href="#110">110: </a></span><span class="l"><a href="#111">111: </a></span><span class="l"><a href="#112">112: </a></span><span class="l"><a href="#113">113: </a></span><span class="l"><a href="#114">114: </a></span></span><span class="l"><a href="#115">115: </a></span></span><span class="l"><a href="#116">116: </a></span></span><span class="l"><a href="#117">117: </a></span><span class="l"><a href="#118">118: </a></span><span class="l"><a href="#119">119: </a></span><span class="l"><a href="#120">120: </a></span><span class="l"><a href="#121">121: </a></span><span class="l"><a href="#122">122: </a></span><span class="l"><a href="#123">123: </a></span></span><span class="l"><a href="#124">124: </a></span></span><span class="l"><a href="#125">125: </a></span></span><span class="l"><a href="#126">126: </a></span><span class="l"><a href="#127">127: </a></span><span class="l"><a href="#128">128: </a></span><span class="l"><a href="#129">129: </a></span><span class="l"><a href="#130">130: </a></span><span class="l"><a href="#131">131: </a></span><span class="l"><a href="#132">132: </a></span></span><span class="l"><a href="#133">133: </a></span></span><span class="l"><a href="#134">134: </a></span></span><span class="l"><a href="#135">135: </a></span><span class="l"><a href="#136">136: </a></span><span class="l"><a href="#137">137: </a></span><span class="l"><a href="#138">138: </a></span><span class="l"><a href="#139">139: </a></span><span class="l"><a href="#140">140: </a></span><span class="l"><a href="#141">141: </a></span></span><span class="l"><a href="#142">142: </a></span></span><span class="l"><a href="#143">143: </a></span></span><span class="l"><a href="#144">144: </a></span><span class="l"><a href="#145">145: </a></span><span class="l"><a href="#146">146: </a></span><span class="l"><a href="#147">147: </a></span><span class="l"><a href="#148">148: </a></span><span class="l"><a href="#149">149: </a></span><span class="l"><a href="#150">150: </a></span><span class="l"><a href="#151">151: </a></span><span class="l"><a href="#152">152: </a></span><span class="l"><a href="#153">153: </a></span><span class="l"><a href="#154">154: </a></span><span class="l"><a href="#155">155: </a></span><span class="l"><a href="#156">156: </a></span><span class="l"><a href="#157">157: </a></span><span class="l"><a href="#158">158: </a></span></span><span class="l"><a href="#159">159: </a></span></span><span class="l"><a href="#160">160: </a></span></span><span class="l"><a href="#161">161: </a></span></span><span class="l"><a href="#162">162: </a></span><span class="l"><a href="#163">163: </a></span><span class="l"><a href="#164">164: </a></span><span class="l"><a href="#165">165: </a></span><span class="l"><a href="#166">166: </a></span><span class="l"><a href="#167">167: </a></span><span class="l"><a href="#168">168: </a></span><span class="l"><a href="#169">169: </a></span><span class="l"><a href="#170">170: </a></span><span class="l"><a href="#171">171: </a></span><span class="l"><a href="#172">172: </a></span><span class="l"><a href="#173">173: </a></span><span class="l"><a href="#174">174: </a></span><span class="l"><a href="#175">175: </a></span><span class="l"><a href="#176">176: </a></span><span class="l"><a href="#177">177: </a></span><span class="l"><a href="#178">178: </a></span><span class="l"><a href="#179">179: </a></span><span class="l"><a href="#180">180: </a></span><span class="l"><a href="#181">181: </a></span><span class="l"><a href="#182">182: </a></span><span class="l"><a href="#183">183: </a></span><span class="l"><a href="#184">184: </a></span><span class="l"><a href="#185">185: </a></span><span class="l"><a href="#186">186: </a></span></span><span class="l"><a href="#187">187: </a></span></span><span class="l"><a href="#188">188: </a></span></span><span class="l"><a href="#189">189: </a></span></span><span class="l"><a href="#190">190: </a></span></span><span class="l"><a href="#191">191: </a></span></span><span class="l"><a href="#192">192: </a></span></span><span class="l"><a href="#193">193: </a></span></span><span class="l"><a href="#194">194: </a></span></span><span class="l"><a href="#195">195: </a></span></span><span class="l"><a href="#196">196: </a></span></span><span class="l"><a href="#197">197: </a></span></span><span class="l"><a href="#198">198: </a></span><span class="l"><a href="#199">199: </a></span><span class="l"><a href="#200">200: </a></span><span class="l"><a href="#201">201: </a></span><span class="l"><a href="#202">202: </a></span><span class="l"><a href="#203">203: </a></span><span class="l"><a href="#204">204: </a></span><span class="l"><a href="#205">205: </a></span><span class="l"><a href="#206">206: </a></span><span class="l"><a href="#207">207: </a></span><span class="l"><a href="#208">208: </a></span></span><span class="l"><a href="#209">209: </a></span></span><span class="l"><a href="#210">210: </a></span></span><span class="l"><a href="#211">211: </a></span></span><span class="l"><a href="#212">212: </a></span><span class="l"><a href="#213">213: </a></span><span class="l"><a href="#214">214: </a></span><span class="l"><a href="#215">215: </a></span><span class="l"><a href="#216">216: </a></span><span class="l"><a href="#217">217: </a></span><span class="l"><a href="#218">218: </a></span><span class="l"><a href="#219">219: </a></span><span class="l"><a href="#220">220: </a></span><span class="l"><a href="#221">221: </a></span></span><span class="l"><a href="#222">222: </a></span></span><span class="l"><a href="#223">223: </a></span></span><span class="l"><a href="#224">224: </a></span><span class="l"><a href="#225">225: </a></span><span class="l"><a href="#226">226: </a></span><span class="l"><a href="#227">227: </a></span><span class="l"><a href="#228">228: </a></span><span class="l"><a href="#229">229: </a></span><span class="l"><a href="#230">230: </a></span><span class="l"><a href="#231">231: </a></span><span class="l"><a href="#232">232: </a></span><span class="l"><a href="#233">233: </a></span><span class="l"><a href="#234">234: </a></span><span class="l"><a href="#235">235: </a></span><span class="l"><a href="#236">236: </a></span><span class="l"><a href="#237">237: </a></span><span class="l"><a href="#238">238: </a></span><span class="l"><a href="#239">239: </a></span><span class="l"><a href="#240">240: </a></span><span class="l"><a href="#241">241: </a></span></span><span class="l"><a href="#242">242: </a></span></span><span class="l"><a href="#243">243: </a></span></span><span class="l"><a href="#244">244: </a></span><span class="l"><a href="#245">245: </a></span><span class="l"><a href="#246">246: </a></span><span class="l"><a href="#247">247: </a></span><span class="l"><a href="#248">248: </a></span><span class="l"><a href="#249">249: </a></span><span class="l"><a href="#250">250: </a></span><span class="l"><a href="#251">251: </a></span><span class="l"><a href="#252">252: </a></span><span class="l"><a href="#253">253: </a></span><span class="l"><a href="#254">254: </a></span><span class="l"><a href="#255">255: </a></span><span class="l"><a href="#256">256: </a></span><span class="l"><a href="#257">257: </a></span><span class="l"><a href="#258">258: </a></span><span class="l"><a href="#259">259: </a></span><span class="l"><a href="#260">260: </a></span><span class="l"><a href="#261">261: </a></span></span><span class="l"><a href="#262">262: </a></span></span><span class="l"><a href="#263">263: </a></span></span><span class="l"><a href="#264">264: </a></span><span class="l"><a href="#265">265: </a></span><span class="l"><a href="#266">266: </a></span><span class="l"><a href="#267">267: </a></span><span class="l"><a href="#268">268: </a></span><span class="l"><a href="#269">269: </a></span><span class="l"><a href="#270">270: </a></span></span><span class="l"><a href="#271">271: </a></span></span><span class="l"><a href="#272">272: </a></span></span><span class="l"><a href="#273">273: </a></span></span><span class="l"><a href="#274">274: </a></span><span class="l"><a href="#275">275: </a></span><span class="l"><a href="#276">276: </a></span><span class="l"><a href="#277">277: </a></span><span class="l"><a href="#278">278: </a></span><span class="l"><a href="#279">279: </a></span><span class="l"><a href="#280">280: </a></span><span class="l"><a href="#281">281: </a></span></span><span class="l"><a href="#282">282: </a></span></span><span class="l"><a href="#283">283: </a></span></span><span class="l"><a href="#284">284: </a></span><span class="l"><a href="#285">285: </a></span><span class="l"><a href="#286">286: </a></span><span class="l"><a href="#287">287: </a></span><span class="l"><a href="#288">288: </a></span><span class="l"><a href="#289">289: </a></span><span class="l"><a href="#290">290: </a></span></span><span class="l"><a href="#291">291: </a></span></span><span class="l"><a href="#292">292: </a></span></span><span class="l"><a href="#293">293: </a></span><span class="l"><a href="#294">294: </a></span><span class="l"><a href="#295">295: </a></span><span class="l"><a href="#296">296: </a></span><span class="l"><a href="#297">297: </a></span><span class="l"><a href="#298">298: </a></span><span class="l"><a href="#299">299: </a></span><span class="l"><a href="#300">300: </a></span><span class="l"><a href="#301">301: </a></span><span class="l"><a href="#302">302: </a></span><span class="l"><a href="#303">303: </a></span><span class="l"><a href="#304">304: </a></span><span class="l"><a href="#305">305: </a></span><span class="l"><a href="#306">306: </a></span><span class="l"><a href="#307">307: </a></span><span class="l"><a href="#308">308: </a></span></span><span class="l"><a href="#309">309: </a></span></span><span class="l"><a href="#310">310: </a></span></span><span class="l"><a href="#311">311: </a></span><span class="l"><a href="#312">312: </a></span><span class="l"><a href="#313">313: </a></span><span class="l"><a href="#314">314: </a></span><span class="l"><a href="#315">315: </a></span><span class="l"><a href="#316">316: </a></span><span class="l"><a href="#317">317: </a></span><span class="l"><a href="#318">318: </a></span><span class="l"><a href="#319">319: </a></span><span class="l"><a href="#320">320: </a></span></span><span class="l"><a href="#321">321: </a></span></span><span class="l"><a href="#322">322: </a></span></span><span class="l"><a href="#323">323: </a></span></span><span class="l"><a href="#324">324: </a></span><span class="l"><a href="#325">325: </a></span><span class="l"><a href="#326">326: </a></span><span class="l"><a href="#327">327: </a></span><span class="l"><a href="#328">328: </a></span><span class="l"><a href="#329">329: </a></span><span class="l"><a href="#330">330: </a></span><span class="l"><a href="#331">331: </a></span><span class="l"><a href="#332">332: </a></span><span class="l"><a href="#333">333: </a></span><span class="l"><a href="#334">334: </a></span><span class="l"><a href="#335">335: </a></span><span class="l"><a href="#336">336: </a></span><span class="l"><a href="#337">337: </a></span><span class="l"><a href="#338">338: </a></span><span class="l"><a href="#339">339: </a></span><span class="l"><a href="#340">340: </a></span><span class="l"><a href="#341">341: </a></span><span class="l"><a href="#342">342: </a></span><span class="l"><a href="#343">343: </a></span><span class="l"><a href="#344">344: </a></span><span class="l"><a href="#345">345: </a></span><span class="l"><a href="#346">346: </a></span><span class="l"><a href="#347">347: </a></span></span><span class="l"><a href="#348">348: </a></span></span><span class="l"><a href="#349">349: </a></span></span><span class="l"><a href="#350">350: </a></span></span><span class="l"><a href="#351">351: </a></span><span class="l"><a href="#352">352: </a></span><span class="l"><a href="#353">353: </a></span><span class="l"><a href="#354">354: </a></span><span class="l"><a href="#355">355: </a></span><span class="l"><a href="#356">356: </a></span><span class="l"><a href="#357">357: </a></span><span class="l"><a href="#358">358: </a></span><span class="l"><a href="#359">359: </a></span><span class="l"><a href="#360">360: </a></span><span class="l"><a href="#361">361: </a></span><span class="l"><a href="#362">362: </a></span><span class="l"><a href="#363">363: </a></span><span class="l"><a href="#364">364: </a></span><span class="l"><a href="#365">365: </a></span><span class="l"><a href="#366">366: </a></span><span class="l"><a href="#367">367: </a></span><span class="l"><a href="#368">368: </a></span><span class="l"><a href="#369">369: </a></span><span class="l"><a href="#370">370: </a></span><span class="l"><a href="#371">371: </a></span><span class="l"><a href="#372">372: </a></span><span class="l"><a href="#373">373: </a></span><span class="l"><a href="#374">374: </a></span><span class="l"><a href="#375">375: </a></span><span class="l"><a href="#376">376: </a></span></span><span class="l"><a href="#377">377: </a></span></span><span class="l"><a href="#378">378: </a></span></span><span class="l"><a href="#379">379: </a></span><span class="l"><a href="#380">380: </a></span><span class="l"><a href="#381">381: </a></span><span class="l"><a href="#382">382: </a></span><span class="l"><a href="#383">383: </a></span><span class="l"><a href="#384">384: </a></span><span class="l"><a href="#385">385: </a></span><span class="l"><a href="#386">386: </a></span><span class="l"><a href="#387">387: </a></span><span class="l"><a href="#388">388: </a></span><span class="l"><a href="#389">389: </a></span><span class="l"><a href="#390">390: </a></span><span class="l"><a href="#391">391: </a></span><span class="l"><a href="#392">392: </a></span><span class="l"><a href="#393">393: </a></span><span class="l"><a href="#394">394: </a></span><span class="l"><a href="#395">395: </a></span><span class="l"><a href="#396">396: </a></span></span><span class="l"><a href="#397">397: </a></span></span><span class="l"><a href="#398">398: </a></span></span><span class="l"><a href="#399">399: </a></span></span><span class="l"><a href="#400">400: </a></span><span class="l"><a href="#401">401: </a></span><span class="l"><a href="#402">402: </a></span><span class="l"><a href="#403">403: </a></span><span class="l"><a href="#404">404: </a></span><span class="l"><a href="#405">405: </a></span><span class="l"><a href="#406">406: </a></span><span class="l"><a href="#407">407: </a></span><span class="l"><a href="#408">408: </a></span><span class="l"><a href="#409">409: </a></span><span class="l"><a href="#410">410: </a></span><span class="l"><a href="#411">411: </a></span><span class="l"><a href="#412">412: </a></span><span class="l"><a href="#413">413: </a></span><span class="l"><a href="#414">414: </a></span><span class="l"><a href="#415">415: </a></span><span class="l"><a href="#416">416: </a></span><span class="l"><a href="#417">417: </a></span><span class="l"><a href="#418">418: </a></span><span class="l"><a href="#419">419: </a></span><span class="l"><a href="#420">420: </a></span><span class="l"><a href="#421">421: </a></span><span class="l"><a href="#422">422: </a></span><span class="l"><a href="#423">423: </a></span><span class="l"><a href="#424">424: </a></span><span class="l"><a href="#425">425: </a></span><span class="l"><a href="#426">426: </a></span><span class="l"><a href="#427">427: </a></span><span class="l"><a href="#428">428: </a></span><span class="l"><a href="#429">429: </a></span><span class="l"><a href="#430">430: </a></span><span class="l"><a href="#431">431: </a></span><span class="l"><a href="#432">432: </a></span><span class="l"><a href="#433">433: </a></span><span class="l"><a href="#434">434: </a></span><span class="l"><a href="#435">435: </a></span><span class="l"><a href="#436">436: </a></span><span class="l"><a href="#437">437: </a></span><span class="l"><a href="#438">438: </a></span><span class="l"><a href="#439">439: </a></span><span class="l"><a href="#440">440: </a></span><span class="l"><a href="#441">441: </a></span><span class="l"><a href="#442">442: </a></span><span class="l"><a href="#443">443: </a></span><span class="l"><a href="#444">444: </a></span><span class="l"><a href="#445">445: </a></span><span class="l"><a href="#446">446: </a></span><span class="l"><a href="#447">447: </a></span><span class="l"><a href="#448">448: </a></span><span class="l"><a href="#449">449: </a></span><span class="l"><a href="#450">450: </a></span><span class="l"><a href="#451">451: </a></span><span class="l"><a href="#452">452: </a></span></span><span class="l"><a href="#453">453: </a></span></span><span class="l"><a href="#454">454: </a></span></span><span class="l"><a href="#455">455: </a></span></span><span class="l"><a href="#456">456: </a></span><span class="l"><a href="#457">457: </a></span><span class="l"><a href="#458">458: </a></span><span class="l"><a href="#459">459: </a></span><span class="l"><a href="#460">460: </a></span><span class="l"><a href="#461">461: </a></span><span class="l"><a href="#462">462: </a></span><span class="l"><a href="#463">463: </a></span><span class="l"><a href="#464">464: </a></span><span class="l"><a href="#465">465: </a></span><span class="l"><a href="#466">466: </a></span><span class="l"><a href="#467">467: </a></span><span class="l"><a href="#468">468: </a></span><span class="l"><a href="#469">469: </a></span><span class="l"><a href="#470">470: </a></span></span><span class="l"><a href="#471">471: </a></span></span><span class="l"><a href="#472">472: </a></span></span><span class="l"><a href="#473">473: </a></span></span><span class="l"><a href="#474">474: </a></span></span><span class="l"><a href="#475">475: </a></span><span class="l"><a href="#476">476: </a></span><span class="l"><a href="#477">477: </a></span><span class="l"><a href="#478">478: </a></span><span class="l"><a href="#479">479: </a></span><span class="l"><a href="#480">480: </a></span><span class="l"><a href="#481">481: </a></span><span class="l"><a href="#482">482: </a></span><span class="l"><a href="#483">483: </a></span><span class="l"><a href="#484">484: </a></span><span class="l"><a href="#485">485: </a></span><span class="l"><a href="#486">486: </a></span><span class="l"><a href="#487">487: </a></span><span class="l"><a href="#488">488: </a></span><span class="l"><a href="#489">489: </a></span><span class="l"><a href="#490">490: </a></span><span class="l"><a href="#491">491: </a></span><span class="l"><a href="#492">492: </a></span><span class="l"><a href="#493">493: </a></span><span class="l"><a href="#494">494: </a></span><span class="l"><a href="#495">495: </a></span><span class="l"><a href="#496">496: </a></span><span class="l"><a href="#497">497: </a></span><span class="l"><a href="#498">498: </a></span><span class="l"><a href="#499">499: </a></span><span class="l"><a href="#500">500: </a></span><span class="l"><a href="#501">501: </a></span><span class="l"><a href="#502">502: </a></span></span><span class="l"><a href="#503">503: </a></span></span><span class="l"><a href="#504">504: </a></span></span><span class="l"><a href="#505">505: </a></span></span><span class="l"><a href="#506">506: </a></span><span class="l"><a href="#507">507: </a></span><span class="l"><a href="#508">508: </a></span><span class="l"><a href="#509">509: </a></span><span class="l"><a href="#510">510: </a></span><span class="l"><a href="#511">511: </a></span><span class="l"><a href="#512">512: </a></span><span class="l"><a href="#513">513: </a></span><span class="l"><a href="#514">514: </a></span></span><span class="l"><a href="#515">515: </a></span></span><span class="l"><a href="#516">516: </a></span></span><span class="l"><a href="#517">517: </a></span></span><span class="l"><a href="#518">518: </a></span><span class="l"><a href="#519">519: </a></span><span class="l"><a href="#520">520: </a></span><span class="l"><a href="#521">521: </a></span><span class="l"><a href="#522">522: </a></span><span class="l"><a href="#523">523: </a></span><span class="l"><a href="#524">524: </a></span><span class="l"><a href="#525">525: </a></span><span class="l"><a href="#526">526: </a></span></span><span class="l"><a href="#527">527: </a></span></span><span class="l"><a href="#528">528: </a></span></span><span class="l"><a href="#529">529: </a></span></span><span class="l"><a href="#530">530: </a></span></span><span class="l"><a href="#531">531: </a></span><span class="l"><a href="#532">532: </a></span><span class="l"><a href="#533">533: </a></span><span class="l"><a href="#534">534: </a></span><span class="l"><a href="#535">535: </a></span><span class="l"><a href="#536">536: </a></span><span class="l"><a href="#537">537: </a></span><span class="l"><a href="#538">538: </a></span><span class="l"><a href="#539">539: </a></span><span class="l"><a href="#540">540: </a></span><span class="l"><a href="#541">541: </a></span><span class="l"><a href="#542">542: </a></span><span class="l"><a href="#543">543: </a></span><span class="l"><a href="#544">544: </a></span><span class="l"><a href="#545">545: </a></span><span class="l"><a href="#546">546: </a></span><span class="l"><a href="#547">547: </a></span><span class="l"><a href="#548">548: </a></span><span class="l"><a href="#549">549: </a></span><span class="l"><a href="#550">550: </a></span><span class="l"><a href="#551">551: </a></span></span><span class="l"><a href="#552">552: </a></span></span><span class="l"><a href="#553">553: </a></span></span><span class="l"><a href="#554">554: </a></span></span><span class="l"><a href="#555">555: </a></span></span><span class="l"><a href="#556">556: </a></span><span class="l"><a href="#557">557: </a></span><span class="l"><a href="#558">558: </a></span><span class="l"><a href="#559">559: </a></span><span class="l"><a href="#560">560: </a></span><span class="l"><a href="#561">561: </a></span><span class="l"><a href="#562">562: </a></span><span class="l"><a href="#563">563: </a></span><span class="l"><a href="#564">564: </a></span></span><span class="l"><a href="#565">565: </a></span></span><span class="l"><a href="#566">566: </a></span></span><span class="l"><a href="#567">567: </a></span></span><span class="l"><a href="#568">568: </a></span></span><span class="l"><a href="#569">569: </a></span></span><span class="l"><a href="#570">570: </a></span></span><span class="l"><a href="#571">571: </a></span><span class="l"><a href="#572">572: </a></span><span class="l"><a href="#573">573: </a></span><span class="l"><a href="#574">574: </a></span><span class="l"><a href="#575">575: </a></span><span class="l"><a href="#576">576: </a></span><span class="l"><a href="#577">577: </a></span><span class="l"><a href="#578">578: </a></span><span class="l"><a href="#579">579: </a></span><span class="l"><a href="#580">580: </a></span><span class="l"><a href="#581">581: </a></span><span class="l"><a href="#582">582: </a></span><span class="l"><a href="#583">583: </a></span><span class="l"><a href="#584">584: </a></span><span class="l"><a href="#585">585: </a></span><span class="l"><a href="#586">586: </a></span><span class="l"><a href="#587">587: </a></span><span class="l"><a href="#588">588: </a></span><span class="l"><a href="#589">589: </a></span><span class="l"><a href="#590">590: </a></span><span class="l"><a href="#591">591: </a></span><span class="l"><a href="#592">592: </a></span><span class="l"><a href="#593">593: </a></span><span class="l"><a href="#594">594: </a></span><span class="l"><a href="#595">595: </a></span><span class="l"><a href="#596">596: </a></span><span class="l"><a href="#597">597: </a></span><span class="l"><a href="#598">598: </a></span><span class="l"><a href="#599">599: </a></span><span class="l"><a href="#600">600: </a></span><span class="l"><a href="#601">601: </a></span><span class="l"><a href="#602">602: </a></span><span class="l"><a href="#603">603: </a></span><span class="l"><a href="#604">604: </a></span><span class="l"><a href="#605">605: </a></span><span class="l"><a href="#606">606: </a></span><span class="l"><a href="#607">607: </a></span><span class="l"><a href="#608">608: </a></span><span class="l"><a href="#609">609: </a></span><span class="l"><a href="#610">610: </a></span><span class="l"><a href="#611">611: </a></span><span class="l"><a href="#612">612: </a></span><span class="l"><a href="#613">613: </a></span><span class="l"><a href="#614">614: </a></span><span class="l"><a href="#615">615: </a></span><span class="l"><a href="#616">616: </a></span><span class="l"><a href="#617">617: </a></span><span class="l"><a href="#618">618: </a></span><span class="l"><a href="#619">619: </a></span><span class="l"><a href="#620">620: </a></span><span class="l"><a href="#621">621: </a></span><span class="l"><a href="#622">622: </a></span></span><span class="l"><a href="#623">623: </a></span></span><span class="l"><a href="#624">624: </a></span></span><span class="l"><a href="#625">625: </a></span></span><span class="l"><a href="#626">626: </a></span><span class="l"><a href="#627">627: </a></span><span class="l"><a href="#628">628: </a></span><span class="l"><a href="#629">629: </a></span><span class="l"><a href="#630">630: </a></span><span class="l"><a href="#631">631: </a></span><span class="l"><a href="#632">632: </a></span><span class="l"><a href="#633">633: </a></span><span class="l"><a href="#634">634: </a></span><span class="l"><a href="#635">635: </a></span><span class="l"><a href="#636">636: </a></span><span class="l"><a href="#637">637: </a></span><span class="l"><a href="#638">638: </a></span><span class="l"><a href="#639">639: </a></span></code></pre>
|
150 |
<pre class="code"><code><span id="1" class="l"><span class="xlang"><?php</span>
|
151 |
</span><span id="2" class="l">
|
152 |
</span><span id="3" class="l"><span class="php-keyword1">namespace</span> WPGMZA;
|
156 |
</span></span><span id="7" class="l"><span class="php-comment"> * objects which are stored on in the database and represented in server
|
157 |
</span></span><span id="8" class="l"><span class="php-comment"> * side logic, for example Map, Marker, Polygon
|
158 |
</span></span><span id="9" class="l"><span class="php-comment"> */</span>
|
159 |
+
</span><span id="10" class="l"><span class="php-keyword1">class</span> Crud <span class="php-keyword1">extends</span> Factory <span class="php-keyword1">implements</span> \IteratorAggregate, \JsonSerializable
|
160 |
</span><span id="11" class="l">{
|
161 |
</span><span id="12" class="l"> <span class="php-keyword1">const</span> SINGLE_READ = <span class="php-quote">"single-read"</span>;
|
162 |
</span><span id="13" class="l"> <span class="php-keyword1">const</span> BULK_READ = <span class="php-quote">"bulk-read"</span>;
|
515 |
</span><span id="366" class="l">
|
516 |
</span><span id="367" class="l"> <span class="php-var">$arbitrary_data_column_name</span> = <span class="php-var">$this</span>->get_arbitrary_data_column_name();
|
517 |
</span><span id="368" class="l">
|
518 |
+
</span><span id="369" class="l"> <span class="php-keyword1">if</span>(<span class="php-var">$arbitrary_data_column_name</span> && <span class="php-keyword1">isset</span>(<span class="php-var">$this</span>->fields[<span class="php-var">$arbitrary_data_column_name</span>]))
|
519 |
</span><span id="370" class="l"> {
|
520 |
</span><span id="371" class="l"> <span class="php-var">$this</span>->parse_arbitrary_data(<span class="php-var">$this</span>->fields[<span class="php-var">$arbitrary_data_column_name</span>]);
|
521 |
</span><span id="372" class="l"> <span class="php-keyword1">unset</span>(<span class="php-var">$this</span>->fields[<span class="php-var">$arbitrary_data_column_name</span>]);
|
753 |
</span><span id="604" class="l">
|
754 |
</span><span id="605" class="l"> <span class="php-var">$stmt</span> = <span class="php-var">$wpdb</span>->prepare(<span class="php-quote">"SELECT </span><span class="php-var">$arbitrary_data_column_name</span><span class="php-quote"> FROM </span><span class="php-var">{$this->table_name}</span><span class="php-quote"> WHERE id=%d"</span>, <span class="php-keyword1">array</span>(<span class="php-var">$this</span>->id));
|
755 |
</span><span id="606" class="l">
|
756 |
+
</span><span id="607" class="l"> <span class="php-var">$raw</span> = <span class="php-var">$wpdb</span>->get_var(<span class="php-var">$stmt</span>);
|
757 |
+
</span><span id="608" class="l"> <span class="php-var">$data</span> = maybe_unserialize(<span class="php-var">$raw</span>);
|
758 |
+
</span><span id="609" class="l">
|
759 |
+
</span><span id="610" class="l"> <span class="php-keyword1">if</span>(<span class="php-keyword1">empty</span>(<span class="php-var">$data</span>))
|
760 |
+
</span><span id="611" class="l"> <span class="php-var">$data</span> = <span class="php-keyword1">array</span>();
|
761 |
+
</span><span id="612" class="l">
|
762 |
+
</span><span id="613" class="l"> <span class="php-var">$data</span>[<span class="php-var">$name</span>] = <span class="php-var">$value</span>;
|
763 |
+
</span><span id="614" class="l">
|
764 |
+
</span><span id="615" class="l"> <span class="php-var">$data</span> = <span class="php-keyword2">serialize</span>(<span class="php-var">$data</span>);
|
765 |
+
</span><span id="616" class="l">
|
766 |
+
</span><span id="617" class="l"> <span class="php-var">$stmt</span> = <span class="php-var">$wpdb</span>->prepare(<span class="php-quote">"UPDATE </span><span class="php-var">{$this->table_name}</span><span class="php-quote"> SET </span><span class="php-var">$arbitrary_data_column_name</span><span class="php-quote">=%s WHERE id=%d"</span>, <span class="php-keyword1">array</span>(<span class="php-var">$data</span>, <span class="php-var">$this</span>->id));
|
767 |
+
</span><span id="618" class="l">
|
768 |
+
</span><span id="619" class="l"> <span class="php-var">$wpdb</span>->query(<span class="php-var">$stmt</span>);
|
769 |
+
</span><span id="620" class="l"> }
|
770 |
+
</span><span id="621" class="l">
|
771 |
+
</span><span id="622" class="l"> <span class="php-comment">/**
|
772 |
+
</span></span><span id="623" class="l"><span class="php-comment"> * Unsets the named variable, only valid for arbitrary data
|
773 |
+
</span></span><span id="624" class="l"><span class="php-comment"> * @throws \Exception when attempting to unset a column, as opposed to arbitrary data.
|
774 |
+
</span></span><span id="625" class="l"><span class="php-comment"> * @return void
|
775 |
+
</span></span><span id="626" class="l"><span class="php-comment"> */</span>
|
776 |
+
</span><span id="627" class="l"> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> __unset(<span class="php-var">$name</span>)
|
777 |
+
</span><span id="628" class="l"> {
|
778 |
+
</span><span id="629" class="l"> <span class="php-var">$column_names</span> = <span class="php-var">$this</span>->get_column_names();
|
779 |
+
</span><span id="630" class="l">
|
780 |
+
</span><span id="631" class="l"> <span class="php-keyword1">if</span>(<span class="php-keyword2">array_search</span>(<span class="php-var">$name</span>, <span class="php-var">$column_names</span>) !== <span class="php-keyword1">false</span>)
|
781 |
+
</span><span id="632" class="l"> <span class="php-keyword1">throw</span> <span class="php-keyword1">new</span> \Exception(<span class="php-quote">'Only arbitrary data can be unset. Columns must be set to NULL instead'</span>);
|
782 |
+
</span><span id="633" class="l">
|
783 |
+
</span><span id="634" class="l"> <span class="php-keyword1">unset</span>(<span class="php-var">$this</span>->fields[<span class="php-var">$name</span>]);
|
784 |
+
</span><span id="635" class="l">
|
785 |
+
</span><span id="636" class="l"> <span class="php-var">$this</span>->update();
|
786 |
+
</span><span id="637" class="l"> }
|
787 |
+
</span><span id="638" class="l">}
|
788 |
+
</span><span id="639" class="l"></span></code></pre>
|
789 |
|
790 |
<div id="footer">
|
791 |
API documentation generated by <a href="http://apigen.org">ApiGen</a>
|
792 |
</div>
|
793 |
</div>
|
794 |
</div>
|
795 |
+
<script src="resources/combined.js?bdf41a0492319853d610bde7b68b95e93d08fae3"></script>
|
796 |
+
<script src="elementlist.js?ce6e64dd6d2e258467153e0fbb3257ea07b69a7b"></script>
|
797 |
</body>
|
798 |
</html>
|
@@ -50,12 +50,18 @@
|
|
50 |
<div id="elements">
|
51 |
<h3>Classes</h3>
|
52 |
<ul>
|
|
|
|
|
53 |
<li><a href="class-WPGMZA.AutoLoader.html">WPGMZA\AutoLoader</a></li>
|
54 |
<li><a href="class-WPGMZA.Crud.html">WPGMZA\Crud</a></li>
|
|
|
|
|
|
|
55 |
<li><a href="class-WPGMZA.DOMDocument.html">WPGMZA\DOMDocument</a></li>
|
56 |
<li><a href="class-WPGMZA.DOMElement.html">WPGMZA\DOMElement</a></li>
|
57 |
<li><a href="class-WPGMZA.Factory.html">WPGMZA\Factory</a></li>
|
58 |
<li><a href="class-WPGMZA.GDPRCompliance.html">WPGMZA\GDPRCompliance</a></li>
|
|
|
59 |
<li><a href="class-WPGMZA.GoogleGeocoder.html">WPGMZA\GoogleGeocoder</a></li>
|
60 |
<li><a href="class-WPGMZA.GoogleMap.html">WPGMZA\GoogleMap</a></li>
|
61 |
<li><a href="class-WPGMZA.GoogleMapsAPILoader.html" class="deprecated">WPGMZA\GoogleMapsAPILoader</a></li>
|
@@ -66,10 +72,14 @@
|
|
66 |
<li><a href="class-WPGMZA.Map.html">WPGMZA\Map</a></li>
|
67 |
<li><a href="class-WPGMZA.MapsEngineDialog.html">WPGMZA\MapsEngineDialog</a></li>
|
68 |
<li><a href="class-WPGMZA.Marker.html">WPGMZA\Marker</a></li>
|
|
|
|
|
69 |
<li><a href="class-WPGMZA.ModalDialog.html">WPGMZA\ModalDialog</a></li>
|
70 |
<li><a href="class-WPGMZA.NominatimGeocodeCache.html">WPGMZA\NominatimGeocodeCache</a></li>
|
71 |
<li><a href="class-WPGMZA.OLLoader.html">WPGMZA\OLLoader</a></li>
|
72 |
<li><a href="class-WPGMZA.Plugin.html">WPGMZA\Plugin</a></li>
|
|
|
|
|
73 |
<li><a href="class-WPGMZA.RestAPI.html">WPGMZA\RestAPI</a></li>
|
74 |
<li><a href="class-WPGMZA.ScriptLoader.html">WPGMZA\ScriptLoader</a></li>
|
75 |
<li><a href="class-WPGMZA.Selector.AttributeSelector.html">WPGMZA\Selector\AttributeSelector</a></li>
|
@@ -81,6 +91,7 @@
|
|
81 |
<li><a href="class-WPGMZA.Selector.TokenStream.html">WPGMZA\Selector\TokenStream</a></li>
|
82 |
<li><a href="class-WPGMZA.Selector.XPathConverter.html">WPGMZA\Selector\XPathConverter</a></li>
|
83 |
<li><a href="class-WPGMZA.Strings.html">WPGMZA\Strings</a></li>
|
|
|
84 |
</ul>
|
85 |
|
86 |
|
@@ -95,7 +106,6 @@
|
|
95 |
<h3>Functions</h3>
|
96 |
<ul>
|
97 |
<li><a href="function-WPGMZA.create_marker_instance_delegate.html">WPGMZA\create_marker_instance_delegate</a></li>
|
98 |
-
<li><a href="function-WPGMZA.create_plugin_instance.html" class="deprecated">WPGMZA\create_plugin_instance</a></li>
|
99 |
<li><a href="function-WPGMZA.query_nominatim_cache.html" class="deprecated">WPGMZA\query_nominatim_cache</a></li>
|
100 |
<li><a href="function-WPGMZA.Selector.trace.html">WPGMZA\Selector\trace</a></li>
|
101 |
<li><a href="function-WPGMZA.store_nominatim_cache.html" class="deprecated">WPGMZA\store_nominatim_cache</a></li>
|
@@ -136,7 +146,7 @@
|
|
136 |
</ul>
|
137 |
</div>
|
138 |
|
139 |
-
<pre class="numbers"><code><span class="l"><a href="#1"> 1: </a></span><span class="l"><a href="#2"> 2: </a></span><span class="l"><a href="#3"> 3: </a></span><span class="l"><a href="#4"> 4: </a></span><span class="l"><a href="#5"> 5: </a></span><span class="l"><a href="#6"> 6: </a></span><span class="l"><a href="#7"> 7: </a></span><span class="l"><a href="#8"> 8: </a></span><span class="l"><a href="#9"> 9: </a></span><span class="l"><a href="#10"> 10: </a></span><span class="l"><a href="#11"> 11: </a></span></span><span class="l"><a href="#12"> 12: </a></span></span><span class="l"><a href="#13"> 13: </a></span></span><span class="l"><a href="#14"> 14: </a></span><span class="l"><a href="#15"> 15: </a></span><span class="l"><a href="#16"> 16: </a></span><span class="l"><a href="#17"> 17: </a></span><span class="l"><a href="#18"> 18: </a></span><span class="l"><a href="#19"> 19: </a></span><span class="l"><a href="#20"> 20: </a></span><span class="l"><a href="#21"> 21: </a></span><span class="l"><a href="#22"> 22: </a></span><span class="l"><a href="#23"> 23: </a></span><span class="l"><a href="#24"> 24: </a></span><span class="l"><a href="#25"> 25: </a></span><span class="l"><a href="#26"> 26: </a></span><span class="l"><a href="#27"> 27: </a></span><span class="l"><a href="#28"> 28: </a></span><span class="l"><a href="#29"> 29: </a></span><span class="l"><a href="#30"> 30: </a></span><span class="l"><a href="#31"> 31: </a></span><span class="l"><a href="#32"> 32: </a></span><span class="l"><a href="#33"> 33: </a></span><span class="l"><a href="#34"> 34: </a></span></span><span class="l"><a href="#35"> 35: </a></span></span><span class="l"><a href="#36"> 36: </a></span></span><span class="l"><a href="#37"> 37: </a></span><span class="l"><a href="#38"> 38: </a></span><span class="l"><a href="#39"> 39: </a></span><span class="l"><a href="#40"> 40: </a></span><span class="l"><a href="#41"> 41: </a></span><span class="l"><a href="#42"> 42: </a></span><span class="l"><a href="#43"> 43: </a></span></span><span class="l"><a href="#44"> 44: </a></span></span><span class="l"><a href="#45"> 45: </a></span></span><span class="l"><a href="#46"> 46: </a></span><span class="l"><a href="#47"> 47: </a></span><span class="l"><a href="#48"> 48: </a></span><span class="l"><a href="#49"> 49: </a></span><span class="l"><a href="#50"> 50: </a></span><span class="l"><a href="#51"> 51: </a></span><span class="l"><a href="#52"> 52: </a></span></span><span class="l"><a href="#53"> 53: </a></span></span><span class="l"><a href="#54"> 54: </a></span></span><span class="l"><a href="#55"> 55: </a></span></span><span class="l"><a href="#56"> 56: </a></span></span><span class="l"><a href="#57"> 57: </a></span></span><span class="l"><a href="#58"> 58: </a></span><span class="l"><a href="#59"> 59: </a></span><span class="l"><a href="#60"> 60: </a></span><span class="l"><a href="#61"> 61: </a></span><span class="l"><a href="#62"> 62: </a></span><span class="l"><a href="#63"> 63: </a></span><span class="l"><a href="#64"> 64: </a></span><span class="l"><a href="#65"> 65: </a></span><span class="l"><a href="#66"> 66: </a></span><span class="l"><a href="#67"> 67: </a></span><span class="l"><a href="#68"> 68: </a></span><span class="l"><a href="#69"> 69: </a></span><span class="l"><a href="#70"> 70: </a></span><span class="l"><a href="#71"> 71: </a></span><span class="l"><a href="#72"> 72: </a></span><span class="l"><a href="#73"> 73: </a></span></span><span class="l"><a href="#74"> 74: </a></span></span><span class="l"><a href="#75"> 75: </a></span></span><span class="l"><a href="#76"> 76: </a></span></span><span class="l"><a href="#77"> 77: </a></span></span><span class="l"><a href="#78"> 78: </a></span><span class="l"><a href="#79"> 79: </a></span><span class="l"><a href="#80"> 80: </a></span><span class="l"><a href="#81"> 81: </a></span><span class="l"><a href="#82"> 82: </a></span><span class="l"><a href="#83"> 83: </a></span><span class="l"><a href="#84"> 84: </a></span><span class="l"><a href="#85"> 85: </a></span><span class="l"><a href="#86"> 86: </a></span><span class="l"><a href="#87"> 87: </a></span><span class="l"><a href="#88"> 88: </a></span><span class="l"><a href="#89"> 89: </a></span><span class="l"><a href="#90"> 90: </a></span><span class="l"><a href="#91"> 91: </a></span><span class="l"><a href="#92"> 92: </a></span><span class="l"><a href="#93"> 93: </a></span><span class="l"><a href="#94"> 94: </a></span><span class="l"><a href="#95"> 95: </a></span><span class="l"><a href="#96"> 96: </a></span><span class="l"><a href="#97"> 97: </a></span><span class="l"><a href="#98"> 98: </a></span><span class="l"><a href="#99"> 99: </a></span><span class="l"><a href="#100">100: </a></span><span class="l"><a href="#101">101: </a></span><span class="l"><a href="#102">102: </a></span><span class="l"><a href="#103">103: </a></span><span class="l"><a href="#104">104: </a></span><span class="l"><a href="#105">105: </a></span><span class="l"><a href="#106">106: </a></span><span class="l"><a href="#107">107: </a></span><span class="l"><a href="#108">108: </a></span><span class="l"><a href="#109">109: </a></span><span class="l"><a href="#110">110: </a></span><span class="l"><a href="#111">111: </a></span><span class="l"><a href="#112">112: </a></span><span class="l"><a href="#113">113: </a></span><span class="l"><a href="#114">114: </a></span><span class="l"><a href="#115">115: </a></span><span class="l"><a href="#116">116: </a></span><span class="l"><a href="#117">117: </a></span></span><span class="l"><a href="#118">118: </a></span></span><span class="l"><a href="#119">119: </a></span><span class="l"><a href="#120">120: </a></span><span class="l"><a href="#121">121: </a></span><span class="l"><a href="#122">122: </a></span><span class="l"><a href="#123">123: </a></span><span class="l"><a href="#124">124: </a></span><span class="l"><a href="#125">125: </a></span><span class="l"><a href="#126">126: </a></span><span class="l"><a href="#127">127: </a></span><span class="l"><a href="#128">128: </a></span><span class="l"><a href="#129">129: </a></span><span class="l"><a href="#130">130: </a></span><span class="l"><a href="#131">131: </a></span><span class="l"><a href="#132">132: </a></span><span class="l"><a href="#133">133: </a></span><span class="l"><a href="#134">134: </a></span><span class="l"><a href="#135">135: </a></span><span class="l"><a href="#136">136: </a></span><span class="l"><a href="#137">137: </a></span><span class="l"><a href="#138">138: </a></span><span class="l"><a href="#139">139: </a></span><span class="l"><a href="#140">140: </a></span><span class="l"><a href="#141">141: </a></span><span class="l"><a href="#142">142: </a></span><span class="l"><a href="#143">143: </a></span><span class="l"><a href="#144">144: </a></span><span class="l"><a href="#145">145: </a></span><span class="l"><a href="#146">146: </a></span><span class="l"><a href="#147">147: </a></span><span class="l"><a href="#148">148: </a></span><span class="l"><a href="#149">149: </a></span><span class="l"><a href="#150">150: </a></span><span class="l"><a href="#151">151: </a></span><span class="l"><a href="#152">152: </a></span><span class="l"><a href="#153">153: </a></span><span class="l"><a href="#154">154: </a></span><span class="l"><a href="#155">155: </a></span><span class="l"><a href="#156">156: </a></span><span class="l"><a href="#157">157: </a></span><span class="l"><a href="#158">158: </a></span><span class="l"><a href="#159">159: </a></span><span class="l"><a href="#160">160: </a></span><span class="l"><a href="#161">161: </a></span><span class="l"><a href="#162">162: </a></span><span class="l"><a href="#163">163: </a></span><span class="l"><a href="#164">164: </a></span><span class="l"><a href="#165">165: </a></span><span class="l"><a href="#166">166: </a></span><span class="l"><a href="#167">167: </a></span><span class="l"><a href="#168">168: </a></span><span class="l"><a href="#169">169: </a></span><span class="l"><a href="#170">170: </a></span></span><span class="l"><a href="#171">171: </a></span></span><span class="l"><a href="#172">172: </a></span></span><span class="l"><a href="#173">173: </a></span></span><span class="l"><a href="#174">174: </a></span><span class="l"><a href="#175">175: </a></span><span class="l"><a href="#176">176: </a></span><span class="l"><a href="#177">177: </a></span><span class="l"><a href="#178">178: </a></span><span class="l"><a href="#179">179: </a></span><span class="l"><a href="#180">180: </a></span><span class="l"><a href="#181">181: </a></span><span class="l"><a href="#182">182: </a></span></span><span class="l"><a href="#183">183: </a></span></span><span class="l"><a href="#184">184: </a></span></span><span class="l"><a href="#185">185: </a></span><span class="l"><a href="#186">186: </a></span><span class="l"><a href="#187">187: </a></span><span class="l"><a href="#188">188: </a></span><span class="l"><a href="#189">189: </a></span><span class="l"><a href="#190">190: </a></span><span class="l"><a href="#191">191: </a></span><span class="l"><a href="#192">192: </a></span><span class="l"><a href="#193">193: </a></span></span><span class="l"><a href="#194">194: </a></span></span><span class="l"><a href="#195">195: </a></span></span><span class="l"><a href="#196">196: </a></span></span><span class="l"><a href="#197">197: </a></span><span class="l"><a href="#198">198: </a></span><span class="l"><a href="#199">199: </a></span><span class="l"><a href="#200">200: </a></span><span class="l"><a href="#201">201: </a></span><span class="l"><a href="#202">202: </a></span><span class="l"><a href="#203">203: </a></span><span class="l"><a href="#204">204: </a></span><span class="l"><a href="#205">205: </a></span></span><span class="l"><a href="#206">206: </a></span></span><span class="l"><a href="#207">207: </a></span></span><span class="l"><a href="#208">208: </a></span></span><span class="l"><a href="#209">209: </a></span><span class="l"><a href="#210">210: </a></span><span class="l"><a href="#211">211: </a></span><span class="l"><a href="#212">212: </a></span><span class="l"><a href="#213">213: </a></span><span class="l"><a href="#214">214: </a></span><span class="l"><a href="#215">215: </a></span><span class="l"><a href="#216">216: </a></span><span class="l"><a href="#217">217: </a></span><span class="l"><a href="#218">218: </a></span></span><span class="l"><a href="#219">219: </a></span></span><span class="l"><a href="#220">220: </a></span></span><span class="l"><a href="#221">221: </a></span><span class="l"><a href="#222">222: </a></span><span class="l"><a href="#223">223: </a></span><span class="l"><a href="#224">224: </a></span><span class="l"><a href="#225">225: </a></span><span class="l"><a href="#226">226: </a></span><span class="l"><a href="#227">227: </a></span><span class="l"><a href="#228">228: </a></span><span class="l"><a href="#229">229: </a></span><span class="l"><a href="#230">230: </a></span><span class="l"><a href="#231">231: </a></span><span class="l"><a href="#232">232: </a></span><span class="l"><a href="#233">233: </a></span><span class="l"><a href="#234">234: </a></span><span class="l"><a href="#235">235: </a></span><span class="l"><a href="#236">236: </a></span><span class="l"><a href="#237">237: </a></span><span class="l"><a href="#238">238: </a></span><span class="l"><a href="#239">239: </a></span><span class="l"><a href="#240">240: </a></span><span class="l"><a href="#241">241: </a></span><span class="l"><a href="#242">242: </a></span><span class="l"><a href="#243">243: </a></span><span class="l"><a href="#244">244: </a></span><span class="l"><a href="#245">245: </a></span></code></pre>
|
140 |
<pre class="code"><code><span id="1" class="l"><span class="xlang"><?php</span>
|
141 |
</span><span id="2" class="l">
|
142 |
</span><span id="3" class="l"><span class="php-keyword1">namespace</span> WPGMZA;
|
@@ -341,54 +351,61 @@
|
|
341 |
</span><span id="202" class="l"> <span class="php-keyword1">return</span> <span class="php-var">$this</span>->documentElement->populate(<span class="php-var">$src</span>, <span class="php-var">$formatters</span>);
|
342 |
</span><span id="203" class="l"> }
|
343 |
</span><span id="204" class="l">
|
344 |
-
</span><span id="205" class="l"> <span class="php-
|
345 |
-
</span
|
346 |
-
</span
|
347 |
-
</span
|
348 |
-
</span
|
349 |
-
</span><span id="210" class="l">
|
350 |
-
</span><span id="211" class="l">
|
351 |
-
</span><span id="212" class="l">
|
352 |
-
</span><span id="213" class="l"
|
353 |
-
</span><span id="214" class="l"
|
354 |
-
</span><span id="215" class="l"
|
355 |
-
</span><span id="216" class="l">
|
356 |
-
</span><span id="217" class="l">
|
357 |
-
</span><span id="218" class="l">
|
358 |
-
</span
|
359 |
-
</span
|
360 |
-
</span
|
361 |
-
</span><span id="222" class="l">
|
362 |
-
</span><span id="223" class="l">
|
363 |
-
</span><span id="224" class="l">
|
364 |
-
</span><span id="225" class="l">
|
365 |
-
</span><span id="226" class="l"
|
366 |
-
</span><span id="227" class="l">
|
367 |
-
</span><span id="228" class="l"
|
368 |
-
</span><span id="229" class="l">
|
369 |
-
</span><span id="230" class="l">
|
370 |
-
</span><span id="231" class="l"> <span class="php-
|
371 |
-
</span><span id="232" class="l">
|
372 |
-
</span><span id="233" class="l">
|
373 |
-
</span><span id="234" class="l">
|
374 |
-
</span><span id="235" class="l">
|
375 |
-
</span><span id="236" class="l">
|
376 |
-
</span><span id="237" class="l">
|
377 |
-
</span><span id="238" class="l">
|
378 |
-
</span><span id="239" class="l">
|
379 |
-
</span><span id="240" class="l">
|
380 |
-
</span><span id="241" class="l">
|
381 |
-
</span><span id="242" class="l">
|
382 |
-
</span><span id="243" class="l">
|
383 |
-
</span><span id="244" class="l">
|
384 |
-
</span><span id="245" class="l"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
385 |
|
386 |
<div id="footer">
|
387 |
API documentation generated by <a href="http://apigen.org">ApiGen</a>
|
388 |
</div>
|
389 |
</div>
|
390 |
</div>
|
391 |
-
<script src="resources/combined.js?
|
392 |
-
<script src="elementlist.js?
|
393 |
</body>
|
394 |
</html>
|
50 |
<div id="elements">
|
51 |
<h3>Classes</h3>
|
52 |
<ul>
|
53 |
+
<li><a href="class-WPGMZA.AdminMarkerDataTable.html">WPGMZA\AdminMarkerDataTable</a></li>
|
54 |
+
<li><a href="class-WPGMZA.AjaxTable.html">WPGMZA\AjaxTable</a></li>
|
55 |
<li><a href="class-WPGMZA.AutoLoader.html">WPGMZA\AutoLoader</a></li>
|
56 |
<li><a href="class-WPGMZA.Crud.html">WPGMZA\Crud</a></li>
|
57 |
+
<li><a href="class-WPGMZA.Database.html">WPGMZA\Database</a></li>
|
58 |
+
<li><a href="class-WPGMZA.DataTable.html">WPGMZA\DataTable</a></li>
|
59 |
+
<li><a href="class-WPGMZA.Distance.html">WPGMZA\Distance</a></li>
|
60 |
<li><a href="class-WPGMZA.DOMDocument.html">WPGMZA\DOMDocument</a></li>
|
61 |
<li><a href="class-WPGMZA.DOMElement.html">WPGMZA\DOMElement</a></li>
|
62 |
<li><a href="class-WPGMZA.Factory.html">WPGMZA\Factory</a></li>
|
63 |
<li><a href="class-WPGMZA.GDPRCompliance.html">WPGMZA\GDPRCompliance</a></li>
|
64 |
+
<li><a href="class-WPGMZA.GlobalSettings.html">WPGMZA\GlobalSettings</a></li>
|
65 |
<li><a href="class-WPGMZA.GoogleGeocoder.html">WPGMZA\GoogleGeocoder</a></li>
|
66 |
<li><a href="class-WPGMZA.GoogleMap.html">WPGMZA\GoogleMap</a></li>
|
67 |
<li><a href="class-WPGMZA.GoogleMapsAPILoader.html" class="deprecated">WPGMZA\GoogleMapsAPILoader</a></li>
|
72 |
<li><a href="class-WPGMZA.Map.html">WPGMZA\Map</a></li>
|
73 |
<li><a href="class-WPGMZA.MapsEngineDialog.html">WPGMZA\MapsEngineDialog</a></li>
|
74 |
<li><a href="class-WPGMZA.Marker.html">WPGMZA\Marker</a></li>
|
75 |
+
<li><a href="class-WPGMZA.MarkerDataTable.html">WPGMZA\MarkerDataTable</a></li>
|
76 |
+
<li><a href="class-WPGMZA.MarkerFilter.html">WPGMZA\MarkerFilter</a></li>
|
77 |
<li><a href="class-WPGMZA.ModalDialog.html">WPGMZA\ModalDialog</a></li>
|
78 |
<li><a href="class-WPGMZA.NominatimGeocodeCache.html">WPGMZA\NominatimGeocodeCache</a></li>
|
79 |
<li><a href="class-WPGMZA.OLLoader.html">WPGMZA\OLLoader</a></li>
|
80 |
<li><a href="class-WPGMZA.Plugin.html">WPGMZA\Plugin</a></li>
|
81 |
+
<li><a href="class-WPGMZA.Query.html">WPGMZA\Query</a></li>
|
82 |
+
<li><a href="class-WPGMZA.QueryFragment.html">WPGMZA\QueryFragment</a></li>
|
83 |
<li><a href="class-WPGMZA.RestAPI.html">WPGMZA\RestAPI</a></li>
|
84 |
<li><a href="class-WPGMZA.ScriptLoader.html">WPGMZA\ScriptLoader</a></li>
|
85 |
<li><a href="class-WPGMZA.Selector.AttributeSelector.html">WPGMZA\Selector\AttributeSelector</a></li>
|
91 |
<li><a href="class-WPGMZA.Selector.TokenStream.html">WPGMZA\Selector\TokenStream</a></li>
|
92 |
<li><a href="class-WPGMZA.Selector.XPathConverter.html">WPGMZA\Selector\XPathConverter</a></li>
|
93 |
<li><a href="class-WPGMZA.Strings.html">WPGMZA\Strings</a></li>
|
94 |
+
<li><a href="class-WPGMZA.Table.html">WPGMZA\Table</a></li>
|
95 |
</ul>
|
96 |
|
97 |
|
106 |
<h3>Functions</h3>
|
107 |
<ul>
|
108 |
<li><a href="function-WPGMZA.create_marker_instance_delegate.html">WPGMZA\create_marker_instance_delegate</a></li>
|
|
|
109 |
<li><a href="function-WPGMZA.query_nominatim_cache.html" class="deprecated">WPGMZA\query_nominatim_cache</a></li>
|
110 |
<li><a href="function-WPGMZA.Selector.trace.html">WPGMZA\Selector\trace</a></li>
|
111 |
<li><a href="function-WPGMZA.store_nominatim_cache.html" class="deprecated">WPGMZA\store_nominatim_cache</a></li>
|
146 |
</ul>
|
147 |
</div>
|
148 |
|
149 |
+
<pre class="numbers"><code><span class="l"><a href="#1"> 1: </a></span><span class="l"><a href="#2"> 2: </a></span><span class="l"><a href="#3"> 3: </a></span><span class="l"><a href="#4"> 4: </a></span><span class="l"><a href="#5"> 5: </a></span><span class="l"><a href="#6"> 6: </a></span><span class="l"><a href="#7"> 7: </a></span><span class="l"><a href="#8"> 8: </a></span><span class="l"><a href="#9"> 9: </a></span><span class="l"><a href="#10"> 10: </a></span><span class="l"><a href="#11"> 11: </a></span></span><span class="l"><a href="#12"> 12: </a></span></span><span class="l"><a href="#13"> 13: </a></span></span><span class="l"><a href="#14"> 14: </a></span><span class="l"><a href="#15"> 15: </a></span><span class="l"><a href="#16"> 16: </a></span><span class="l"><a href="#17"> 17: </a></span><span class="l"><a href="#18"> 18: </a></span><span class="l"><a href="#19"> 19: </a></span><span class="l"><a href="#20"> 20: </a></span><span class="l"><a href="#21"> 21: </a></span><span class="l"><a href="#22"> 22: </a></span><span class="l"><a href="#23"> 23: </a></span><span class="l"><a href="#24"> 24: </a></span><span class="l"><a href="#25"> 25: </a></span><span class="l"><a href="#26"> 26: </a></span><span class="l"><a href="#27"> 27: </a></span><span class="l"><a href="#28"> 28: </a></span><span class="l"><a href="#29"> 29: </a></span><span class="l"><a href="#30"> 30: </a></span><span class="l"><a href="#31"> 31: </a></span><span class="l"><a href="#32"> 32: </a></span><span class="l"><a href="#33"> 33: </a></span><span class="l"><a href="#34"> 34: </a></span></span><span class="l"><a href="#35"> 35: </a></span></span><span class="l"><a href="#36"> 36: </a></span></span><span class="l"><a href="#37"> 37: </a></span><span class="l"><a href="#38"> 38: </a></span><span class="l"><a href="#39"> 39: </a></span><span class="l"><a href="#40"> 40: </a></span><span class="l"><a href="#41"> 41: </a></span><span class="l"><a href="#42"> 42: </a></span><span class="l"><a href="#43"> 43: </a></span></span><span class="l"><a href="#44"> 44: </a></span></span><span class="l"><a href="#45"> 45: </a></span></span><span class="l"><a href="#46"> 46: </a></span><span class="l"><a href="#47"> 47: </a></span><span class="l"><a href="#48"> 48: </a></span><span class="l"><a href="#49"> 49: </a></span><span class="l"><a href="#50"> 50: </a></span><span class="l"><a href="#51"> 51: </a></span><span class="l"><a href="#52"> 52: </a></span></span><span class="l"><a href="#53"> 53: </a></span></span><span class="l"><a href="#54"> 54: </a></span></span><span class="l"><a href="#55"> 55: </a></span></span><span class="l"><a href="#56"> 56: </a></span></span><span class="l"><a href="#57"> 57: </a></span></span><span class="l"><a href="#58"> 58: </a></span><span class="l"><a href="#59"> 59: </a></span><span class="l"><a href="#60"> 60: </a></span><span class="l"><a href="#61"> 61: </a></span><span class="l"><a href="#62"> 62: </a></span><span class="l"><a href="#63"> 63: </a></span><span class="l"><a href="#64"> 64: </a></span><span class="l"><a href="#65"> 65: </a></span><span class="l"><a href="#66"> 66: </a></span><span class="l"><a href="#67"> 67: </a></span><span class="l"><a href="#68"> 68: </a></span><span class="l"><a href="#69"> 69: </a></span><span class="l"><a href="#70"> 70: </a></span><span class="l"><a href="#71"> 71: </a></span><span class="l"><a href="#72"> 72: </a></span><span class="l"><a href="#73"> 73: </a></span></span><span class="l"><a href="#74"> 74: </a></span></span><span class="l"><a href="#75"> 75: </a></span></span><span class="l"><a href="#76"> 76: </a></span></span><span class="l"><a href="#77"> 77: </a></span></span><span class="l"><a href="#78"> 78: </a></span><span class="l"><a href="#79"> 79: </a></span><span class="l"><a href="#80"> 80: </a></span><span class="l"><a href="#81"> 81: </a></span><span class="l"><a href="#82"> 82: </a></span><span class="l"><a href="#83"> 83: </a></span><span class="l"><a href="#84"> 84: </a></span><span class="l"><a href="#85"> 85: </a></span><span class="l"><a href="#86"> 86: </a></span><span class="l"><a href="#87"> 87: </a></span><span class="l"><a href="#88"> 88: </a></span><span class="l"><a href="#89"> 89: </a></span><span class="l"><a href="#90"> 90: </a></span><span class="l"><a href="#91"> 91: </a></span><span class="l"><a href="#92"> 92: </a></span><span class="l"><a href="#93"> 93: </a></span><span class="l"><a href="#94"> 94: </a></span><span class="l"><a href="#95"> 95: </a></span><span class="l"><a href="#96"> 96: </a></span><span class="l"><a href="#97"> 97: </a></span><span class="l"><a href="#98"> 98: </a></span><span class="l"><a href="#99"> 99: </a></span><span class="l"><a href="#100">100: </a></span><span class="l"><a href="#101">101: </a></span><span class="l"><a href="#102">102: </a></span><span class="l"><a href="#103">103: </a></span><span class="l"><a href="#104">104: </a></span><span class="l"><a href="#105">105: </a></span><span class="l"><a href="#106">106: </a></span><span class="l"><a href="#107">107: </a></span><span class="l"><a href="#108">108: </a></span><span class="l"><a href="#109">109: </a></span><span class="l"><a href="#110">110: </a></span><span class="l"><a href="#111">111: </a></span><span class="l"><a href="#112">112: </a></span><span class="l"><a href="#113">113: </a></span><span class="l"><a href="#114">114: </a></span><span class="l"><a href="#115">115: </a></span><span class="l"><a href="#116">116: </a></span><span class="l"><a href="#117">117: </a></span></span><span class="l"><a href="#118">118: </a></span></span><span class="l"><a href="#119">119: </a></span><span class="l"><a href="#120">120: </a></span><span class="l"><a href="#121">121: </a></span><span class="l"><a href="#122">122: </a></span><span class="l"><a href="#123">123: </a></span><span class="l"><a href="#124">124: </a></span><span class="l"><a href="#125">125: </a></span><span class="l"><a href="#126">126: </a></span><span class="l"><a href="#127">127: </a></span><span class="l"><a href="#128">128: </a></span><span class="l"><a href="#129">129: </a></span><span class="l"><a href="#130">130: </a></span><span class="l"><a href="#131">131: </a></span><span class="l"><a href="#132">132: </a></span><span class="l"><a href="#133">133: </a></span><span class="l"><a href="#134">134: </a></span><span class="l"><a href="#135">135: </a></span><span class="l"><a href="#136">136: </a></span><span class="l"><a href="#137">137: </a></span><span class="l"><a href="#138">138: </a></span><span class="l"><a href="#139">139: </a></span><span class="l"><a href="#140">140: </a></span><span class="l"><a href="#141">141: </a></span><span class="l"><a href="#142">142: </a></span><span class="l"><a href="#143">143: </a></span><span class="l"><a href="#144">144: </a></span><span class="l"><a href="#145">145: </a></span><span class="l"><a href="#146">146: </a></span><span class="l"><a href="#147">147: </a></span><span class="l"><a href="#148">148: </a></span><span class="l"><a href="#149">149: </a></span><span class="l"><a href="#150">150: </a></span><span class="l"><a href="#151">151: </a></span><span class="l"><a href="#152">152: </a></span><span class="l"><a href="#153">153: </a></span><span class="l"><a href="#154">154: </a></span><span class="l"><a href="#155">155: </a></span><span class="l"><a href="#156">156: </a></span><span class="l"><a href="#157">157: </a></span><span class="l"><a href="#158">158: </a></span><span class="l"><a href="#159">159: </a></span><span class="l"><a href="#160">160: </a></span><span class="l"><a href="#161">161: </a></span><span class="l"><a href="#162">162: </a></span><span class="l"><a href="#163">163: </a></span><span class="l"><a href="#164">164: </a></span><span class="l"><a href="#165">165: </a></span><span class="l"><a href="#166">166: </a></span><span class="l"><a href="#167">167: </a></span><span class="l"><a href="#168">168: </a></span><span class="l"><a href="#169">169: </a></span><span class="l"><a href="#170">170: </a></span></span><span class="l"><a href="#171">171: </a></span></span><span class="l"><a href="#172">172: </a></span></span><span class="l"><a href="#173">173: </a></span></span><span class="l"><a href="#174">174: </a></span><span class="l"><a href="#175">175: </a></span><span class="l"><a href="#176">176: </a></span><span class="l"><a href="#177">177: </a></span><span class="l"><a href="#178">178: </a></span><span class="l"><a href="#179">179: </a></span><span class="l"><a href="#180">180: </a></span><span class="l"><a href="#181">181: </a></span><span class="l"><a href="#182">182: </a></span></span><span class="l"><a href="#183">183: </a></span></span><span class="l"><a href="#184">184: </a></span></span><span class="l"><a href="#185">185: </a></span><span class="l"><a href="#186">186: </a></span><span class="l"><a href="#187">187: </a></span><span class="l"><a href="#188">188: </a></span><span class="l"><a href="#189">189: </a></span><span class="l"><a href="#190">190: </a></span><span class="l"><a href="#191">191: </a></span><span class="l"><a href="#192">192: </a></span><span class="l"><a href="#193">193: </a></span></span><span class="l"><a href="#194">194: </a></span></span><span class="l"><a href="#195">195: </a></span></span><span class="l"><a href="#196">196: </a></span></span><span class="l"><a href="#197">197: </a></span><span class="l"><a href="#198">198: </a></span><span class="l"><a href="#199">199: </a></span><span class="l"><a href="#200">200: </a></span><span class="l"><a href="#201">201: </a></span><span class="l"><a href="#202">202: </a></span><span class="l"><a href="#203">203: </a></span><span class="l"><a href="#204">204: </a></span><span class="l"><a href="#205">205: </a></span><span class="l"><a href="#206">206: </a></span><span class="l"><a href="#207">207: </a></span><span class="l"><a href="#208">208: </a></span><span class="l"><a href="#209">209: </a></span><span class="l"><a href="#210">210: </a></span><span class="l"><a href="#211">211: </a></span><span class="l"><a href="#212">212: </a></span></span><span class="l"><a href="#213">213: </a></span></span><span class="l"><a href="#214">214: </a></span></span><span class="l"><a href="#215">215: </a></span></span><span class="l"><a href="#216">216: </a></span><span class="l"><a href="#217">217: </a></span><span class="l"><a href="#218">218: </a></span><span class="l"><a href="#219">219: </a></span><span class="l"><a href="#220">220: </a></span><span class="l"><a href="#221">221: </a></span><span class="l"><a href="#222">222: </a></span><span class="l"><a href="#223">223: </a></span><span class="l"><a href="#224">224: </a></span><span class="l"><a href="#225">225: </a></span></span><span class="l"><a href="#226">226: </a></span></span><span class="l"><a href="#227">227: </a></span></span><span class="l"><a href="#228">228: </a></span><span class="l"><a href="#229">229: </a></span><span class="l"><a href="#230">230: </a></span><span class="l"><a href="#231">231: </a></span><span class="l"><a href="#232">232: </a></span><span class="l"><a href="#233">233: </a></span><span class="l"><a href="#234">234: </a></span><span class="l"><a href="#235">235: </a></span><span class="l"><a href="#236">236: </a></span><span class="l"><a href="#237">237: </a></span><span class="l"><a href="#238">238: </a></span><span class="l"><a href="#239">239: </a></span><span class="l"><a href="#240">240: </a></span><span class="l"><a href="#241">241: </a></span><span class="l"><a href="#242">242: </a></span><span class="l"><a href="#243">243: </a></span><span class="l"><a href="#244">244: </a></span><span class="l"><a href="#245">245: </a></span><span class="l"><a href="#246">246: </a></span><span class="l"><a href="#247">247: </a></span><span class="l"><a href="#248">248: </a></span><span class="l"><a href="#249">249: </a></span><span class="l"><a href="#250">250: </a></span><span class="l"><a href="#251">251: </a></span><span class="l"><a href="#252">252: </a></span></code></pre>
|
150 |
<pre class="code"><code><span id="1" class="l"><span class="xlang"><?php</span>
|
151 |
</span><span id="2" class="l">
|
152 |
</span><span id="3" class="l"><span class="php-keyword1">namespace</span> WPGMZA;
|
351 |
</span><span id="202" class="l"> <span class="php-keyword1">return</span> <span class="php-var">$this</span>->documentElement->populate(<span class="php-var">$src</span>, <span class="php-var">$formatters</span>);
|
352 |
</span><span id="203" class="l"> }
|
353 |
</span><span id="204" class="l">
|
354 |
+
</span><span id="205" class="l"> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> serializeFormData()
|
355 |
+
</span><span id="206" class="l"> {
|
356 |
+
</span><span id="207" class="l"> <span class="php-keyword1">if</span>(!<span class="php-var">$this</span>->documentElement)
|
357 |
+
</span><span id="208" class="l"> <span class="php-keyword1">throw</span> <span class="php-keyword1">new</span> \Exception(<span class="php-quote">'Document is empty'</span>);
|
358 |
+
</span><span id="209" class="l"> <span class="php-keyword1">return</span> <span class="php-var">$this</span>->documentElement->serializeFormData();
|
359 |
+
</span><span id="210" class="l"> }
|
360 |
+
</span><span id="211" class="l">
|
361 |
+
</span><span id="212" class="l"> <span class="php-comment">/**
|
362 |
+
</span></span><span id="213" class="l"><span class="php-comment"> * Utility function to create an error element
|
363 |
+
</span></span><span id="214" class="l"><span class="php-comment"> * @param string $message The error message
|
364 |
+
</span></span><span id="215" class="l"><span class="php-comment"> * @return \Smart\Element
|
365 |
+
</span></span><span id="216" class="l"><span class="php-comment"> */</span>
|
366 |
+
</span><span id="217" class="l"> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> createErrorElement(<span class="php-var">$message</span>)
|
367 |
+
</span><span id="218" class="l"> {
|
368 |
+
</span><span id="219" class="l"> <span class="php-var">$span</span> = <span class="php-var">$this</span>->createElement(<span class="php-quote">'span'</span>);
|
369 |
+
</span><span id="220" class="l"> <span class="php-var">$span</span>->appendText(<span class="php-var">$message</span>);
|
370 |
+
</span><span id="221" class="l"> <span class="php-var">$span</span>->addClass(<span class="php-quote">'notice notice-error'</span>);
|
371 |
+
</span><span id="222" class="l"> <span class="php-keyword1">return</span> <span class="php-var">$span</span>;
|
372 |
+
</span><span id="223" class="l"> }
|
373 |
+
</span><span id="224" class="l">
|
374 |
+
</span><span id="225" class="l"> <span class="php-comment">/**
|
375 |
+
</span></span><span id="226" class="l"><span class="php-comment"> * This function saves only the inside of the <body> element of this document. This is useful when you want to import a HTML document into another, but you don't want to end up with nested <html> elements
|
376 |
+
</span></span><span id="227" class="l"><span class="php-comment"> * @return string The HTML string
|
377 |
+
</span></span><span id="228" class="l"><span class="php-comment"> */</span>
|
378 |
+
</span><span id="229" class="l"> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> saveInnerBody()
|
379 |
+
</span><span id="230" class="l"> {
|
380 |
+
</span><span id="231" class="l"> <span class="php-var">$result</span> = <span class="php-quote">''</span>;
|
381 |
+
</span><span id="232" class="l">
|
382 |
+
</span><span id="233" class="l"> <span class="php-var">$body</span> = <span class="php-var">$this</span>->querySelector(<span class="php-quote">'body'</span>);
|
383 |
+
</span><span id="234" class="l">
|
384 |
+
</span><span id="235" class="l"> <span class="php-keyword1">if</span>(!<span class="php-var">$body</span>)
|
385 |
+
</span><span id="236" class="l"> <span class="php-keyword1">return</span> <span class="php-keyword1">null</span>;
|
386 |
+
</span><span id="237" class="l">
|
387 |
+
</span><span id="238" class="l"> <span class="php-keyword1">for</span>(<span class="php-var">$node</span> = <span class="php-var">$body</span>->firstChild; <span class="php-var">$node</span> != <span class="php-keyword1">null</span>; <span class="php-var">$node</span> = <span class="php-var">$node</span>->nextSibling)
|
388 |
+
</span><span id="239" class="l"> <span class="php-var">$result</span> .= <span class="php-var">$this</span>->saveHTML(<span class="php-var">$node</span>);
|
389 |
+
</span><span id="240" class="l">
|
390 |
+
</span><span id="241" class="l"> <span class="php-keyword1">return</span> <span class="php-var">$result</span>;
|
391 |
+
</span><span id="242" class="l"> }
|
392 |
+
</span><span id="243" class="l">
|
393 |
+
</span><span id="244" class="l"> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> __get(<span class="php-var">$name</span>)
|
394 |
+
</span><span id="245" class="l"> {
|
395 |
+
</span><span id="246" class="l"> <span class="php-keyword1">if</span>(<span class="php-var">$name</span> == <span class="php-quote">'html'</span>)
|
396 |
+
</span><span id="247" class="l"> <span class="php-keyword1">return</span> <span class="php-var">$this</span>->saveInnerBody();
|
397 |
+
</span><span id="248" class="l">
|
398 |
+
</span><span id="249" class="l"> <span class="php-keyword1">return</span> <span class="php-keyword1">null</span>;
|
399 |
+
</span><span id="250" class="l"> }
|
400 |
+
</span><span id="251" class="l">}
|
401 |
+
</span><span id="252" class="l"></span></code></pre>
|
402 |
|
403 |
<div id="footer">
|
404 |
API documentation generated by <a href="http://apigen.org">ApiGen</a>
|
405 |
</div>
|
406 |
</div>
|
407 |
</div>
|
408 |
+
<script src="resources/combined.js?bdf41a0492319853d610bde7b68b95e93d08fae3"></script>
|
409 |
+
<script src="elementlist.js?ce6e64dd6d2e258467153e0fbb3257ea07b69a7b"></script>
|
410 |
</body>
|
411 |
</html>
|
@@ -50,12 +50,18 @@
|
|
50 |
<div id="elements">
|
51 |
<h3>Classes</h3>
|
52 |
<ul>
|
|
|
|
|
53 |
<li><a href="class-WPGMZA.AutoLoader.html">WPGMZA\AutoLoader</a></li>
|
54 |
<li><a href="class-WPGMZA.Crud.html">WPGMZA\Crud</a></li>
|
|
|
|
|
|
|
55 |
<li><a href="class-WPGMZA.DOMDocument.html">WPGMZA\DOMDocument</a></li>
|
56 |
<li><a href="class-WPGMZA.DOMElement.html">WPGMZA\DOMElement</a></li>
|
57 |
<li><a href="class-WPGMZA.Factory.html">WPGMZA\Factory</a></li>
|
58 |
<li><a href="class-WPGMZA.GDPRCompliance.html">WPGMZA\GDPRCompliance</a></li>
|
|
|
59 |
<li><a href="class-WPGMZA.GoogleGeocoder.html">WPGMZA\GoogleGeocoder</a></li>
|
60 |
<li><a href="class-WPGMZA.GoogleMap.html">WPGMZA\GoogleMap</a></li>
|
61 |
<li><a href="class-WPGMZA.GoogleMapsAPILoader.html" class="deprecated">WPGMZA\GoogleMapsAPILoader</a></li>
|
@@ -66,10 +72,14 @@
|
|
66 |
<li><a href="class-WPGMZA.Map.html">WPGMZA\Map</a></li>
|
67 |
<li><a href="class-WPGMZA.MapsEngineDialog.html">WPGMZA\MapsEngineDialog</a></li>
|
68 |
<li><a href="class-WPGMZA.Marker.html">WPGMZA\Marker</a></li>
|
|
|
|
|
69 |
<li><a href="class-WPGMZA.ModalDialog.html">WPGMZA\ModalDialog</a></li>
|
70 |
<li><a href="class-WPGMZA.NominatimGeocodeCache.html">WPGMZA\NominatimGeocodeCache</a></li>
|
71 |
<li><a href="class-WPGMZA.OLLoader.html">WPGMZA\OLLoader</a></li>
|
72 |
<li><a href="class-WPGMZA.Plugin.html">WPGMZA\Plugin</a></li>
|
|
|
|
|
73 |
<li><a href="class-WPGMZA.RestAPI.html">WPGMZA\RestAPI</a></li>
|
74 |
<li><a href="class-WPGMZA.ScriptLoader.html">WPGMZA\ScriptLoader</a></li>
|
75 |
<li><a href="class-WPGMZA.Selector.AttributeSelector.html">WPGMZA\Selector\AttributeSelector</a></li>
|
@@ -81,6 +91,7 @@
|
|
81 |
<li><a href="class-WPGMZA.Selector.TokenStream.html">WPGMZA\Selector\TokenStream</a></li>
|
82 |
<li><a href="class-WPGMZA.Selector.XPathConverter.html">WPGMZA\Selector\XPathConverter</a></li>
|
83 |
<li><a href="class-WPGMZA.Strings.html">WPGMZA\Strings</a></li>
|
|
|
84 |
</ul>
|
85 |
|
86 |
|
@@ -95,7 +106,6 @@
|
|
95 |
<h3>Functions</h3>
|
96 |
<ul>
|
97 |
<li><a href="function-WPGMZA.create_marker_instance_delegate.html">WPGMZA\create_marker_instance_delegate</a></li>
|
98 |
-
<li><a href="function-WPGMZA.create_plugin_instance.html" class="deprecated">WPGMZA\create_plugin_instance</a></li>
|
99 |
<li><a href="function-WPGMZA.query_nominatim_cache.html" class="deprecated">WPGMZA\query_nominatim_cache</a></li>
|
100 |
<li><a href="function-WPGMZA.Selector.trace.html">WPGMZA\Selector\trace</a></li>
|
101 |
<li><a href="function-WPGMZA.store_nominatim_cache.html" class="deprecated">WPGMZA\store_nominatim_cache</a></li>
|
@@ -136,7 +146,7 @@
|
|
136 |
</ul>
|
137 |
</div>
|
138 |
|
139 |
-
<pre class="numbers"><code><span class="l"><a href="#1"> 1: </a></span><span class="l"><a href="#2"> 2: </a></span><span class="l"><a href="#3"> 3: </a></span><span class="l"><a href="#4"> 4: </a></span><span class="l"><a href="#5"> 5: </a></span><span class="l"><a href="#6"> 6: </a></span><span class="l"><a href="#7"> 7: </a></span><span class="l"><a href="#8"> 8: </a></span><span class="l"><a href="#9"> 9: </a></span><span class="l"><a href="#10"> 10: </a></span><span class="l"><a href="#11"> 11: </a></span><span class="l"><a href="#12"> 12: </a></span><span class="l"><a href="#13"> 13: </a></span><span class="l"><a href="#14"> 14: </a></span><span class="l"><a href="#15"> 15: </a></span><span class="l"><a href="#16"> 16: </a></span></span><span class="l"><a href="#17"> 17: </a></span></span><span class="l"><a href="#18"> 18: </a></span></span><span class="l"><a href="#19"> 19: </a></span></span><span class="l"><a href="#20"> 20: </a></span><span class="l"><a href="#21"> 21: </a></span><span class="l"><a href="#22"> 22: </a></span><span class="l"><a href="#23"> 23: </a></span><span class="l"><a href="#24"> 24: </a></span><span class="l"><a href="#25"> 25: </a></span><span class="l"><a href="#26"> 26: </a></span><span class="l"><a href="#27"> 27: </a></span><span class="l"><a href="#28"> 28: </a></span><span class="l"><a href="#29"> 29: </a></span></span><span class="l"><a href="#30"> 30: </a></span></span><span class="l"><a href="#31"> 31: </a></span></span><span class="l"><a href="#32"> 32: </a></span><span class="l"><a href="#33"> 33: </a></span><span class="l"><a href="#34"> 34: </a></span><span class="l"><a href="#35"> 35: </a></span><span class="l"><a href="#36"> 36: </a></span><span class="l"><a href="#37"> 37: </a></span><span class="l"><a href="#38"> 38: </a></span><span class="l"><a href="#39"> 39: </a></span><span class="l"><a href="#40"> 40: </a></span><span class="l"><a href="#41"> 41: </a></span><span class="l"><a href="#42"> 42: </a></span><span class="l"><a href="#43"> 43: </a></span><span class="l"><a href="#44"> 44: </a></span><span class="l"><a href="#45"> 45: </a></span><span class="l"><a href="#46"> 46: </a></span><span class="l"><a href="#47"> 47: </a></span><span class="l"><a href="#48"> 48: </a></span><span class="l"><a href="#49"> 49: </a></span><span class="l"><a href="#50"> 50: </a></span><span class="l"><a href="#51"> 51: </a></span><span class="l"><a href="#52"> 52: </a></span><span class="l"><a href="#53"> 53: </a></span><span class="l"><a href="#54"> 54: </a></span><span class="l"><a href="#55"> 55: </a></span></span><span class="l"><a href="#56"> 56: </a></span></span><span class="l"><a href="#57"> 57: </a></span></span><span class="l"><a href="#58"> 58: </a></span></span><span class="l"><a href="#59"> 59: </a></span><span class="l"><a href="#60"> 60: </a></span><span class="l"><a href="#61"> 61: </a></span><span class="l"><a href="#62"> 62: </a></span><span class="l"><a href="#63"> 63: </a></span><span class="l"><a href="#64"> 64: </a></span><span class="l"><a href="#65"> 65: </a></span><span class="l"><a href="#66"> 66: </a></span><span class="l"><a href="#67"> 67: </a></span><span class="l"><a href="#68"> 68: </a></span><span class="l"><a href="#69"> 69: </a></span><span class="l"><a href="#70"> 70: </a></span><span class="l"><a href="#71"> 71: </a></span><span class="l"><a href="#72"> 72: </a></span><span class="l"><a href="#73"> 73: </a></span><span class="l"><a href="#74"> 74: </a></span><span class="l"><a href="#75"> 75: </a></span></span><span class="l"><a href="#76"> 76: </a></span></span><span class="l"><a href="#77"> 77: </a></span><span class="l"><a href="#78"> 78: </a></span><span class="l"><a href="#79"> 79: </a></span><span class="l"><a href="#80"> 80: </a></span><span class="l"><a href="#81"> 81: </a></span><span class="l"><a href="#82"> 82: </a></span><span class="l"><a href="#83"> 83: </a></span><span class="l"><a href="#84"> 84: </a></span><span class="l"><a href="#85"> 85: </a></span><span class="l"><a href="#86"> 86: </a></span><span class="l"><a href="#87"> 87: </a></span><span class="l"><a href="#88"> 88: </a></span><span class="l"><a href="#89"> 89: </a></span><span class="l"><a href="#90"> 90: </a></span><span class="l"><a href="#91"> 91: </a></span></span><span class="l"><a href="#92"> 92: </a></span></span><span class="l"><a href="#93"> 93: </a></span></span><span class="l"><a href="#94"> 94: </a></span><span class="l"><a href="#95"> 95: </a></span><span class="l"><a href="#96"> 96: </a></span><span class="l"><a href="#97"> 97: </a></span><span class="l"><a href="#98"> 98: </a></span><span class="l"><a href="#99"> 99: </a></span><span class="l"><a href="#100">100: </a></span><span class="l"><a href="#101">101: </a></span><span class="l"><a href="#102">102: </a></span><span class="l"><a href="#103">103: </a></span><span class="l"><a href="#104">104: </a></span><span class="l"><a href="#105">105: </a></span><span class="l"><a href="#106">106: </a></span><span class="l"><a href="#107">107: </a></span><span class="l"><a href="#108">108: </a></span><span class="l"><a href="#109">109: </a></span><span class="l"><a href="#110">110: </a></span></span><span class="l"><a href="#111">111: </a></span></span><span class="l"><a href="#112">112: </a></span></span><span class="l"><a href="#113">113: </a></span><span class="l"><a href="#114">114: </a></span><span class="l"><a href="#115">115: </a></span><span class="l"><a href="#116">116: </a></span><span class="l"><a href="#117">117: </a></span><span class="l"><a href="#118">118: </a></span><span class="l"><a href="#119">119: </a></span><span class="l"><a href="#120">120: </a></span><span class="l"><a href="#121">121: </a></span><span class="l"><a href="#122">122: </a></span><span class="l"><a href="#123">123: </a></span><span class="l"><a href="#124">124: </a></span><span class="l"><a href="#125">125: </a></span><span class="l"><a href="#126">126: </a></span><span class="l"><a href="#127">127: </a></span><span class="l"><a href="#128">128: </a></span><span class="l"><a href="#129">129: </a></span><span class="l"><a href="#130">130: </a></span><span class="l"><a href="#131">131: </a></span><span class="l"><a href="#132">132: </a></span><span class="l"><a href="#133">133: </a></span><span class="l"><a href="#134">134: </a></span><span class="l"><a href="#135">135: </a></span><span class="l"><a href="#136">136: </a></span><span class="l"><a href="#137">137: </a></span><span class="l"><a href="#138">138: </a></span><span class="l"><a href="#139">139: </a></span><span class="l"><a href="#140">140: </a></span><span class="l"><a href="#141">141: </a></span><span class="l"><a href="#142">142: </a></span><span class="l"><a href="#143">143: </a></span><span class="l"><a href="#144">144: </a></span><span class="l"><a href="#145">145: </a></span><span class="l"><a href="#146">146: </a></span><span class="l"><a href="#147">147: </a></span><span class="l"><a href="#148">148: </a></span><span class="l"><a href="#149">149: </a></span><span class="l"><a href="#150">150: </a></span><span class="l"><a href="#151">151: </a></span><span class="l"><a href="#152">152: </a></span><span class="l"><a href="#153">153: </a></span><span class="l"><a href="#154">154: </a></span></span><span class="l"><a href="#155">155: </a></span></span><span class="l"><a href="#156">156: </a></span></span><span class="l"><a href="#157">157: </a></span><span class="l"><a href="#158">158: </a></span><span class="l"><a href="#159">159: </a></span><span class="l"><a href="#160">160: </a></span><span class="l"><a href="#161">161: </a></span><span class="l"><a href="#162">162: </a></span><span class="l"><a href="#163">163: </a></span><span class="l"><a href="#164">164: </a></span><span class="l"><a href="#165">165: </a></span><span class="l"><a href="#166">166: </a></span></span><span class="l"><a href="#167">167: </a></span></span><span class="l"><a href="#168">168: </a></span></span><span class="l"><a href="#169">169: </a></span><span class="l"><a href="#170">170: </a></span><span class="l"><a href="#171">171: </a></span><span class="l"><a href="#172">172: </a></span><span class="l"><a href="#173">173: </a></span><span class="l"><a href="#174">174: </a></span><span class="l"><a href="#175">175: </a></span><span class="l"><a href="#176">176: </a></span><span class="l"><a href="#177">177: </a></span><span class="l"><a href="#178">178: </a></span></span><span class="l"><a href="#179">179: </a></span></span><span class="l"><a href="#180">180: </a></span><span class="l"><a href="#181">181: </a></span><span class="l"><a href="#182">182: </a></span><span class="l"><a href="#183">183: </a></span><span class="l"><a href="#184">184: </a></span><span class="l"><a href="#185">185: </a></span><span class="l"><a href="#186">186: </a></span></span><span class="l"><a href="#187">187: </a></span></span><span class="l"><a href="#188">188: </a></span></span><span class="l"><a href="#189">189: </a></span></span><span class="l"><a href="#190">190: </a></span><span class="l"><a href="#191">191: </a></span><span class="l"><a href="#192">192: </a></span><span class="l"><a href="#193">193: </a></span><span class="l"><a href="#194">194: </a></span><span class="l"><a href="#195">195: </a></span><span class="l"><a href="#196">196: </a></span><span class="l"><a href="#197">197: </a></span><span class="l"><a href="#198">198: </a></span><span class="l"><a href="#199">199: </a></span><span class="l"><a href="#200">200: </a></span><span class="l"><a href="#201">201: </a></span></span><span class="l"><a href="#202">202: </a></span></span><span class="l"><a href="#203">203: </a></span></span><span class="l"><a href="#204">204: </a></span></span><span class="l"><a href="#205">205: </a></span></span><span class="l"><a href="#206">206: </a></span><span class="l"><a href="#207">207: </a></span><span class="l"><a href="#208">208: </a></span><span class="l"><a href="#209">209: </a></span><span class="l"><a href="#210">210: </a></span><span class="l"><a href="#211">211: </a></span><span class="l"><a href="#212">212: </a></span><span class="l"><a href="#213">213: </a></span><span class="l"><a href="#214">214: </a></span><span class="l"><a href="#215">215: </a></span><span class="l"><a href="#216">216: </a></span><span class="l"><a href="#217">217: </a></span><span class="l"><a href="#218">218: </a></span><span class="l"><a href="#219">219: </a></span><span class="l"><a href="#220">220: </a></span><span class="l"><a href="#221">221: </a></span><span class="l"><a href="#222">222: </a></span><span class="l"><a href="#223">223: </a></span><span class="l"><a href="#224">224: </a></span><span class="l"><a href="#225">225: </a></span><span class="l"><a href="#226">226: </a></span><span class="l"><a href="#227">227: </a></span><span class="l"><a href="#228">228: </a></span><span class="l"><a href="#229">229: </a></span><span class="l"><a href="#230">230: </a></span><span class="l"><a href="#231">231: </a></span><span class="l"><a href="#232">232: </a></span><span class="l"><a href="#233">233: </a></span><span class="l"><a href="#234">234: </a></span><span class="l"><a href="#235">235: </a></span><span class="l"><a href="#236">236: </a></span><span class="l"><a href="#237">237: </a></span><span class="l"><a href="#238">238: </a></span><span class="l"><a href="#239">239: </a></span><span class="l"><a href="#240">240: </a></span><span class="l"><a href="#241">241: </a></span><span class="l"><a href="#242">242: </a></span><span class="l"><a href="#243">243: </a></span><span class="l"><a href="#244">244: </a></span><span class="l"><a href="#245">245: </a></span><span class="l"><a href="#246">246: </a></span><span class="l"><a href="#247">247: </a></span><span class="l"><a href="#248">248: </a></span><span class="l"><a href="#249">249: </a></span><span class="l"><a href="#250">250: </a></span><span class="l"><a href="#251">251: </a></span><span class="l"><a href="#252">252: </a></span><span class="l"><a href="#253">253: </a></span><span class="l"><a href="#254">254: </a></span><span class="l"><a href="#255">255: </a></span><span class="l"><a href="#256">256: </a></span><span class="l"><a href="#257">257: </a></span><span class="l"><a href="#258">258: </a></span><span class="l"><a href="#259">259: </a></span><span class="l"><a href="#260">260: </a></span><span class="l"><a href="#261">261: </a></span><span class="l"><a href="#262">262: </a></span><span class="l"><a href="#263">263: </a></span><span class="l"><a href="#264">264: </a></span><span class="l"><a href="#265">265: </a></span><span class="l"><a href="#266">266: </a></span><span class="l"><a href="#267">267: </a></span><span class="l"><a href="#268">268: </a></span><span class="l"><a href="#269">269: </a></span><span class="l"><a href="#270">270: </a></span><span class="l"><a href="#271">271: </a></span><span class="l"><a href="#272">272: </a></span><span class="l"><a href="#273">273: </a></span><span class="l"><a href="#274">274: </a></span><span class="l"><a href="#275">275: </a></span><span class="l"><a href="#276">276: </a></span><span class="l"><a href="#277">277: </a></span><span class="l"><a href="#278">278: </a></span><span class="l"><a href="#279">279: </a></span><span class="l"><a href="#280">280: </a></span><span class="l"><a href="#281">281: </a></span><span class="l"><a href="#282">282: </a></span><span class="l"><a href="#283">283: </a></span><span class="l"><a href="#284">284: </a></span><span class="l"><a href="#285">285: </a></span><span class="l"><a href="#286">286: </a></span><span class="l"><a href="#287">287: </a></span><span class="l"><a href="#288">288: </a></span><span class="l"><a href="#289">289: </a></span></span><span class="l"><a href="#290">290: </a></span></span><span class="l"><a href="#291">291: </a></span></span><span class="l"><a href="#292">292: </a></span></span><span class="l"><a href="#293">293: </a></span></span><span class="l"><a href="#294">294: </a></span><span class="l"><a href="#295">295: </a></span><span class="l"><a href="#296">296: </a></span><span class="l"><a href="#297">297: </a></span><span class="l"><a href="#298">298: </a></span><span class="l"><a href="#299">299: </a></span><span class="l"><a href="#300">300: </a></span><span class="l"><a href="#301">301: </a></span><span class="l"><a href="#302">302: </a></span><span class="l"><a href="#303">303: </a></span></span><span class="l"><a href="#304">304: </a></span></span><span class="l"><a href="#305">305: </a></span></span><span class="l"><a href="#306">306: </a></span></span><span class="l"><a href="#307">307: </a></span><span class="l"><a href="#308">308: </a></span><span class="l"><a href="#309">309: </a></span><span class="l"><a href="#310">310: </a></span><span class="l"><a href="#311">311: </a></span><span class="l"><a href="#312">312: </a></span><span class="l"><a href="#313">313: </a></span><span class="l"><a href="#314">314: </a></span><span class="l"><a href="#315">315: </a></span><span class="l"><a href="#316">316: </a></span><span class="l"><a href="#317">317: </a></span><span class="l"><a href="#318">318: </a></span><span class="l"><a href="#319">319: </a></span><span class="l"><a href="#320">320: </a></span><span class="l"><a href="#321">321: </a></span><span class="l"><a href="#322">322: </a></span><span class="l"><a href="#323">323: </a></span><span class="l"><a href="#324">324: </a></span><span class="l"><a href="#325">325: </a></span><span class="l"><a href="#326">326: </a></span><span class="l"><a href="#327">327: </a></span><span class="l"><a href="#328">328: </a></span></span><span class="l"><a href="#329">329: </a></span></span><span class="l"><a href="#330">330: </a></span></span><span class="l"><a href="#331">331: </a></span><span class="l"><a href="#332">332: </a></span><span class="l"><a href="#333">333: </a></span><span class="l"><a href="#334">334: </a></span><span class="l"><a href="#335">335: </a></span><span class="l"><a href="#336">336: </a></span><span class="l"><a href="#337">337: </a></span><span class="l"><a href="#338">338: </a></span><span class="l"><a href="#339">339: </a></span></span><span class="l"><a href="#340">340: </a></span></span><span class="l"><a href="#341">341: </a></span></span><span class="l"><a href="#342">342: </a></span></span><span class="l"><a href="#343">343: </a></span><span class="l"><a href="#344">344: </a></span><span class="l"><a href="#345">345: </a></span><span class="l"><a href="#346">346: </a></span><span class="l"><a href="#347">347: </a></span><span class="l"><a href="#348">348: </a></span><span class="l"><a href="#349">349: </a></span><span class="l"><a href="#350">350: </a></span><span class="l"><a href="#351">351: </a></span><span class="l"><a href="#352">352: </a></span><span class="l"><a href="#353">353: </a></span><span class="l"><a href="#354">354: </a></span><span class="l"><a href="#355">355: </a></span><span class="l"><a href="#356">356: </a></span></span><span class="l"><a href="#357">357: </a></span></span><span class="l"><a href="#358">358: </a></span></span><span class="l"><a href="#359">359: </a></span></span><span class="l"><a href="#360">360: </a></span><span class="l"><a href="#361">361: </a></span><span class="l"><a href="#362">362: </a></span><span class="l"><a href="#363">363: </a></span><span class="l"><a href="#364">364: </a></span><span class="l"><a href="#365">365: </a></span><span class="l"><a href="#366">366: </a></span><span class="l"><a href="#367">367: </a></span><span class="l"><a href="#368">368: </a></span><span class="l"><a href="#369">369: </a></span><span class="l"><a href="#370">370: </a></span><span class="l"><a href="#371">371: </a></span><span class="l"><a href="#372">372: </a></span></span><span class="l"><a href="#373">373: </a></span></span><span class="l"><a href="#374">374: </a></span></span><span class="l"><a href="#375">375: </a></span></span><span class="l"><a href="#376">376: </a></span><span class="l"><a href="#377">377: </a></span><span class="l"><a href="#378">378: </a></span><span class="l"><a href="#379">379: </a></span><span class="l"><a href="#380">380: </a></span><span class="l"><a href="#381">381: </a></span><span class="l"><a href="#382">382: </a></span><span class="l"><a href="#383">383: </a></span><span class="l"><a href="#384">384: </a></span><span class="l"><a href="#385">385: </a></span><span class="l"><a href="#386">386: </a></span><span class="l"><a href="#387">387: </a></span><span class="l"><a href="#388">388: </a></span><span class="l"><a href="#389">389: </a></span><span class="l"><a href="#390">390: </a></span><span class="l"><a href="#391">391: </a></span><span class="l"><a href="#392">392: </a></span><span class="l"><a href="#393">393: </a></span></span><span class="l"><a href="#394">394: </a></span></span><span class="l"><a href="#395">395: </a></span></span><span class="l"><a href="#396">396: </a></span></span><span class="l"><a href="#397">397: </a></span><span class="l"><a href="#398">398: </a></span><span class="l"><a href="#399">399: </a></span><span class="l"><a href="#400">400: </a></span><span class="l"><a href="#401">401: </a></span><span class="l"><a href="#402">402: </a></span><span class="l"><a href="#403">403: </a></span><span class="l"><a href="#404">404: </a></span><span class="l"><a href="#405">405: </a></span><span class="l"><a href="#406">406: </a></span></span><span class="l"><a href="#407">407: </a></span></span><span class="l"><a href="#408">408: </a></span></span><span class="l"><a href="#409">409: </a></span></span><span class="l"><a href="#410">410: </a></span></span><span class="l"><a href="#411">411: </a></span></span><span class="l"><a href="#412">412: </a></span></span><span class="l"><a href="#413">413: </a></span><span class="l"><a href="#414">414: </a></span><span class="l"><a href="#415">415: </a></span><span class="l"><a href="#416">416: </a></span><span class="l"><a href="#417">417: </a></span><span class="l"><a href="#418">418: </a></span><span class="l"><a href="#419">419: </a></span><span class="l"><a href="#420">420: </a></span><span class="l"><a href="#421">421: </a></span><span class="l"><a href="#422">422: </a></span><span class="l"><a href="#423">423: </a></span><span class="l"><a href="#424">424: </a></span><span class="l"><a href="#425">425: </a></span><span class="l"><a href="#426">426: </a></span><span class="l"><a href="#427">427: </a></span><span class="l"><a href="#428">428: </a></span><span class="l"><a href="#429">429: </a></span><span class="l"><a href="#430">430: </a></span><span class="l"><a href="#431">431: </a></span><span class="l"><a href="#432">432: </a></span><span class="l"><a href="#433">433: </a></span><span class="l"><a href="#434">434: </a></span><span class="l"><a href="#435">435: </a></span><span class="l"><a href="#436">436: </a></span><span class="l"><a href="#437">437: </a></span><span class="l"><a href="#438">438: </a></span><span class="l"><a href="#439">439: </a></span><span class="l"><a href="#440">440: </a></span><span class="l"><a href="#441">441: </a></span><span class="l"><a href="#442">442: </a></span><span class="l"><a href="#443">443: </a></span><span class="l"><a href="#444">444: </a></span><span class="l"><a href="#445">445: </a></span><span class="l"><a href="#446">446: </a></span><span class="l"><a href="#447">447: </a></span><span class="l"><a href="#448">448: </a></span><span class="l"><a href="#449">449: </a></span><span class="l"><a href="#450">450: </a></span></span><span class="l"><a href="#451">451: </a></span></span><span class="l"><a href="#452">452: </a></span></span><span class="l"><a href="#453">453: </a></span></span><span class="l"><a href="#454">454: </a></span></span><span class="l"><a href="#455">455: </a></span><span class="l"><a href="#456">456: </a></span><span class="l"><a href="#457">457: </a></span><span class="l"><a href="#458">458: </a></span><span class="l"><a href="#459">459: </a></span><span class="l"><a href="#460">460: </a></span><span class="l"><a href="#461">461: </a></span><span class="l"><a href="#462">462: </a></span><span class="l"><a href="#463">463: </a></span><span class="l"><a href="#464">464: </a></span><span class="l"><a href="#465">465: </a></span><span class="l"><a href="#466">466: </a></span><span class="l"><a href="#467">467: </a></span><span class="l"><a href="#468">468: </a></span><span class="l"><a href="#469">469: </a></span><span class="l"><a href="#470">470: </a></span><span class="l"><a href="#471">471: </a></span><span class="l"><a href="#472">472: </a></span><span class="l"><a href="#473">473: </a></span><span class="l"><a href="#474">474: </a></span><span class="l"><a href="#475">475: </a></span><span class="l"><a href="#476">476: </a></span><span class="l"><a href="#477">477: </a></span><span class="l"><a href="#478">478: </a></span><span class="l"><a href="#479">479: </a></span><span class="l"><a href="#480">480: </a></span><span class="l"><a href="#481">481: </a></span><span class="l"><a href="#482">482: </a></span><span class="l"><a href="#483">483: </a></span><span class="l"><a href="#484">484: </a></span><span class="l"><a href="#485">485: </a></span><span class="l"><a href="#486">486: </a></span><span class="l"><a href="#487">487: </a></span><span class="l"><a href="#488">488: </a></span><span class="l"><a href="#489">489: </a></span><span class="l"><a href="#490">490: </a></span><span class="l"><a href="#491">491: </a></span><span class="l"><a href="#492">492: </a></span><span class="l"><a href="#493">493: </a></span><span class="l"><a href="#494">494: </a></span><span class="l"><a href="#495">495: </a></span><span class="l"><a href="#496">496: </a></span><span class="l"><a href="#497">497: </a></span><span class="l"><a href="#498">498: </a></span><span class="l"><a href="#499">499: </a></span><span class="l"><a href="#500">500: </a></span><span class="l"><a href="#501">501: </a></span><span class="l"><a href="#502">502: </a></span><span class="l"><a href="#503">503: </a></span><span class="l"><a href="#504">504: </a></span><span class="l"><a href="#505">505: </a></span></span><span class="l"><a href="#506">506: </a></span></span><span class="l"><a href="#507">507: </a></span></span><span class="l"><a href="#508">508: </a></span><span class="l"><a href="#509">509: </a></span><span class="l"><a href="#510">510: </a></span><span class="l"><a href="#511">511: </a></span><span class="l"><a href="#512">512: </a></span><span class="l"><a href="#513">513: </a></span><span class="l"><a href="#514">514: </a></span><span class="l"><a href="#515">515: </a></span><span class="l"><a href="#516">516: </a></span><span class="l"><a href="#517">517: </a></span><span class="l"><a href="#518">518: </a></span><span class="l"><a href="#519">519: </a></span><span class="l"><a href="#520">520: </a></span><span class="l"><a href="#521">521: </a></span><span class="l"><a href="#522">522: </a></span><span class="l"><a href="#523">523: </a></span><span class="l"><a href="#524">524: </a></span><span class="l"><a href="#525">525: </a></span><span class="l"><a href="#526">526: </a></span><span class="l"><a href="#527">527: </a></span><span class="l"><a href="#528">528: </a></span><span class="l"><a href="#529">529: </a></span><span class="l"><a href="#530">530: </a></span><span class="l"><a href="#531">531: </a></span><span class="l"><a href="#532">532: </a></span><span class="l"><a href="#533">533: </a></span><span class="l"><a href="#534">534: </a></span><span class="l"><a href="#535">535: </a></span><span class="l"><a href="#536">536: </a></span><span class="l"><a href="#537">537: </a></span><span class="l"><a href="#538">538: </a></span><span class="l"><a href="#539">539: </a></span><span class="l"><a href="#540">540: </a></span><span class="l"><a href="#541">541: </a></span><span class="l"><a href="#542">542: </a></span></span><span class="l"><a href="#543">543: </a></span></span><span class="l"><a href="#544">544: </a></span></span><span class="l"><a href="#545">545: </a></span></span><span class="l"><a href="#546">546: </a></span></span><span class="l"><a href="#547">547: </a></span><span class="l"><a href="#548">548: </a></span><span class="l"><a href="#549">549: </a></span><span class="l"><a href="#550">550: </a></span><span class="l"><a href="#551">551: </a></span><span class="l"><a href="#552">552: </a></span><span class="l"><a href="#553">553: </a></span><span class="l"><a href="#554">554: </a></span><span class="l"><a href="#555">555: </a></span><span class="l"><a href="#556">556: </a></span><span class="l"><a href="#557">557: </a></span><span class="l"><a href="#558">558: </a></span><span class="l"><a href="#559">559: </a></span><span class="l"><a href="#560">560: </a></span><span class="l"><a href="#561">561: </a></span><span class="l"><a href="#562">562: </a></span><span class="l"><a href="#563">563: </a></span><span class="l"><a href="#564">564: </a></span><span class="l"><a href="#565">565: </a></span><span class="l"><a href="#566">566: </a></span><span class="l"><a href="#567">567: </a></span><span class="l"><a href="#568">568: </a></span><span class="l"><a href="#569">569: </a></span><span class="l"><a href="#570">570: </a></span><span class="l"><a href="#571">571: </a></span><span class="l"><a href="#572">572: </a></span><span class="l"><a href="#573">573: </a></span><span class="l"><a href="#574">574: </a></span><span class="l"><a href="#575">575: </a></span><span class="l"><a href="#576">576: </a></span><span class="l"><a href="#577">577: </a></span><span class="l"><a href="#578">578: </a></span><span class="l"><a href="#579">579: </a></span><span class="l"><a href="#580">580: </a></span><span class="l"><a href="#581">581: </a></span><span class="l"><a href="#582">582: </a></span><span class="l"><a href="#583">583: </a></span><span class="l"><a href="#584">584: </a></span><span class="l"><a href="#585">585: </a></span><span class="l"><a href="#586">586: </a></span><span class="l"><a href="#587">587: </a></span><span class="l"><a href="#588">588: </a></span><span class="l"><a href="#589">589: </a></span><span class="l"><a href="#590">590: </a></span><span class="l"><a href="#591">591: </a></span><span class="l"><a href="#592">592: </a></span><span class="l"><a href="#593">593: </a></span><span class="l"><a href="#594">594: </a></span><span class="l"><a href="#595">595: </a></span><span class="l"><a href="#596">596: </a></span><span class="l"><a href="#597">597: </a></span><span class="l"><a href="#598">598: </a></span><span class="l"><a href="#599">599: </a></span><span class="l"><a href="#600">600: </a></span><span class="l"><a href="#601">601: </a></span><span class="l"><a href="#602">602: </a></span><span class="l"><a href="#603">603: </a></span><span class="l"><a href="#604">604: </a></span><span class="l"><a href="#605">605: </a></span><span class="l"><a href="#606">606: </a></span><span class="l"><a href="#607">607: </a></span><span class="l"><a href="#608">608: </a></span><span class="l"><a href="#609">609: </a></span><span class="l"><a href="#610">610: </a></span><span class="l"><a href="#611">611: </a></span><span class="l"><a href="#612">612: </a></span></span><span class="l"><a href="#613">613: </a></span></span><span class="l"><a href="#614">614: </a></span></span><span class="l"><a href="#615">615: </a></span><span class="l"><a href="#616">616: </a></span><span class="l"><a href="#617">617: </a></span><span class="l"><a href="#618">618: </a></span><span class="l"><a href="#619">619: </a></span><span class="l"><a href="#620">620: </a></span><span class="l"><a href="#621">621: </a></span><span class="l"><a href="#622">622: </a></span></span><span class="l"><a href="#623">623: </a></span></span><span class="l"><a href="#624">624: </a></span></span><span class="l"><a href="#625">625: </a></span></span><span class="l"><a href="#626">626: </a></span></span><span class="l"><a href="#627">627: </a></span><span class="l"><a href="#628">628: </a></span><span class="l"><a href="#629">629: </a></span><span class="l"><a href="#630">630: </a></span><span class="l"><a href="#631">631: </a></span><span class="l"><a href="#632">632: </a></span><span class="l"><a href="#633">633: </a></span><span class="l"><a href="#634">634: </a></span><span class="l"><a href="#635">635: </a></span><span class="l"><a href="#636">636: </a></span><span class="l"><a href="#637">637: </a></span><span class="l"><a href="#638">638: </a></span><span class="l"><a href="#639">639: </a></span><span class="l"><a href="#640">640: </a></span><span class="l"><a href="#641">641: </a></span></span><span class="l"><a href="#642">642: </a></span></span><span class="l"><a href="#643">643: </a></span></span><span class="l"><a href="#644">644: </a></span><span class="l"><a href="#645">645: </a></span><span class="l"><a href="#646">646: </a></span><span class="l"><a href="#647">647: </a></span><span class="l"><a href="#648">648: </a></span><span class="l"><a href="#649">649: </a></span><span class="l"><a href="#650">650: </a></span><span class="l"><a href="#651">651: </a></span><span class="l"><a href="#652">652: </a></span></span><span class="l"><a href="#653">653: </a></span></span><span class="l"><a href="#654">654: </a></span></span><span class="l"><a href="#655">655: </a></span><span class="l"><a href="#656">656: </a></span><span class="l"><a href="#657">657: </a></span><span class="l"><a href="#658">658: </a></span><span class="l"><a href="#659">659: </a></span><span class="l"><a href="#660">660: </a></span><span class="l"><a href="#661">661: </a></span><span class="l"><a href="#662">662: </a></span><span class="l"><a href="#663">663: </a></span><span class="l"><a href="#664">664: </a></span></code></pre>
|
140 |
<pre class="code"><code><span id="1" class="l"><span class="xlang"><?php</span>
|
141 |
</span><span id="2" class="l">
|
142 |
</span><span id="3" class="l"><span class="php-keyword1">namespace</span> WPGMZA;
|
@@ -386,9 +396,9 @@
|
|
386 |
</span><span id="247" class="l"> <span class="php-var">$html</span> = DOMDocument::convertUTF8ToHTMLEntities(<span class="php-var">$subject</span>);
|
387 |
</span><span id="248" class="l">
|
388 |
</span><span id="249" class="l"> <span class="php-var">$temp</span> = <span class="php-keyword1">new</span> DOMDocument(<span class="php-quote">'1.0'</span>, <span class="php-quote">'UTF-8'</span>);
|
389 |
-
</span><span id="250" class="l"> <span class="php-var">$str</span> = <span class="php-quote">"<div id='domdocument-import-payload___'>"</span> . <span class="php-var">$
|
390 |
</span><span id="251" class="l">
|
391 |
-
</span><span id="252" class="l"> <span class="php-keyword1">if</span>(
|
392 |
</span><span id="253" class="l"> <span class="php-var">$temp</span>->loadHTML(<span class="php-var">$str</span>);
|
393 |
</span><span id="254" class="l"> <span class="php-keyword1">else</span>
|
394 |
</span><span id="255" class="l"> @<span class="php-var">$temp</span>->loadHTML(<span class="php-var">$str</span>);
|
@@ -641,173 +651,211 @@
|
|
641 |
</span><span id="502" class="l"> <span class="php-keyword1">return</span> <span class="php-var">$this</span>;
|
642 |
</span><span id="503" class="l"> }
|
643 |
</span><span id="504" class="l">
|
644 |
-
</span><span id="505" class="l"> <span class="php-
|
645 |
-
</span
|
646 |
-
</span
|
647 |
-
</span
|
648 |
-
</span><span id="509" class="l">
|
649 |
-
</span><span id="510" class="l">
|
650 |
-
</span><span id="511" class="l">
|
651 |
-
</span><span id="512" class="l">
|
652 |
-
</span><span id="513" class="l"> <span class="php-keyword1">
|
653 |
-
</span><span id="514" class="l"> <span class="php-
|
654 |
-
</span><span id="515" class="l">
|
655 |
-
</span><span id="516" class="l">
|
656 |
-
</span><span id="517" class="l">
|
657 |
-
</span><span id="518" class="l">
|
658 |
-
</span><span id="519" class="l">
|
659 |
-
</span><span id="520" class="l">
|
660 |
-
</span><span id="521" class="l">
|
661 |
-
</span><span id="522" class="l"> <span class="php-keyword1">
|
662 |
-
</span><span id="523" class="l"> <span class="php-
|
663 |
-
</span><span id="524" class="l">
|
664 |
-
</span><span id="525" class="l">
|
665 |
-
</span><span id="526" class="l">
|
666 |
-
</span><span id="527" class="l">
|
667 |
-
</span><span id="528" class="l">
|
668 |
-
</span><span id="529" class="l">
|
669 |
-
</span><span id="530" class="l">
|
670 |
-
</span><span id="531" class="l">
|
671 |
-
</span><span id="532" class="l">
|
672 |
-
</span><span id="533" class="l">
|
673 |
-
</span><span id="534" class="l">
|
674 |
-
</span><span id="535" class="l">
|
675 |
-
</span><span id="536" class="l">
|
676 |
-
</span><span id="537" class="l">
|
677 |
-
</span><span id="538" class="l">
|
678 |
-
</span><span id="539" class="l">
|
679 |
-
</span><span id="540" class="l">
|
680 |
-
</span><span id="541" class="l">
|
681 |
-
</span><span id="542" class="l">
|
682 |
-
</span
|
683 |
-
</span></span><span id="544" class="l"><span class="php-comment"> *
|
684 |
-
</span></span><span id="545" class="l"><span class="php-comment"> * @
|
685 |
-
</span></span><span id="546" class="l"><span class="php-comment">
|
686 |
-
</span
|
687 |
-
</span><span id="548" class="l">
|
688 |
-
</span><span id="549" class="l">
|
689 |
-
</span><span id="550" class="l">
|
690 |
-
</span><span id="551" class="l">
|
691 |
-
</span><span id="552" class="l">
|
692 |
-
</span><span id="553" class="l"> <span class="php-var">$
|
693 |
-
</span><span id="554" class="l">
|
694 |
-
</span><span id="555" class="l">
|
695 |
-
</span><span id="556" class="l">
|
696 |
-
</span><span id="557" class="l">
|
697 |
-
</span><span id="558" class="l">
|
698 |
-
</span><span id="559" class="l">
|
699 |
-
</span><span id="560" class="l"> <span class="php-
|
700 |
-
</span><span id="561" class="l">
|
701 |
-
</span><span id="562" class="l">
|
702 |
-
</span><span id="563" class="l">
|
703 |
-
</span><span id="564" class="l">
|
704 |
-
</span><span id="565" class="l">
|
705 |
-
</span><span id="566" class="l">
|
706 |
-
</span><span id="567" class="l"> <span class="php-
|
707 |
-
</span><span id="568" class="l">
|
708 |
-
</span><span id="569" class="l">
|
709 |
-
</span><span id="570" class="l">
|
710 |
-
</span><span id="571" class="l">
|
711 |
-
</span><span id="572" class="l">
|
712 |
</span><span id="573" class="l">
|
713 |
-
</span><span id="574" class="l"> <span class="php-keyword1">
|
714 |
-
</span><span id="575" class="l"> <span class="php-keyword1">
|
715 |
-
</span><span id="576" class="l">
|
716 |
-
</span><span id="577" class="l">
|
717 |
-
</span><span id="578" class="l">
|
718 |
-
</span><span id="579" class="l">
|
719 |
-
</span><span id="580" class="l">
|
720 |
-
</span><span id="581" class="l">
|
721 |
-
</span><span id="582" class="l"
|
722 |
-
</span><span id="583" class="l"
|
723 |
-
</span><span id="584" class="l"
|
724 |
-
</span><span id="585" class="l"
|
725 |
-
</span><span id="586" class="l">
|
726 |
-
</span><span id="587" class="l">
|
727 |
-
</span><span id="588" class="l">
|
728 |
-
</span><span id="589" class="l">
|
729 |
-
</span><span id="590" class="l">
|
730 |
-
</span><span id="591" class="l">
|
731 |
-
</span><span id="592" class="l">
|
732 |
-
</span><span id="593" class="l">
|
733 |
-
</span><span id="594" class="l">
|
734 |
-
</span><span id="595" class="l">
|
735 |
-
</span><span id="596" class="l">
|
736 |
-
</span><span id="597" class="l">
|
737 |
-
</span><span id="598" class="l">
|
738 |
-
</span><span id="599" class="l">
|
739 |
-
</span><span id="600" class="l"> <span class="php-keyword1">
|
740 |
-
</span><span id="601" class="l">
|
741 |
-
</span><span id="602" class="l">
|
742 |
-
</span><span id="603" class="l"> <span class="php-
|
743 |
</span><span id="604" class="l">
|
744 |
-
</span><span id="605" class="l"> <span class="php-
|
745 |
-
</span><span id="606" class="l">
|
746 |
-
</span><span id="607" class="l">
|
747 |
-
</span><span id="608" class="l">
|
748 |
-
</span><span id="609" class="l">
|
749 |
-
</span><span id="610" class="l">
|
750 |
-
</span><span id="611" class="l">
|
751 |
-
</span><span id="612" class="l">
|
752 |
-
</span
|
753 |
-
</span
|
754 |
-
</span
|
755 |
-
</span><span id="616" class="l">
|
756 |
-
</span><span id="617" class="l">
|
757 |
-
</span><span id="618" class="l">
|
758 |
-
</span><span id="619" class="l">
|
759 |
-
</span><span id="620" class="l">
|
760 |
-
</span><span id="621" class="l">
|
761 |
-
</span><span id="622" class="l">
|
762 |
-
</span
|
763 |
-
</span
|
764 |
-
</span
|
765 |
-
</span
|
766 |
-
</span
|
767 |
-
</span><span id="628" class="l">
|
768 |
-
</span><span id="629" class="l">
|
769 |
-
</span><span id="630" class="l">
|
770 |
-
</span><span id="631" class="l">
|
771 |
-
</span><span id="632" class="l">
|
772 |
-
</span><span id="633" class="l">
|
773 |
-
</span><span id="634" class="l">
|
774 |
-
</span><span id="635" class="l">
|
775 |
-
</span><span id="636" class="l">
|
776 |
-
</span><span id="637" class="l">
|
777 |
-
</span><span id="638" class="l">
|
778 |
-
</span><span id="639" class="l">
|
779 |
-
</span><span id="640" class="l">
|
780 |
-
</span><span id="641" class="l">
|
781 |
-
</span
|
782 |
-
</span
|
783 |
-
</span
|
784 |
-
</span><span id="645" class="l">
|
785 |
-
</span><span id="646" class="l">
|
786 |
-
</span><span id="647" class="l"> <span class="php-keyword1">
|
787 |
-
</span><span id="648" class="l">
|
788 |
-
</span><span id="649" class="l">
|
789 |
-
</span><span id="650" class="l">
|
790 |
-
</span><span id="651" class="l">
|
791 |
-
</span><span id="652" class="l"
|
792 |
-
</span></span><span id="653" class="l"><span class="php-comment">
|
793 |
-
</span
|
794 |
-
</span
|
795 |
-
</span><span id="656" class="l">
|
796 |
-
</span><span id="657" class="l">
|
797 |
-
</span><span id="658" class="l">
|
798 |
-
</span><span id="659" class="l">
|
799 |
-
</span><span id="660" class="l">
|
800 |
-
</span><span id="661" class="l">
|
801 |
-
</span><span id="662" class="l">
|
802 |
-
</span><span id="663" class="l">
|
803 |
-
</span><span id="664" class="l"><span class="
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
804 |
|
805 |
<div id="footer">
|
806 |
API documentation generated by <a href="http://apigen.org">ApiGen</a>
|
807 |
</div>
|
808 |
</div>
|
809 |
</div>
|
810 |
-
<script src="resources/combined.js?
|
811 |
-
<script src="elementlist.js?
|
812 |
</body>
|
813 |
</html>
|
50 |
<div id="elements">
|
51 |
<h3>Classes</h3>
|
52 |
<ul>
|
53 |
+
<li><a href="class-WPGMZA.AdminMarkerDataTable.html">WPGMZA\AdminMarkerDataTable</a></li>
|
54 |
+
<li><a href="class-WPGMZA.AjaxTable.html">WPGMZA\AjaxTable</a></li>
|
55 |
<li><a href="class-WPGMZA.AutoLoader.html">WPGMZA\AutoLoader</a></li>
|
56 |
<li><a href="class-WPGMZA.Crud.html">WPGMZA\Crud</a></li>
|
57 |
+
<li><a href="class-WPGMZA.Database.html">WPGMZA\Database</a></li>
|
58 |
+
<li><a href="class-WPGMZA.DataTable.html">WPGMZA\DataTable</a></li>
|
59 |
+
<li><a href="class-WPGMZA.Distance.html">WPGMZA\Distance</a></li>
|
60 |
<li><a href="class-WPGMZA.DOMDocument.html">WPGMZA\DOMDocument</a></li>
|
61 |
<li><a href="class-WPGMZA.DOMElement.html">WPGMZA\DOMElement</a></li>
|
62 |
<li><a href="class-WPGMZA.Factory.html">WPGMZA\Factory</a></li>
|
63 |
<li><a href="class-WPGMZA.GDPRCompliance.html">WPGMZA\GDPRCompliance</a></li>
|
64 |
+
<li><a href="class-WPGMZA.GlobalSettings.html">WPGMZA\GlobalSettings</a></li>
|
65 |
<li><a href="class-WPGMZA.GoogleGeocoder.html">WPGMZA\GoogleGeocoder</a></li>
|
66 |
<li><a href="class-WPGMZA.GoogleMap.html">WPGMZA\GoogleMap</a></li>
|
67 |
<li><a href="class-WPGMZA.GoogleMapsAPILoader.html" class="deprecated">WPGMZA\GoogleMapsAPILoader</a></li>
|
72 |
<li><a href="class-WPGMZA.Map.html">WPGMZA\Map</a></li>
|
73 |
<li><a href="class-WPGMZA.MapsEngineDialog.html">WPGMZA\MapsEngineDialog</a></li>
|
74 |
<li><a href="class-WPGMZA.Marker.html">WPGMZA\Marker</a></li>
|
75 |
+
<li><a href="class-WPGMZA.MarkerDataTable.html">WPGMZA\MarkerDataTable</a></li>
|
76 |
+
<li><a href="class-WPGMZA.MarkerFilter.html">WPGMZA\MarkerFilter</a></li>
|
77 |
<li><a href="class-WPGMZA.ModalDialog.html">WPGMZA\ModalDialog</a></li>
|
78 |
<li><a href="class-WPGMZA.NominatimGeocodeCache.html">WPGMZA\NominatimGeocodeCache</a></li>
|
79 |
<li><a href="class-WPGMZA.OLLoader.html">WPGMZA\OLLoader</a></li>
|
80 |
<li><a href="class-WPGMZA.Plugin.html">WPGMZA\Plugin</a></li>
|
81 |
+
<li><a href="class-WPGMZA.Query.html">WPGMZA\Query</a></li>
|
82 |
+
<li><a href="class-WPGMZA.QueryFragment.html">WPGMZA\QueryFragment</a></li>
|
83 |
<li><a href="class-WPGMZA.RestAPI.html">WPGMZA\RestAPI</a></li>
|
84 |
<li><a href="class-WPGMZA.ScriptLoader.html">WPGMZA\ScriptLoader</a></li>
|
85 |
<li><a href="class-WPGMZA.Selector.AttributeSelector.html">WPGMZA\Selector\AttributeSelector</a></li>
|
91 |
<li><a href="class-WPGMZA.Selector.TokenStream.html">WPGMZA\Selector\TokenStream</a></li>
|
92 |
<li><a href="class-WPGMZA.Selector.XPathConverter.html">WPGMZA\Selector\XPathConverter</a></li>
|
93 |
<li><a href="class-WPGMZA.Strings.html">WPGMZA\Strings</a></li>
|
94 |
+
<li><a href="class-WPGMZA.Table.html">WPGMZA\Table</a></li>
|
95 |
</ul>
|
96 |
|
97 |
|
106 |
<h3>Functions</h3>
|
107 |
<ul>
|
108 |
<li><a href="function-WPGMZA.create_marker_instance_delegate.html">WPGMZA\create_marker_instance_delegate</a></li>
|
|
|
109 |
<li><a href="function-WPGMZA.query_nominatim_cache.html" class="deprecated">WPGMZA\query_nominatim_cache</a></li>
|
110 |
<li><a href="function-WPGMZA.Selector.trace.html">WPGMZA\Selector\trace</a></li>
|
111 |
<li><a href="function-WPGMZA.store_nominatim_cache.html" class="deprecated">WPGMZA\store_nominatim_cache</a></li>
|
146 |
</ul>
|
147 |
</div>
|
148 |
|
149 |
+
<pre class="numbers"><code><span class="l"><a href="#1"> 1: </a></span><span class="l"><a href="#2"> 2: </a></span><span class="l"><a href="#3"> 3: </a></span><span class="l"><a href="#4"> 4: </a></span><span class="l"><a href="#5"> 5: </a></span><span class="l"><a href="#6"> 6: </a></span><span class="l"><a href="#7"> 7: </a></span><span class="l"><a href="#8"> 8: </a></span><span class="l"><a href="#9"> 9: </a></span><span class="l"><a href="#10"> 10: </a></span><span class="l"><a href="#11"> 11: </a></span><span class="l"><a href="#12"> 12: </a></span><span class="l"><a href="#13"> 13: </a></span><span class="l"><a href="#14"> 14: </a></span><span class="l"><a href="#15"> 15: </a></span><span class="l"><a href="#16"> 16: </a></span></span><span class="l"><a href="#17"> 17: </a></span></span><span class="l"><a href="#18"> 18: </a></span></span><span class="l"><a href="#19"> 19: </a></span></span><span class="l"><a href="#20"> 20: </a></span><span class="l"><a href="#21"> 21: </a></span><span class="l"><a href="#22"> 22: </a></span><span class="l"><a href="#23"> 23: </a></span><span class="l"><a href="#24"> 24: </a></span><span class="l"><a href="#25"> 25: </a></span><span class="l"><a href="#26"> 26: </a></span><span class="l"><a href="#27"> 27: </a></span><span class="l"><a href="#28"> 28: </a></span><span class="l"><a href="#29"> 29: </a></span></span><span class="l"><a href="#30"> 30: </a></span></span><span class="l"><a href="#31"> 31: </a></span></span><span class="l"><a href="#32"> 32: </a></span><span class="l"><a href="#33"> 33: </a></span><span class="l"><a href="#34"> 34: </a></span><span class="l"><a href="#35"> 35: </a></span><span class="l"><a href="#36"> 36: </a></span><span class="l"><a href="#37"> 37: </a></span><span class="l"><a href="#38"> 38: </a></span><span class="l"><a href="#39"> 39: </a></span><span class="l"><a href="#40"> 40: </a></span><span class="l"><a href="#41"> 41: </a></span><span class="l"><a href="#42"> 42: </a></span><span class="l"><a href="#43"> 43: </a></span><span class="l"><a href="#44"> 44: </a></span><span class="l"><a href="#45"> 45: </a></span><span class="l"><a href="#46"> 46: </a></span><span class="l"><a href="#47"> 47: </a></span><span class="l"><a href="#48"> 48: </a></span><span class="l"><a href="#49"> 49: </a></span><span class="l"><a href="#50"> 50: </a></span><span class="l"><a href="#51"> 51: </a></span><span class="l"><a href="#52"> 52: </a></span><span class="l"><a href="#53"> 53: </a></span><span class="l"><a href="#54"> 54: </a></span><span class="l"><a href="#55"> 55: </a></span></span><span class="l"><a href="#56"> 56: </a></span></span><span class="l"><a href="#57"> 57: </a></span></span><span class="l"><a href="#58"> 58: </a></span></span><span class="l"><a href="#59"> 59: </a></span><span class="l"><a href="#60"> 60: </a></span><span class="l"><a href="#61"> 61: </a></span><span class="l"><a href="#62"> 62: </a></span><span class="l"><a href="#63"> 63: </a></span><span class="l"><a href="#64"> 64: </a></span><span class="l"><a href="#65"> 65: </a></span><span class="l"><a href="#66"> 66: </a></span><span class="l"><a href="#67"> 67: </a></span><span class="l"><a href="#68"> 68: </a></span><span class="l"><a href="#69"> 69: </a></span><span class="l"><a href="#70"> 70: </a></span><span class="l"><a href="#71"> 71: </a></span><span class="l"><a href="#72"> 72: </a></span><span class="l"><a href="#73"> 73: </a></span><span class="l"><a href="#74"> 74: </a></span><span class="l"><a href="#75"> 75: </a></span></span><span class="l"><a href="#76"> 76: </a></span></span><span class="l"><a href="#77"> 77: </a></span><span class="l"><a href="#78"> 78: </a></span><span class="l"><a href="#79"> 79: </a></span><span class="l"><a href="#80"> 80: </a></span><span class="l"><a href="#81"> 81: </a></span><span class="l"><a href="#82"> 82: </a></span><span class="l"><a href="#83"> 83: </a></span><span class="l"><a href="#84"> 84: </a></span><span class="l"><a href="#85"> 85: </a></span><span class="l"><a href="#86"> 86: </a></span><span class="l"><a href="#87"> 87: </a></span><span class="l"><a href="#88"> 88: </a></span><span class="l"><a href="#89"> 89: </a></span><span class="l"><a href="#90"> 90: </a></span><span class="l"><a href="#91"> 91: </a></span></span><span class="l"><a href="#92"> 92: </a></span></span><span class="l"><a href="#93"> 93: </a></span></span><span class="l"><a href="#94"> 94: </a></span><span class="l"><a href="#95"> 95: </a></span><span class="l"><a href="#96"> 96: </a></span><span class="l"><a href="#97"> 97: </a></span><span class="l"><a href="#98"> 98: </a></span><span class="l"><a href="#99"> 99: </a></span><span class="l"><a href="#100">100: </a></span><span class="l"><a href="#101">101: </a></span><span class="l"><a href="#102">102: </a></span><span class="l"><a href="#103">103: </a></span><span class="l"><a href="#104">104: </a></span><span class="l"><a href="#105">105: </a></span><span class="l"><a href="#106">106: </a></span><span class="l"><a href="#107">107: </a></span><span class="l"><a href="#108">108: </a></span><span class="l"><a href="#109">109: </a></span><span class="l"><a href="#110">110: </a></span></span><span class="l"><a href="#111">111: </a></span></span><span class="l"><a href="#112">112: </a></span></span><span class="l"><a href="#113">113: </a></span><span class="l"><a href="#114">114: </a></span><span class="l"><a href="#115">115: </a></span><span class="l"><a href="#116">116: </a></span><span class="l"><a href="#117">117: </a></span><span class="l"><a href="#118">118: </a></span><span class="l"><a href="#119">119: </a></span><span class="l"><a href="#120">120: </a></span><span class="l"><a href="#121">121: </a></span><span class="l"><a href="#122">122: </a></span><span class="l"><a href="#123">123: </a></span><span class="l"><a href="#124">124: </a></span><span class="l"><a href="#125">125: </a></span><span class="l"><a href="#126">126: </a></span><span class="l"><a href="#127">127: </a></span><span class="l"><a href="#128">128: </a></span><span class="l"><a href="#129">129: </a></span><span class="l"><a href="#130">130: </a></span><span class="l"><a href="#131">131: </a></span><span class="l"><a href="#132">132: </a></span><span class="l"><a href="#133">133: </a></span><span class="l"><a href="#134">134: </a></span><span class="l"><a href="#135">135: </a></span><span class="l"><a href="#136">136: </a></span><span class="l"><a href="#137">137: </a></span><span class="l"><a href="#138">138: </a></span><span class="l"><a href="#139">139: </a></span><span class="l"><a href="#140">140: </a></span><span class="l"><a href="#141">141: </a></span><span class="l"><a href="#142">142: </a></span><span class="l"><a href="#143">143: </a></span><span class="l"><a href="#144">144: </a></span><span class="l"><a href="#145">145: </a></span><span class="l"><a href="#146">146: </a></span><span class="l"><a href="#147">147: </a></span><span class="l"><a href="#148">148: </a></span><span class="l"><a href="#149">149: </a></span><span class="l"><a href="#150">150: </a></span><span class="l"><a href="#151">151: </a></span><span class="l"><a href="#152">152: </a></span><span class="l"><a href="#153">153: </a></span><span class="l"><a href="#154">154: </a></span></span><span class="l"><a href="#155">155: </a></span></span><span class="l"><a href="#156">156: </a></span></span><span class="l"><a href="#157">157: </a></span><span class="l"><a href="#158">158: </a></span><span class="l"><a href="#159">159: </a></span><span class="l"><a href="#160">160: </a></span><span class="l"><a href="#161">161: </a></span><span class="l"><a href="#162">162: </a></span><span class="l"><a href="#163">163: </a></span><span class="l"><a href="#164">164: </a></span><span class="l"><a href="#165">165: </a></span><span class="l"><a href="#166">166: </a></span></span><span class="l"><a href="#167">167: </a></span></span><span class="l"><a href="#168">168: </a></span></span><span class="l"><a href="#169">169: </a></span><span class="l"><a href="#170">170: </a></span><span class="l"><a href="#171">171: </a></span><span class="l"><a href="#172">172: </a></span><span class="l"><a href="#173">173: </a></span><span class="l"><a href="#174">174: </a></span><span class="l"><a href="#175">175: </a></span><span class="l"><a href="#176">176: </a></span><span class="l"><a href="#177">177: </a></span><span class="l"><a href="#178">178: </a></span></span><span class="l"><a href="#179">179: </a></span></span><span class="l"><a href="#180">180: </a></span><span class="l"><a href="#181">181: </a></span><span class="l"><a href="#182">182: </a></span><span class="l"><a href="#183">183: </a></span><span class="l"><a href="#184">184: </a></span><span class="l"><a href="#185">185: </a></span><span class="l"><a href="#186">186: </a></span></span><span class="l"><a href="#187">187: </a></span></span><span class="l"><a href="#188">188: </a></span></span><span class="l"><a href="#189">189: </a></span></span><span class="l"><a href="#190">190: </a></span><span class="l"><a href="#191">191: </a></span><span class="l"><a href="#192">192: </a></span><span class="l"><a href="#193">193: </a></span><span class="l"><a href="#194">194: </a></span><span class="l"><a href="#195">195: </a></span><span class="l"><a href="#196">196: </a></span><span class="l"><a href="#197">197: </a></span><span class="l"><a href="#198">198: </a></span><span class="l"><a href="#199">199: </a></span><span class="l"><a href="#200">200: </a></span><span class="l"><a href="#201">201: </a></span></span><span class="l"><a href="#202">202: </a></span></span><span class="l"><a href="#203">203: </a></span></span><span class="l"><a href="#204">204: </a></span></span><span class="l"><a href="#205">205: </a></span></span><span class="l"><a href="#206">206: </a></span><span class="l"><a href="#207">207: </a></span><span class="l"><a href="#208">208: </a></span><span class="l"><a href="#209">209: </a></span><span class="l"><a href="#210">210: </a></span><span class="l"><a href="#211">211: </a></span><span class="l"><a href="#212">212: </a></span><span class="l"><a href="#213">213: </a></span><span class="l"><a href="#214">214: </a></span><span class="l"><a href="#215">215: </a></span><span class="l"><a href="#216">216: </a></span><span class="l"><a href="#217">217: </a></span><span class="l"><a href="#218">218: </a></span><span class="l"><a href="#219">219: </a></span><span class="l"><a href="#220">220: </a></span><span class="l"><a href="#221">221: </a></span><span class="l"><a href="#222">222: </a></span><span class="l"><a href="#223">223: </a></span><span class="l"><a href="#224">224: </a></span><span class="l"><a href="#225">225: </a></span><span class="l"><a href="#226">226: </a></span><span class="l"><a href="#227">227: </a></span><span class="l"><a href="#228">228: </a></span><span class="l"><a href="#229">229: </a></span><span class="l"><a href="#230">230: </a></span><span class="l"><a href="#231">231: </a></span><span class="l"><a href="#232">232: </a></span><span class="l"><a href="#233">233: </a></span><span class="l"><a href="#234">234: </a></span><span class="l"><a href="#235">235: </a></span><span class="l"><a href="#236">236: </a></span><span class="l"><a href="#237">237: </a></span><span class="l"><a href="#238">238: </a></span><span class="l"><a href="#239">239: </a></span><span class="l"><a href="#240">240: </a></span><span class="l"><a href="#241">241: </a></span><span class="l"><a href="#242">242: </a></span><span class="l"><a href="#243">243: </a></span><span class="l"><a href="#244">244: </a></span><span class="l"><a href="#245">245: </a></span><span class="l"><a href="#246">246: </a></span><span class="l"><a href="#247">247: </a></span><span class="l"><a href="#248">248: </a></span><span class="l"><a href="#249">249: </a></span><span class="l"><a href="#250">250: </a></span><span class="l"><a href="#251">251: </a></span><span class="l"><a href="#252">252: </a></span><span class="l"><a href="#253">253: </a></span><span class="l"><a href="#254">254: </a></span><span class="l"><a href="#255">255: </a></span><span class="l"><a href="#256">256: </a></span><span class="l"><a href="#257">257: </a></span><span class="l"><a href="#258">258: </a></span><span class="l"><a href="#259">259: </a></span><span class="l"><a href="#260">260: </a></span><span class="l"><a href="#261">261: </a></span><span class="l"><a href="#262">262: </a></span><span class="l"><a href="#263">263: </a></span><span class="l"><a href="#264">264: </a></span><span class="l"><a href="#265">265: </a></span><span class="l"><a href="#266">266: </a></span><span class="l"><a href="#267">267: </a></span><span class="l"><a href="#268">268: </a></span><span class="l"><a href="#269">269: </a></span><span class="l"><a href="#270">270: </a></span><span class="l"><a href="#271">271: </a></span><span class="l"><a href="#272">272: </a></span><span class="l"><a href="#273">273: </a></span><span class="l"><a href="#274">274: </a></span><span class="l"><a href="#275">275: </a></span><span class="l"><a href="#276">276: </a></span><span class="l"><a href="#277">277: </a></span><span class="l"><a href="#278">278: </a></span><span class="l"><a href="#279">279: </a></span><span class="l"><a href="#280">280: </a></span><span class="l"><a href="#281">281: </a></span><span class="l"><a href="#282">282: </a></span><span class="l"><a href="#283">283: </a></span><span class="l"><a href="#284">284: </a></span><span class="l"><a href="#285">285: </a></span><span class="l"><a href="#286">286: </a></span><span class="l"><a href="#287">287: </a></span><span class="l"><a href="#288">288: </a></span><span class="l"><a href="#289">289: </a></span></span><span class="l"><a href="#290">290: </a></span></span><span class="l"><a href="#291">291: </a></span></span><span class="l"><a href="#292">292: </a></span></span><span class="l"><a href="#293">293: </a></span></span><span class="l"><a href="#294">294: </a></span><span class="l"><a href="#295">295: </a></span><span class="l"><a href="#296">296: </a></span><span class="l"><a href="#297">297: </a></span><span class="l"><a href="#298">298: </a></span><span class="l"><a href="#299">299: </a></span><span class="l"><a href="#300">300: </a></span><span class="l"><a href="#301">301: </a></span><span class="l"><a href="#302">302: </a></span><span class="l"><a href="#303">303: </a></span></span><span class="l"><a href="#304">304: </a></span></span><span class="l"><a href="#305">305: </a></span></span><span class="l"><a href="#306">306: </a></span></span><span class="l"><a href="#307">307: </a></span><span class="l"><a href="#308">308: </a></span><span class="l"><a href="#309">309: </a></span><span class="l"><a href="#310">310: </a></span><span class="l"><a href="#311">311: </a></span><span class="l"><a href="#312">312: </a></span><span class="l"><a href="#313">313: </a></span><span class="l"><a href="#314">314: </a></span><span class="l"><a href="#315">315: </a></span><span class="l"><a href="#316">316: </a></span><span class="l"><a href="#317">317: </a></span><span class="l"><a href="#318">318: </a></span><span class="l"><a href="#319">319: </a></span><span class="l"><a href="#320">320: </a></span><span class="l"><a href="#321">321: </a></span><span class="l"><a href="#322">322: </a></span><span class="l"><a href="#323">323: </a></span><span class="l"><a href="#324">324: </a></span><span class="l"><a href="#325">325: </a></span><span class="l"><a href="#326">326: </a></span><span class="l"><a href="#327">327: </a></span><span class="l"><a href="#328">328: </a></span></span><span class="l"><a href="#329">329: </a></span></span><span class="l"><a href="#330">330: </a></span></span><span class="l"><a href="#331">331: </a></span><span class="l"><a href="#332">332: </a></span><span class="l"><a href="#333">333: </a></span><span class="l"><a href="#334">334: </a></span><span class="l"><a href="#335">335: </a></span><span class="l"><a href="#336">336: </a></span><span class="l"><a href="#337">337: </a></span><span class="l"><a href="#338">338: </a></span><span class="l"><a href="#339">339: </a></span></span><span class="l"><a href="#340">340: </a></span></span><span class="l"><a href="#341">341: </a></span></span><span class="l"><a href="#342">342: </a></span></span><span class="l"><a href="#343">343: </a></span><span class="l"><a href="#344">344: </a></span><span class="l"><a href="#345">345: </a></span><span class="l"><a href="#346">346: </a></span><span class="l"><a href="#347">347: </a></span><span class="l"><a href="#348">348: </a></span><span class="l"><a href="#349">349: </a></span><span class="l"><a href="#350">350: </a></span><span class="l"><a href="#351">351: </a></span><span class="l"><a href="#352">352: </a></span><span class="l"><a href="#353">353: </a></span><span class="l"><a href="#354">354: </a></span><span class="l"><a href="#355">355: </a></span><span class="l"><a href="#356">356: </a></span></span><span class="l"><a href="#357">357: </a></span></span><span class="l"><a href="#358">358: </a></span></span><span class="l"><a href="#359">359: </a></span></span><span class="l"><a href="#360">360: </a></span><span class="l"><a href="#361">361: </a></span><span class="l"><a href="#362">362: </a></span><span class="l"><a href="#363">363: </a></span><span class="l"><a href="#364">364: </a></span><span class="l"><a href="#365">365: </a></span><span class="l"><a href="#366">366: </a></span><span class="l"><a href="#367">367: </a></span><span class="l"><a href="#368">368: </a></span><span class="l"><a href="#369">369: </a></span><span class="l"><a href="#370">370: </a></span><span class="l"><a href="#371">371: </a></span><span class="l"><a href="#372">372: </a></span></span><span class="l"><a href="#373">373: </a></span></span><span class="l"><a href="#374">374: </a></span></span><span class="l"><a href="#375">375: </a></span></span><span class="l"><a href="#376">376: </a></span><span class="l"><a href="#377">377: </a></span><span class="l"><a href="#378">378: </a></span><span class="l"><a href="#379">379: </a></span><span class="l"><a href="#380">380: </a></span><span class="l"><a href="#381">381: </a></span><span class="l"><a href="#382">382: </a></span><span class="l"><a href="#383">383: </a></span><span class="l"><a href="#384">384: </a></span><span class="l"><a href="#385">385: </a></span><span class="l"><a href="#386">386: </a></span><span class="l"><a href="#387">387: </a></span><span class="l"><a href="#388">388: </a></span><span class="l"><a href="#389">389: </a></span><span class="l"><a href="#390">390: </a></span><span class="l"><a href="#391">391: </a></span><span class="l"><a href="#392">392: </a></span><span class="l"><a href="#393">393: </a></span></span><span class="l"><a href="#394">394: </a></span></span><span class="l"><a href="#395">395: </a></span></span><span class="l"><a href="#396">396: </a></span></span><span class="l"><a href="#397">397: </a></span><span class="l"><a href="#398">398: </a></span><span class="l"><a href="#399">399: </a></span><span class="l"><a href="#400">400: </a></span><span class="l"><a href="#401">401: </a></span><span class="l"><a href="#402">402: </a></span><span class="l"><a href="#403">403: </a></span><span class="l"><a href="#404">404: </a></span><span class="l"><a href="#405">405: </a></span><span class="l"><a href="#406">406: </a></span></span><span class="l"><a href="#407">407: </a></span></span><span class="l"><a href="#408">408: </a></span></span><span class="l"><a href="#409">409: </a></span></span><span class="l"><a href="#410">410: </a></span></span><span class="l"><a href="#411">411: </a></span></span><span class="l"><a href="#412">412: </a></span></span><span class="l"><a href="#413">413: </a></span><span class="l"><a href="#414">414: </a></span><span class="l"><a href="#415">415: </a></span><span class="l"><a href="#416">416: </a></span><span class="l"><a href="#417">417: </a></span><span class="l"><a href="#418">418: </a></span><span class="l"><a href="#419">419: </a></span><span class="l"><a href="#420">420: </a></span><span class="l"><a href="#421">421: </a></span><span class="l"><a href="#422">422: </a></span><span class="l"><a href="#423">423: </a></span><span class="l"><a href="#424">424: </a></span><span class="l"><a href="#425">425: </a></span><span class="l"><a href="#426">426: </a></span><span class="l"><a href="#427">427: </a></span><span class="l"><a href="#428">428: </a></span><span class="l"><a href="#429">429: </a></span><span class="l"><a href="#430">430: </a></span><span class="l"><a href="#431">431: </a></span><span class="l"><a href="#432">432: </a></span><span class="l"><a href="#433">433: </a></span><span class="l"><a href="#434">434: </a></span><span class="l"><a href="#435">435: </a></span><span class="l"><a href="#436">436: </a></span><span class="l"><a href="#437">437: </a></span><span class="l"><a href="#438">438: </a></span><span class="l"><a href="#439">439: </a></span><span class="l"><a href="#440">440: </a></span><span class="l"><a href="#441">441: </a></span><span class="l"><a href="#442">442: </a></span><span class="l"><a href="#443">443: </a></span><span class="l"><a href="#444">444: </a></span><span class="l"><a href="#445">445: </a></span><span class="l"><a href="#446">446: </a></span><span class="l"><a href="#447">447: </a></span><span class="l"><a href="#448">448: </a></span><span class="l"><a href="#449">449: </a></span><span class="l"><a href="#450">450: </a></span></span><span class="l"><a href="#451">451: </a></span></span><span class="l"><a href="#452">452: </a></span></span><span class="l"><a href="#453">453: </a></span></span><span class="l"><a href="#454">454: </a></span></span><span class="l"><a href="#455">455: </a></span><span class="l"><a href="#456">456: </a></span><span class="l"><a href="#457">457: </a></span><span class="l"><a href="#458">458: </a></span><span class="l"><a href="#459">459: </a></span><span class="l"><a href="#460">460: </a></span><span class="l"><a href="#461">461: </a></span><span class="l"><a href="#462">462: </a></span><span class="l"><a href="#463">463: </a></span><span class="l"><a href="#464">464: </a></span><span class="l"><a href="#465">465: </a></span><span class="l"><a href="#466">466: </a></span><span class="l"><a href="#467">467: </a></span><span class="l"><a href="#468">468: </a></span><span class="l"><a href="#469">469: </a></span><span class="l"><a href="#470">470: </a></span><span class="l"><a href="#471">471: </a></span><span class="l"><a href="#472">472: </a></span><span class="l"><a href="#473">473: </a></span><span class="l"><a href="#474">474: </a></span><span class="l"><a href="#475">475: </a></span><span class="l"><a href="#476">476: </a></span><span class="l"><a href="#477">477: </a></span><span class="l"><a href="#478">478: </a></span><span class="l"><a href="#479">479: </a></span><span class="l"><a href="#480">480: </a></span><span class="l"><a href="#481">481: </a></span><span class="l"><a href="#482">482: </a></span><span class="l"><a href="#483">483: </a></span><span class="l"><a href="#484">484: </a></span><span class="l"><a href="#485">485: </a></span><span class="l"><a href="#486">486: </a></span><span class="l"><a href="#487">487: </a></span><span class="l"><a href="#488">488: </a></span><span class="l"><a href="#489">489: </a></span><span class="l"><a href="#490">490: </a></span><span class="l"><a href="#491">491: </a></span><span class="l"><a href="#492">492: </a></span><span class="l"><a href="#493">493: </a></span><span class="l"><a href="#494">494: </a></span><span class="l"><a href="#495">495: </a></span><span class="l"><a href="#496">496: </a></span><span class="l"><a href="#497">497: </a></span><span class="l"><a href="#498">498: </a></span><span class="l"><a href="#499">499: </a></span><span class="l"><a href="#500">500: </a></span><span class="l"><a href="#501">501: </a></span><span class="l"><a href="#502">502: </a></span><span class="l"><a href="#503">503: </a></span><span class="l"><a href="#504">504: </a></span><span class="l"><a href="#505">505: </a></span><span class="l"><a href="#506">506: </a></span><span class="l"><a href="#507">507: </a></span><span class="l"><a href="#508">508: </a></span><span class="l"><a href="#509">509: </a></span><span class="l"><a href="#510">510: </a></span><span class="l"><a href="#511">511: </a></span><span class="l"><a href="#512">512: </a></span><span class="l"><a href="#513">513: </a></span><span class="l"><a href="#514">514: </a></span><span class="l"><a href="#515">515: </a></span><span class="l"><a href="#516">516: </a></span><span class="l"><a href="#517">517: </a></span><span class="l"><a href="#518">518: </a></span><span class="l"><a href="#519">519: </a></span><span class="l"><a href="#520">520: </a></span><span class="l"><a href="#521">521: </a></span><span class="l"><a href="#522">522: </a></span><span class="l"><a href="#523">523: </a></span><span class="l"><a href="#524">524: </a></span><span class="l"><a href="#525">525: </a></span><span class="l"><a href="#526">526: </a></span><span class="l"><a href="#527">527: </a></span><span class="l"><a href="#528">528: </a></span><span class="l"><a href="#529">529: </a></span><span class="l"><a href="#530">530: </a></span><span class="l"><a href="#531">531: </a></span><span class="l"><a href="#532">532: </a></span><span class="l"><a href="#533">533: </a></span><span class="l"><a href="#534">534: </a></span><span class="l"><a href="#535">535: </a></span><span class="l"><a href="#536">536: </a></span><span class="l"><a href="#537">537: </a></span><span class="l"><a href="#538">538: </a></span><span class="l"><a href="#539">539: </a></span><span class="l"><a href="#540">540: </a></span><span class="l"><a href="#541">541: </a></span><span class="l"><a href="#542">542: </a></span><span class="l"><a href="#543">543: </a></span></span><span class="l"><a href="#544">544: </a></span></span><span class="l"><a href="#545">545: </a></span></span><span class="l"><a href="#546">546: </a></span><span class="l"><a href="#547">547: </a></span><span class="l"><a href="#548">548: </a></span><span class="l"><a href="#549">549: </a></span><span class="l"><a href="#550">550: </a></span><span class="l"><a href="#551">551: </a></span><span class="l"><a href="#552">552: </a></span><span class="l"><a href="#553">553: </a></span><span class="l"><a href="#554">554: </a></span><span class="l"><a href="#555">555: </a></span><span class="l"><a href="#556">556: </a></span><span class="l"><a href="#557">557: </a></span><span class="l"><a href="#558">558: </a></span><span class="l"><a href="#559">559: </a></span><span class="l"><a href="#560">560: </a></span><span class="l"><a href="#561">561: </a></span><span class="l"><a href="#562">562: </a></span><span class="l"><a href="#563">563: </a></span><span class="l"><a href="#564">564: </a></span><span class="l"><a href="#565">565: </a></span><span class="l"><a href="#566">566: </a></span><span class="l"><a href="#567">567: </a></span><span class="l"><a href="#568">568: </a></span><span class="l"><a href="#569">569: </a></span><span class="l"><a href="#570">570: </a></span><span class="l"><a href="#571">571: </a></span><span class="l"><a href="#572">572: </a></span><span class="l"><a href="#573">573: </a></span><span class="l"><a href="#574">574: </a></span><span class="l"><a href="#575">575: </a></span><span class="l"><a href="#576">576: </a></span><span class="l"><a href="#577">577: </a></span><span class="l"><a href="#578">578: </a></span><span class="l"><a href="#579">579: </a></span><span class="l"><a href="#580">580: </a></span></span><span class="l"><a href="#581">581: </a></span></span><span class="l"><a href="#582">582: </a></span></span><span class="l"><a href="#583">583: </a></span></span><span class="l"><a href="#584">584: </a></span></span><span class="l"><a href="#585">585: </a></span><span class="l"><a href="#586">586: </a></span><span class="l"><a href="#587">587: </a></span><span class="l"><a href="#588">588: </a></span><span class="l"><a href="#589">589: </a></span><span class="l"><a href="#590">590: </a></span><span class="l"><a href="#591">591: </a></span><span class="l"><a href="#592">592: </a></span><span class="l"><a href="#593">593: </a></span><span class="l"><a href="#594">594: </a></span><span class="l"><a href="#595">595: </a></span><span class="l"><a href="#596">596: </a></span><span class="l"><a href="#597">597: </a></span><span class="l"><a href="#598">598: </a></span><span class="l"><a href="#599">599: </a></span><span class="l"><a href="#600">600: </a></span><span class="l"><a href="#601">601: </a></span><span class="l"><a href="#602">602: </a></span><span class="l"><a href="#603">603: </a></span><span class="l"><a href="#604">604: </a></span><span class="l"><a href="#605">605: </a></span><span class="l"><a href="#606">606: </a></span><span class="l"><a href="#607">607: </a></span><span class="l"><a href="#608">608: </a></span><span class="l"><a href="#609">609: </a></span><span class="l"><a href="#610">610: </a></span><span class="l"><a href="#611">611: </a></span><span class="l"><a href="#612">612: </a></span><span class="l"><a href="#613">613: </a></span><span class="l"><a href="#614">614: </a></span><span class="l"><a href="#615">615: </a></span><span class="l"><a href="#616">616: </a></span><span class="l"><a href="#617">617: </a></span><span class="l"><a href="#618">618: </a></span><span class="l"><a href="#619">619: </a></span><span class="l"><a href="#620">620: </a></span><span class="l"><a href="#621">621: </a></span><span class="l"><a href="#622">622: </a></span><span class="l"><a href="#623">623: </a></span><span class="l"><a href="#624">624: </a></span><span class="l"><a href="#625">625: </a></span><span class="l"><a href="#626">626: </a></span><span class="l"><a href="#627">627: </a></span><span class="l"><a href="#628">628: </a></span><span class="l"><a href="#629">629: </a></span><span class="l"><a href="#630">630: </a></span><span class="l"><a href="#631">631: </a></span><span class="l"><a href="#632">632: </a></span><span class="l"><a href="#633">633: </a></span><span class="l"><a href="#634">634: </a></span><span class="l"><a href="#635">635: </a></span><span class="l"><a href="#636">636: </a></span><span class="l"><a href="#637">637: </a></span><span class="l"><a href="#638">638: </a></span><span class="l"><a href="#639">639: </a></span><span class="l"><a href="#640">640: </a></span><span class="l"><a href="#641">641: </a></span><span class="l"><a href="#642">642: </a></span><span class="l"><a href="#643">643: </a></span><span class="l"><a href="#644">644: </a></span><span class="l"><a href="#645">645: </a></span><span class="l"><a href="#646">646: </a></span><span class="l"><a href="#647">647: </a></span><span class="l"><a href="#648">648: </a></span><span class="l"><a href="#649">649: </a></span><span class="l"><a href="#650">650: </a></span></span><span class="l"><a href="#651">651: </a></span></span><span class="l"><a href="#652">652: </a></span></span><span class="l"><a href="#653">653: </a></span><span class="l"><a href="#654">654: </a></span><span class="l"><a href="#655">655: </a></span><span class="l"><a href="#656">656: </a></span><span class="l"><a href="#657">657: </a></span><span class="l"><a href="#658">658: </a></span><span class="l"><a href="#659">659: </a></span><span class="l"><a href="#660">660: </a></span></span><span class="l"><a href="#661">661: </a></span></span><span class="l"><a href="#662">662: </a></span></span><span class="l"><a href="#663">663: </a></span></span><span class="l"><a href="#664">664: </a></span></span><span class="l"><a href="#665">665: </a></span><span class="l"><a href="#666">666: </a></span><span class="l"><a href="#667">667: </a></span><span class="l"><a href="#668">668: </a></span><span class="l"><a href="#669">669: </a></span><span class="l"><a href="#670">670: </a></span><span class="l"><a href="#671">671: </a></span><span class="l"><a href="#672">672: </a></span><span class="l"><a href="#673">673: </a></span><span class="l"><a href="#674">674: </a></span><span class="l"><a href="#675">675: </a></span><span class="l"><a href="#676">676: </a></span><span class="l"><a href="#677">677: </a></span><span class="l"><a href="#678">678: </a></span><span class="l"><a href="#679">679: </a></span></span><span class="l"><a href="#680">680: </a></span></span><span class="l"><a href="#681">681: </a></span></span><span class="l"><a href="#682">682: </a></span><span class="l"><a href="#683">683: </a></span><span class="l"><a href="#684">684: </a></span><span class="l"><a href="#685">685: </a></span><span class="l"><a href="#686">686: </a></span><span class="l"><a href="#687">687: </a></span><span class="l"><a href="#688">688: </a></span><span class="l"><a href="#689">689: </a></span><span class="l"><a href="#690">690: </a></span></span><span class="l"><a href="#691">691: </a></span></span><span class="l"><a href="#692">692: </a></span></span><span class="l"><a href="#693">693: </a></span><span class="l"><a href="#694">694: </a></span><span class="l"><a href="#695">695: </a></span><span class="l"><a href="#696">696: </a></span><span class="l"><a href="#697">697: </a></span><span class="l"><a href="#698">698: </a></span><span class="l"><a href="#699">699: </a></span><span class="l"><a href="#700">700: </a></span><span class="l"><a href="#701">701: </a></span><span class="l"><a href="#702">702: </a></span></code></pre>
|
150 |
<pre class="code"><code><span id="1" class="l"><span class="xlang"><?php</span>
|
151 |
</span><span id="2" class="l">
|
152 |
</span><span id="3" class="l"><span class="php-keyword1">namespace</span> WPGMZA;
|
396 |
</span><span id="247" class="l"> <span class="php-var">$html</span> = DOMDocument::convertUTF8ToHTMLEntities(<span class="php-var">$subject</span>);
|
397 |
</span><span id="248" class="l">
|
398 |
</span><span id="249" class="l"> <span class="php-var">$temp</span> = <span class="php-keyword1">new</span> DOMDocument(<span class="php-quote">'1.0'</span>, <span class="php-quote">'UTF-8'</span>);
|
399 |
+
</span><span id="250" class="l"> <span class="php-var">$str</span> = <span class="php-quote">"<div id='domdocument-import-payload___'>"</span> . <span class="php-var">$html</span> . <span class="php-quote">"</div>"</span>;
|
400 |
</span><span id="251" class="l">
|
401 |
+
</span><span id="252" class="l"> <span class="php-keyword1">if</span>(<span class="php-var">$wpgmza</span>->isInDeveloperMode())
|
402 |
</span><span id="253" class="l"> <span class="php-var">$temp</span>->loadHTML(<span class="php-var">$str</span>);
|
403 |
</span><span id="254" class="l"> <span class="php-keyword1">else</span>
|
404 |
</span><span id="255" class="l"> @<span class="php-var">$temp</span>->loadHTML(<span class="php-var">$str</span>);
|
651 |
</span><span id="502" class="l"> <span class="php-keyword1">return</span> <span class="php-var">$this</span>;
|
652 |
</span><span id="503" class="l"> }
|
653 |
</span><span id="504" class="l">
|
654 |
+
</span><span id="505" class="l"> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> serializeFormData()
|
655 |
+
</span><span id="506" class="l"> {
|
656 |
+
</span><span id="507" class="l"> <span class="php-var">$data</span> = <span class="php-keyword1">array</span>();
|
657 |
+
</span><span id="508" class="l">
|
658 |
+
</span><span id="509" class="l"> <span class="php-keyword1">foreach</span>(<span class="php-var">$this</span>->querySelectorAll(<span class="php-quote">'input, select, textarea'</span>) <span class="php-keyword1">as</span> <span class="php-var">$input</span>)
|
659 |
+
</span><span id="510" class="l"> {
|
660 |
+
</span><span id="511" class="l"> <span class="php-var">$name</span> = <span class="php-var">$input</span>->getAttribute(<span class="php-quote">'name'</span>);
|
661 |
+
</span><span id="512" class="l">
|
662 |
+
</span><span id="513" class="l"> <span class="php-keyword1">if</span>(!<span class="php-var">$name</span>)
|
663 |
+
</span><span id="514" class="l"> <span class="php-keyword1">continue</span>;
|
664 |
+
</span><span id="515" class="l">
|
665 |
+
</span><span id="516" class="l"> <span class="php-keyword1">switch</span>(<span class="php-var">$input</span>->getAttribute(<span class="php-quote">'type'</span>))
|
666 |
+
</span><span id="517" class="l"> {
|
667 |
+
</span><span id="518" class="l"> <span class="php-keyword1">case</span> <span class="php-quote">'checkbox'</span>:
|
668 |
+
</span><span id="519" class="l">
|
669 |
+
</span><span id="520" class="l"> <span class="php-keyword1">if</span>(<span class="php-var">$input</span>->getValue())
|
670 |
+
</span><span id="521" class="l"> <span class="php-var">$data</span>[<span class="php-var">$name</span>] = <span class="php-keyword1">true</span>;
|
671 |
+
</span><span id="522" class="l"> <span class="php-keyword1">else</span>
|
672 |
+
</span><span id="523" class="l"> <span class="php-var">$data</span>[<span class="php-var">$name</span>] = <span class="php-keyword1">false</span>;
|
673 |
+
</span><span id="524" class="l">
|
674 |
+
</span><span id="525" class="l"> <span class="php-keyword1">break</span>;
|
675 |
+
</span><span id="526" class="l">
|
676 |
+
</span><span id="527" class="l"> <span class="php-keyword1">case</span> <span class="php-quote">'radio'</span>:
|
677 |
+
</span><span id="528" class="l">
|
678 |
+
</span><span id="529" class="l"> <span class="php-keyword1">if</span>(<span class="php-var">$input</span>->getAttribute(<span class="php-quote">'checked'</span>))
|
679 |
+
</span><span id="530" class="l"> <span class="php-var">$data</span>[<span class="php-var">$name</span>] = <span class="php-var">$input</span>->getAttribute(<span class="php-quote">'value'</span>);
|
680 |
+
</span><span id="531" class="l">
|
681 |
+
</span><span id="532" class="l"> <span class="php-keyword1">break</span>;
|
682 |
+
</span><span id="533" class="l">
|
683 |
+
</span><span id="534" class="l"> <span class="php-keyword1">default</span>:
|
684 |
+
</span><span id="535" class="l"> <span class="php-var">$data</span>[<span class="php-var">$name</span>] = <span class="php-var">$input</span>->getValue();
|
685 |
+
</span><span id="536" class="l"> <span class="php-keyword1">break</span>;
|
686 |
+
</span><span id="537" class="l"> }
|
687 |
+
</span><span id="538" class="l"> }
|
688 |
+
</span><span id="539" class="l">
|
689 |
+
</span><span id="540" class="l"> <span class="php-keyword1">return</span> <span class="php-var">$data</span>;
|
690 |
+
</span><span id="541" class="l"> }
|
691 |
+
</span><span id="542" class="l">
|
692 |
+
</span><span id="543" class="l"> <span class="php-comment">/**
|
693 |
+
</span></span><span id="544" class="l"><span class="php-comment"> * Gets the value of this element
|
694 |
+
</span></span><span id="545" class="l"><span class="php-comment"> * @return mixed A string if the element a text input, textarea or plain node, a boolean if the element is a checkbox or radio, or the value of the selected option if this element is a select
|
695 |
+
</span></span><span id="546" class="l"><span class="php-comment"> */</span>
|
696 |
+
</span><span id="547" class="l"> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> getValue()
|
697 |
+
</span><span id="548" class="l"> {
|
698 |
+
</span><span id="549" class="l"> <span class="php-keyword1">switch</span>(<span class="php-keyword2">strtolower</span>(<span class="php-var">$this</span>->nodeName))
|
699 |
+
</span><span id="550" class="l"> {
|
700 |
+
</span><span id="551" class="l"> <span class="php-keyword1">case</span> <span class="php-quote">'input'</span>:
|
701 |
+
</span><span id="552" class="l"> <span class="php-var">$type</span> = (<span class="php-var">$this</span>->hasAttribute(<span class="php-quote">'type'</span>) ? <span class="php-var">$this</span>->getAttribute(<span class="php-quote">'type'</span>) : <span class="php-quote">'text'</span>);
|
702 |
+
</span><span id="553" class="l"> <span class="php-keyword1">switch</span>(<span class="php-var">$type</span>)
|
703 |
+
</span><span id="554" class="l"> {
|
704 |
+
</span><span id="555" class="l"> <span class="php-keyword1">case</span> <span class="php-quote">'radio'</span>:
|
705 |
+
</span><span id="556" class="l"> <span class="php-keyword1">case</span> <span class="php-quote">'checkbox'</span>:
|
706 |
+
</span><span id="557" class="l"> <span class="php-keyword1">return</span> <span class="php-var">$this</span>->hasAttribute(<span class="php-quote">'checked'</span>);
|
707 |
+
</span><span id="558" class="l"> <span class="php-keyword1">break</span>;
|
708 |
+
</span><span id="559" class="l">
|
709 |
+
</span><span id="560" class="l"> <span class="php-keyword1">default</span>:
|
710 |
+
</span><span id="561" class="l"> <span class="php-keyword1">return</span> <span class="php-var">$this</span>->getAttribute(<span class="php-quote">'value'</span>);
|
711 |
+
</span><span id="562" class="l"> <span class="php-keyword1">break</span>;
|
712 |
+
</span><span id="563" class="l"> }
|
713 |
+
</span><span id="564" class="l"> <span class="php-keyword1">break</span>;
|
714 |
+
</span><span id="565" class="l">
|
715 |
+
</span><span id="566" class="l"> <span class="php-keyword1">case</span> <span class="php-quote">'select'</span>:
|
716 |
+
</span><span id="567" class="l"> <span class="php-var">$option</span> = <span class="php-var">$this</span>->querySelector(<span class="php-quote">'option[selected]'</span>);
|
717 |
+
</span><span id="568" class="l"> <span class="php-keyword1">if</span>(!<span class="php-var">$option</span>)
|
718 |
+
</span><span id="569" class="l"> <span class="php-keyword1">return</span> <span class="php-keyword1">null</span>;
|
719 |
+
</span><span id="570" class="l">
|
720 |
+
</span><span id="571" class="l"> <span class="php-keyword1">if</span>(<span class="php-var">$option</span>->hasAttribute(<span class="php-quote">'value'</span>))
|
721 |
+
</span><span id="572" class="l"> <span class="php-keyword1">return</span> <span class="php-var">$option</span>->getAttribute(<span class="php-quote">'value'</span>);
|
722 |
</span><span id="573" class="l">
|
723 |
+
</span><span id="574" class="l"> <span class="php-keyword1">default</span>:
|
724 |
+
</span><span id="575" class="l"> <span class="php-keyword1">return</span> <span class="php-var">$this</span>->nodeValue;
|
725 |
+
</span><span id="576" class="l"> <span class="php-keyword1">break</span>;
|
726 |
+
</span><span id="577" class="l"> }
|
727 |
+
</span><span id="578" class="l"> }
|
728 |
+
</span><span id="579" class="l">
|
729 |
+
</span><span id="580" class="l"> <span class="php-comment">/**
|
730 |
+
</span></span><span id="581" class="l"><span class="php-comment"> * Sets the value of this element. Intended for form elements only. If this element is a textarea, it will be appended as plain text. If this element is a select, it will attempt to select the option with the specified value. If the input is a radio or checkbox, it will set it accordingly. Otherwise, the value will be put into the value attribute
|
731 |
+
</span></span><span id="582" class="l"><span class="php-comment"> * @throws \Exception If this element is a select, SMART_STRICT_MODE is declared and no option with that value exists
|
732 |
+
</span></span><span id="583" class="l"><span class="php-comment"> * @throws \Exception If you call this method on a non-form element
|
733 |
+
</span></span><span id="584" class="l"><span class="php-comment"> * @return This element
|
734 |
+
</span></span><span id="585" class="l"><span class="php-comment"> */</span>
|
735 |
+
</span><span id="586" class="l"> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> setValue(<span class="php-var">$value</span>)
|
736 |
+
</span><span id="587" class="l"> {
|
737 |
+
</span><span id="588" class="l"> <span class="php-keyword1">switch</span>(<span class="php-keyword2">strtolower</span>(<span class="php-var">$this</span>->nodeName))
|
738 |
+
</span><span id="589" class="l"> {
|
739 |
+
</span><span id="590" class="l"> <span class="php-keyword1">case</span> <span class="php-quote">'textarea'</span>:
|
740 |
+
</span><span id="591" class="l"> <span class="php-var">$this</span>->clear();
|
741 |
+
</span><span id="592" class="l"> <span class="php-var">$this</span>->appendText( <span class="php-var">$value</span> );
|
742 |
+
</span><span id="593" class="l"> <span class="php-keyword1">break</span>;
|
743 |
+
</span><span id="594" class="l">
|
744 |
+
</span><span id="595" class="l"> <span class="php-keyword1">case</span> <span class="php-quote">'select'</span>:
|
745 |
+
</span><span id="596" class="l"> <span class="php-var">$deselect</span> = <span class="php-var">$this</span>->querySelectorAll(<span class="php-quote">'option[selected]'</span>);
|
746 |
+
</span><span id="597" class="l"> <span class="php-keyword1">foreach</span>(<span class="php-var">$deselect</span> <span class="php-keyword1">as</span> <span class="php-var">$d</span>)
|
747 |
+
</span><span id="598" class="l"> <span class="php-var">$d</span>->removeAttribute(<span class="php-quote">'selected'</span>);
|
748 |
+
</span><span id="599" class="l">
|
749 |
+
</span><span id="600" class="l"> <span class="php-keyword1">if</span>(<span class="php-var">$value</span> === <span class="php-keyword1">null</span>)
|
750 |
+
</span><span id="601" class="l"> <span class="php-keyword1">return</span> <span class="php-var">$this</span>;
|
751 |
+
</span><span id="602" class="l">
|
752 |
+
</span><span id="603" class="l"> <span class="php-var">$option</span> = <span class="php-var">$this</span>->querySelector(<span class="php-quote">'option[value="'</span> . <span class="php-var">$value</span> . <span class="php-quote">'"]'</span>);
|
753 |
</span><span id="604" class="l">
|
754 |
+
</span><span id="605" class="l"> <span class="php-keyword1">if</span>(!<span class="php-var">$option</span>)
|
755 |
+
</span><span id="606" class="l"> <span class="php-keyword2">trigger_error</span>(<span class="php-quote">'Option with value "'</span> . <span class="php-var">$value</span> . <span class="php-quote">'" not found in "'</span> . (<span class="php-var">$this</span>->getAttribute(<span class="php-quote">'name'</span>)) . <span class="php-quote">'"'</span>, E_USER_WARNING);
|
756 |
+
</span><span id="607" class="l"> <span class="php-keyword1">else</span>
|
757 |
+
</span><span id="608" class="l"> <span class="php-var">$option</span>->setAttribute(<span class="php-quote">'selected'</span>, <span class="php-quote">'selected'</span>);
|
758 |
+
</span><span id="609" class="l">
|
759 |
+
</span><span id="610" class="l"> <span class="php-keyword1">break</span>;
|
760 |
+
</span><span id="611" class="l">
|
761 |
+
</span><span id="612" class="l"> <span class="php-keyword1">case</span> <span class="php-quote">'input'</span>:
|
762 |
+
</span><span id="613" class="l"> <span class="php-keyword1">if</span>(!<span class="php-var">$this</span>->hasAttribute(<span class="php-quote">'type'</span>) || <span class="php-var">$this</span>->getAttribute(<span class="php-quote">'type'</span>) == <span class="php-quote">'text'</span>)
|
763 |
+
</span><span id="614" class="l"> {
|
764 |
+
</span><span id="615" class="l"> <span class="php-keyword1">if</span>(<span class="php-keyword2">is_string</span>(<span class="php-var">$value</span>))
|
765 |
+
</span><span id="616" class="l"> <span class="php-var">$this</span>->setAttribute(<span class="php-quote">'value'</span>, <span class="php-var">$value</span>);
|
766 |
+
</span><span id="617" class="l"> }
|
767 |
+
</span><span id="618" class="l"> <span class="php-keyword1">else</span> <span class="php-keyword1">switch</span>(<span class="php-keyword2">strtolower</span>(<span class="php-var">$this</span>->getAttribute(<span class="php-quote">'type'</span>)))
|
768 |
+
</span><span id="619" class="l"> {
|
769 |
+
</span><span id="620" class="l"> <span class="php-keyword1">case</span> <span class="php-quote">'radio'</span>:
|
770 |
+
</span><span id="621" class="l"> <span class="php-keyword1">if</span>(<span class="php-var">$this</span>->hasAttribute(<span class="php-quote">'value'</span>) && <span class="php-var">$this</span>->getAttribute(<span class="php-quote">'value'</span>) == <span class="php-var">$value</span>)
|
771 |
+
</span><span id="622" class="l"> <span class="php-var">$this</span>->setAttribute(<span class="php-quote">'checked'</span>, <span class="php-quote">'checked'</span>);
|
772 |
+
</span><span id="623" class="l"> <span class="php-keyword1">else</span>
|
773 |
+
</span><span id="624" class="l"> <span class="php-var">$this</span>->removeAttribute(<span class="php-quote">'checked'</span>);
|
774 |
+
</span><span id="625" class="l"> <span class="php-keyword1">break</span>;
|
775 |
+
</span><span id="626" class="l">
|
776 |
+
</span><span id="627" class="l"> <span class="php-keyword1">case</span> <span class="php-quote">'checkbox'</span>:
|
777 |
+
</span><span id="628" class="l"> <span class="php-keyword1">if</span>(!<span class="php-keyword1">empty</span>(<span class="php-var">$value</span>) && <span class="php-var">$value</span> != <span class="php-keyword1">false</span>)
|
778 |
+
</span><span id="629" class="l"> <span class="php-var">$this</span>->setAttribute(<span class="php-quote">'checked'</span>, <span class="php-quote">'checked'</span>);
|
779 |
+
</span><span id="630" class="l"> <span class="php-keyword1">else</span>
|
780 |
+
</span><span id="631" class="l"> <span class="php-var">$this</span>->removeAttribute(<span class="php-quote">'checked'</span>);
|
781 |
+
</span><span id="632" class="l"> <span class="php-keyword1">break</span>;
|
782 |
+
</span><span id="633" class="l">
|
783 |
+
</span><span id="634" class="l"> <span class="php-keyword1">default</span>:
|
784 |
+
</span><span id="635" class="l"> <span class="php-var">$this</span>->setAttribute(<span class="php-quote">'value'</span>, <span class="php-var">$value</span>);
|
785 |
+
</span><span id="636" class="l"> <span class="php-keyword1">break</span>;
|
786 |
+
</span><span id="637" class="l"> }
|
787 |
+
</span><span id="638" class="l"> <span class="php-keyword1">break</span>;
|
788 |
+
</span><span id="639" class="l">
|
789 |
+
</span><span id="640" class="l"> <span class="php-keyword1">default</span>:
|
790 |
+
</span><span id="641" class="l"> <span class="php-keyword1">throw</span> <span class="php-keyword1">new</span> \Exception(<span class="php-quote">'Not yet implemented'</span>);
|
791 |
+
</span><span id="642" class="l">
|
792 |
+
</span><span id="643" class="l"> <span class="php-var">$this</span>->nodeValue = <span class="php-var">$value</span>;
|
793 |
+
</span><span id="644" class="l"> <span class="php-keyword1">break</span>;
|
794 |
+
</span><span id="645" class="l"> }
|
795 |
+
</span><span id="646" class="l">
|
796 |
+
</span><span id="647" class="l"> <span class="php-keyword1">return</span> <span class="php-var">$this</span>;
|
797 |
+
</span><span id="648" class="l"> }
|
798 |
+
</span><span id="649" class="l">
|
799 |
+
</span><span id="650" class="l"> <span class="php-comment">/**
|
800 |
+
</span></span><span id="651" class="l"><span class="php-comment"> * Appends the specified text to this element, shorthand utility function
|
801 |
+
</span></span><span id="652" class="l"><span class="php-comment"> * @return \Smart\Element This element
|
802 |
+
</span></span><span id="653" class="l"><span class="php-comment"> */</span>
|
803 |
+
</span><span id="654" class="l"> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> appendText(<span class="php-var">$text</span>)
|
804 |
+
</span><span id="655" class="l"> {
|
805 |
+
</span><span id="656" class="l"> <span class="php-var">$this</span>->appendChild( <span class="php-var">$this</span>->ownerDocument->createTextNode( <span class="php-var">$text</span> ) );
|
806 |
+
</span><span id="657" class="l"> <span class="php-keyword1">return</span> <span class="php-var">$this</span>;
|
807 |
+
</span><span id="658" class="l"> }
|
808 |
+
</span><span id="659" class="l">
|
809 |
+
</span><span id="660" class="l"> <span class="php-comment">/**
|
810 |
+
</span></span><span id="661" class="l"><span class="php-comment"> * Utility function to append the specified element after one of this elements children. Will append at the end if after is null
|
811 |
+
</span></span><span id="662" class="l"><span class="php-comment"> * @param \Smart\Element the element to insert
|
812 |
+
</span></span><span id="663" class="l"><span class="php-comment"> * @param \Smart\Element one of this elements children, or null
|
813 |
+
</span></span><span id="664" class="l"><span class="php-comment"> * *@return \Smart\Element this element
|
814 |
+
</span></span><span id="665" class="l"><span class="php-comment"> */</span>
|
815 |
+
</span><span id="666" class="l"> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> insertAfter(<span class="php-var">$elem</span>, <span class="php-var">$after</span>=<span class="php-keyword1">null</span>)
|
816 |
+
</span><span id="667" class="l"> {
|
817 |
+
</span><span id="668" class="l"> <span class="php-keyword1">if</span>(<span class="php-var">$after</span>->parentNode && <span class="php-var">$after</span>->parentNode !== <span class="php-var">$this</span>)
|
818 |
+
</span><span id="669" class="l"> <span class="php-keyword1">throw</span> <span class="php-keyword1">new</span> \Exception(<span class="php-quote">'Hierarchy error'</span>);
|
819 |
+
</span><span id="670" class="l">
|
820 |
+
</span><span id="671" class="l"> <span class="php-keyword1">if</span>(<span class="php-var">$after</span>->nextSibling)
|
821 |
+
</span><span id="672" class="l"> <span class="php-var">$this</span>->insertBefore(<span class="php-var">$elem</span>, <span class="php-var">$after</span>->nextSibling);
|
822 |
+
</span><span id="673" class="l"> <span class="php-keyword1">else</span>
|
823 |
+
</span><span id="674" class="l"> <span class="php-var">$this</span>->appendChild(<span class="php-var">$elem</span>);
|
824 |
+
</span><span id="675" class="l">
|
825 |
+
</span><span id="676" class="l"> <span class="php-keyword1">return</span> <span class="php-var">$this</span>;
|
826 |
+
</span><span id="677" class="l"> }
|
827 |
+
</span><span id="678" class="l">
|
828 |
+
</span><span id="679" class="l"> <span class="php-comment">/**
|
829 |
+
</span></span><span id="680" class="l"><span class="php-comment"> * Clears this element, completely removing all it's contents
|
830 |
+
</span></span><span id="681" class="l"><span class="php-comment"> * @return \Smart\Element This element
|
831 |
+
</span></span><span id="682" class="l"><span class="php-comment"> */</span>
|
832 |
+
</span><span id="683" class="l"> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> clear()
|
833 |
+
</span><span id="684" class="l"> {
|
834 |
+
</span><span id="685" class="l"> <span class="php-keyword1">while</span>(<span class="php-var">$this</span>->childNodes->length)
|
835 |
+
</span><span id="686" class="l"> <span class="php-var">$this</span>->removeChild(<span class="php-var">$this</span>->firstChild);
|
836 |
+
</span><span id="687" class="l"> <span class="php-keyword1">return</span> <span class="php-var">$this</span>;
|
837 |
+
</span><span id="688" class="l"> }
|
838 |
+
</span><span id="689" class="l">
|
839 |
+
</span><span id="690" class="l"> <span class="php-comment">/**
|
840 |
+
</span></span><span id="691" class="l"><span class="php-comment"> * Removes this element from it's parent
|
841 |
+
</span></span><span id="692" class="l"><span class="php-comment"> * @return \Smart\Element This element
|
842 |
+
</span></span><span id="693" class="l"><span class="php-comment"> */</span>
|
843 |
+
</span><span id="694" class="l"> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> remove()
|
844 |
+
</span><span id="695" class="l"> {
|
845 |
+
</span><span id="696" class="l"> <span class="php-keyword1">if</span>(<span class="php-var">$this</span>->parentNode)
|
846 |
+
</span><span id="697" class="l"> <span class="php-var">$this</span>->parentNode->removeChild(<span class="php-var">$this</span>);
|
847 |
+
</span><span id="698" class="l"> <span class="php-keyword1">return</span> <span class="php-var">$this</span>;
|
848 |
+
</span><span id="699" class="l"> }
|
849 |
+
</span><span id="700" class="l">}
|
850 |
+
</span><span id="701" class="l">
|
851 |
+
</span><span id="702" class="l"><span class="xlang">?></span></span></code></pre>
|
852 |
|
853 |
<div id="footer">
|
854 |
API documentation generated by <a href="http://apigen.org">ApiGen</a>
|
855 |
</div>
|
856 |
</div>
|
857 |
</div>
|
858 |
+
<script src="resources/combined.js?bdf41a0492319853d610bde7b68b95e93d08fae3"></script>
|
859 |
+
<script src="elementlist.js?ce6e64dd6d2e258467153e0fbb3257ea07b69a7b"></script>
|
860 |
</body>
|
861 |
</html>
|
@@ -0,0 +1,268 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<!DOCTYPE html>
|
2 |
+
<html>
|
3 |
+
<head>
|
4 |
+
<meta charset="utf-8">
|
5 |
+
<meta name="robots" content="noindex">
|
6 |
+
|
7 |
+
<title>File tables/class.datatable.php</title>
|
8 |
+
|
9 |
+
<link rel="stylesheet" href="resources/style.css?c2f33731c1948fbed7c333554678bfa68d4817da">
|
10 |
+
|
11 |
+
</head>
|
12 |
+
|
13 |
+
<body>
|
14 |
+
<div id="left">
|
15 |
+
<div id="menu">
|
16 |
+
<a href="index.html" title="Overview"><span>Overview</span></a>
|
17 |
+
|
18 |
+
|
19 |
+
<div id="groups">
|
20 |
+
<h3>Namespaces</h3>
|
21 |
+
<ul>
|
22 |
+
<li>
|
23 |
+
<a href="namespace-None.html">
|
24 |
+
None </a>
|
25 |
+
|
26 |
+
</li>
|
27 |
+
<li>
|
28 |
+
<a href="namespace-WPGMZA.html">
|
29 |
+
WPGMZA<span></span>
|
30 |
+
</a>
|
31 |
+
|
32 |
+
<ul>
|
33 |
+
<li>
|
34 |
+
<a href="namespace-WPGMZA.Integration.html">
|
35 |
+
Integration </a>
|
36 |
+
|
37 |
+
</li>
|
38 |
+
<li>
|
39 |
+
<a href="namespace-WPGMZA.Selector.html">
|
40 |
+
Selector </a>
|
41 |
+
|
42 |
+
</li>
|
43 |
+
</ul></li>
|
44 |
+
</ul>
|
45 |
+
</div>
|
46 |
+
|
47 |
+
<hr>
|
48 |
+
|
49 |
+
|
50 |
+
<div id="elements">
|
51 |
+
<h3>Classes</h3>
|
52 |
+
<ul>
|
53 |
+
<li><a href="class-WPGMZA.AdminMarkerDataTable.html">WPGMZA\AdminMarkerDataTable</a></li>
|
54 |
+
<li><a href="class-WPGMZA.AjaxTable.html">WPGMZA\AjaxTable</a></li>
|
55 |
+
<li><a href="class-WPGMZA.AutoLoader.html">WPGMZA\AutoLoader</a></li>
|
56 |
+
<li><a href="class-WPGMZA.Crud.html">WPGMZA\Crud</a></li>
|
57 |
+
<li><a href="class-WPGMZA.Database.html">WPGMZA\Database</a></li>
|
58 |
+
<li><a href="class-WPGMZA.DataTable.html">WPGMZA\DataTable</a></li>
|
59 |
+
<li><a href="class-WPGMZA.Distance.html">WPGMZA\Distance</a></li>
|
60 |
+
<li><a href="class-WPGMZA.DOMDocument.html">WPGMZA\DOMDocument</a></li>
|
61 |
+
<li><a href="class-WPGMZA.DOMElement.html">WPGMZA\DOMElement</a></li>
|
62 |
+
<li><a href="class-WPGMZA.Factory.html">WPGMZA\Factory</a></li>
|
63 |
+
<li><a href="class-WPGMZA.GDPRCompliance.html">WPGMZA\GDPRCompliance</a></li>
|
64 |
+
<li><a href="class-WPGMZA.GlobalSettings.html">WPGMZA\GlobalSettings</a></li>
|
65 |
+
<li><a href="class-WPGMZA.GoogleGeocoder.html">WPGMZA\GoogleGeocoder</a></li>
|
66 |
+
<li><a href="class-WPGMZA.GoogleMap.html">WPGMZA\GoogleMap</a></li>
|
67 |
+
<li><a href="class-WPGMZA.GoogleMapsAPILoader.html" class="deprecated">WPGMZA\GoogleMapsAPILoader</a></li>
|
68 |
+
<li><a href="class-WPGMZA.GoogleMapsLoader.html" class="deprecated">WPGMZA\GoogleMapsLoader</a></li>
|
69 |
+
<li><a href="class-WPGMZA.Integration.Gutenberg.html">WPGMZA\Integration\Gutenberg</a></li>
|
70 |
+
<li><a href="class-WPGMZA.Integration.WPMigrateDB.html">WPGMZA\Integration\WPMigrateDB</a></li>
|
71 |
+
<li><a href="class-WPGMZA.LatLng.html">WPGMZA\LatLng</a></li>
|
72 |
+
<li><a href="class-WPGMZA.Map.html">WPGMZA\Map</a></li>
|
73 |
+
<li><a href="class-WPGMZA.MapsEngineDialog.html">WPGMZA\MapsEngineDialog</a></li>
|
74 |
+
<li><a href="class-WPGMZA.Marker.html">WPGMZA\Marker</a></li>
|
75 |
+
<li><a href="class-WPGMZA.MarkerDataTable.html">WPGMZA\MarkerDataTable</a></li>
|
76 |
+
<li><a href="class-WPGMZA.MarkerFilter.html">WPGMZA\MarkerFilter</a></li>
|
77 |
+
<li><a href="class-WPGMZA.ModalDialog.html">WPGMZA\ModalDialog</a></li>
|
78 |
+
<li><a href="class-WPGMZA.NominatimGeocodeCache.html">WPGMZA\NominatimGeocodeCache</a></li>
|
79 |
+
<li><a href="class-WPGMZA.OLLoader.html">WPGMZA\OLLoader</a></li>
|
80 |
+
<li><a href="class-WPGMZA.Plugin.html">WPGMZA\Plugin</a></li>
|
81 |
+
<li><a href="class-WPGMZA.Query.html">WPGMZA\Query</a></li>
|
82 |
+
<li><a href="class-WPGMZA.QueryFragment.html">WPGMZA\QueryFragment</a></li>
|
83 |
+
<li><a href="class-WPGMZA.RestAPI.html">WPGMZA\RestAPI</a></li>
|
84 |
+
<li><a href="class-WPGMZA.ScriptLoader.html">WPGMZA\ScriptLoader</a></li>
|
85 |
+
<li><a href="class-WPGMZA.Selector.AttributeSelector.html">WPGMZA\Selector\AttributeSelector</a></li>
|
86 |
+
<li><a href="class-WPGMZA.Selector.Parser.html">WPGMZA\Selector\Parser</a></li>
|
87 |
+
<li><a href="class-WPGMZA.Selector.PseudoSelector.html">WPGMZA\Selector\PseudoSelector</a></li>
|
88 |
+
<li><a href="class-WPGMZA.Selector.Selector.html">WPGMZA\Selector\Selector</a></li>
|
89 |
+
<li><a href="class-WPGMZA.Selector.Token.html">WPGMZA\Selector\Token</a></li>
|
90 |
+
<li><a href="class-WPGMZA.Selector.Tokenizer.html">WPGMZA\Selector\Tokenizer</a></li>
|
91 |
+
<li><a href="class-WPGMZA.Selector.TokenStream.html">WPGMZA\Selector\TokenStream</a></li>
|
92 |
+
<li><a href="class-WPGMZA.Selector.XPathConverter.html">WPGMZA\Selector\XPathConverter</a></li>
|
93 |
+
<li><a href="class-WPGMZA.Strings.html">WPGMZA\Strings</a></li>
|
94 |
+
<li><a href="class-WPGMZA.Table.html">WPGMZA\Table</a></li>
|
95 |
+
</ul>
|
96 |
+
|
97 |
+
|
98 |
+
|
99 |
+
<h3>Exceptions</h3>
|
100 |
+
<ul>
|
101 |
+
<li><a href="class-WPGMZA.Selector.ConvertException.html">WPGMZA\Selector\ConvertException</a></li>
|
102 |
+
<li><a href="class-WPGMZA.Selector.ParseException.html">WPGMZA\Selector\ParseException</a></li>
|
103 |
+
</ul>
|
104 |
+
|
105 |
+
|
106 |
+
<h3>Functions</h3>
|
107 |
+
<ul>
|
108 |
+
<li><a href="function-WPGMZA.create_marker_instance_delegate.html">WPGMZA\create_marker_instance_delegate</a></li>
|
109 |
+
<li><a href="function-WPGMZA.query_nominatim_cache.html" class="deprecated">WPGMZA\query_nominatim_cache</a></li>
|
110 |
+
<li><a href="function-WPGMZA.Selector.trace.html">WPGMZA\Selector\trace</a></li>
|
111 |
+
<li><a href="function-WPGMZA.store_nominatim_cache.html" class="deprecated">WPGMZA\store_nominatim_cache</a></li>
|
112 |
+
<li><a href="function-wpgmza_backwards_compat_get_all_circle_data.html">wpgmza_backwards_compat_get_all_circle_data</a></li>
|
113 |
+
<li><a href="function-wpgmza_backwards_compat_get_all_rectangle_data.html">wpgmza_backwards_compat_get_all_rectangle_data</a></li>
|
114 |
+
<li><a href="function-wpgmza_check_admin_head_backwards_compat_v6.html">wpgmza_check_admin_head_backwards_compat_v6</a></li>
|
115 |
+
<li><a href="function-wpgmza_check_map_editor_backwards_compat_v6.html">wpgmza_check_map_editor_backwards_compat_v6</a></li>
|
116 |
+
<li><a href="function-wpgmza_check_pro_compat_required_v6.html">wpgmza_check_pro_compat_required_v6</a></li>
|
117 |
+
<li><a href="function-wpgmza_check_user_backwards_compat_v6.html">wpgmza_check_user_backwards_compat_v6</a></li>
|
118 |
+
</ul>
|
119 |
+
</div>
|
120 |
+
</div>
|
121 |
+
</div>
|
122 |
+
|
123 |
+
<div id="splitter"></div>
|
124 |
+
|
125 |
+
<div id="right">
|
126 |
+
<div id="rightInner">
|
127 |
+
<form id="search">
|
128 |
+
<input type="hidden" name="cx" value="">
|
129 |
+
<input type="hidden" name="ie" value="UTF-8">
|
130 |
+
<input type="text" name="q" class="text" placeholder="Search">
|
131 |
+
</form>
|
132 |
+
|
133 |
+
<div id="navigation">
|
134 |
+
<ul>
|
135 |
+
<li>
|
136 |
+
<a href="index.html" title="Overview"><span>Overview</span></a>
|
137 |
+
</li>
|
138 |
+
<li>
|
139 |
+
<span>Namespace</span> </li>
|
140 |
+
<li>
|
141 |
+
<span>Class</span> </li>
|
142 |
+
</ul>
|
143 |
+
<ul>
|
144 |
+
</ul>
|
145 |
+
<ul>
|
146 |
+
</ul>
|
147 |
+
</div>
|
148 |
+
|
149 |
+
<pre class="numbers"><code><span class="l"><a href="#1"> 1: </a></span><span class="l"><a href="#2"> 2: </a></span><span class="l"><a href="#3"> 3: </a></span><span class="l"><a href="#4"> 4: </a></span><span class="l"><a href="#5"> 5: </a></span><span class="l"><a href="#6"> 6: </a></span><span class="l"><a href="#7"> 7: </a></span><span class="l"><a href="#8"> 8: </a></span><span class="l"><a href="#9"> 9: </a></span><span class="l"><a href="#10"> 10: </a></span><span class="l"><a href="#11"> 11: </a></span><span class="l"><a href="#12"> 12: </a></span><span class="l"><a href="#13"> 13: </a></span><span class="l"><a href="#14"> 14: </a></span><span class="l"><a href="#15"> 15: </a></span><span class="l"><a href="#16"> 16: </a></span><span class="l"><a href="#17"> 17: </a></span><span class="l"><a href="#18"> 18: </a></span><span class="l"><a href="#19"> 19: </a></span><span class="l"><a href="#20"> 20: </a></span><span class="l"><a href="#21"> 21: </a></span><span class="l"><a href="#22"> 22: </a></span><span class="l"><a href="#23"> 23: </a></span><span class="l"><a href="#24"> 24: </a></span><span class="l"><a href="#25"> 25: </a></span><span class="l"><a href="#26"> 26: </a></span><span class="l"><a href="#27"> 27: </a></span><span class="l"><a href="#28"> 28: </a></span><span class="l"><a href="#29"> 29: </a></span><span class="l"><a href="#30"> 30: </a></span><span class="l"><a href="#31"> 31: </a></span><span class="l"><a href="#32"> 32: </a></span><span class="l"><a href="#33"> 33: </a></span><span class="l"><a href="#34"> 34: </a></span><span class="l"><a href="#35"> 35: </a></span><span class="l"><a href="#36"> 36: </a></span><span class="l"><a href="#37"> 37: </a></span><span class="l"><a href="#38"> 38: </a></span><span class="l"><a href="#39"> 39: </a></span><span class="l"><a href="#40"> 40: </a></span><span class="l"><a href="#41"> 41: </a></span><span class="l"><a href="#42"> 42: </a></span><span class="l"><a href="#43"> 43: </a></span><span class="l"><a href="#44"> 44: </a></span><span class="l"><a href="#45"> 45: </a></span><span class="l"><a href="#46"> 46: </a></span><span class="l"><a href="#47"> 47: </a></span><span class="l"><a href="#48"> 48: </a></span><span class="l"><a href="#49"> 49: </a></span><span class="l"><a href="#50"> 50: </a></span><span class="l"><a href="#51"> 51: </a></span><span class="l"><a href="#52"> 52: </a></span><span class="l"><a href="#53"> 53: </a></span><span class="l"><a href="#54"> 54: </a></span><span class="l"><a href="#55"> 55: </a></span><span class="l"><a href="#56"> 56: </a></span><span class="l"><a href="#57"> 57: </a></span><span class="l"><a href="#58"> 58: </a></span><span class="l"><a href="#59"> 59: </a></span><span class="l"><a href="#60"> 60: </a></span><span class="l"><a href="#61"> 61: </a></span><span class="l"><a href="#62"> 62: </a></span><span class="l"><a href="#63"> 63: </a></span><span class="l"><a href="#64"> 64: </a></span><span class="l"><a href="#65"> 65: </a></span><span class="l"><a href="#66"> 66: </a></span><span class="l"><a href="#67"> 67: </a></span></span><span class="l"><a href="#68"> 68: </a></span></span><span class="l"><a href="#69"> 69: </a></span></span><span class="l"><a href="#70"> 70: </a></span></span><span class="l"><a href="#71"> 71: </a></span></span><span class="l"><a href="#72"> 72: </a></span></span><span class="l"><a href="#73"> 73: </a></span></span><span class="l"><a href="#74"> 74: </a></span><span class="l"><a href="#75"> 75: </a></span><span class="l"><a href="#76"> 76: </a></span><span class="l"><a href="#77"> 77: </a></span><span class="l"><a href="#78"> 78: </a></span><span class="l"><a href="#79"> 79: </a></span><span class="l"><a href="#80"> 80: </a></span><span class="l"><a href="#81"> 81: </a></span><span class="l"><a href="#82"> 82: </a></span><span class="l"><a href="#83"> 83: </a></span><span class="l"><a href="#84"> 84: </a></span><span class="l"><a href="#85"> 85: </a></span><span class="l"><a href="#86"> 86: </a></span><span class="l"><a href="#87"> 87: </a></span><span class="l"><a href="#88"> 88: </a></span><span class="l"><a href="#89"> 89: </a></span><span class="l"><a href="#90"> 90: </a></span><span class="l"><a href="#91"> 91: </a></span><span class="l"><a href="#92"> 92: </a></span><span class="l"><a href="#93"> 93: </a></span><span class="l"><a href="#94"> 94: </a></span><span class="l"><a href="#95"> 95: </a></span><span class="l"><a href="#96"> 96: </a></span><span class="l"><a href="#97"> 97: </a></span><span class="l"><a href="#98"> 98: </a></span><span class="l"><a href="#99"> 99: </a></span><span class="l"><a href="#100">100: </a></span><span class="l"><a href="#101">101: </a></span><span class="l"><a href="#102">102: </a></span><span class="l"><a href="#103">103: </a></span><span class="l"><a href="#104">104: </a></span><span class="l"><a href="#105">105: </a></span><span class="l"><a href="#106">106: </a></span><span class="l"><a href="#107">107: </a></span><span class="l"><a href="#108">108: </a></span><span class="l"><a href="#109">109: </a></span></code></pre>
|
150 |
+
<pre class="code"><code><span id="1" class="l"><span class="xlang"><?php</span>
|
151 |
+
</span><span id="2" class="l">
|
152 |
+
</span><span id="3" class="l"><span class="php-keyword1">namespace</span> WPGMZA;
|
153 |
+
</span><span id="4" class="l">
|
154 |
+
</span><span id="5" class="l"><span class="php-keyword1">class</span> DataTable <span class="php-keyword1">extends</span> AjaxTable
|
155 |
+
</span><span id="6" class="l">{
|
156 |
+
</span><span id="7" class="l"> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> __construct(<span class="php-var">$table_name</span>, <span class="php-var">$ajax_parameters</span>=<span class="php-keyword1">null</span>, <span class="php-var">$datatable_options</span>=<span class="php-keyword1">null</span>)
|
157 |
+
</span><span id="8" class="l"> {
|
158 |
+
</span><span id="9" class="l"> AjaxTable::__construct(<span class="php-var">$table_name</span>, <span class="php-quote">'/datatables/'</span>, <span class="php-var">$ajax_parameters</span>);
|
159 |
+
</span><span id="10" class="l">
|
160 |
+
</span><span id="11" class="l"> <span class="php-var">$this</span>->element->setAttribute(<span class="php-quote">'data-wpgmza-datatable'</span>, <span class="php-quote">'true'</span>);
|
161 |
+
</span><span id="12" class="l">
|
162 |
+
</span><span id="13" class="l"> <span class="php-keyword1">if</span>(<span class="php-var">$datatable_options</span>)
|
163 |
+
</span><span id="14" class="l"> <span class="php-var">$this</span>->setDataTableOptions(<span class="php-var">$datatable_options</span>);
|
164 |
+
</span><span id="15" class="l">
|
165 |
+
</span><span id="16" class="l"> <span class="php-var">$this</span>->initTableDOM();
|
166 |
+
</span><span id="17" class="l"> }
|
167 |
+
</span><span id="18" class="l">
|
168 |
+
</span><span id="19" class="l"> <span class="php-keyword1">protected</span> <span class="php-keyword1">function</span> getColumns()
|
169 |
+
</span><span id="20" class="l"> {
|
170 |
+
</span><span id="21" class="l"> <span class="php-keyword1">throw</span> <span class="php-keyword1">new</span> \Exception(<span class="php-quote">'Abstract function called'</span>);
|
171 |
+
</span><span id="22" class="l"> }
|
172 |
+
</span><span id="23" class="l">
|
173 |
+
</span><span id="24" class="l"> <span class="php-keyword1">protected</span> <span class="php-keyword1">function</span> getOrderBy(<span class="php-var">$input_params</span>, <span class="php-var">$column_keys</span>)
|
174 |
+
</span><span id="25" class="l"> {
|
175 |
+
</span><span id="26" class="l"> <span class="php-var">$orderBy</span> = <span class="php-var">$column_keys</span>[ (int)<span class="php-var">$input_params</span>[<span class="php-quote">'order'</span>][<span class="php-num">0</span>][<span class="php-quote">'column'</span>] ];
|
176 |
+
</span><span id="27" class="l">
|
177 |
+
</span><span id="28" class="l"> <span class="php-keyword1">if</span>(!<span class="php-keyword1">empty</span>(<span class="php-var">$orderBy</span>))
|
178 |
+
</span><span id="29" class="l"> <span class="php-keyword1">return</span> <span class="php-var">$orderBy</span>;
|
179 |
+
</span><span id="30" class="l">
|
180 |
+
</span><span id="31" class="l"> <span class="php-keyword1">return</span> <span class="php-quote">"</span><span class="php-var">{$this->table_name}</span><span class="php-quote">.id"</span>;
|
181 |
+
</span><span id="32" class="l"> }
|
182 |
+
</span><span id="33" class="l">
|
183 |
+
</span><span id="34" class="l"> <span class="php-keyword1">protected</span> <span class="php-keyword1">function</span> getOrderDirection(<span class="php-var">$input_params</span>)
|
184 |
+
</span><span id="35" class="l"> {
|
185 |
+
</span><span id="36" class="l"> <span class="php-var">$orderDirection</span> = <span class="php-var">$input_params</span>[<span class="php-quote">'order'</span>][<span class="php-num">0</span>][<span class="php-quote">'dir'</span>] != <span class="php-quote">'asc'</span> ? <span class="php-quote">'desc'</span> : <span class="php-quote">'asc'</span>;
|
186 |
+
</span><span id="37" class="l">
|
187 |
+
</span><span id="38" class="l"> <span class="php-keyword1">if</span>(!<span class="php-keyword1">empty</span>(<span class="php-var">$orderDirection</span>))
|
188 |
+
</span><span id="39" class="l"> <span class="php-keyword1">return</span> <span class="php-var">$orderDirection</span>;
|
189 |
+
</span><span id="40" class="l">
|
190 |
+
</span><span id="41" class="l"> <span class="php-keyword1">return</span> <span class="php-quote">'ASC'</span>;
|
191 |
+
</span><span id="42" class="l"> }
|
192 |
+
</span><span id="43" class="l">
|
193 |
+
</span><span id="44" class="l"> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> getDataTableOptions()
|
194 |
+
</span><span id="45" class="l"> {
|
195 |
+
</span><span id="46" class="l"> <span class="php-keyword1">return</span> <span class="php-var">$this</span>->getAttributeParams(<span class="php-quote">'data-wpgmza-datatable-options'</span>);
|
196 |
+
</span><span id="47" class="l"> }
|
197 |
+
</span><span id="48" class="l">
|
198 |
+
</span><span id="49" class="l"> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> setDataTableOptions(<span class="php-var">$options</span>)
|
199 |
+
</span><span id="50" class="l"> {
|
200 |
+
</span><span id="51" class="l"> <span class="php-var">$this</span>->setAttributeParams(<span class="php-quote">'data-wpgmza-datatable-options'</span>, <span class="php-var">$options</span>);
|
201 |
+
</span><span id="52" class="l"> }
|
202 |
+
</span><span id="53" class="l">
|
203 |
+
</span><span id="54" class="l"> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> data(<span class="php-var">$input_params</span>)
|
204 |
+
</span><span id="55" class="l"> {
|
205 |
+
</span><span id="56" class="l"> <span class="php-var">$result</span> = AjaxTable::data(<span class="php-var">$input_params</span>);
|
206 |
+
</span><span id="57" class="l">
|
207 |
+
</span><span id="58" class="l"> <span class="php-var">$result</span>->draw = <span class="php-var">$input_params</span>[<span class="php-quote">'draw'</span>];
|
208 |
+
</span><span id="59" class="l">
|
209 |
+
</span><span id="60" class="l"> <span class="php-keyword1">return</span> <span class="php-var">$result</span>;
|
210 |
+
</span><span id="61" class="l"> }
|
211 |
+
</span><span id="62" class="l">
|
212 |
+
</span><span id="63" class="l"> <span class="php-keyword1">protected</span> <span class="php-keyword1">function</span> initTableDOM()
|
213 |
+
</span><span id="64" class="l"> {
|
214 |
+
</span><span id="65" class="l"> <span class="php-var">$columns</span> = <span class="php-var">$this</span>->getColumns();
|
215 |
+
</span><span id="66" class="l">
|
216 |
+
</span><span id="67" class="l"> <span class="php-var">$this</span>->element->import(<span class="php-quote">'
|
217 |
+
</span></span><span id="68" class="l"><span class="php-quote"> <table class="display">
|
218 |
+
</span></span><span id="69" class="l"><span class="php-quote"> <thead>
|
219 |
+
</span></span><span id="70" class="l"><span class="php-quote"> </thead>
|
220 |
+
</span></span><span id="71" class="l"><span class="php-quote"> <tfoot>
|
221 |
+
</span></span><span id="72" class="l"><span class="php-quote"> </tfoot>
|
222 |
+
</span></span><span id="73" class="l"><span class="php-quote"> </table>
|
223 |
+
</span></span><span id="74" class="l"><span class="php-quote"> '</span>);
|
224 |
+
</span><span id="75" class="l">
|
225 |
+
</span><span id="76" class="l"> <span class="php-var">$thead</span> = <span class="php-var">$this</span>->element->querySelector(<span class="php-quote">'thead'</span>);
|
226 |
+
</span><span id="77" class="l"> <span class="php-var">$tfoot</span> = <span class="php-var">$this</span>->element->querySelector(<span class="php-quote">'tfoot'</span>);
|
227 |
+
</span><span id="78" class="l">
|
228 |
+
</span><span id="79" class="l"> <span class="php-keyword1">foreach</span>(<span class="php-var">$columns</span> <span class="php-keyword1">as</span> <span class="php-var">$name</span> => <span class="php-var">$caption</span>)
|
229 |
+
</span><span id="80" class="l"> {
|
230 |
+
</span><span id="81" class="l"> <span class="php-var">$th</span> = <span class="php-var">$this</span>->document->createElement(<span class="php-quote">'th'</span>);
|
231 |
+
</span><span id="82" class="l"> <span class="php-var">$th</span>->setAttribute(<span class="php-quote">'data-wpgmza-column-name'</span>, <span class="php-var">$name</span>);
|
232 |
+
</span><span id="83" class="l"> <span class="php-var">$th</span>->appendText(<span class="php-var">$caption</span>);
|
233 |
+
</span><span id="84" class="l">
|
234 |
+
</span><span id="85" class="l"> <span class="php-var">$thead</span>->appendChild(<span class="php-var">$th</span>);
|
235 |
+
</span><span id="86" class="l"> <span class="php-var">$tfoot</span>->appendChild(<span class="php-var">$th</span>->cloneNode(<span class="php-keyword1">true</span>));
|
236 |
+
</span><span id="87" class="l"> }
|
237 |
+
</span><span id="88" class="l"> }
|
238 |
+
</span><span id="89" class="l">
|
239 |
+
</span><span id="90" class="l"> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> getRecords(<span class="php-var">$input_params</span>)
|
240 |
+
</span><span id="91" class="l"> {
|
241 |
+
</span><span id="92" class="l"> <span class="php-var">$result</span> = AjaxTable::getRecords(<span class="php-var">$input_params</span>);
|
242 |
+
</span><span id="93" class="l">
|
243 |
+
</span><span id="94" class="l"> <span class="php-var">$indexed_rows</span> = <span class="php-keyword1">array</span>();
|
244 |
+
</span><span id="95" class="l"> <span class="php-var">$indexed_meta</span> = <span class="php-keyword1">array</span>();
|
245 |
+
</span><span id="96" class="l">
|
246 |
+
</span><span id="97" class="l"> <span class="php-keyword1">foreach</span>(<span class="php-var">$result</span>->data <span class="php-keyword1">as</span> <span class="php-var">$key</span> => <span class="php-var">$obj</span>)
|
247 |
+
</span><span id="98" class="l"> {
|
248 |
+
</span><span id="99" class="l"> <span class="php-var">$indexed_rows</span>[<span class="php-var">$key</span>] = <span class="php-keyword2">array_values</span>(
|
249 |
+
</span><span id="100" class="l"> <span class="php-keyword2">get_object_vars</span>(<span class="php-var">$obj</span>)
|
250 |
+
</span><span id="101" class="l"> );
|
251 |
+
</span><span id="102" class="l"> }
|
252 |
+
</span><span id="103" class="l">
|
253 |
+
</span><span id="104" class="l"> <span class="php-var">$result</span>->data = <span class="php-var">$indexed_rows</span>;
|
254 |
+
</span><span id="105" class="l">
|
255 |
+
</span><span id="106" class="l"> <span class="php-keyword1">return</span> <span class="php-var">$result</span>;
|
256 |
+
</span><span id="107" class="l"> }
|
257 |
+
</span><span id="108" class="l">}
|
258 |
+
</span><span id="109" class="l"></span></code></pre>
|
259 |
+
|
260 |
+
<div id="footer">
|
261 |
+
API documentation generated by <a href="http://apigen.org">ApiGen</a>
|
262 |
+
</div>
|
263 |
+
</div>
|
264 |
+
</div>
|
265 |
+
<script src="resources/combined.js?bdf41a0492319853d610bde7b68b95e93d08fae3"></script>
|
266 |
+
<script src="elementlist.js?ce6e64dd6d2e258467153e0fbb3257ea07b69a7b"></script>
|
267 |
+
</body>
|
268 |
+
</html>
|
@@ -0,0 +1,351 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<!DOCTYPE html>
|
2 |
+
<html>
|
3 |
+
<head>
|
4 |
+
<meta charset="utf-8">
|
5 |
+
<meta name="robots" content="noindex">
|
6 |
+
|
7 |
+
<title>File class.database.php</title>
|
8 |
+
|
9 |
+
<link rel="stylesheet" href="resources/style.css?c2f33731c1948fbed7c333554678bfa68d4817da">
|
10 |
+
|
11 |
+
</head>
|
12 |
+
|
13 |
+
<body>
|
14 |
+
<div id="left">
|
15 |
+
<div id="menu">
|
16 |
+
<a href="index.html" title="Overview"><span>Overview</span></a>
|
17 |
+
|
18 |
+
|
19 |
+
<div id="groups">
|
20 |
+
<h3>Namespaces</h3>
|
21 |
+
<ul>
|
22 |
+
<li>
|
23 |
+
<a href="namespace-None.html">
|
24 |
+
None </a>
|
25 |
+
|
26 |
+
</li>
|
27 |
+
<li>
|
28 |
+
<a href="namespace-WPGMZA.html">
|
29 |
+
WPGMZA<span></span>
|
30 |
+
</a>
|
31 |
+
|
32 |
+
<ul>
|
33 |
+
<li>
|
34 |
+
<a href="namespace-WPGMZA.Integration.html">
|
35 |
+
Integration </a>
|
36 |
+
|
37 |
+
</li>
|
38 |
+
<li>
|
39 |
+
<a href="namespace-WPGMZA.Selector.html">
|
40 |
+
Selector </a>
|
41 |
+
|
42 |
+
</li>
|
43 |
+
</ul></li>
|
44 |
+
</ul>
|
45 |
+
</div>
|
46 |
+
|
47 |
+
<hr>
|
48 |
+
|
49 |
+
|
50 |
+
<div id="elements">
|
51 |
+
<h3>Classes</h3>
|
52 |
+
<ul>
|
53 |
+
<li><a href="class-WPGMZA.AdminMarkerDataTable.html">WPGMZA\AdminMarkerDataTable</a></li>
|
54 |
+
<li><a href="class-WPGMZA.AjaxTable.html">WPGMZA\AjaxTable</a></li>
|
55 |
+
<li><a href="class-WPGMZA.AutoLoader.html">WPGMZA\AutoLoader</a></li>
|
56 |
+
<li><a href="class-WPGMZA.Crud.html">WPGMZA\Crud</a></li>
|
57 |
+
<li><a href="class-WPGMZA.Database.html">WPGMZA\Database</a></li>
|
58 |
+
<li><a href="class-WPGMZA.DataTable.html">WPGMZA\DataTable</a></li>
|
59 |
+
<li><a href="class-WPGMZA.Distance.html">WPGMZA\Distance</a></li>
|
60 |
+
<li><a href="class-WPGMZA.DOMDocument.html">WPGMZA\DOMDocument</a></li>
|
61 |
+
<li><a href="class-WPGMZA.DOMElement.html">WPGMZA\DOMElement</a></li>
|
62 |
+
<li><a href="class-WPGMZA.Factory.html">WPGMZA\Factory</a></li>
|
63 |
+
<li><a href="class-WPGMZA.GDPRCompliance.html">WPGMZA\GDPRCompliance</a></li>
|
64 |
+
<li><a href="class-WPGMZA.GlobalSettings.html">WPGMZA\GlobalSettings</a></li>
|
65 |
+
<li><a href="class-WPGMZA.GoogleGeocoder.html">WPGMZA\GoogleGeocoder</a></li>
|
66 |
+
<li><a href="class-WPGMZA.GoogleMap.html">WPGMZA\GoogleMap</a></li>
|
67 |
+
<li><a href="class-WPGMZA.GoogleMapsAPILoader.html" class="deprecated">WPGMZA\GoogleMapsAPILoader</a></li>
|
68 |
+
<li><a href="class-WPGMZA.GoogleMapsLoader.html" class="deprecated">WPGMZA\GoogleMapsLoader</a></li>
|
69 |
+
<li><a href="class-WPGMZA.Integration.Gutenberg.html">WPGMZA\Integration\Gutenberg</a></li>
|
70 |
+
<li><a href="class-WPGMZA.Integration.WPMigrateDB.html">WPGMZA\Integration\WPMigrateDB</a></li>
|
71 |
+
<li><a href="class-WPGMZA.LatLng.html">WPGMZA\LatLng</a></li>
|
72 |
+
<li><a href="class-WPGMZA.Map.html">WPGMZA\Map</a></li>
|
73 |
+
<li><a href="class-WPGMZA.MapsEngineDialog.html">WPGMZA\MapsEngineDialog</a></li>
|
74 |
+
<li><a href="class-WPGMZA.Marker.html">WPGMZA\Marker</a></li>
|
75 |
+
<li><a href="class-WPGMZA.MarkerDataTable.html">WPGMZA\MarkerDataTable</a></li>
|
76 |
+
<li><a href="class-WPGMZA.MarkerFilter.html">WPGMZA\MarkerFilter</a></li>
|
77 |
+
<li><a href="class-WPGMZA.ModalDialog.html">WPGMZA\ModalDialog</a></li>
|
78 |
+
<li><a href="class-WPGMZA.NominatimGeocodeCache.html">WPGMZA\NominatimGeocodeCache</a></li>
|
79 |
+
<li><a href="class-WPGMZA.OLLoader.html">WPGMZA\OLLoader</a></li>
|
80 |
+
<li><a href="class-WPGMZA.Plugin.html">WPGMZA\Plugin</a></li>
|
81 |
+
<li><a href="class-WPGMZA.Query.html">WPGMZA\Query</a></li>
|
82 |
+
<li><a href="class-WPGMZA.QueryFragment.html">WPGMZA\QueryFragment</a></li>
|
83 |
+
<li><a href="class-WPGMZA.RestAPI.html">WPGMZA\RestAPI</a></li>
|
84 |
+
<li><a href="class-WPGMZA.ScriptLoader.html">WPGMZA\ScriptLoader</a></li>
|
85 |
+
<li><a href="class-WPGMZA.Selector.AttributeSelector.html">WPGMZA\Selector\AttributeSelector</a></li>
|
86 |
+
<li><a href="class-WPGMZA.Selector.Parser.html">WPGMZA\Selector\Parser</a></li>
|
87 |
+
<li><a href="class-WPGMZA.Selector.PseudoSelector.html">WPGMZA\Selector\PseudoSelector</a></li>
|
88 |
+
<li><a href="class-WPGMZA.Selector.Selector.html">WPGMZA\Selector\Selector</a></li>
|
89 |
+
<li><a href="class-WPGMZA.Selector.Token.html">WPGMZA\Selector\Token</a></li>
|
90 |
+
<li><a href="class-WPGMZA.Selector.Tokenizer.html">WPGMZA\Selector\Tokenizer</a></li>
|
91 |
+
<li><a href="class-WPGMZA.Selector.TokenStream.html">WPGMZA\Selector\TokenStream</a></li>
|
92 |
+
<li><a href="class-WPGMZA.Selector.XPathConverter.html">WPGMZA\Selector\XPathConverter</a></li>
|
93 |
+
<li><a href="class-WPGMZA.Strings.html">WPGMZA\Strings</a></li>
|
94 |
+
<li><a href="class-WPGMZA.Table.html">WPGMZA\Table</a></li>
|
95 |
+
</ul>
|
96 |
+
|
97 |
+
|
98 |
+
|
99 |
+
<h3>Exceptions</h3>
|
100 |
+
<ul>
|
101 |
+
<li><a href="class-WPGMZA.Selector.ConvertException.html">WPGMZA\Selector\ConvertException</a></li>
|
102 |
+
<li><a href="class-WPGMZA.Selector.ParseException.html">WPGMZA\Selector\ParseException</a></li>
|
103 |
+
</ul>
|
104 |
+
|
105 |
+
|
106 |
+
<h3>Functions</h3>
|
107 |
+
<ul>
|
108 |
+
<li><a href="function-WPGMZA.create_marker_instance_delegate.html">WPGMZA\create_marker_instance_delegate</a></li>
|
109 |
+
<li><a href="function-WPGMZA.query_nominatim_cache.html" class="deprecated">WPGMZA\query_nominatim_cache</a></li>
|
110 |
+
<li><a href="function-WPGMZA.Selector.trace.html">WPGMZA\Selector\trace</a></li>
|
111 |
+
<li><a href="function-WPGMZA.store_nominatim_cache.html" class="deprecated">WPGMZA\store_nominatim_cache</a></li>
|
112 |
+
<li><a href="function-wpgmza_backwards_compat_get_all_circle_data.html">wpgmza_backwards_compat_get_all_circle_data</a></li>
|
113 |
+
<li><a href="function-wpgmza_backwards_compat_get_all_rectangle_data.html">wpgmza_backwards_compat_get_all_rectangle_data</a></li>
|
114 |
+
<li><a href="function-wpgmza_check_admin_head_backwards_compat_v6.html">wpgmza_check_admin_head_backwards_compat_v6</a></li>
|
115 |
+
<li><a href="function-wpgmza_check_map_editor_backwards_compat_v6.html">wpgmza_check_map_editor_backwards_compat_v6</a></li>
|
116 |
+
<li><a href="function-wpgmza_check_pro_compat_required_v6.html">wpgmza_check_pro_compat_required_v6</a></li>
|
117 |
+
<li><a href="function-wpgmza_check_user_backwards_compat_v6.html">wpgmza_check_user_backwards_compat_v6</a></li>
|
118 |
+
</ul>
|
119 |
+
</div>
|
120 |
+
</div>
|
121 |
+
</div>
|
122 |
+
|
123 |
+
<div id="splitter"></div>
|
124 |
+
|
125 |
+
<div id="right">
|
126 |
+
<div id="rightInner">
|
127 |
+
<form id="search">
|
128 |
+
<input type="hidden" name="cx" value="">
|
129 |
+
<input type="hidden" name="ie" value="UTF-8">
|
130 |
+
<input type="text" name="q" class="text" placeholder="Search">
|
131 |
+
</form>
|
132 |
+
|
133 |
+
<div id="navigation">
|
134 |
+
<ul>
|
135 |
+
<li>
|
136 |
+
<a href="index.html" title="Overview"><span>Overview</span></a>
|
137 |
+
</li>
|
138 |
+
<li>
|
139 |
+
<span>Namespace</span> </li>
|
140 |
+
<li>
|
141 |
+
<span>Class</span> </li>
|
142 |
+
</ul>
|
143 |
+
<ul>
|
144 |
+
</ul>
|
145 |
+
<ul>
|
146 |
+
</ul>
|
147 |
+
</div>
|
148 |
+
|
149 |
+
<pre class="numbers"><code><span class="l"><a href="#1"> 1: </a></span><span class="l"><a href="#2"> 2: </a></span><span class="l"><a href="#3"> 3: </a></span><span class="l"><a href="#4"> 4: </a></span><span class="l"><a href="#5"> 5: </a></span><span class="l"><a href="#6"> 6: </a></span><span class="l"><a href="#7"> 7: </a></span><span class="l"><a href="#8"> 8: </a></span><span class="l"><a href="#9"> 9: </a></span><span class="l"><a href="#10"> 10: </a></span><span class="l"><a href="#11"> 11: </a></span><span class="l"><a href="#12"> 12: </a></span><span class="l"><a href="#13"> 13: </a></span><span class="l"><a href="#14"> 14: </a></span><span class="l"><a href="#15"> 15: </a></span><span class="l"><a href="#16"> 16: </a></span><span class="l"><a href="#17"> 17: </a></span><span class="l"><a href="#18"> 18: </a></span><span class="l"><a href="#19"> 19: </a></span><span class="l"><a href="#20"> 20: </a></span><span class="l"><a href="#21"> 21: </a></span><span class="l"><a href="#22"> 22: </a></span><span class="l"><a href="#23"> 23: </a></span><span class="l"><a href="#24"> 24: </a></span><span class="l"><a href="#25"> 25: </a></span><span class="l"><a href="#26"> 26: </a></span><span class="l"><a href="#27"> 27: </a></span><span class="l"><a href="#28"> 28: </a></span><span class="l"><a href="#29"> 29: </a></span><span class="l"><a href="#30"> 30: </a></span><span class="l"><a href="#31"> 31: </a></span><span class="l"><a href="#32"> 32: </a></span><span class="l"><a href="#33"> 33: </a></span><span class="l"><a href="#34"> 34: </a></span><span class="l"><a href="#35"> 35: </a></span><span class="l"><a href="#36"> 36: </a></span><span class="l"><a href="#37"> 37: </a></span><span class="l"><a href="#38"> 38: </a></span><span class="l"><a href="#39"> 39: </a></span></span><span class="l"><a href="#40"> 40: </a></span></span><span class="l"><a href="#41"> 41: </a></span></span><span class="l"><a href="#42"> 42: </a></span></span><span class="l"><a href="#43"> 43: </a></span></span><span class="l"><a href="#44"> 44: </a></span></span><span class="l"><a href="#45"> 45: </a></span></span><span class="l"><a href="#46"> 46: </a></span></span><span class="l"><a href="#47"> 47: </a></span></span><span class="l"><a href="#48"> 48: </a></span></span><span class="l"><a href="#49"> 49: </a></span></span><span class="l"><a href="#50"> 50: </a></span></span><span class="l"><a href="#51"> 51: </a></span></span><span class="l"><a href="#52"> 52: </a></span></span><span class="l"><a href="#53"> 53: </a></span></span><span class="l"><a href="#54"> 54: </a></span></span><span class="l"><a href="#55"> 55: </a></span></span><span class="l"><a href="#56"> 56: </a></span></span><span class="l"><a href="#57"> 57: </a></span></span><span class="l"><a href="#58"> 58: </a></span></span><span class="l"><a href="#59"> 59: </a></span></span><span class="l"><a href="#60"> 60: </a></span></span><span class="l"><a href="#61"> 61: </a></span></span><span class="l"><a href="#62"> 62: </a></span></span><span class="l"><a href="#63"> 63: </a></span></span><span class="l"><a href="#64"> 64: </a></span></span><span class="l"><a href="#65"> 65: </a></span></span><span class="l"><a href="#66"> 66: </a></span></span><span class="l"><a href="#67"> 67: </a></span></span><span class="l"><a href="#68"> 68: </a></span></span><span class="l"><a href="#69"> 69: </a></span></span><span class="l"><a href="#70"> 70: </a></span></span><span class="l"><a href="#71"> 71: </a></span></span><span class="l"><a href="#72"> 72: </a></span></span><span class="l"><a href="#73"> 73: </a></span></span><span class="l"><a href="#74"> 74: </a></span></span><span class="l"><a href="#75"> 75: </a></span></span><span class="l"><a href="#76"> 76: </a></span><span class="l"><a href="#77"> 77: </a></span><span class="l"><a href="#78"> 78: </a></span><span class="l"><a href="#79"> 79: </a></span><span class="l"><a href="#80"> 80: </a></span><span class="l"><a href="#81"> 81: </a></span><span class="l"><a href="#82"> 82: </a></span><span class="l"><a href="#83"> 83: </a></span><span class="l"><a href="#84"> 84: </a></span><span class="l"><a href="#85"> 85: </a></span></span><span class="l"><a href="#86"> 86: </a></span></span><span class="l"><a href="#87"> 87: </a></span></span><span class="l"><a href="#88"> 88: </a></span></span><span class="l"><a href="#89"> 89: </a></span></span><span class="l"><a href="#90"> 90: </a></span></span><span class="l"><a href="#91"> 91: </a></span></span><span class="l"><a href="#92"> 92: </a></span></span><span class="l"><a href="#93"> 93: </a></span></span><span class="l"><a href="#94"> 94: </a></span></span><span class="l"><a href="#95"> 95: </a></span></span><span class="l"><a href="#96"> 96: </a></span></span><span class="l"><a href="#97"> 97: </a></span></span><span class="l"><a href="#98"> 98: </a></span></span><span class="l"><a href="#99"> 99: </a></span></span><span class="l"><a href="#100">100: </a></span></span><span class="l"><a href="#101">101: </a></span></span><span class="l"><a href="#102">102: </a></span></span><span class="l"><a href="#103">103: </a></span></span><span class="l"><a href="#104">104: </a></span></span><span class="l"><a href="#105">105: </a></span></span><span class="l"><a href="#106">106: </a></span></span><span class="l"><a href="#107">107: </a></span></span><span class="l"><a href="#108">108: </a></span><span class="l"><a href="#109">109: </a></span><span class="l"><a href="#110">110: </a></span><span class="l"><a href="#111">111: </a></span><span class="l"><a href="#112">112: </a></span><span class="l"><a href="#113">113: </a></span><span class="l"><a href="#114">114: </a></span><span class="l"><a href="#115">115: </a></span><span class="l"><a href="#116">116: </a></span><span class="l"><a href="#117">117: </a></span></span><span class="l"><a href="#118">118: </a></span></span><span class="l"><a href="#119">119: </a></span></span><span class="l"><a href="#120">120: </a></span></span><span class="l"><a href="#121">121: </a></span></span><span class="l"><a href="#122">122: </a></span></span><span class="l"><a href="#123">123: </a></span></span><span class="l"><a href="#124">124: </a></span></span><span class="l"><a href="#125">125: </a></span></span><span class="l"><a href="#126">126: </a></span></span><span class="l"><a href="#127">127: </a></span></span><span class="l"><a href="#128">128: </a></span></span><span class="l"><a href="#129">129: </a></span></span><span class="l"><a href="#130">130: </a></span></span><span class="l"><a href="#131">131: </a></span></span><span class="l"><a href="#132">132: </a></span></span><span class="l"><a href="#133">133: </a></span><span class="l"><a href="#134">134: </a></span><span class="l"><a href="#135">135: </a></span><span class="l"><a href="#136">136: </a></span><span class="l"><a href="#137">137: </a></span><span class="l"><a href="#138">138: </a></span><span class="l"><a href="#139">139: </a></span><span class="l"><a href="#140">140: </a></span><span class="l"><a href="#141">141: </a></span><span class="l"><a href="#142">142: </a></span></span><span class="l"><a href="#143">143: </a></span></span><span class="l"><a href="#144">144: </a></span></span><span class="l"><a href="#145">145: </a></span></span><span class="l"><a href="#146">146: </a></span></span><span class="l"><a href="#147">147: </a></span></span><span class="l"><a href="#148">148: </a></span></span><span class="l"><a href="#149">149: </a></span></span><span class="l"><a href="#150">150: </a></span></span><span class="l"><a href="#151">151: </a></span><span class="l"><a href="#152">152: </a></span><span class="l"><a href="#153">153: </a></span><span class="l"><a href="#154">154: </a></span><span class="l"><a href="#155">155: </a></span><span class="l"><a href="#156">156: </a></span><span class="l"><a href="#157">157: </a></span><span class="l"><a href="#158">158: </a></span><span class="l"><a href="#159">159: </a></span><span class="l"><a href="#160">160: </a></span></span><span class="l"><a href="#161">161: </a></span></span><span class="l"><a href="#162">162: </a></span></span><span class="l"><a href="#163">163: </a></span></span><span class="l"><a href="#164">164: </a></span></span><span class="l"><a href="#165">165: </a></span></span><span class="l"><a href="#166">166: </a></span></span><span class="l"><a href="#167">167: </a></span></span><span class="l"><a href="#168">168: </a></span></span><span class="l"><a href="#169">169: </a></span><span class="l"><a href="#170">170: </a></span><span class="l"><a href="#171">171: </a></span><span class="l"><a href="#172">172: </a></span><span class="l"><a href="#173">173: </a></span><span class="l"><a href="#174">174: </a></span><span class="l"><a href="#175">175: </a></span><span class="l"><a href="#176">176: </a></span><span class="l"><a href="#177">177: </a></span><span class="l"><a href="#178">178: </a></span></span><span class="l"><a href="#179">179: </a></span></span><span class="l"><a href="#180">180: </a></span></span><span class="l"><a href="#181">181: </a></span></span><span class="l"><a href="#182">182: </a></span></span><span class="l"><a href="#183">183: </a></span></span><span class="l"><a href="#184">184: </a></span></span><span class="l"><a href="#185">185: </a></span></span><span class="l"><a href="#186">186: </a></span></span><span class="l"><a href="#187">187: </a></span><span class="l"><a href="#188">188: </a></span><span class="l"><a href="#189">189: </a></span><span class="l"><a href="#190">190: </a></span><span class="l"><a href="#191">191: </a></span><span class="l"><a href="#192">192: </a></span></code></pre>
|
150 |
+
<pre class="code"><code><span id="1" class="l"><span class="xlang"><?php</span>
|
151 |
+
</span><span id="2" class="l">
|
152 |
+
</span><span id="3" class="l"><span class="php-keyword1">namespace</span> WPGMZA;
|
153 |
+
</span><span id="4" class="l">
|
154 |
+
</span><span id="5" class="l"><span class="php-keyword1">class</span> Database
|
155 |
+
</span><span id="6" class="l">{
|
156 |
+
</span><span id="7" class="l"> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> __construct()
|
157 |
+
</span><span id="8" class="l"> {
|
158 |
+
</span><span id="9" class="l"> <span class="php-keyword1">global</span> <span class="php-var">$wpgmza</span>;
|
159 |
+
</span><span id="10" class="l"> <span class="php-keyword1">global</span> <span class="php-var">$wpgmza_version</span>;
|
160 |
+
</span><span id="11" class="l">
|
161 |
+
</span><span id="12" class="l"> <span class="php-var">$this</span>->version = get_option(<span class="php-quote">'wpgmza_db_version'</span>);
|
162 |
+
</span><span id="13" class="l">
|
163 |
+
</span><span id="14" class="l"> <span class="php-keyword1">if</span>(<span class="php-keyword2">version_compare</span>(<span class="php-var">$this</span>->version, <span class="php-var">$wpgmza_version</span>, <span class="php-quote">'<'</span>))
|
164 |
+
</span><span id="15" class="l"> <span class="php-var">$this</span>->install();
|
165 |
+
</span><span id="16" class="l"> }
|
166 |
+
</span><span id="17" class="l">
|
167 |
+
</span><span id="18" class="l"> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> install()
|
168 |
+
</span><span id="19" class="l"> {
|
169 |
+
</span><span id="20" class="l"> <span class="php-keyword1">global</span> <span class="php-var">$wpgmza</span>;
|
170 |
+
</span><span id="21" class="l"> <span class="php-keyword1">global</span> <span class="php-var">$wpgmza_version</span>;
|
171 |
+
</span><span id="22" class="l">
|
172 |
+
</span><span id="23" class="l"> <span class="php-keyword1">require_once</span>(ABSPATH . <span class="php-quote">'wp-admin/includes/upgrade.php'</span>);
|
173 |
+
</span><span id="24" class="l">
|
174 |
+
</span><span id="25" class="l"> <span class="php-var">$this</span>->installMapsTable();
|
175 |
+
</span><span id="26" class="l"> <span class="php-var">$this</span>->installMarkerTable();
|
176 |
+
</span><span id="27" class="l"> <span class="php-var">$this</span>->installPolygonTable();
|
177 |
+
</span><span id="28" class="l"> <span class="php-var">$this</span>->installPolylineTable();
|
178 |
+
</span><span id="29" class="l"> <span class="php-var">$this</span>->installCircleTable();
|
179 |
+
</span><span id="30" class="l"> <span class="php-var">$this</span>->installRectangleTable();
|
180 |
+
</span><span id="31" class="l">
|
181 |
+
</span><span id="32" class="l"> update_option(<span class="php-quote">'wpgmza_db_version'</span>, <span class="php-var">$wpgmza_version</span>);
|
182 |
+
</span><span id="33" class="l"> }
|
183 |
+
</span><span id="34" class="l">
|
184 |
+
</span><span id="35" class="l"> <span class="php-keyword1">protected</span> <span class="php-keyword1">function</span> installMapsTable()
|
185 |
+
</span><span id="36" class="l"> {
|
186 |
+
</span><span id="37" class="l"> <span class="php-keyword1">global</span> <span class="php-var">$WPGMZA_TABLE_NAME_MAPS</span>;
|
187 |
+
</span><span id="38" class="l">
|
188 |
+
</span><span id="39" class="l"> <span class="php-var">$sql</span> = <span class="php-quote">"CREATE TABLE `</span><span class="php-var">$WPGMZA_TABLE_NAME_MAPS</span><span class="php-quote">` (
|
189 |
+
</span></span><span id="40" class="l"><span class="php-quote"> id int(11) NOT NULL AUTO_INCREMENT,
|
190 |
+
</span></span><span id="41" class="l"><span class="php-quote"> map_title varchar(55) NOT NULL,
|
191 |
+
</span></span><span id="42" class="l"><span class="php-quote"> map_width varchar(6) NOT NULL,
|
192 |
+
</span></span><span id="43" class="l"><span class="php-quote"> map_height varchar(6) NOT NULL,
|
193 |
+
</span></span><span id="44" class="l"><span class="php-quote"> map_start_lat varchar(700) NOT NULL,
|
194 |
+
</span></span><span id="45" class="l"><span class="php-quote"> map_start_lng varchar(700) NOT NULL,
|
195 |
+
</span></span><span id="46" class="l"><span class="php-quote"> map_start_location varchar(700) NOT NULL,
|
196 |
+
</span></span><span id="47" class="l"><span class="php-quote"> map_start_zoom INT(10) NOT NULL,
|
197 |
+
</span></span><span id="48" class="l"><span class="php-quote"> default_marker varchar(700) NOT NULL,
|
198 |
+
</span></span><span id="49" class="l"><span class="php-quote"> type INT(10) NOT NULL,
|
199 |
+
</span></span><span id="50" class="l"><span class="php-quote"> alignment INT(10) NOT NULL,
|
200 |
+
</span></span><span id="51" class="l"><span class="php-quote"> directions_enabled INT(10) NOT NULL,
|
201 |
+
</span></span><span id="52" class="l"><span class="php-quote"> styling_enabled INT(10) NOT NULL,
|
202 |
+
</span></span><span id="53" class="l"><span class="php-quote"> styling_json mediumtext NOT NULL,
|
203 |
+
</span></span><span id="54" class="l"><span class="php-quote"> active INT(1) NOT NULL,
|
204 |
+
</span></span><span id="55" class="l"><span class="php-quote"> kml VARCHAR(700) NOT NULL,
|
205 |
+
</span></span><span id="56" class="l"><span class="php-quote"> bicycle INT(10) NOT NULL,
|
206 |
+
</span></span><span id="57" class="l"><span class="php-quote"> traffic INT(10) NOT NULL,
|
207 |
+
</span></span><span id="58" class="l"><span class="php-quote"> dbox INT(10) NOT NULL,
|
208 |
+
</span></span><span id="59" class="l"><span class="php-quote"> dbox_width varchar(10) NOT NULL,
|
209 |
+
</span></span><span id="60" class="l"><span class="php-quote"> listmarkers INT(10) NOT NULL,
|
210 |
+
</span></span><span id="61" class="l"><span class="php-quote"> listmarkers_advanced INT(10) NOT NULL,
|
211 |
+
</span></span><span id="62" class="l"><span class="php-quote"> filterbycat TINYINT(1) NOT NULL,
|
212 |
+
</span></span><span id="63" class="l"><span class="php-quote"> ugm_enabled INT(10) NOT NULL,
|
213 |
+
</span></span><span id="64" class="l"><span class="php-quote"> ugm_category_enabled TINYINT(1) NOT NULL,
|
214 |
+
</span></span><span id="65" class="l"><span class="php-quote"> fusion VARCHAR(100) NOT NULL,
|
215 |
+
</span></span><span id="66" class="l"><span class="php-quote"> map_width_type VARCHAR(3) NOT NULL,
|
216 |
+
</span></span><span id="67" class="l"><span class="php-quote"> map_height_type VARCHAR(3) NOT NULL,
|
217 |
+
</span></span><span id="68" class="l"><span class="php-quote"> mass_marker_support INT(10) NOT NULL,
|
218 |
+
</span></span><span id="69" class="l"><span class="php-quote"> ugm_access INT(10) NOT NULL,
|
219 |
+
</span></span><span id="70" class="l"><span class="php-quote"> order_markers_by INT(10) NOT NULL,
|
220 |
+
</span></span><span id="71" class="l"><span class="php-quote"> order_markers_choice INT(10) NOT NULL,
|
221 |
+
</span></span><span id="72" class="l"><span class="php-quote"> show_user_location INT(3) NOT NULL,
|
222 |
+
</span></span><span id="73" class="l"><span class="php-quote"> default_to VARCHAR(700) NOT NULL,
|
223 |
+
</span></span><span id="74" class="l"><span class="php-quote"> other_settings longtext NOT NULL,
|
224 |
+
</span></span><span id="75" class="l"><span class="php-quote"> PRIMARY KEY (id)
|
225 |
+
</span></span><span id="76" class="l"><span class="php-quote"> ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1"</span>;
|
226 |
+
</span><span id="77" class="l">
|
227 |
+
</span><span id="78" class="l"> dbDelta(<span class="php-var">$sql</span>);
|
228 |
+
</span><span id="79" class="l"> }
|
229 |
+
</span><span id="80" class="l">
|
230 |
+
</span><span id="81" class="l"> <span class="php-keyword1">protected</span> <span class="php-keyword1">function</span> installMarkerTable()
|
231 |
+
</span><span id="82" class="l"> {
|
232 |
+
</span><span id="83" class="l"> <span class="php-keyword1">global</span> <span class="php-var">$WPGMZA_TABLE_NAME_MARKERS</span>;
|
233 |
+
</span><span id="84" class="l">
|
234 |
+
</span><span id="85" class="l"> <span class="php-var">$sql</span> = <span class="php-quote">"CREATE TABLE `</span><span class="php-var">$WPGMZA_TABLE_NAME_MARKERS</span><span class="php-quote">` (
|
235 |
+
</span></span><span id="86" class="l"><span class="php-quote"> id int(11) NOT NULL AUTO_INCREMENT,
|
236 |
+
</span></span><span id="87" class="l"><span class="php-quote"> map_id int(11) NOT NULL,
|
237 |
+
</span></span><span id="88" class="l"><span class="php-quote"> address varchar(700) NOT NULL,
|
238 |
+
</span></span><span id="89" class="l"><span class="php-quote"> description mediumtext NOT NULL,
|
239 |
+
</span></span><span id="90" class="l"><span class="php-quote"> pic varchar(700) NOT NULL,
|
240 |
+
</span></span><span id="91" class="l"><span class="php-quote"> link varchar(700) NOT NULL,
|
241 |
+
</span></span><span id="92" class="l"><span class="php-quote"> icon varchar(700) NOT NULL,
|
242 |
+
</span></span><span id="93" class="l"><span class="php-quote"> lat varchar(100) NOT NULL,
|
243 |
+
</span></span><span id="94" class="l"><span class="php-quote"> lng varchar(100) NOT NULL,
|
244 |
+
</span></span><span id="95" class="l"><span class="php-quote"> anim varchar(3) NOT NULL,
|
245 |
+
</span></span><span id="96" class="l"><span class="php-quote"> title varchar(700) NOT NULL,
|
246 |
+
</span></span><span id="97" class="l"><span class="php-quote"> infoopen varchar(3) NOT NULL,
|
247 |
+
</span></span><span id="98" class="l"><span class="php-quote"> category varchar(500) NOT NULL,
|
248 |
+
</span></span><span id="99" class="l"><span class="php-quote"> approved tinyint(1) DEFAULT '1',
|
249 |
+
</span></span><span id="100" class="l"><span class="php-quote"> retina tinyint(1) DEFAULT '0',
|
250 |
+
</span></span><span id="101" class="l"><span class="php-quote"> type tinyint(1) DEFAULT '0',
|
251 |
+
</span></span><span id="102" class="l"><span class="php-quote"> did varchar(500) NOT NULL,
|
252 |
+
</span></span><span id="103" class="l"><span class="php-quote"> other_data LONGTEXT NOT NULL,
|
253 |
+
</span></span><span id="104" class="l"><span class="php-quote"> latlng POINT,
|
254 |
+
</span></span><span id="105" class="l"><span class="php-quote"> integration_source VARCHAR(32) NULL,
|
255 |
+
</span></span><span id="106" class="l"><span class="php-quote"> integration_context INT(11) NULL,
|
256 |
+
</span></span><span id="107" class="l"><span class="php-quote"> PRIMARY KEY (id)
|
257 |
+
</span></span><span id="108" class="l"><span class="php-quote"> ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1"</span>;
|
258 |
+
</span><span id="109" class="l">
|
259 |
+
</span><span id="110" class="l"> dbDelta(<span class="php-var">$sql</span>);
|
260 |
+
</span><span id="111" class="l"> }
|
261 |
+
</span><span id="112" class="l">
|
262 |
+
</span><span id="113" class="l"> <span class="php-keyword1">protected</span> <span class="php-keyword1">function</span> installPolygonTable()
|
263 |
+
</span><span id="114" class="l"> {
|
264 |
+
</span><span id="115" class="l"> <span class="php-keyword1">global</span> <span class="php-var">$WPGMZA_TABLE_NAME_POLYGONS</span>;
|
265 |
+
</span><span id="116" class="l">
|
266 |
+
</span><span id="117" class="l"> <span class="php-var">$sql</span> = <span class="php-quote">"CREATE TABLE `</span><span class="php-var">$WPGMZA_TABLE_NAME_POLYGONS</span><span class="php-quote">` (
|
267 |
+
</span></span><span id="118" class="l"><span class="php-quote"> id int(11) NOT NULL AUTO_INCREMENT,
|
268 |
+
</span></span><span id="119" class="l"><span class="php-quote"> map_id int(11) NOT NULL,
|
269 |
+
</span></span><span id="120" class="l"><span class="php-quote"> polydata LONGTEXT NOT NULL,
|
270 |
+
</span></span><span id="121" class="l"><span class="php-quote"> innerpolydata LONGTEXT NOT NULL,
|
271 |
+
</span></span><span id="122" class="l"><span class="php-quote"> linecolor VARCHAR(7) NOT NULL,
|
272 |
+
</span></span><span id="123" class="l"><span class="php-quote"> lineopacity VARCHAR(7) NOT NULL,
|
273 |
+
</span></span><span id="124" class="l"><span class="php-quote"> fillcolor VARCHAR(7) NOT NULL,
|
274 |
+
</span></span><span id="125" class="l"><span class="php-quote"> opacity VARCHAR(3) NOT NULL,
|
275 |
+
</span></span><span id="126" class="l"><span class="php-quote"> title VARCHAR(250) NOT NULL,
|
276 |
+
</span></span><span id="127" class="l"><span class="php-quote"> link VARCHAR(700) NOT NULL,
|
277 |
+
</span></span><span id="128" class="l"><span class="php-quote"> ohfillcolor VARCHAR(7) NOT NULL,
|
278 |
+
</span></span><span id="129" class="l"><span class="php-quote"> ohlinecolor VARCHAR(7) NOT NULL,
|
279 |
+
</span></span><span id="130" class="l"><span class="php-quote"> ohopacity VARCHAR(3) NOT NULL,
|
280 |
+
</span></span><span id="131" class="l"><span class="php-quote"> polyname VARCHAR(100) NOT NULL,
|
281 |
+
</span></span><span id="132" class="l"><span class="php-quote"> PRIMARY KEY (id)
|
282 |
+
</span></span><span id="133" class="l"><span class="php-quote"> ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1"</span>;
|
283 |
+
</span><span id="134" class="l">
|
284 |
+
</span><span id="135" class="l"> dbDelta(<span class="php-var">$sql</span>);
|
285 |
+
</span><span id="136" class="l"> }
|
286 |
+
</span><span id="137" class="l">
|
287 |
+
</span><span id="138" class="l"> <span class="php-keyword1">protected</span> <span class="php-keyword1">function</span> installPolylineTable()
|
288 |
+
</span><span id="139" class="l"> {
|
289 |
+
</span><span id="140" class="l"> <span class="php-keyword1">global</span> <span class="php-var">$WPGMZA_TABLE_NAME_POLYLINES</span>;
|
290 |
+
</span><span id="141" class="l">
|
291 |
+
</span><span id="142" class="l"> <span class="php-var">$sql</span> = <span class="php-quote">"CREATE TABLE `</span><span class="php-var">$WPGMZA_TABLE_NAME_POLYLINES</span><span class="php-quote">` (
|
292 |
+
</span></span><span id="143" class="l"><span class="php-quote"> id int(11) NOT NULL AUTO_INCREMENT,
|
293 |
+
</span></span><span id="144" class="l"><span class="php-quote"> map_id int(11) NOT NULL,
|
294 |
+
</span></span><span id="145" class="l"><span class="php-quote"> polydata LONGTEXT NOT NULL,
|
295 |
+
</span></span><span id="146" class="l"><span class="php-quote"> linecolor VARCHAR(7) NOT NULL,
|
296 |
+
</span></span><span id="147" class="l"><span class="php-quote"> linethickness VARCHAR(3) NOT NULL,
|
297 |
+
</span></span><span id="148" class="l"><span class="php-quote"> opacity VARCHAR(3) NOT NULL,
|
298 |
+
</span></span><span id="149" class="l"><span class="php-quote"> polyname VARCHAR(100) NOT NULL,
|
299 |
+
</span></span><span id="150" class="l"><span class="php-quote"> PRIMARY KEY (id)
|
300 |
+
</span></span><span id="151" class="l"><span class="php-quote"> ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1"</span>;
|
301 |
+
</span><span id="152" class="l">
|
302 |
+
</span><span id="153" class="l"> dbDelta(<span class="php-var">$sql</span>);
|
303 |
+
</span><span id="154" class="l"> }
|
304 |
+
</span><span id="155" class="l">
|
305 |
+
</span><span id="156" class="l"> <span class="php-keyword1">protected</span> <span class="php-keyword1">function</span> installCircleTable()
|
306 |
+
</span><span id="157" class="l"> {
|
307 |
+
</span><span id="158" class="l"> <span class="php-keyword1">global</span> <span class="php-var">$WPGMZA_TABLE_NAME_CIRCLES</span>;
|
308 |
+
</span><span id="159" class="l">
|
309 |
+
</span><span id="160" class="l"> <span class="php-var">$sql</span> = <span class="php-quote">"CREATE TABLE `</span><span class="php-var">$WPGMZA_TABLE_NAME_CIRCLES</span><span class="php-quote">` (
|
310 |
+
</span></span><span id="161" class="l"><span class="php-quote"> id int(11) NOT NULL AUTO_INCREMENT,
|
311 |
+
</span></span><span id="162" class="l"><span class="php-quote"> map_id int(11) NOT NULL,
|
312 |
+
</span></span><span id="163" class="l"><span class="php-quote"> name TEXT,
|
313 |
+
</span></span><span id="164" class="l"><span class="php-quote"> center POINT,
|
314 |
+
</span></span><span id="165" class="l"><span class="php-quote"> radius FLOAT,
|
315 |
+
</span></span><span id="166" class="l"><span class="php-quote"> color VARCHAR(16),
|
316 |
+
</span></span><span id="167" class="l"><span class="php-quote"> opacity FLOAT,
|
317 |
+
</span></span><span id="168" class="l"><span class="php-quote"> PRIMARY KEY (id)
|
318 |
+
</span></span><span id="169" class="l"><span class="php-quote"> ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1"</span>;
|
319 |
+
</span><span id="170" class="l">
|
320 |
+
</span><span id="171" class="l"> dbDelta(<span class="php-var">$sql</span>);
|
321 |
+
</span><span id="172" class="l"> }
|
322 |
+
</span><span id="173" class="l">
|
323 |
+
</span><span id="174" class="l"> <span class="php-keyword1">protected</span> <span class="php-keyword1">function</span> installRectangleTable()
|
324 |
+
</span><span id="175" class="l"> {
|
325 |
+
</span><span id="176" class="l"> <span class="php-keyword1">global</span> <span class="php-var">$WPGMZA_TABLE_NAME_RECTANGLES</span>;
|
326 |
+
</span><span id="177" class="l">
|
327 |
+
</span><span id="178" class="l"> <span class="php-var">$sql</span> = <span class="php-quote">"CREATE TABLE `</span><span class="php-var">$WPGMZA_TABLE_NAME_RECTANGLES</span><span class="php-quote">` (
|
328 |
+
</span></span><span id="179" class="l"><span class="php-quote"> id int(11) NOT NULL AUTO_INCREMENT,
|
329 |
+
</span></span><span id="180" class="l"><span class="php-quote"> map_id int(11) NOT NULL,
|
330 |
+
</span></span><span id="181" class="l"><span class="php-quote"> name TEXT,
|
331 |
+
</span></span><span id="182" class="l"><span class="php-quote"> cornerA POINT,
|
332 |
+
</span></span><span id="183" class="l"><span class="php-quote"> cornerB POINT,
|
333 |
+
</span></span><span id="184" class="l"><span class="php-quote"> color VARCHAR(16),
|
334 |
+
</span></span><span id="185" class="l"><span class="php-quote"> opacity FLOAT,
|
335 |
+
</span></span><span id="186" class="l"><span class="php-quote"> PRIMARY KEY (id)
|
336 |
+
</span></span><span id="187" class="l"><span class="php-quote"> ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1"</span>;
|
337 |
+
</span><span id="188" class="l">
|
338 |
+
</span><span id="189" class="l"> dbDelta(<span class="php-var">$sql</span>);
|
339 |
+
</span><span id="190" class="l"> }
|
340 |
+
</span><span id="191" class="l">}
|
341 |
+
</span><span id="192" class="l"></span></code></pre>
|
342 |
+
|
343 |
+
<div id="footer">
|
344 |
+
API documentation generated by <a href="http://apigen.org">ApiGen</a>
|
345 |
+
</div>
|
346 |
+
</div>
|
347 |
+
</div>
|
348 |
+
<script src="resources/combined.js?bdf41a0492319853d610bde7b68b95e93d08fae3"></script>
|
349 |
+
<script src="elementlist.js?ce6e64dd6d2e258467153e0fbb3257ea07b69a7b"></script>
|
350 |
+
</body>
|
351 |
+
</html>
|
@@ -0,0 +1,199 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<!DOCTYPE html>
|
2 |
+
<html>
|
3 |
+
<head>
|
4 |
+
<meta charset="utf-8">
|
5 |
+
<meta name="robots" content="noindex">
|
6 |
+
|
7 |
+
<title>File class.distance.php</title>
|
8 |
+
|
9 |
+
<link rel="stylesheet" href="resources/style.css?c2f33731c1948fbed7c333554678bfa68d4817da">
|
10 |
+
|
11 |
+
</head>
|
12 |
+
|
13 |
+
<body>
|
14 |
+
<div id="left">
|
15 |
+
<div id="menu">
|
16 |
+
<a href="index.html" title="Overview"><span>Overview</span></a>
|
17 |
+
|
18 |
+
|
19 |
+
<div id="groups">
|
20 |
+
<h3>Namespaces</h3>
|
21 |
+
<ul>
|
22 |
+
<li>
|
23 |
+
<a href="namespace-None.html">
|
24 |
+
None </a>
|
25 |
+
|
26 |
+
</li>
|
27 |
+
<li>
|
28 |
+
<a href="namespace-WPGMZA.html">
|
29 |
+
WPGMZA<span></span>
|
30 |
+
</a>
|
31 |
+
|
32 |
+
<ul>
|
33 |
+
<li>
|
34 |
+
<a href="namespace-WPGMZA.Integration.html">
|
35 |
+
Integration </a>
|
36 |
+
|
37 |
+
</li>
|
38 |
+
<li>
|
39 |
+
<a href="namespace-WPGMZA.Selector.html">
|
40 |
+
Selector </a>
|
41 |
+
|
42 |
+
</li>
|
43 |
+
</ul></li>
|
44 |
+
</ul>
|
45 |
+
</div>
|
46 |
+
|
47 |
+
<hr>
|
48 |
+
|
49 |
+
|
50 |
+
<div id="elements">
|
51 |
+
<h3>Classes</h3>
|
52 |
+
<ul>
|
53 |
+
<li><a href="class-WPGMZA.AdminMarkerDataTable.html">WPGMZA\AdminMarkerDataTable</a></li>
|
54 |
+
<li><a href="class-WPGMZA.AjaxTable.html">WPGMZA\AjaxTable</a></li>
|
55 |
+
<li><a href="class-WPGMZA.AutoLoader.html">WPGMZA\AutoLoader</a></li>
|
56 |
+
<li><a href="class-WPGMZA.Crud.html">WPGMZA\Crud</a></li>
|
57 |
+
<li><a href="class-WPGMZA.Database.html">WPGMZA\Database</a></li>
|
58 |
+
<li><a href="class-WPGMZA.DataTable.html">WPGMZA\DataTable</a></li>
|
59 |
+
<li><a href="class-WPGMZA.Distance.html">WPGMZA\Distance</a></li>
|
60 |
+
<li><a href="class-WPGMZA.DOMDocument.html">WPGMZA\DOMDocument</a></li>
|
61 |
+
<li><a href="class-WPGMZA.DOMElement.html">WPGMZA\DOMElement</a></li>
|
62 |
+
<li><a href="class-WPGMZA.Factory.html">WPGMZA\Factory</a></li>
|
63 |
+
<li><a href="class-WPGMZA.GDPRCompliance.html">WPGMZA\GDPRCompliance</a></li>
|
64 |
+
<li><a href="class-WPGMZA.GlobalSettings.html">WPGMZA\GlobalSettings</a></li>
|
65 |
+
<li><a href="class-WPGMZA.GoogleGeocoder.html">WPGMZA\GoogleGeocoder</a></li>
|
66 |
+
<li><a href="class-WPGMZA.GoogleMap.html">WPGMZA\GoogleMap</a></li>
|
67 |
+
<li><a href="class-WPGMZA.GoogleMapsAPILoader.html" class="deprecated">WPGMZA\GoogleMapsAPILoader</a></li>
|
68 |
+
<li><a href="class-WPGMZA.GoogleMapsLoader.html" class="deprecated">WPGMZA\GoogleMapsLoader</a></li>
|
69 |
+
<li><a href="class-WPGMZA.Integration.Gutenberg.html">WPGMZA\Integration\Gutenberg</a></li>
|
70 |
+
<li><a href="class-WPGMZA.Integration.WPMigrateDB.html">WPGMZA\Integration\WPMigrateDB</a></li>
|
71 |
+
<li><a href="class-WPGMZA.LatLng.html">WPGMZA\LatLng</a></li>
|
72 |
+
<li><a href="class-WPGMZA.Map.html">WPGMZA\Map</a></li>
|
73 |
+
<li><a href="class-WPGMZA.MapsEngineDialog.html">WPGMZA\MapsEngineDialog</a></li>
|
74 |
+
<li><a href="class-WPGMZA.Marker.html">WPGMZA\Marker</a></li>
|
75 |
+
<li><a href="class-WPGMZA.MarkerDataTable.html">WPGMZA\MarkerDataTable</a></li>
|
76 |
+
<li><a href="class-WPGMZA.MarkerFilter.html">WPGMZA\MarkerFilter</a></li>
|
77 |
+
<li><a href="class-WPGMZA.ModalDialog.html">WPGMZA\ModalDialog</a></li>
|
78 |
+
<li><a href="class-WPGMZA.NominatimGeocodeCache.html">WPGMZA\NominatimGeocodeCache</a></li>
|
79 |
+
<li><a href="class-WPGMZA.OLLoader.html">WPGMZA\OLLoader</a></li>
|
80 |
+
<li><a href="class-WPGMZA.Plugin.html">WPGMZA\Plugin</a></li>
|
81 |
+
<li><a href="class-WPGMZA.Query.html">WPGMZA\Query</a></li>
|
82 |
+
<li><a href="class-WPGMZA.QueryFragment.html">WPGMZA\QueryFragment</a></li>
|
83 |
+
<li><a href="class-WPGMZA.RestAPI.html">WPGMZA\RestAPI</a></li>
|
84 |
+
<li><a href="class-WPGMZA.ScriptLoader.html">WPGMZA\ScriptLoader</a></li>
|
85 |
+
<li><a href="class-WPGMZA.Selector.AttributeSelector.html">WPGMZA\Selector\AttributeSelector</a></li>
|
86 |
+
<li><a href="class-WPGMZA.Selector.Parser.html">WPGMZA\Selector\Parser</a></li>
|
87 |
+
<li><a href="class-WPGMZA.Selector.PseudoSelector.html">WPGMZA\Selector\PseudoSelector</a></li>
|
88 |
+
<li><a href="class-WPGMZA.Selector.Selector.html">WPGMZA\Selector\Selector</a></li>
|
89 |
+
<li><a href="class-WPGMZA.Selector.Token.html">WPGMZA\Selector\Token</a></li>
|
90 |
+
<li><a href="class-WPGMZA.Selector.Tokenizer.html">WPGMZA\Selector\Tokenizer</a></li>
|
91 |
+
<li><a href="class-WPGMZA.Selector.TokenStream.html">WPGMZA\Selector\TokenStream</a></li>
|
92 |
+
<li><a href="class-WPGMZA.Selector.XPathConverter.html">WPGMZA\Selector\XPathConverter</a></li>
|
93 |
+
<li><a href="class-WPGMZA.Strings.html">WPGMZA\Strings</a></li>
|
94 |
+
<li><a href="class-WPGMZA.Table.html">WPGMZA\Table</a></li>
|
95 |
+
</ul>
|
96 |
+
|
97 |
+
|
98 |
+
|
99 |
+
<h3>Exceptions</h3>
|
100 |
+
<ul>
|
101 |
+
<li><a href="class-WPGMZA.Selector.ConvertException.html">WPGMZA\Selector\ConvertException</a></li>
|
102 |
+
<li><a href="class-WPGMZA.Selector.ParseException.html">WPGMZA\Selector\ParseException</a></li>
|
103 |
+
</ul>
|
104 |
+
|
105 |
+
|
106 |
+
<h3>Functions</h3>
|
107 |
+
<ul>
|
108 |
+
<li><a href="function-WPGMZA.create_marker_instance_delegate.html">WPGMZA\create_marker_instance_delegate</a></li>
|
109 |
+
<li><a href="function-WPGMZA.query_nominatim_cache.html" class="deprecated">WPGMZA\query_nominatim_cache</a></li>
|
110 |
+
<li><a href="function-WPGMZA.Selector.trace.html">WPGMZA\Selector\trace</a></li>
|
111 |
+
<li><a href="function-WPGMZA.store_nominatim_cache.html" class="deprecated">WPGMZA\store_nominatim_cache</a></li>
|
112 |
+
<li><a href="function-wpgmza_backwards_compat_get_all_circle_data.html">wpgmza_backwards_compat_get_all_circle_data</a></li>
|
113 |
+
<li><a href="function-wpgmza_backwards_compat_get_all_rectangle_data.html">wpgmza_backwards_compat_get_all_rectangle_data</a></li>
|
114 |
+
<li><a href="function-wpgmza_check_admin_head_backwards_compat_v6.html">wpgmza_check_admin_head_backwards_compat_v6</a></li>
|
115 |
+
<li><a href="function-wpgmza_check_map_editor_backwards_compat_v6.html">wpgmza_check_map_editor_backwards_compat_v6</a></li>
|
116 |
+
<li><a href="function-wpgmza_check_pro_compat_required_v6.html">wpgmza_check_pro_compat_required_v6</a></li>
|
117 |
+
<li><a href="function-wpgmza_check_user_backwards_compat_v6.html">wpgmza_check_user_backwards_compat_v6</a></li>
|
118 |
+
</ul>
|
119 |
+
</div>
|
120 |
+
</div>
|
121 |
+
</div>
|
122 |
+
|
123 |
+
<div id="splitter"></div>
|
124 |
+
|
125 |
+
<div id="right">
|
126 |
+
<div id="rightInner">
|
127 |
+
<form id="search">
|
128 |
+
<input type="hidden" name="cx" value="">
|
129 |
+
<input type="hidden" name="ie" value="UTF-8">
|
130 |
+
<input type="text" name="q" class="text" placeholder="Search">
|
131 |
+
</form>
|
132 |
+
|
133 |
+
<div id="navigation">
|
134 |
+
<ul>
|
135 |
+
<li>
|
136 |
+
<a href="index.html" title="Overview"><span>Overview</span></a>
|
137 |
+
</li>
|
138 |
+
<li>
|
139 |
+
<span>Namespace</span> </li>
|
140 |
+
<li>
|
141 |
+
<span>Class</span> </li>
|
142 |
+
</ul>
|
143 |
+
<ul>
|
144 |
+
</ul>
|
145 |
+
<ul>
|
146 |
+
</ul>
|
147 |
+
</div>
|
148 |
+
|
149 |
+
<pre class="numbers"><code><span class="l"><a href="#1"> 1: </a></span><span class="l"><a href="#2"> 2: </a></span><span class="l"><a href="#3"> 3: </a></span><span class="l"><a href="#4"> 4: </a></span><span class="l"><a href="#5"> 5: </a></span><span class="l"><a href="#6"> 6: </a></span><span class="l"><a href="#7"> 7: </a></span><span class="l"><a href="#8"> 8: </a></span><span class="l"><a href="#9"> 9: </a></span><span class="l"><a href="#10">10: </a></span><span class="l"><a href="#11">11: </a></span><span class="l"><a href="#12">12: </a></span><span class="l"><a href="#13">13: </a></span><span class="l"><a href="#14">14: </a></span><span class="l"><a href="#15">15: </a></span><span class="l"><a href="#16">16: </a></span><span class="l"><a href="#17">17: </a></span><span class="l"><a href="#18">18: </a></span><span class="l"><a href="#19">19: </a></span><span class="l"><a href="#20">20: </a></span><span class="l"><a href="#21">21: </a></span><span class="l"><a href="#22">22: </a></span><span class="l"><a href="#23">23: </a></span><span class="l"><a href="#24">24: </a></span><span class="l"><a href="#25">25: </a></span><span class="l"><a href="#26">26: </a></span><span class="l"><a href="#27">27: </a></span><span class="l"><a href="#28">28: </a></span><span class="l"><a href="#29">29: </a></span><span class="l"><a href="#30">30: </a></span><span class="l"><a href="#31">31: </a></span><span class="l"><a href="#32">32: </a></span><span class="l"><a href="#33">33: </a></span><span class="l"><a href="#34">34: </a></span><span class="l"><a href="#35">35: </a></span><span class="l"><a href="#36">36: </a></span><span class="l"><a href="#37">37: </a></span><span class="l"><a href="#38">38: </a></span><span class="l"><a href="#39">39: </a></span><span class="l"><a href="#40">40: </a></span></code></pre>
|
150 |
+
<pre class="code"><code><span id="1" class="l"><span class="xlang"><?php</span>
|
151 |
+
</span><span id="2" class="l">
|
152 |
+
</span><span id="3" class="l"><span class="php-keyword1">namespace</span> WPGMZA;
|
153 |
+
</span><span id="4" class="l">
|
154 |
+
</span><span id="5" class="l"><span class="php-keyword1">class</span> Distance
|
155 |
+
</span><span id="6" class="l">{
|
156 |
+
</span><span id="7" class="l"> <span class="php-keyword1">const</span> UNITS_KM = <span class="php-quote">"km"</span>;
|
157 |
+
</span><span id="8" class="l"> <span class="php-keyword1">const</span> UNITS_MI = <span class="php-quote">"mi"</span>;
|
158 |
+
</span><span id="9" class="l">
|
159 |
+
</span><span id="10" class="l"> <span class="php-keyword1">const</span> MILES_PER_KILOMETER = <span class="php-num">0.621371</span>;
|
160 |
+
</span><span id="11" class="l"> <span class="php-keyword1">const</span> KILOMETERS_PER_MILE = <span class="php-num">1.60934</span>;
|
161 |
+
</span><span id="12" class="l">
|
162 |
+
</span><span id="13" class="l"> <span class="php-keyword1">public</span> <span class="php-keyword1">static</span> <span class="php-keyword1">function</span> between(<span class="php-var">$a</span>, <span class="php-var">$b</span>)
|
163 |
+
</span><span id="14" class="l"> {
|
164 |
+
</span><span id="15" class="l"> <span class="php-keyword1">if</span>(!(<span class="php-var">$a</span> <span class="php-keyword1">instanceof</span> LatLng))
|
165 |
+
</span><span id="16" class="l"> <span class="php-keyword1">throw</span> <span class="php-keyword1">new</span> \Exception(<span class="php-quote">'First argument is not an instance of WPGMZA\LatLng'</span>);
|
166 |
+
</span><span id="17" class="l">
|
167 |
+
</span><span id="18" class="l"> <span class="php-keyword1">if</span>(!(<span class="php-var">$b</span> <span class="php-keyword1">instanceof</span> LatLng))
|
168 |
+
</span><span id="19" class="l"> <span class="php-keyword1">throw</span> <span class="php-keyword1">new</span> \Exception(<span class="php-quote">'Second argument is not an instance of WPGMZA\LatLng'</span>);
|
169 |
+
</span><span id="20" class="l">
|
170 |
+
</span><span id="21" class="l"> <span class="php-var">$lat1</span> = <span class="php-var">$a</span>->lat;
|
171 |
+
</span><span id="22" class="l"> <span class="php-var">$lon1</span> = <span class="php-var">$a</span>->lng;
|
172 |
+
</span><span id="23" class="l"> <span class="php-var">$lat2</span> = <span class="php-var">$b</span>->lat;
|
173 |
+
</span><span id="24" class="l"> <span class="php-var">$lon2</span> = <span class="php-var">$b</span>->lng;
|
174 |
+
</span><span id="25" class="l">
|
175 |
+
</span><span id="26" class="l"> <span class="php-var">$dLat</span> = <span class="php-keyword2">deg2rad</span>(<span class="php-var">$lat2</span> - <span class="php-var">$lat1</span>);
|
176 |
+
</span><span id="27" class="l"> <span class="php-var">$dLon</span> = <span class="php-keyword2">deg2rad</span>(<span class="php-var">$lon2</span> - <span class="php-var">$lon1</span>);
|
177 |
+
</span><span id="28" class="l">
|
178 |
+
</span><span id="29" class="l"> <span class="php-var">$a</span> =
|
179 |
+
</span><span id="30" class="l"> <span class="php-keyword2">sin</span>(<span class="php-var">$dLat</span> / <span class="php-num">2</span>) * <span class="php-keyword2">sin</span>(<span class="php-var">$dLat</span> / <span class="php-num">2</span>) +
|
180 |
+
</span><span id="31" class="l"> <span class="php-keyword2">cos</span>(<span class="php-keyword2">deg2rad</span>(<span class="php-var">$lat1</span>)) * <span class="php-keyword2">cos</span>(<span class="php-keyword2">deg2rad</span>(<span class="php-var">$lat2</span>)) *
|
181 |
+
</span><span id="32" class="l"> <span class="php-keyword2">sin</span>(<span class="php-var">$dLon</span> / <span class="php-num">2</span>) * <span class="php-keyword2">sin</span>(<span class="php-var">$dLon</span> / <span class="php-num">2</span>);
|
182 |
+
</span><span id="33" class="l">
|
183 |
+
</span><span id="34" class="l"> <span class="php-var">$c</span> = <span class="php-num">2</span> * <span class="php-keyword2">atan2</span>(<span class="php-keyword2">sqrt</span>(<span class="php-var">$a</span>), <span class="php-keyword2">sqrt</span>(<span class="php-num">1</span> - <span class="php-var">$a</span>));
|
184 |
+
</span><span id="35" class="l"> <span class="php-var">$d</span> = <span class="php-num">6371</span> * <span class="php-var">$c</span>;
|
185 |
+
</span><span id="36" class="l">
|
186 |
+
</span><span id="37" class="l"> <span class="php-keyword1">return</span> <span class="php-var">$d</span>;
|
187 |
+
</span><span id="38" class="l"> }
|
188 |
+
</span><span id="39" class="l">}
|
189 |
+
</span><span id="40" class="l"></span></code></pre>
|
190 |
+
|
191 |
+
<div id="footer">
|
192 |
+
API documentation generated by <a href="http://apigen.org">ApiGen</a>
|
193 |
+
</div>
|
194 |
+
</div>
|
195 |
+
</div>
|
196 |
+
<script src="resources/combined.js?bdf41a0492319853d610bde7b68b95e93d08fae3"></script>
|
197 |
+
<script src="elementlist.js?ce6e64dd6d2e258467153e0fbb3257ea07b69a7b"></script>
|
198 |
+
</body>
|
199 |
+
</html>
|
@@ -50,12 +50,18 @@
|
|
50 |
<div id="elements">
|
51 |
<h3>Classes</h3>
|
52 |
<ul>
|
|
|
|
|
53 |
<li><a href="class-WPGMZA.AutoLoader.html">WPGMZA\AutoLoader</a></li>
|
54 |
<li><a href="class-WPGMZA.Crud.html">WPGMZA\Crud</a></li>
|
|
|
|
|
|
|
55 |
<li><a href="class-WPGMZA.DOMDocument.html">WPGMZA\DOMDocument</a></li>
|
56 |
<li><a href="class-WPGMZA.DOMElement.html">WPGMZA\DOMElement</a></li>
|
57 |
<li><a href="class-WPGMZA.Factory.html">WPGMZA\Factory</a></li>
|
58 |
<li><a href="class-WPGMZA.GDPRCompliance.html">WPGMZA\GDPRCompliance</a></li>
|
|
|
59 |
<li><a href="class-WPGMZA.GoogleGeocoder.html">WPGMZA\GoogleGeocoder</a></li>
|
60 |
<li><a href="class-WPGMZA.GoogleMap.html">WPGMZA\GoogleMap</a></li>
|
61 |
<li><a href="class-WPGMZA.GoogleMapsAPILoader.html" class="deprecated">WPGMZA\GoogleMapsAPILoader</a></li>
|
@@ -66,10 +72,14 @@
|
|
66 |
<li><a href="class-WPGMZA.Map.html">WPGMZA\Map</a></li>
|
67 |
<li><a href="class-WPGMZA.MapsEngineDialog.html">WPGMZA\MapsEngineDialog</a></li>
|
68 |
<li><a href="class-WPGMZA.Marker.html">WPGMZA\Marker</a></li>
|
|
|
|
|
69 |
<li><a href="class-WPGMZA.ModalDialog.html">WPGMZA\ModalDialog</a></li>
|
70 |
<li><a href="class-WPGMZA.NominatimGeocodeCache.html">WPGMZA\NominatimGeocodeCache</a></li>
|
71 |
<li><a href="class-WPGMZA.OLLoader.html">WPGMZA\OLLoader</a></li>
|
72 |
<li><a href="class-WPGMZA.Plugin.html">WPGMZA\Plugin</a></li>
|
|
|
|
|
73 |
<li><a href="class-WPGMZA.RestAPI.html">WPGMZA\RestAPI</a></li>
|
74 |
<li><a href="class-WPGMZA.ScriptLoader.html">WPGMZA\ScriptLoader</a></li>
|
75 |
<li><a href="class-WPGMZA.Selector.AttributeSelector.html">WPGMZA\Selector\AttributeSelector</a></li>
|
@@ -81,6 +91,7 @@
|
|
81 |
<li><a href="class-WPGMZA.Selector.TokenStream.html">WPGMZA\Selector\TokenStream</a></li>
|
82 |
<li><a href="class-WPGMZA.Selector.XPathConverter.html">WPGMZA\Selector\XPathConverter</a></li>
|
83 |
<li><a href="class-WPGMZA.Strings.html">WPGMZA\Strings</a></li>
|
|
|
84 |
</ul>
|
85 |
|
86 |
|
@@ -95,7 +106,6 @@
|
|
95 |
<h3>Functions</h3>
|
96 |
<ul>
|
97 |
<li><a href="function-WPGMZA.create_marker_instance_delegate.html">WPGMZA\create_marker_instance_delegate</a></li>
|
98 |
-
<li><a href="function-WPGMZA.create_plugin_instance.html" class="deprecated">WPGMZA\create_plugin_instance</a></li>
|
99 |
<li><a href="function-WPGMZA.query_nominatim_cache.html" class="deprecated">WPGMZA\query_nominatim_cache</a></li>
|
100 |
<li><a href="function-WPGMZA.Selector.trace.html">WPGMZA\Selector\trace</a></li>
|
101 |
<li><a href="function-WPGMZA.store_nominatim_cache.html" class="deprecated">WPGMZA\store_nominatim_cache</a></li>
|
@@ -190,7 +200,7 @@
|
|
190 |
</div>
|
191 |
</div>
|
192 |
</div>
|
193 |
-
<script src="resources/combined.js?
|
194 |
-
<script src="elementlist.js?
|
195 |
</body>
|
196 |
</html>
|
50 |
<div id="elements">
|
51 |
<h3>Classes</h3>
|
52 |
<ul>
|
53 |
+
<li><a href="class-WPGMZA.AdminMarkerDataTable.html">WPGMZA\AdminMarkerDataTable</a></li>
|
54 |
+
<li><a href="class-WPGMZA.AjaxTable.html">WPGMZA\AjaxTable</a></li>
|
55 |
<li><a href="class-WPGMZA.AutoLoader.html">WPGMZA\AutoLoader</a></li>
|
56 |
<li><a href="class-WPGMZA.Crud.html">WPGMZA\Crud</a></li>
|
57 |
+
<li><a href="class-WPGMZA.Database.html">WPGMZA\Database</a></li>
|
58 |
+
<li><a href="class-WPGMZA.DataTable.html">WPGMZA\DataTable</a></li>
|
59 |
+
<li><a href="class-WPGMZA.Distance.html">WPGMZA\Distance</a></li>
|
60 |
<li><a href="class-WPGMZA.DOMDocument.html">WPGMZA\DOMDocument</a></li>
|
61 |
<li><a href="class-WPGMZA.DOMElement.html">WPGMZA\DOMElement</a></li>
|
62 |
<li><a href="class-WPGMZA.Factory.html">WPGMZA\Factory</a></li>
|
63 |
<li><a href="class-WPGMZA.GDPRCompliance.html">WPGMZA\GDPRCompliance</a></li>
|
64 |
+
<li><a href="class-WPGMZA.GlobalSettings.html">WPGMZA\GlobalSettings</a></li>
|
65 |
<li><a href="class-WPGMZA.GoogleGeocoder.html">WPGMZA\GoogleGeocoder</a></li>
|
66 |
<li><a href="class-WPGMZA.GoogleMap.html">WPGMZA\GoogleMap</a></li>
|
67 |
<li><a href="class-WPGMZA.GoogleMapsAPILoader.html" class="deprecated">WPGMZA\GoogleMapsAPILoader</a></li>
|
72 |
<li><a href="class-WPGMZA.Map.html">WPGMZA\Map</a></li>
|
73 |
<li><a href="class-WPGMZA.MapsEngineDialog.html">WPGMZA\MapsEngineDialog</a></li>
|
74 |
<li><a href="class-WPGMZA.Marker.html">WPGMZA\Marker</a></li>
|
75 |
+
<li><a href="class-WPGMZA.MarkerDataTable.html">WPGMZA\MarkerDataTable</a></li>
|
76 |
+
<li><a href="class-WPGMZA.MarkerFilter.html">WPGMZA\MarkerFilter</a></li>
|
77 |
<li><a href="class-WPGMZA.ModalDialog.html">WPGMZA\ModalDialog</a></li>
|
78 |
<li><a href="class-WPGMZA.NominatimGeocodeCache.html">WPGMZA\NominatimGeocodeCache</a></li>
|
79 |
<li><a href="class-WPGMZA.OLLoader.html">WPGMZA\OLLoader</a></li>
|
80 |
<li><a href="class-WPGMZA.Plugin.html">WPGMZA\Plugin</a></li>
|
81 |
+
<li><a href="class-WPGMZA.Query.html">WPGMZA\Query</a></li>
|
82 |
+
<li><a href="class-WPGMZA.QueryFragment.html">WPGMZA\QueryFragment</a></li>
|
83 |
<li><a href="class-WPGMZA.RestAPI.html">WPGMZA\RestAPI</a></li>
|
84 |
<li><a href="class-WPGMZA.ScriptLoader.html">WPGMZA\ScriptLoader</a></li>
|
85 |
<li><a href="class-WPGMZA.Selector.AttributeSelector.html">WPGMZA\Selector\AttributeSelector</a></li>
|
91 |
<li><a href="class-WPGMZA.Selector.TokenStream.html">WPGMZA\Selector\TokenStream</a></li>
|
92 |
<li><a href="class-WPGMZA.Selector.XPathConverter.html">WPGMZA\Selector\XPathConverter</a></li>
|
93 |
<li><a href="class-WPGMZA.Strings.html">WPGMZA\Strings</a></li>
|
94 |
+
<li><a href="class-WPGMZA.Table.html">WPGMZA\Table</a></li>
|
95 |
</ul>
|
96 |
|
97 |
|
106 |
<h3>Functions</h3>
|
107 |
<ul>
|
108 |
<li><a href="function-WPGMZA.create_marker_instance_delegate.html">WPGMZA\create_marker_instance_delegate</a></li>
|
|
|
109 |
<li><a href="function-WPGMZA.query_nominatim_cache.html" class="deprecated">WPGMZA\query_nominatim_cache</a></li>
|
110 |
<li><a href="function-WPGMZA.Selector.trace.html">WPGMZA\Selector\trace</a></li>
|
111 |
<li><a href="function-WPGMZA.store_nominatim_cache.html" class="deprecated">WPGMZA\store_nominatim_cache</a></li>
|
200 |
</div>
|
201 |
</div>
|
202 |
</div>
|
203 |
+
<script src="resources/combined.js?bdf41a0492319853d610bde7b68b95e93d08fae3"></script>
|
204 |
+
<script src="elementlist.js?ce6e64dd6d2e258467153e0fbb3257ea07b69a7b"></script>
|
205 |
</body>
|
206 |
</html>
|
@@ -50,12 +50,18 @@
|
|
50 |
<div id="elements">
|
51 |
<h3>Classes</h3>
|
52 |
<ul>
|
|
|
|
|
53 |
<li><a href="class-WPGMZA.AutoLoader.html">WPGMZA\AutoLoader</a></li>
|
54 |
<li><a href="class-WPGMZA.Crud.html">WPGMZA\Crud</a></li>
|
|
|
|
|
|
|
55 |
<li><a href="class-WPGMZA.DOMDocument.html">WPGMZA\DOMDocument</a></li>
|
56 |
<li><a href="class-WPGMZA.DOMElement.html">WPGMZA\DOMElement</a></li>
|
57 |
<li><a href="class-WPGMZA.Factory.html">WPGMZA\Factory</a></li>
|
58 |
<li><a href="class-WPGMZA.GDPRCompliance.html">WPGMZA\GDPRCompliance</a></li>
|
|
|
59 |
<li><a href="class-WPGMZA.GoogleGeocoder.html">WPGMZA\GoogleGeocoder</a></li>
|
60 |
<li><a href="class-WPGMZA.GoogleMap.html">WPGMZA\GoogleMap</a></li>
|
61 |
<li><a href="class-WPGMZA.GoogleMapsAPILoader.html" class="deprecated">WPGMZA\GoogleMapsAPILoader</a></li>
|
@@ -66,10 +72,14 @@
|
|
66 |
<li><a href="class-WPGMZA.Map.html">WPGMZA\Map</a></li>
|
67 |
<li><a href="class-WPGMZA.MapsEngineDialog.html">WPGMZA\MapsEngineDialog</a></li>
|
68 |
<li><a href="class-WPGMZA.Marker.html">WPGMZA\Marker</a></li>
|
|
|
|
|
69 |
<li><a href="class-WPGMZA.ModalDialog.html">WPGMZA\ModalDialog</a></li>
|
70 |
<li><a href="class-WPGMZA.NominatimGeocodeCache.html">WPGMZA\NominatimGeocodeCache</a></li>
|
71 |
<li><a href="class-WPGMZA.OLLoader.html">WPGMZA\OLLoader</a></li>
|
72 |
<li><a href="class-WPGMZA.Plugin.html">WPGMZA\Plugin</a></li>
|
|
|
|
|
73 |
<li><a href="class-WPGMZA.RestAPI.html">WPGMZA\RestAPI</a></li>
|
74 |
<li><a href="class-WPGMZA.ScriptLoader.html">WPGMZA\ScriptLoader</a></li>
|
75 |
<li><a href="class-WPGMZA.Selector.AttributeSelector.html">WPGMZA\Selector\AttributeSelector</a></li>
|
@@ -81,6 +91,7 @@
|
|
81 |
<li><a href="class-WPGMZA.Selector.TokenStream.html">WPGMZA\Selector\TokenStream</a></li>
|
82 |
<li><a href="class-WPGMZA.Selector.XPathConverter.html">WPGMZA\Selector\XPathConverter</a></li>
|
83 |
<li><a href="class-WPGMZA.Strings.html">WPGMZA\Strings</a></li>
|
|
|
84 |
</ul>
|
85 |
|
86 |
|
@@ -95,7 +106,6 @@
|
|
95 |
<h3>Functions</h3>
|
96 |
<ul>
|
97 |
<li><a href="function-WPGMZA.create_marker_instance_delegate.html">WPGMZA\create_marker_instance_delegate</a></li>
|
98 |
-
<li><a href="function-WPGMZA.create_plugin_instance.html" class="deprecated">WPGMZA\create_plugin_instance</a></li>
|
99 |
<li><a href="function-WPGMZA.query_nominatim_cache.html" class="deprecated">WPGMZA\query_nominatim_cache</a></li>
|
100 |
<li><a href="function-WPGMZA.Selector.trace.html">WPGMZA\Selector\trace</a></li>
|
101 |
<li><a href="function-WPGMZA.store_nominatim_cache.html" class="deprecated">WPGMZA\store_nominatim_cache</a></li>
|
@@ -136,7 +146,7 @@
|
|
136 |
</ul>
|
137 |
</div>
|
138 |
|
139 |
-
<pre class="numbers"><code><span class="l"><a href="#1"> 1: </a></span><span class="l"><a href="#2"> 2: </a></span><span class="l"><a href="#3"> 3: </a></span><span class="l"><a href="#4"> 4: </a></span><span class="l"><a href="#5"> 5: </a></span></span><span class="l"><a href="#6"> 6: </a></span></span><span class="l"><a href="#7"> 7: </a></span></span><span class="l"><a href="#8"> 8: </a></span><span class="l"><a href="#9"> 9: </a></span><span class="l"><a href="#10"> 10: </a></span><span class="l"><a href="#11"> 11: </a></span><span class="l"><a href="#12"> 12: </a></span><span class="l"><a href="#13"> 13: </a></span><span class="l"><a href="#14"> 14: </a></span><span class="l"><a href="#15"> 15: </a></span><span class="l"><a href="#16"> 16: </a></span><span class="l"><a href="#17"> 17: </a></span><span class="l"><a href="#18"> 18: </a></span><span class="l"><a href="#19"> 19: </a></span><span class="l"><a href="#20"> 20: </a></span><span class="l"><a href="#21"> 21: </a></span><span class="l"><a href="#22"> 22: </a></span><span class="l"><a href="#23"> 23: </a></span><span class="l"><a href="#24"> 24: </a></span><span class="l"><a href="#25"> 25: </a></span><span class="l"><a href="#26"> 26: </a></span><span class="l"><a href="#27"> 27: </a></span><span class="l"><a href="#28"> 28: </a></span><span class="l"><a href="#29"> 29: </a></span><span class="l"><a href="#30"> 30: </a></span><span class="l"><a href="#31"> 31: </a></span><span class="l"><a href="#32"> 32: </a></span><span class="l"><a href="#33"> 33: </a></span></span><span class="l"><a href="#34"> 34: </a></span></span><span class="l"><a href="#35"> 35: </a></span></span><span class="l"><a href="#36"> 36: </a></span><span class="l"><a href="#37"> 37: </a></span><span class="l"><a href="#38"> 38: </a></span><span class="l"><a href="#39"> 39: </a></span><span class="l"><a href="#40"> 40: </a></span><span class="l"><a href="#41"> 41: </a></span><span class="l"><a href="#42"> 42: </a></span></span><span class="l"><a href="#43"> 43: </a></span></span><span class="l"><a href="#44"> 44: </a></span></span><span class="l"><a href="#45"> 45: </a></span></span><span class="l"><a href="#46"> 46: </a></span></span><span class="l"><a href="#47"> 47: </a></span></span><span class="l"><a href="#48"> 48: </a></span></span><span class="l"><a href="#49"> 49: </a></span></span><span class="l"><a href="#50"> 50: </a></span></span><span class="l"><a href="#51"> 51: </a></span></span><span class="l"><a href="#52"> 52: </a></span></span><span class="l"><a href="#53"> 53: </a></span></span><span class="l"><a href="#54"> 54: </a></span></span><span class="l"><a href="#55"> 55: </a></span></span><span class="l"><a href="#56"> 56: </a></span></span><span class="l"><a href="#57"> 57: </a></span></span><span class="l"><a href="#58"> 58: </a></span></span><span class="l"><a href="#59"> 59: </a></span></span><span class="l"><a href="#60"> 60: </a></span><span class="l"><a href="#61"> 61: </a></span><span class="l"><a href="#62"> 62: </a></span><span class="l"><a href="#63"> 63: </a></span><span class="l"><a href="#64"> 64: </a></span><span class="l"><a href="#65"> 65: </a></span><span class="l"><a href="#66"> 66: </a></span><span class="l"><a href="#67"> 67: </a></span></span><span class="l"><a href="#68"> 68: </a></span></span><span class="l"><a href="#69"> 69: </a></span></span><span class="l"><a href="#70"> 70: </a></span><span class="l"><a href="#71"> 71: </a></span><span class="l"><a href="#72"> 72: </a></span><span class="l"><a href="#73"> 73: </a></span><span class="l"><a href="#74"> 74: </a></span><span class="l"><a href="#75"> 75: </a></span><span class="l"><a href="#76"> 76: </a></span></span><span class="l"><a href="#77"> 77: </a></span></span><span class="l"><a href="#78"> 78: </a></span></span><span class="l"><a href="#79"> 79: </a></span><span class="l"><a href="#80"> 80: </a></span><span class="l"><a href="#81"> 81: </a></span><span class="l"><a href="#82"> 82: </a></span><span class="l"><a href="#83"> 83: </a></span><span class="l"><a href="#84"> 84: </a></span><span class="l"><a href="#85"> 85: </a></span><span class="l"><a href="#86"> 86: </a></span><span class="l"><a href="#87"> 87: </a></span><span class="l"><a href="#88"> 88: </a></span><span class="l"><a href="#89"> 89: </a></span><span class="l"><a href="#90"> 90: </a></span><span class="l"><a href="#91"> 91: </a></span><span class="l"><a href="#92"> 92: </a></span><span class="l"><a href="#93"> 93: </a></span><span class="l"><a href="#94"> 94: </a></span></span><span class="l"><a href="#95"> 95: </a></span></span><span class="l"><a href="#96"> 96: </a></span></span><span class="l"><a href="#97"> 97: </a></span><span class="l"><a href="#98"> 98: </a></span><span class="l"><a href="#99"> 99: </a></span><span class="l"><a href="#100">100: </a></span><span class="l"><a href="#101">101: </a></span><span class="l"><a href="#102">102: </a></span><span class="l"><a href="#103">103: </a></span><span class="l"><a href="#104">104: </a></span><span class="l"><a href="#105">105: </a></span><span class="l"><a href="#106">106: </a></span><span class="l"><a href="#107">107: </a></span><span class="l"><a href="#108">108: </a></span><span class="l"><a href="#109">109: </a></span><span class="l"><a href="#110">110: </a></span><span class="l"><a href="#111">111: </a></span><span class="l"><a href="#112">112: </a></span><span class="l"><a href="#113">113: </a></span><span class="l"><a href="#114">114: </a></span><span class="l"><a href="#115">115: </a></span><span class="l"><a href="#116">116: </a></span><span class="l"><a href="#117">117: </a></span></span><span class="l"><a href="#118">118: </a></span></span><span class="l"><a href="#119">119: </a></span></span><span class="l"><a href="#120">120: </a></span></span><span class="l"><a href="#121">121: </a></span><span class="l"><a href="#122">122: </a></span><span class="l"><a href="#123">123: </a></span><span class="l"><a href="#124">124: </a></span><span class="l"><a href="#125">125: </a></span><span class="l"><a href="#126">126: </a></span><span class="l"><a href="#127">127: </a></span><span class="l"><a href="#128">128: </a></span><span class="l"><a href="#129">129: </a></span><span class="l"><a href="#130">130: </a></span><span class="l"><a href="#131">131: </a></span><span class="l"><a href="#132">132: </a></span><span class="l"><a href="#133">133: </a></span><span class="l"><a href="#134">134: </a></span><span class="l"><a href="#135">135: </a></span><span class="l"><a href="#136">136: </a></span><span class="l"><a href="#137">137: </a></span><span class="l"><a href="#138">138: </a></span><span class="l"><a href="#139">139: </a></span><span class="l"><a href="#140">140: </a></span><span class="l"><a href="#141">141: </a></span><span class="l"><a href="#142">142: </a></span><span class="l"><a href="#143">143: </a></span><span class="l"><a href="#144">144: </a></span><span class="l"><a href="#145">145: </a></span><span class="l"><a href="#146">146: </a></span><span class="l"><a href="#147">147: </a></span><span class="l"><a href="#148">148: </a></span><span class="l"><a href="#149">149: </a></span><span class="l"><a href="#150">150: </a></span><span class="l"><a href="#151">151: </a></span></span><span class="l"><a href="#152">152: </a></span></span><span class="l"><a href="#153">153: </a></span></span><span class="l"><a href="#154">154: </a></span><span class="l"><a href="#155">155: </a></span><span class="l"><a href="#156">156: </a></span><span class="l"><a href="#157">157: </a></span><span class="l"><a href="#158">158: </a></span><span class="l"><a href="#159">159: </a></span><span class="l"><a href="#160">160: </a></span><span class="l"><a href="#161">161: </a></span><span class="l"><a href="#162">162: </a></span></span><span class="l"><a href="#163">163: </a></span></span><span class="l"><a href="#164">164: </a></span></span><span class="l"><a href="#165">165: </a></span></span><span class="l"><a href="#166">166: </a></span><span class="l"><a href="#167">167: </a></span><span class="l"><a href="#168">168: </a></span><span class="l"><a href="#169">169: </a></span></span><span class="l"><a href="#170">170: </a></span></span><span class="l"><a href="#171">171: </a></span></span><span class="l"><a href="#172">172: </a></span><span class="l"><a href="#173">173: </a></span><span class="l"><a href="#174">174: </a></span><span class="l"><a href="#175">175: </a></span><span class="l"><a href="#176">176: </a></span><span class="l"><a href="#177">177: </a></span><span class="l"><a href="#178">178: </a></span></span><span class="l"><a href="#179">179: </a></span></span><span class="l"><a href="#180">180: </a></span></span><span class="l"><a href="#181">181: </a></span></span><span class="l"><a href="#182">182: </a></span><span class="l"><a href="#183">183: </a></span><span class="l"><a href="#184">184: </a></span><span class="l"><a href="#185">185: </a></span><span class="l"><a href="#186">186: </a></span><span class="l"><a href="#187">187: </a></span><span class="l"><a href="#188">188: </a></span></span><span class="l"><a href="#189">189: </a></span></span><span class="l"><a href="#190">190: </a></span></span><span class="l"><a href="#191">191: </a></span></span><span class="l"><a href="#192">192: </a></span><span class="l"><a href="#193">193: </a></span><span class="l"><a href="#194">194: </a></span><span class="l"><a href="#195">195: </a></span><span class="l"><a href="#196">196: </a></span><span class="l"><a href="#197">197: </a></span><span class="l"><a href="#198">198: </a></span><span class="l"><a href="#199">199: </a></span></span><span class="l"><a href="#200">200: </a></span></span><span class="l"><a href="#201">201: </a></span></span><span class="l"><a href="#202">202: </a></span><span class="l"><a href="#203">203: </a></span><span class="l"><a href="#204">204: </a></span><span class="l"><a href="#205">205: </a></span><span class="l"><a href="#206">206: </a></span><span class="l"><a href="#207">207: </a></span><span class="l"><a href="#208">208: </a></span><span class="l"><a href="#209">209: </a></span><span class="l"><a href="#210">210: </a></span><span class="l"><a href="#211">211: </a></span><span class="l"><a href="#212">212: </a></span><span class="l"><a href="#213">213: </a></span><span class="l"><a href="#214">214: </a></span><span class="l"><a href="#215">215: </a></span><span class="l"><a href="#216">216: </a></span><span class="l"><a href="#217">217: </a></span><span class="l"><a href="#218">218: </a></span><span class="l"><a href="#219">219: </a></span><span class="l"><a href="#220">220: </a></span><span class="l"><a href="#221">221: </a></span><span class="l"><a href="#222">222: </a></span><span class="l"><a href="#223">223: </a></span><span class="l"><a href="#224">224: </a></span><span class="l"><a href="#225">225: </a></span><span class="l"><a href="#226">226: </a></span><span class="l"><a href="#227">227: </a></span><span class="l"><a href="#228">228: </a></span><span class="l"><a href="#229">229: </a></span><span class="l"><a href="#230">230: </a></span><span class="l"><a href="#231">231: </a></span><span class="l"><a href="#232">232: </a></span><span class="l"><a href="#233">233: </a></span><span class="l"><a href="#234">234: </a></span><span class="l"><a href="#235">235: </a></span><span class="l"><a href="#236">236: </a></span><span class="l"><a href="#237">237: </a></span><span class="l"><a href="#238">238: </a></span><span class="l"><a href="#239">239: </a></span><span class="l"><a href="#240">240: </a></span><span class="l"><a href="#241">241: </a></span><span class="l"><a href="#242">242: </a></span><span class="l"><a href="#243">243: </a></span></code></pre>
|
140 |
<pre class="code"><code><span id="1" class="l"><span class="xlang"><?php</span>
|
141 |
</span><span id="2" class="l">
|
142 |
</span><span id="3" class="l"><span class="php-keyword1">namespace</span> WPGMZA;
|
@@ -295,98 +305,101 @@
|
|
295 |
</span><span id="156" class="l"> {
|
296 |
</span><span id="157" class="l"> <span class="php-keyword1">global</span> <span class="php-var">$wpgmza</span>;
|
297 |
</span><span id="158" class="l">
|
298 |
-
</span><span id="159" class="l"> <span class="php-
|
299 |
-
</span><span id="160" class="l">
|
300 |
</span><span id="161" class="l">
|
301 |
-
</span><span id="162" class="l"> <span class="php-keyword1">
|
302 |
-
</span
|
303 |
-
</span
|
304 |
-
</span
|
305 |
-
</span></span><span id="166" class="l"><span class="php-quote"> &
|
306 |
-
</span><span id="167" class="l">
|
307 |
-
</span><span id="168" class="l">
|
308 |
-
</span><span id="169" class="l"
|
309 |
-
</span
|
310 |
-
</span
|
311 |
-
</span
|
312 |
-
</span><span id="173" class="l"
|
313 |
-
</span><span id="174" class="l">
|
314 |
-
</span><span id="175" class="l"
|
315 |
-
</span><span id="176" class="l">
|
316 |
-
</span><span id="177" class="l">
|
317 |
-
</span><span id="178" class="l">
|
318 |
-
</span
|
319 |
-
</span
|
320 |
-
</span
|
321 |
-
</span></span><span id="182" class="l"><span class="php-comment">
|
322 |
-
</span><span id="183" class="l"
|
323 |
-
</span><span id="184" class="l">
|
324 |
-
</span><span id="185" class="l"
|
325 |
-
</span><span id="186" class="l">
|
326 |
-
</span><span id="187" class="l">
|
327 |
-
</span><span id="188" class="l">
|
328 |
-
</span
|
329 |
-
</span
|
330 |
-
</span
|
331 |
-
</span></span><span id="192" class="l"><span class="php-comment">
|
332 |
-
</span><span id="193" class="l"
|
333 |
-
</span><span id="194" class="l">
|
334 |
-
</span><span id="195" class="l"
|
335 |
-
</span><span id="196" class="l">
|
336 |
-
</span><span id="197" class="l">
|
337 |
-
</span><span id="198" class="l">
|
338 |
-
</span><span id="199" class="l">
|
339 |
-
</span
|
340 |
-
</span
|
341 |
-
</span
|
342 |
-
</span><span id="203" class="l"
|
343 |
-
</span><span id="204" class="l">
|
344 |
-
</span><span id="205" class="l"
|
345 |
-
</span><span id="206" class="l">
|
346 |
-
</span><span id="207" class="l">
|
347 |
-
</span><span id="208" class="l"> <span class="php-var">$
|
348 |
-
</span><span id="209" class="l"> <span class="php-
|
349 |
-
</span><span id="210" class="l">
|
350 |
-
</span><span id="211" class="l">
|
351 |
-
</span><span id="212" class="l"> <span class="php-keyword1">
|
352 |
-
</span><span id="213" class="l">
|
353 |
-
</span><span id="214" class="l">
|
354 |
-
</span><span id="215" class="l">
|
355 |
-
</span><span id="216" class="l">
|
356 |
-
</span><span id="217" class="l">
|
357 |
</span><span id="218" class="l">
|
358 |
-
</span><span id="219" class="l"> <span class="php-keyword1">
|
359 |
-
</span><span id="220" class="l">
|
360 |
-
</span><span id="221" class="l">
|
361 |
-
</span><span id="222" class="l">
|
362 |
-
</span><span id="223" class="l">
|
363 |
-
</span><span id="224" class="l">
|
364 |
-
</span><span id="225" class="l">
|
365 |
-
</span><span id="226" class="l">
|
366 |
-
</span><span id="227" class="l">
|
367 |
-
</span><span id="228" class="l">
|
368 |
-
</span><span id="229" class="l">
|
369 |
-
</span><span id="230" class="l">
|
370 |
-
</span><span id="231" class="l">
|
371 |
-
</span><span id="232" class="l">
|
372 |
-
</span><span id="233" class="l"> <span class="php-
|
373 |
-
</span><span id="234" class="l">
|
374 |
-
</span><span id="235" class="l">
|
375 |
-
</span><span id="236" class="l">
|
376 |
-
</span><span id="237" class="l">
|
377 |
-
</span><span id="238" class="l">
|
378 |
-
</span><span id="239" class="l">
|
379 |
-
</span><span id="240" class="l">
|
380 |
-
</span><span id="241" class="l">
|
381 |
-
</span><span id="242" class="l"
|
382 |
-
</span><span id="243" class="l"
|
|
|
|
|
|
|
383 |
|
384 |
<div id="footer">
|
385 |
API documentation generated by <a href="http://apigen.org">ApiGen</a>
|
386 |
</div>
|
387 |
</div>
|
388 |
</div>
|
389 |
-
<script src="resources/combined.js?
|
390 |
-
<script src="elementlist.js?
|
391 |
</body>
|
392 |
</html>
|
50 |
<div id="elements">
|
51 |
<h3>Classes</h3>
|
52 |
<ul>
|
53 |
+
<li><a href="class-WPGMZA.AdminMarkerDataTable.html">WPGMZA\AdminMarkerDataTable</a></li>
|
54 |
+
<li><a href="class-WPGMZA.AjaxTable.html">WPGMZA\AjaxTable</a></li>
|
55 |
<li><a href="class-WPGMZA.AutoLoader.html">WPGMZA\AutoLoader</a></li>
|
56 |
<li><a href="class-WPGMZA.Crud.html">WPGMZA\Crud</a></li>
|
57 |
+
<li><a href="class-WPGMZA.Database.html">WPGMZA\Database</a></li>
|
58 |
+
<li><a href="class-WPGMZA.DataTable.html">WPGMZA\DataTable</a></li>
|
59 |
+
<li><a href="class-WPGMZA.Distance.html">WPGMZA\Distance</a></li>
|
60 |
<li><a href="class-WPGMZA.DOMDocument.html">WPGMZA\DOMDocument</a></li>
|
61 |
<li><a href="class-WPGMZA.DOMElement.html">WPGMZA\DOMElement</a></li>
|
62 |
<li><a href="class-WPGMZA.Factory.html">WPGMZA\Factory</a></li>
|
63 |
<li><a href="class-WPGMZA.GDPRCompliance.html">WPGMZA\GDPRCompliance</a></li>
|
64 |
+
<li><a href="class-WPGMZA.GlobalSettings.html">WPGMZA\GlobalSettings</a></li>
|
65 |
<li><a href="class-WPGMZA.GoogleGeocoder.html">WPGMZA\GoogleGeocoder</a></li>
|
66 |
<li><a href="class-WPGMZA.GoogleMap.html">WPGMZA\GoogleMap</a></li>
|
67 |
<li><a href="class-WPGMZA.GoogleMapsAPILoader.html" class="deprecated">WPGMZA\GoogleMapsAPILoader</a></li>
|
72 |
<li><a href="class-WPGMZA.Map.html">WPGMZA\Map</a></li>
|
73 |
<li><a href="class-WPGMZA.MapsEngineDialog.html">WPGMZA\MapsEngineDialog</a></li>
|
74 |
<li><a href="class-WPGMZA.Marker.html">WPGMZA\Marker</a></li>
|
75 |
+
<li><a href="class-WPGMZA.MarkerDataTable.html">WPGMZA\MarkerDataTable</a></li>
|
76 |
+
<li><a href="class-WPGMZA.MarkerFilter.html">WPGMZA\MarkerFilter</a></li>
|
77 |
<li><a href="class-WPGMZA.ModalDialog.html">WPGMZA\ModalDialog</a></li>
|
78 |
<li><a href="class-WPGMZA.NominatimGeocodeCache.html">WPGMZA\NominatimGeocodeCache</a></li>
|
79 |
<li><a href="class-WPGMZA.OLLoader.html">WPGMZA\OLLoader</a></li>
|
80 |
<li><a href="class-WPGMZA.Plugin.html">WPGMZA\Plugin</a></li>
|
81 |
+
<li><a href="class-WPGMZA.Query.html">WPGMZA\Query</a></li>
|
82 |
+
<li><a href="class-WPGMZA.QueryFragment.html">WPGMZA\QueryFragment</a></li>
|
83 |
<li><a href="class-WPGMZA.RestAPI.html">WPGMZA\RestAPI</a></li>
|
84 |
<li><a href="class-WPGMZA.ScriptLoader.html">WPGMZA\ScriptLoader</a></li>
|
85 |
<li><a href="class-WPGMZA.Selector.AttributeSelector.html">WPGMZA\Selector\AttributeSelector</a></li>
|
91 |
<li><a href="class-WPGMZA.Selector.TokenStream.html">WPGMZA\Selector\TokenStream</a></li>
|
92 |
<li><a href="class-WPGMZA.Selector.XPathConverter.html">WPGMZA\Selector\XPathConverter</a></li>
|
93 |
<li><a href="class-WPGMZA.Strings.html">WPGMZA\Strings</a></li>
|
94 |
+
<li><a href="class-WPGMZA.Table.html">WPGMZA\Table</a></li>
|
95 |
</ul>
|
96 |
|
97 |
|
106 |
<h3>Functions</h3>
|
107 |
<ul>
|
108 |
<li><a href="function-WPGMZA.create_marker_instance_delegate.html">WPGMZA\create_marker_instance_delegate</a></li>
|
|
|
109 |
<li><a href="function-WPGMZA.query_nominatim_cache.html" class="deprecated">WPGMZA\query_nominatim_cache</a></li>
|
110 |
<li><a href="function-WPGMZA.Selector.trace.html">WPGMZA\Selector\trace</a></li>
|
111 |
<li><a href="function-WPGMZA.store_nominatim_cache.html" class="deprecated">WPGMZA\store_nominatim_cache</a></li>
|
146 |
</ul>
|
147 |
</div>
|
148 |
|
149 |
+
<pre class="numbers"><code><span class="l"><a href="#1"> 1: </a></span><span class="l"><a href="#2"> 2: </a></span><span class="l"><a href="#3"> 3: </a></span><span class="l"><a href="#4"> 4: </a></span><span class="l"><a href="#5"> 5: </a></span></span><span class="l"><a href="#6"> 6: </a></span></span><span class="l"><a href="#7"> 7: </a></span></span><span class="l"><a href="#8"> 8: </a></span><span class="l"><a href="#9"> 9: </a></span><span class="l"><a href="#10"> 10: </a></span><span class="l"><a href="#11"> 11: </a></span><span class="l"><a href="#12"> 12: </a></span><span class="l"><a href="#13"> 13: </a></span><span class="l"><a href="#14"> 14: </a></span><span class="l"><a href="#15"> 15: </a></span><span class="l"><a href="#16"> 16: </a></span><span class="l"><a href="#17"> 17: </a></span><span class="l"><a href="#18"> 18: </a></span><span class="l"><a href="#19"> 19: </a></span><span class="l"><a href="#20"> 20: </a></span><span class="l"><a href="#21"> 21: </a></span><span class="l"><a href="#22"> 22: </a></span><span class="l"><a href="#23"> 23: </a></span><span class="l"><a href="#24"> 24: </a></span><span class="l"><a href="#25"> 25: </a></span><span class="l"><a href="#26"> 26: </a></span><span class="l"><a href="#27"> 27: </a></span><span class="l"><a href="#28"> 28: </a></span><span class="l"><a href="#29"> 29: </a></span><span class="l"><a href="#30"> 30: </a></span><span class="l"><a href="#31"> 31: </a></span><span class="l"><a href="#32"> 32: </a></span><span class="l"><a href="#33"> 33: </a></span></span><span class="l"><a href="#34"> 34: </a></span></span><span class="l"><a href="#35"> 35: </a></span></span><span class="l"><a href="#36"> 36: </a></span><span class="l"><a href="#37"> 37: </a></span><span class="l"><a href="#38"> 38: </a></span><span class="l"><a href="#39"> 39: </a></span><span class="l"><a href="#40"> 40: </a></span><span class="l"><a href="#41"> 41: </a></span><span class="l"><a href="#42"> 42: </a></span></span><span class="l"><a href="#43"> 43: </a></span></span><span class="l"><a href="#44"> 44: </a></span></span><span class="l"><a href="#45"> 45: </a></span></span><span class="l"><a href="#46"> 46: </a></span></span><span class="l"><a href="#47"> 47: </a></span></span><span class="l"><a href="#48"> 48: </a></span></span><span class="l"><a href="#49"> 49: </a></span></span><span class="l"><a href="#50"> 50: </a></span></span><span class="l"><a href="#51"> 51: </a></span></span><span class="l"><a href="#52"> 52: </a></span></span><span class="l"><a href="#53"> 53: </a></span></span><span class="l"><a href="#54"> 54: </a></span></span><span class="l"><a href="#55"> 55: </a></span></span><span class="l"><a href="#56"> 56: </a></span></span><span class="l"><a href="#57"> 57: </a></span></span><span class="l"><a href="#58"> 58: </a></span></span><span class="l"><a href="#59"> 59: </a></span></span><span class="l"><a href="#60"> 60: </a></span><span class="l"><a href="#61"> 61: </a></span><span class="l"><a href="#62"> 62: </a></span><span class="l"><a href="#63"> 63: </a></span><span class="l"><a href="#64"> 64: </a></span><span class="l"><a href="#65"> 65: </a></span><span class="l"><a href="#66"> 66: </a></span><span class="l"><a href="#67"> 67: </a></span></span><span class="l"><a href="#68"> 68: </a></span></span><span class="l"><a href="#69"> 69: </a></span></span><span class="l"><a href="#70"> 70: </a></span><span class="l"><a href="#71"> 71: </a></span><span class="l"><a href="#72"> 72: </a></span><span class="l"><a href="#73"> 73: </a></span><span class="l"><a href="#74"> 74: </a></span><span class="l"><a href="#75"> 75: </a></span><span class="l"><a href="#76"> 76: </a></span></span><span class="l"><a href="#77"> 77: </a></span></span><span class="l"><a href="#78"> 78: </a></span></span><span class="l"><a href="#79"> 79: </a></span><span class="l"><a href="#80"> 80: </a></span><span class="l"><a href="#81"> 81: </a></span><span class="l"><a href="#82"> 82: </a></span><span class="l"><a href="#83"> 83: </a></span><span class="l"><a href="#84"> 84: </a></span><span class="l"><a href="#85"> 85: </a></span><span class="l"><a href="#86"> 86: </a></span><span class="l"><a href="#87"> 87: </a></span><span class="l"><a href="#88"> 88: </a></span><span class="l"><a href="#89"> 89: </a></span><span class="l"><a href="#90"> 90: </a></span><span class="l"><a href="#91"> 91: </a></span><span class="l"><a href="#92"> 92: </a></span><span class="l"><a href="#93"> 93: </a></span><span class="l"><a href="#94"> 94: </a></span></span><span class="l"><a href="#95"> 95: </a></span></span><span class="l"><a href="#96"> 96: </a></span></span><span class="l"><a href="#97"> 97: </a></span><span class="l"><a href="#98"> 98: </a></span><span class="l"><a href="#99"> 99: </a></span><span class="l"><a href="#100">100: </a></span><span class="l"><a href="#101">101: </a></span><span class="l"><a href="#102">102: </a></span><span class="l"><a href="#103">103: </a></span><span class="l"><a href="#104">104: </a></span><span class="l"><a href="#105">105: </a></span><span class="l"><a href="#106">106: </a></span><span class="l"><a href="#107">107: </a></span><span class="l"><a href="#108">108: </a></span><span class="l"><a href="#109">109: </a></span><span class="l"><a href="#110">110: </a></span><span class="l"><a href="#111">111: </a></span><span class="l"><a href="#112">112: </a></span><span class="l"><a href="#113">113: </a></span><span class="l"><a href="#114">114: </a></span><span class="l"><a href="#115">115: </a></span><span class="l"><a href="#116">116: </a></span><span class="l"><a href="#117">117: </a></span></span><span class="l"><a href="#118">118: </a></span></span><span class="l"><a href="#119">119: </a></span></span><span class="l"><a href="#120">120: </a></span></span><span class="l"><a href="#121">121: </a></span><span class="l"><a href="#122">122: </a></span><span class="l"><a href="#123">123: </a></span><span class="l"><a href="#124">124: </a></span><span class="l"><a href="#125">125: </a></span><span class="l"><a href="#126">126: </a></span><span class="l"><a href="#127">127: </a></span><span class="l"><a href="#128">128: </a></span><span class="l"><a href="#129">129: </a></span><span class="l"><a href="#130">130: </a></span><span class="l"><a href="#131">131: </a></span><span class="l"><a href="#132">132: </a></span><span class="l"><a href="#133">133: </a></span><span class="l"><a href="#134">134: </a></span><span class="l"><a href="#135">135: </a></span><span class="l"><a href="#136">136: </a></span><span class="l"><a href="#137">137: </a></span><span class="l"><a href="#138">138: </a></span><span class="l"><a href="#139">139: </a></span><span class="l"><a href="#140">140: </a></span><span class="l"><a href="#141">141: </a></span><span class="l"><a href="#142">142: </a></span><span class="l"><a href="#143">143: </a></span><span class="l"><a href="#144">144: </a></span><span class="l"><a href="#145">145: </a></span><span class="l"><a href="#146">146: </a></span><span class="l"><a href="#147">147: </a></span><span class="l"><a href="#148">148: </a></span><span class="l"><a href="#149">149: </a></span><span class="l"><a href="#150">150: </a></span><span class="l"><a href="#151">151: </a></span></span><span class="l"><a href="#152">152: </a></span></span><span class="l"><a href="#153">153: </a></span></span><span class="l"><a href="#154">154: </a></span><span class="l"><a href="#155">155: </a></span><span class="l"><a href="#156">156: </a></span><span class="l"><a href="#157">157: </a></span><span class="l"><a href="#158">158: </a></span><span class="l"><a href="#159">159: </a></span><span class="l"><a href="#160">160: </a></span><span class="l"><a href="#161">161: </a></span><span class="l"><a href="#162">162: </a></span><span class="l"><a href="#163">163: </a></span><span class="l"><a href="#164">164: </a></span><span class="l"><a href="#165">165: </a></span></span><span class="l"><a href="#166">166: </a></span></span><span class="l"><a href="#167">167: </a></span></span><span class="l"><a href="#168">168: </a></span></span><span class="l"><a href="#169">169: </a></span><span class="l"><a href="#170">170: </a></span><span class="l"><a href="#171">171: </a></span><span class="l"><a href="#172">172: </a></span></span><span class="l"><a href="#173">173: </a></span></span><span class="l"><a href="#174">174: </a></span></span><span class="l"><a href="#175">175: </a></span><span class="l"><a href="#176">176: </a></span><span class="l"><a href="#177">177: </a></span><span class="l"><a href="#178">178: </a></span><span class="l"><a href="#179">179: </a></span><span class="l"><a href="#180">180: </a></span><span class="l"><a href="#181">181: </a></span></span><span class="l"><a href="#182">182: </a></span></span><span class="l"><a href="#183">183: </a></span></span><span class="l"><a href="#184">184: </a></span></span><span class="l"><a href="#185">185: </a></span><span class="l"><a href="#186">186: </a></span><span class="l"><a href="#187">187: </a></span><span class="l"><a href="#188">188: </a></span><span class="l"><a href="#189">189: </a></span><span class="l"><a href="#190">190: </a></span><span class="l"><a href="#191">191: </a></span></span><span class="l"><a href="#192">192: </a></span></span><span class="l"><a href="#193">193: </a></span></span><span class="l"><a href="#194">194: </a></span></span><span class="l"><a href="#195">195: </a></span><span class="l"><a href="#196">196: </a></span><span class="l"><a href="#197">197: </a></span><span class="l"><a href="#198">198: </a></span><span class="l"><a href="#199">199: </a></span><span class="l"><a href="#200">200: </a></span><span class="l"><a href="#201">201: </a></span><span class="l"><a href="#202">202: </a></span></span><span class="l"><a href="#203">203: </a></span></span><span class="l"><a href="#204">204: </a></span></span><span class="l"><a href="#205">205: </a></span><span class="l"><a href="#206">206: </a></span><span class="l"><a href="#207">207: </a></span><span class="l"><a href="#208">208: </a></span><span class="l"><a href="#209">209: </a></span><span class="l"><a href="#210">210: </a></span><span class="l"><a href="#211">211: </a></span><span class="l"><a href="#212">212: </a></span><span class="l"><a href="#213">213: </a></span><span class="l"><a href="#214">214: </a></span><span class="l"><a href="#215">215: </a></span><span class="l"><a href="#216">216: </a></span><span class="l"><a href="#217">217: </a></span><span class="l"><a href="#218">218: </a></span><span class="l"><a href="#219">219: </a></span><span class="l"><a href="#220">220: </a></span><span class="l"><a href="#221">221: </a></span><span class="l"><a href="#222">222: </a></span><span class="l"><a href="#223">223: </a></span><span class="l"><a href="#224">224: </a></span><span class="l"><a href="#225">225: </a></span><span class="l"><a href="#226">226: </a></span><span class="l"><a href="#227">227: </a></span><span class="l"><a href="#228">228: </a></span><span class="l"><a href="#229">229: </a></span><span class="l"><a href="#230">230: </a></span><span class="l"><a href="#231">231: </a></span><span class="l"><a href="#232">232: </a></span><span class="l"><a href="#233">233: </a></span><span class="l"><a href="#234">234: </a></span><span class="l"><a href="#235">235: </a></span><span class="l"><a href="#236">236: </a></span><span class="l"><a href="#237">237: </a></span><span class="l"><a href="#238">238: </a></span><span class="l"><a href="#239">239: </a></span><span class="l"><a href="#240">240: </a></span><span class="l"><a href="#241">241: </a></span><span class="l"><a href="#242">242: </a></span><span class="l"><a href="#243">243: </a></span><span class="l"><a href="#244">244: </a></span><span class="l"><a href="#245">245: </a></span><span class="l"><a href="#246">246: </a></span></code></pre>
|
150 |
<pre class="code"><code><span id="1" class="l"><span class="xlang"><?php</span>
|
151 |
</span><span id="2" class="l">
|
152 |
</span><span id="3" class="l"><span class="php-keyword1">namespace</span> WPGMZA;
|
305 |
</span><span id="156" class="l"> {
|
306 |
</span><span id="157" class="l"> <span class="php-keyword1">global</span> <span class="php-var">$wpgmza</span>;
|
307 |
</span><span id="158" class="l">
|
308 |
+
</span><span id="159" class="l"> <span class="php-comment">// Dropped in 7.11.*</span>
|
309 |
+
</span><span id="160" class="l"> <span class="php-keyword1">return</span> <span class="php-quote">''</span>;
|
310 |
</span><span id="161" class="l">
|
311 |
+
</span><span id="162" class="l"> <span class="php-keyword1">if</span>(!<span class="php-keyword1">empty</span>(<span class="php-var">$wpgmza</span>->settings->privacy_policy_notice_dismissed))
|
312 |
+
</span><span id="163" class="l"> <span class="php-keyword1">return</span> <span class="php-quote">''</span>;
|
313 |
+
</span><span id="164" class="l">
|
314 |
+
</span><span id="165" class="l"> <span class="php-keyword1">return</span> <span class="php-quote">"
|
315 |
+
</span></span><span id="166" class="l"><span class="php-quote"> <div id='wpgmza-gdpr-privacy-policy-notice' class='notice notice-info is-dismissible'>
|
316 |
+
</span></span><span id="167" class="l"><span class="php-quote"> <p>"</span> . __(<span class="php-quote">'In light of recent EU GDPR regulation, we strongly recommend reviewing the <a target="_blank" href="https://www.wpgmaps.com/privacy-policy">WP Google Maps Privacy Policy</a>'</span>, <span class="php-quote">'wp-google-maps'</span>) . <span class="php-quote">"</p>
|
317 |
+
</span></span><span id="168" class="l"><span class="php-quote"> </div>
|
318 |
+
</span></span><span id="169" class="l"><span class="php-quote"> "</span>;
|
319 |
+
</span><span id="170" class="l"> }
|
320 |
+
</span><span id="171" class="l">
|
321 |
+
</span><span id="172" class="l"> <span class="php-comment">/**
|
322 |
+
</span></span><span id="173" class="l"><span class="php-comment"> * Gets the consent prompt HTML, including the consent button.
|
323 |
+
</span></span><span id="174" class="l"><span class="php-comment"> * @return string The prompt HTML.
|
324 |
+
</span></span><span id="175" class="l"><span class="php-comment"> */</span>
|
325 |
+
</span><span id="176" class="l"> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> getConsentPromptHTML()
|
326 |
+
</span><span id="177" class="l"> {
|
327 |
+
</span><span id="178" class="l"> <span class="php-keyword1">return</span> <span class="php-quote">'<div class="wpgmza-gdpr-compliance">'</span> . <span class="php-var">$this</span>->getNoticeHTML(<span class="php-keyword1">false</span>) . <span class="php-quote">"<p class='wpgmza-centered'><button class='wpgmza-api-consent'>"</span> . __(<span class="php-quote">'I agree'</span>, <span class="php-quote">'wp-google-maps'</span>) . <span class="php-quote">"</button></div></p>"</span>;
|
328 |
+
</span><span id="179" class="l"> }
|
329 |
+
</span><span id="180" class="l">
|
330 |
+
</span><span id="181" class="l"> <span class="php-comment">/**
|
331 |
+
</span></span><span id="182" class="l"><span class="php-comment"> * Callback for the wpgmza_global_settings_tabs filter. This adds the GDPR tab. Please note this is the tab itself, as opposed to the tab content.
|
332 |
+
</span></span><span id="183" class="l"><span class="php-comment"> * @param string $input The HTML string passed in by the filter.
|
333 |
+
</span></span><span id="184" class="l"><span class="php-comment"> * @return string The HTML for the tab.
|
334 |
+
</span></span><span id="185" class="l"><span class="php-comment"> */</span>
|
335 |
+
</span><span id="186" class="l"> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> onGlobalSettingsTabs(<span class="php-var">$input</span>)
|
336 |
+
</span><span id="187" class="l"> {
|
337 |
+
</span><span id="188" class="l"> <span class="php-keyword1">return</span> <span class="php-var">$input</span> . <span class="php-quote">"<li><a href=\"#wpgmza-gdpr-compliance\">"</span>.__(<span class="php-quote">"GDPR Compliance"</span>,<span class="php-quote">"wp-google-maps"</span>).<span class="php-quote">"</a></li>"</span>;
|
338 |
+
</span><span id="189" class="l"> }
|
339 |
+
</span><span id="190" class="l">
|
340 |
+
</span><span id="191" class="l"> <span class="php-comment">/**
|
341 |
+
</span></span><span id="192" class="l"><span class="php-comment"> * Callback for the wpgmza_global_settings_tab_content filter. This adds the GPDR tab content. Please note this is for the tab content, as opposed to the tab itself.
|
342 |
+
</span></span><span id="193" class="l"><span class="php-comment"> * @param string $input The HTML string passed in by the filter.
|
343 |
+
</span></span><span id="194" class="l"><span class="php-comment"> * @return string The HTML for the tab content.
|
344 |
+
</span></span><span id="195" class="l"><span class="php-comment"> */</span>
|
345 |
+
</span><span id="196" class="l"> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> onGlobalSettingsTabContent(<span class="php-var">$input</span>)
|
346 |
+
</span><span id="197" class="l"> {
|
347 |
+
</span><span id="198" class="l"> <span class="php-var">$document</span> = <span class="php-var">$this</span>->getSettingsTabContent();
|
348 |
+
</span><span id="199" class="l"> <span class="php-keyword1">return</span> <span class="php-var">$input</span> . <span class="php-var">$document</span>->saveInnerBody();
|
349 |
+
</span><span id="200" class="l"> }
|
350 |
+
</span><span id="201" class="l">
|
351 |
+
</span><span id="202" class="l"> <span class="php-comment">/**
|
352 |
+
</span></span><span id="203" class="l"><span class="php-comment"> * Handles POST data when the settings page saves.
|
353 |
+
</span></span><span id="204" class="l"><span class="php-comment"> * @return void
|
354 |
+
</span></span><span id="205" class="l"><span class="php-comment"> */</span>
|
355 |
+
</span><span id="206" class="l"> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> onPOST()
|
356 |
+
</span><span id="207" class="l"> {
|
357 |
+
</span><span id="208" class="l"> <span class="php-var">$document</span> = <span class="php-var">$this</span>->getSettingsTabContent();
|
358 |
+
</span><span id="209" class="l"> <span class="php-var">$document</span>->populate(<span class="php-var">$_POST</span>);
|
359 |
+
</span><span id="210" class="l">
|
360 |
+
</span><span id="211" class="l"> <span class="php-var">$wpgmza_other_settings</span> = get_option(<span class="php-quote">'WPGMZA_OTHER_SETTINGS'</span>);
|
361 |
+
</span><span id="212" class="l"> <span class="php-keyword1">if</span>(!<span class="php-var">$wpgmza_other_settings</span>)
|
362 |
+
</span><span id="213" class="l"> <span class="php-var">$wpgmza_other_settings</span> = <span class="php-keyword1">array</span>();
|
363 |
+
</span><span id="214" class="l">
|
364 |
+
</span><span id="215" class="l"> <span class="php-keyword1">foreach</span>(<span class="php-var">$document</span>->querySelectorAll(<span class="php-quote">'input, select, textarea'</span>) <span class="php-keyword1">as</span> <span class="php-var">$input</span>)
|
365 |
+
</span><span id="216" class="l"> {
|
366 |
+
</span><span id="217" class="l"> <span class="php-var">$name</span> = <span class="php-var">$input</span>->getAttribute(<span class="php-quote">'name'</span>);
|
367 |
</span><span id="218" class="l">
|
368 |
+
</span><span id="219" class="l"> <span class="php-keyword1">if</span>(!<span class="php-var">$name</span>)
|
369 |
+
</span><span id="220" class="l"> <span class="php-keyword1">continue</span>;
|
370 |
+
</span><span id="221" class="l">
|
371 |
+
</span><span id="222" class="l"> <span class="php-keyword1">switch</span>(<span class="php-var">$input</span>->getAttribute(<span class="php-quote">'type'</span>))
|
372 |
+
</span><span id="223" class="l"> {
|
373 |
+
</span><span id="224" class="l"> <span class="php-keyword1">case</span> <span class="php-quote">'checkbox'</span>:
|
374 |
+
</span><span id="225" class="l"> <span class="php-keyword1">if</span>(<span class="php-var">$input</span>->getValue())
|
375 |
+
</span><span id="226" class="l"> {
|
376 |
+
</span><span id="227" class="l"> <span class="php-var">$wpgmza_other_settings</span>[<span class="php-var">$name</span>] = <span class="php-num">1</span>;
|
377 |
+
</span><span id="228" class="l"> }
|
378 |
+
</span><span id="229" class="l"> <span class="php-keyword1">else</span>
|
379 |
+
</span><span id="230" class="l"> {
|
380 |
+
</span><span id="231" class="l"> <span class="php-keyword1">unset</span>(<span class="php-var">$wpgmza_other_settings</span>[<span class="php-var">$name</span>]);
|
381 |
+
</span><span id="232" class="l"> }
|
382 |
+
</span><span id="233" class="l"> <span class="php-keyword1">break</span>;
|
383 |
+
</span><span id="234" class="l">
|
384 |
+
</span><span id="235" class="l"> <span class="php-keyword1">default</span>:
|
385 |
+
</span><span id="236" class="l"> <span class="php-var">$wpgmza_other_settings</span>[<span class="php-var">$name</span>] = <span class="php-keyword2">stripslashes</span>( <span class="php-var">$input</span>->getValue() );
|
386 |
+
</span><span id="237" class="l"> <span class="php-keyword1">break</span>;
|
387 |
+
</span><span id="238" class="l"> }
|
388 |
+
</span><span id="239" class="l"> }
|
389 |
+
</span><span id="240" class="l">
|
390 |
+
</span><span id="241" class="l"> update_option(<span class="php-quote">'WPGMZA_OTHER_SETTINGS'</span>, <span class="php-var">$wpgmza_other_settings</span>);
|
391 |
+
</span><span id="242" class="l"> }
|
392 |
+
</span><span id="243" class="l">}
|
393 |
+
</span><span id="244" class="l">
|
394 |
+
</span><span id="245" class="l"><span class="php-var">$wpgmzaGDPRCompliance</span> = <span class="php-keyword1">new</span> GDPRCompliance();
|
395 |
+
</span><span id="246" class="l"></span></code></pre>
|
396 |
|
397 |
<div id="footer">
|
398 |
API documentation generated by <a href="http://apigen.org">ApiGen</a>
|
399 |
</div>
|
400 |
</div>
|
401 |
</div>
|
402 |
+
<script src="resources/combined.js?bdf41a0492319853d610bde7b68b95e93d08fae3"></script>
|
403 |
+
<script src="elementlist.js?ce6e64dd6d2e258467153e0fbb3257ea07b69a7b"></script>
|
404 |
</body>
|
405 |
</html>
|
@@ -0,0 +1,317 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<!DOCTYPE html>
|
2 |
+
<html>
|
3 |
+
<head>
|
4 |
+
<meta charset="utf-8">
|
5 |
+
<meta name="robots" content="noindex">
|
6 |
+
|
7 |
+
<title>File class.global-settings.php</title>
|
8 |
+
|
9 |
+
<link rel="stylesheet" href="resources/style.css?c2f33731c1948fbed7c333554678bfa68d4817da">
|
10 |
+
|
11 |
+
</head>
|
12 |
+
|
13 |
+
<body>
|
14 |
+
<div id="left">
|
15 |
+
<div id="menu">
|
16 |
+
<a href="index.html" title="Overview"><span>Overview</span></a>
|
17 |
+
|
18 |
+
|
19 |
+
<div id="groups">
|
20 |
+
<h3>Namespaces</h3>
|
21 |
+
<ul>
|
22 |
+
<li>
|
23 |
+
<a href="namespace-None.html">
|
24 |
+
None </a>
|
25 |
+
|
26 |
+
</li>
|
27 |
+
<li>
|
28 |
+
<a href="namespace-WPGMZA.html">
|
29 |
+
WPGMZA<span></span>
|
30 |
+
</a>
|
31 |
+
|
32 |
+
<ul>
|
33 |
+
<li>
|
34 |
+
<a href="namespace-WPGMZA.Integration.html">
|
35 |
+
Integration </a>
|
36 |
+
|
37 |
+
</li>
|
38 |
+
<li>
|
39 |
+
<a href="namespace-WPGMZA.Selector.html">
|
40 |
+
Selector </a>
|
41 |
+
|
42 |
+
</li>
|
43 |
+
</ul></li>
|
44 |
+
</ul>
|
45 |
+
</div>
|
46 |
+
|
47 |
+
<hr>
|
48 |
+
|
49 |
+
|
50 |
+
<div id="elements">
|
51 |
+
<h3>Classes</h3>
|
52 |
+
<ul>
|
53 |
+
<li><a href="class-WPGMZA.AdminMarkerDataTable.html">WPGMZA\AdminMarkerDataTable</a></li>
|
54 |
+
<li><a href="class-WPGMZA.AjaxTable.html">WPGMZA\AjaxTable</a></li>
|
55 |
+
<li><a href="class-WPGMZA.AutoLoader.html">WPGMZA\AutoLoader</a></li>
|
56 |
+
<li><a href="class-WPGMZA.Crud.html">WPGMZA\Crud</a></li>
|
57 |
+
<li><a href="class-WPGMZA.Database.html">WPGMZA\Database</a></li>
|
58 |
+
<li><a href="class-WPGMZA.DataTable.html">WPGMZA\DataTable</a></li>
|
59 |
+
<li><a href="class-WPGMZA.Distance.html">WPGMZA\Distance</a></li>
|
60 |
+
<li><a href="class-WPGMZA.DOMDocument.html">WPGMZA\DOMDocument</a></li>
|
61 |
+
<li><a href="class-WPGMZA.DOMElement.html">WPGMZA\DOMElement</a></li>
|
62 |
+
<li><a href="class-WPGMZA.Factory.html">WPGMZA\Factory</a></li>
|
63 |
+
<li><a href="class-WPGMZA.GDPRCompliance.html">WPGMZA\GDPRCompliance</a></li>
|
64 |
+
<li><a href="class-WPGMZA.GlobalSettings.html">WPGMZA\GlobalSettings</a></li>
|
65 |
+
<li><a href="class-WPGMZA.GoogleGeocoder.html">WPGMZA\GoogleGeocoder</a></li>
|
66 |
+
<li><a href="class-WPGMZA.GoogleMap.html">WPGMZA\GoogleMap</a></li>
|
67 |
+
<li><a href="class-WPGMZA.GoogleMapsAPILoader.html" class="deprecated">WPGMZA\GoogleMapsAPILoader</a></li>
|
68 |
+
<li><a href="class-WPGMZA.GoogleMapsLoader.html" class="deprecated">WPGMZA\GoogleMapsLoader</a></li>
|
69 |
+
<li><a href="class-WPGMZA.Integration.Gutenberg.html">WPGMZA\Integration\Gutenberg</a></li>
|
70 |
+
<li><a href="class-WPGMZA.Integration.WPMigrateDB.html">WPGMZA\Integration\WPMigrateDB</a></li>
|
71 |
+
<li><a href="class-WPGMZA.LatLng.html">WPGMZA\LatLng</a></li>
|
72 |
+
<li><a href="class-WPGMZA.Map.html">WPGMZA\Map</a></li>
|
73 |
+
<li><a href="class-WPGMZA.MapsEngineDialog.html">WPGMZA\MapsEngineDialog</a></li>
|
74 |
+
<li><a href="class-WPGMZA.Marker.html">WPGMZA\Marker</a></li>
|
75 |
+
<li><a href="class-WPGMZA.MarkerDataTable.html">WPGMZA\MarkerDataTable</a></li>
|
76 |
+
<li><a href="class-WPGMZA.MarkerFilter.html">WPGMZA\MarkerFilter</a></li>
|
77 |
+
<li><a href="class-WPGMZA.ModalDialog.html">WPGMZA\ModalDialog</a></li>
|
78 |
+
<li><a href="class-WPGMZA.NominatimGeocodeCache.html">WPGMZA\NominatimGeocodeCache</a></li>
|
79 |
+
<li><a href="class-WPGMZA.OLLoader.html">WPGMZA\OLLoader</a></li>
|
80 |
+
<li><a href="class-WPGMZA.Plugin.html">WPGMZA\Plugin</a></li>
|
81 |
+
<li><a href="class-WPGMZA.Query.html">WPGMZA\Query</a></li>
|
82 |
+
<li><a href="class-WPGMZA.QueryFragment.html">WPGMZA\QueryFragment</a></li>
|
83 |
+
<li><a href="class-WPGMZA.RestAPI.html">WPGMZA\RestAPI</a></li>
|
84 |
+
<li><a href="class-WPGMZA.ScriptLoader.html">WPGMZA\ScriptLoader</a></li>
|
85 |
+
<li><a href="class-WPGMZA.Selector.AttributeSelector.html">WPGMZA\Selector\AttributeSelector</a></li>
|
86 |
+
<li><a href="class-WPGMZA.Selector.Parser.html">WPGMZA\Selector\Parser</a></li>
|
87 |
+
<li><a href="class-WPGMZA.Selector.PseudoSelector.html">WPGMZA\Selector\PseudoSelector</a></li>
|
88 |
+
<li><a href="class-WPGMZA.Selector.Selector.html">WPGMZA\Selector\Selector</a></li>
|
89 |
+
<li><a href="class-WPGMZA.Selector.Token.html">WPGMZA\Selector\Token</a></li>
|
90 |
+
<li><a href="class-WPGMZA.Selector.Tokenizer.html">WPGMZA\Selector\Tokenizer</a></li>
|
91 |
+
<li><a href="class-WPGMZA.Selector.TokenStream.html">WPGMZA\Selector\TokenStream</a></li>
|
92 |
+
<li><a href="class-WPGMZA.Selector.XPathConverter.html">WPGMZA\Selector\XPathConverter</a></li>
|
93 |
+
<li><a href="class-WPGMZA.Strings.html">WPGMZA\Strings</a></li>
|
94 |
+
<li><a href="class-WPGMZA.Table.html">WPGMZA\Table</a></li>
|
95 |
+
</ul>
|
96 |
+
|
97 |
+
|
98 |
+
|
99 |
+
<h3>Exceptions</h3>
|
100 |
+
<ul>
|
101 |
+
<li><a href="class-WPGMZA.Selector.ConvertException.html">WPGMZA\Selector\ConvertException</a></li>
|
102 |
+
<li><a href="class-WPGMZA.Selector.ParseException.html">WPGMZA\Selector\ParseException</a></li>
|
103 |
+
</ul>
|
104 |
+
|
105 |
+
|
106 |
+
<h3>Functions</h3>
|
107 |
+
<ul>
|
108 |
+
<li><a href="function-WPGMZA.create_marker_instance_delegate.html">WPGMZA\create_marker_instance_delegate</a></li>
|
109 |
+
<li><a href="function-WPGMZA.query_nominatim_cache.html" class="deprecated">WPGMZA\query_nominatim_cache</a></li>
|
110 |
+
<li><a href="function-WPGMZA.Selector.trace.html">WPGMZA\Selector\trace</a></li>
|
111 |
+
<li><a href="function-WPGMZA.store_nominatim_cache.html" class="deprecated">WPGMZA\store_nominatim_cache</a></li>
|
112 |
+
<li><a href="function-wpgmza_backwards_compat_get_all_circle_data.html">wpgmza_backwards_compat_get_all_circle_data</a></li>
|
113 |
+
<li><a href="function-wpgmza_backwards_compat_get_all_rectangle_data.html">wpgmza_backwards_compat_get_all_rectangle_data</a></li>
|
114 |
+
<li><a href="function-wpgmza_check_admin_head_backwards_compat_v6.html">wpgmza_check_admin_head_backwards_compat_v6</a></li>
|
115 |
+
<li><a href="function-wpgmza_check_map_editor_backwards_compat_v6.html">wpgmza_check_map_editor_backwards_compat_v6</a></li>
|
116 |
+
<li><a href="function-wpgmza_check_pro_compat_required_v6.html">wpgmza_check_pro_compat_required_v6</a></li>
|
117 |
+
<li><a href="function-wpgmza_check_user_backwards_compat_v6.html">wpgmza_check_user_backwards_compat_v6</a></li>
|
118 |
+
</ul>
|
119 |
+
</div>
|
120 |
+
</div>
|
121 |
+
</div>
|
122 |
+
|
123 |
+
<div id="splitter"></div>
|
124 |
+
|
125 |
+
<div id="right">
|
126 |
+
<div id="rightInner">
|
127 |
+
<form id="search">
|
128 |
+
<input type="hidden" name="cx" value="">
|
129 |
+
<input type="hidden" name="ie" value="UTF-8">
|
130 |
+
<input type="text" name="q" class="text" placeholder="Search">
|
131 |
+
</form>
|
132 |
+
|
133 |
+
<div id="navigation">
|
134 |
+
<ul>
|
135 |
+
<li>
|
136 |
+
<a href="index.html" title="Overview"><span>Overview</span></a>
|
137 |
+
</li>
|
138 |
+
<li>
|
139 |
+
<span>Namespace</span> </li>
|
140 |
+
<li>
|
141 |
+
<span>Class</span> </li>
|
142 |
+
</ul>
|
143 |
+
<ul>
|
144 |
+
</ul>
|
145 |
+
<ul>
|
146 |
+
</ul>
|
147 |
+
</div>
|
148 |
+
|
149 |
+
<pre class="numbers"><code><span class="l"><a href="#1"> 1: </a></span><span class="l"><a href="#2"> 2: </a></span><span class="l"><a href="#3"> 3: </a></span><span class="l"><a href="#4"> 4: </a></span><span class="l"><a href="#5"> 5: </a></span><span class="l"><a href="#6"> 6: </a></span><span class="l"><a href="#7"> 7: </a></span><span class="l"><a href="#8"> 8: </a></span><span class="l"><a href="#9"> 9: </a></span><span class="l"><a href="#10"> 10: </a></span><span class="l"><a href="#11"> 11: </a></span><span class="l"><a href="#12"> 12: </a></span><span class="l"><a href="#13"> 13: </a></span><span class="l"><a href="#14"> 14: </a></span><span class="l"><a href="#15"> 15: </a></span><span class="l"><a href="#16"> 16: </a></span><span class="l"><a href="#17"> 17: </a></span><span class="l"><a href="#18"> 18: </a></span><span class="l"><a href="#19"> 19: </a></span><span class="l"><a href="#20"> 20: </a></span><span class="l"><a href="#21"> 21: </a></span><span class="l"><a href="#22"> 22: </a></span><span class="l"><a href="#23"> 23: </a></span><span class="l"><a href="#24"> 24: </a></span><span class="l"><a href="#25"> 25: </a></span><span class="l"><a href="#26"> 26: </a></span><span class="l"><a href="#27"> 27: </a></span><span class="l"><a href="#28"> 28: </a></span><span class="l"><a href="#29"> 29: </a></span><span class="l"><a href="#30"> 30: </a></span><span class="l"><a href="#31"> 31: </a></span><span class="l"><a href="#32"> 32: </a></span><span class="l"><a href="#33"> 33: </a></span><span class="l"><a href="#34"> 34: </a></span><span class="l"><a href="#35"> 35: </a></span><span class="l"><a href="#36"> 36: </a></span><span class="l"><a href="#37"> 37: </a></span><span class="l"><a href="#38"> 38: </a></span><span class="l"><a href="#39"> 39: </a></span><span class="l"><a href="#40"> 40: </a></span><span class="l"><a href="#41"> 41: </a></span><span class="l"><a href="#42"> 42: </a></span><span class="l"><a href="#43"> 43: </a></span><span class="l"><a href="#44"> 44: </a></span><span class="l"><a href="#45"> 45: </a></span><span class="l"><a href="#46"> 46: </a></span><span class="l"><a href="#47"> 47: </a></span><span class="l"><a href="#48"> 48: </a></span><span class="l"><a href="#49"> 49: </a></span><span class="l"><a href="#50"> 50: </a></span><span class="l"><a href="#51"> 51: </a></span><span class="l"><a href="#52"> 52: </a></span><span class="l"><a href="#53"> 53: </a></span><span class="l"><a href="#54"> 54: </a></span><span class="l"><a href="#55"> 55: </a></span><span class="l"><a href="#56"> 56: </a></span><span class="l"><a href="#57"> 57: </a></span><span class="l"><a href="#58"> 58: </a></span><span class="l"><a href="#59"> 59: </a></span><span class="l"><a href="#60"> 60: </a></span><span class="l"><a href="#61"> 61: </a></span><span class="l"><a href="#62"> 62: </a></span><span class="l"><a href="#63"> 63: </a></span><span class="l"><a href="#64"> 64: </a></span><span class="l"><a href="#65"> 65: </a></span><span class="l"><a href="#66"> 66: </a></span><span class="l"><a href="#67"> 67: </a></span><span class="l"><a href="#68"> 68: </a></span><span class="l"><a href="#69"> 69: </a></span><span class="l"><a href="#70"> 70: </a></span><span class="l"><a href="#71"> 71: </a></span><span class="l"><a href="#72"> 72: </a></span><span class="l"><a href="#73"> 73: </a></span><span class="l"><a href="#74"> 74: </a></span><span class="l"><a href="#75"> 75: </a></span><span class="l"><a href="#76"> 76: </a></span><span class="l"><a href="#77"> 77: </a></span><span class="l"><a href="#78"> 78: </a></span><span class="l"><a href="#79"> 79: </a></span><span class="l"><a href="#80"> 80: </a></span><span class="l"><a href="#81"> 81: </a></span><span class="l"><a href="#82"> 82: </a></span><span class="l"><a href="#83"> 83: </a></span><span class="l"><a href="#84"> 84: </a></span><span class="l"><a href="#85"> 85: </a></span><span class="l"><a href="#86"> 86: </a></span><span class="l"><a href="#87"> 87: </a></span><span class="l"><a href="#88"> 88: </a></span><span class="l"><a href="#89"> 89: </a></span><span class="l"><a href="#90"> 90: </a></span><span class="l"><a href="#91"> 91: </a></span><span class="l"><a href="#92"> 92: </a></span></span><span class="l"><a href="#93"> 93: </a></span></span><span class="l"><a href="#94"> 94: </a></span><span class="l"><a href="#95"> 95: </a></span><span class="l"><a href="#96"> 96: </a></span><span class="l"><a href="#97"> 97: </a></span><span class="l"><a href="#98"> 98: </a></span><span class="l"><a href="#99"> 99: </a></span><span class="l"><a href="#100">100: </a></span><span class="l"><a href="#101">101: </a></span><span class="l"><a href="#102">102: </a></span><span class="l"><a href="#103">103: </a></span><span class="l"><a href="#104">104: </a></span><span class="l"><a href="#105">105: </a></span><span class="l"><a href="#106">106: </a></span><span class="l"><a href="#107">107: </a></span><span class="l"><a href="#108">108: </a></span><span class="l"><a href="#109">109: </a></span><span class="l"><a href="#110">110: </a></span><span class="l"><a href="#111">111: </a></span><span class="l"><a href="#112">112: </a></span><span class="l"><a href="#113">113: </a></span><span class="l"><a href="#114">114: </a></span><span class="l"><a href="#115">115: </a></span><span class="l"><a href="#116">116: </a></span><span class="l"><a href="#117">117: </a></span><span class="l"><a href="#118">118: </a></span><span class="l"><a href="#119">119: </a></span><span class="l"><a href="#120">120: </a></span><span class="l"><a href="#121">121: </a></span><span class="l"><a href="#122">122: </a></span><span class="l"><a href="#123">123: </a></span><span class="l"><a href="#124">124: </a></span><span class="l"><a href="#125">125: </a></span><span class="l"><a href="#126">126: </a></span><span class="l"><a href="#127">127: </a></span><span class="l"><a href="#128">128: </a></span><span class="l"><a href="#129">129: </a></span><span class="l"><a href="#130">130: </a></span><span class="l"><a href="#131">131: </a></span><span class="l"><a href="#132">132: </a></span><span class="l"><a href="#133">133: </a></span><span class="l"><a href="#134">134: </a></span><span class="l"><a href="#135">135: </a></span><span class="l"><a href="#136">136: </a></span><span class="l"><a href="#137">137: </a></span><span class="l"><a href="#138">138: </a></span><span class="l"><a href="#139">139: </a></span><span class="l"><a href="#140">140: </a></span><span class="l"><a href="#141">141: </a></span><span class="l"><a href="#142">142: </a></span><span class="l"><a href="#143">143: </a></span><span class="l"><a href="#144">144: </a></span><span class="l"><a href="#145">145: </a></span><span class="l"><a href="#146">146: </a></span><span class="l"><a href="#147">147: </a></span><span class="l"><a href="#148">148: </a></span><span class="l"><a href="#149">149: </a></span><span class="l"><a href="#150">150: </a></span><span class="l"><a href="#151">151: </a></span><span class="l"><a href="#152">152: </a></span><span class="l"><a href="#153">153: </a></span><span class="l"><a href="#154">154: </a></span><span class="l"><a href="#155">155: </a></span><span class="l"><a href="#156">156: </a></span><span class="l"><a href="#157">157: </a></span><span class="l"><a href="#158">158: </a></span></code></pre>
|
150 |
+
<pre class="code"><code><span id="1" class="l"><span class="xlang"><?php</span>
|
151 |
+
</span><span id="2" class="l">
|
152 |
+
</span><span id="3" class="l"><span class="php-keyword1">namespace</span> WPGMZA;
|
153 |
+
</span><span id="4" class="l">
|
154 |
+
</span><span id="5" class="l">
|
155 |
+
</span><span id="6" class="l">
|
156 |
+
</span><span id="7" class="l"><span class="php-keyword1">require_once</span>(plugin_dir_path(__DIR__) . <span class="php-quote">'lib/codecabin/class.settings.php'</span>);
|
157 |
+
</span><span id="8" class="l">
|
158 |
+
</span><span id="9" class="l"><span class="php-keyword1">class</span> GlobalSettings <span class="php-keyword1">extends</span> \codecabin\Settings
|
159 |
+
</span><span id="10" class="l">{
|
160 |
+
</span><span id="11" class="l"> <span class="php-keyword1">const</span> TABLE_NAME = <span class="php-quote">'wpgmza_global_settings'</span>;
|
161 |
+
</span><span id="12" class="l"> <span class="php-keyword1">const</span> LEGACY_TABLE_NAME = <span class="php-quote">'WPGMZA_OTHER_SETTINGS'</span>;
|
162 |
+
</span><span id="13" class="l">
|
163 |
+
</span><span id="14" class="l"> <span class="php-keyword1">private</span> <span class="php-var">$updatingLegacySettings</span> = <span class="php-keyword1">false</span>;
|
164 |
+
</span><span id="15" class="l">
|
165 |
+
</span><span id="16" class="l"> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> __construct()
|
166 |
+
</span><span id="17" class="l"> {
|
167 |
+
</span><span id="18" class="l"> <span class="php-var">$self</span> = <span class="php-var">$this</span>;
|
168 |
+
</span><span id="19" class="l">
|
169 |
+
</span><span id="20" class="l"> <span class="php-var">$legacy_settings_exist</span> = (get_option(GlobalSettings::LEGACY_TABLE_NAME) ? <span class="php-keyword1">true</span> : <span class="php-keyword1">false</span>);
|
170 |
+
</span><span id="21" class="l"> <span class="php-var">$settings_exist</span> = (get_option(GlobalSettings::TABLE_NAME) ? <span class="php-keyword1">true</span> : <span class="php-keyword1">false</span>);
|
171 |
+
</span><span id="22" class="l">
|
172 |
+
</span><span id="23" class="l"> <span class="php-keyword1">if</span>(<span class="php-var">$legacy_settings_exist</span> && !<span class="php-var">$settings_exist</span>)
|
173 |
+
</span><span id="24" class="l"> <span class="php-var">$this</span>->migrate();
|
174 |
+
</span><span id="25" class="l">
|
175 |
+
</span><span id="26" class="l"> \codecabin\Settings::__construct(GlobalSettings::TABLE_NAME);
|
176 |
+
</span><span id="27" class="l">
|
177 |
+
</span><span id="28" class="l"> <span class="php-var">$this</span>->wpgmza_google_maps_api_key = get_option(<span class="php-quote">'wpgmza_google_maps_api_key'</span>);
|
178 |
+
</span><span id="29" class="l">
|
179 |
+
</span><span id="30" class="l"> <span class="php-keyword1">if</span>(!<span class="php-var">$legacy_settings_exist</span> && !<span class="php-var">$settings_exist</span>)
|
180 |
+
</span><span id="31" class="l"> <span class="php-var">$this</span>->install();
|
181 |
+
</span><span id="32" class="l">
|
182 |
+
</span><span id="33" class="l"> <span class="php-comment">// Legacy Pro support. Users with older Pro will lose settings </span>
|
183 |
+
</span><span id="34" class="l"> add_filter(<span class="php-quote">'pre_update_option_WPGMZA_OTHER_SETTINGS'</span>, <span class="php-keyword1">array</span>(<span class="php-var">$this</span>, <span class="php-quote">'onPreUpdateLegacySettings'</span>), <span class="php-num">10</span>, <span class="php-num">2</span>);
|
184 |
+
</span><span id="35" class="l"> }
|
185 |
+
</span><span id="36" class="l">
|
186 |
+
</span><span id="37" class="l"> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> __get(<span class="php-var">$name</span>)
|
187 |
+
</span><span id="38" class="l"> {
|
188 |
+
</span><span id="39" class="l"> <span class="php-keyword1">if</span>(<span class="php-var">$name</span> == <span class="php-quote">'useLegacyHTML'</span>)
|
189 |
+
</span><span id="40" class="l"> <span class="php-keyword1">return</span> <span class="php-keyword1">true</span>;
|
190 |
+
</span><span id="41" class="l">
|
191 |
+
</span><span id="42" class="l"> <span class="php-keyword1">return</span> \codecabin\Settings::__get(<span class="php-var">$name</span>);
|
192 |
+
</span><span id="43" class="l"> }
|
193 |
+
</span><span id="44" class="l">
|
194 |
+
</span><span id="45" class="l"> <span class="php-comment">// TODO: This should inherit from Factory when traits are available</span>
|
195 |
+
</span><span id="46" class="l"> <span class="php-keyword1">public</span> <span class="php-keyword1">static</span> <span class="php-keyword1">function</span> createInstance()
|
196 |
+
</span><span id="47" class="l"> {
|
197 |
+
</span><span id="48" class="l"> <span class="php-var">$class</span> = <span class="php-keyword2">get_called_class</span>();
|
198 |
+
</span><span id="49" class="l"> <span class="php-var">$args</span> = <span class="php-keyword2">func_get_args</span>();
|
199 |
+
</span><span id="50" class="l"> <span class="php-var">$count</span> = <span class="php-keyword2">count</span>(<span class="php-var">$args</span>);
|
200 |
+
</span><span id="51" class="l"> <span class="php-var">$filter</span> = <span class="php-quote">"wpgmza_create_</span><span class="php-var">$class</span><span class="php-quote">"</span>;
|
201 |
+
</span><span id="52" class="l">
|
202 |
+
</span><span id="53" class="l"> <span class="php-keyword1">if</span>(<span class="php-keyword1">empty</span>(<span class="php-var">$args</span>))
|
203 |
+
</span><span id="54" class="l"> <span class="php-var">$filter_args</span> = <span class="php-keyword1">array</span>(<span class="php-var">$filter</span>, <span class="php-keyword1">null</span>);
|
204 |
+
</span><span id="55" class="l"> <span class="php-keyword1">else</span>
|
205 |
+
</span><span id="56" class="l"> <span class="php-var">$filter_args</span> = <span class="php-keyword2">array_merge</span>(<span class="php-keyword1">array</span>(<span class="php-var">$filter</span>), <span class="php-var">$args</span>);
|
206 |
+
</span><span id="57" class="l">
|
207 |
+
</span><span id="58" class="l"> <span class="php-var">$override</span> = <span class="php-keyword2">call_user_func_array</span>(<span class="php-quote">'apply_filters'</span>, <span class="php-var">$filter_args</span>);
|
208 |
+
</span><span id="59" class="l">
|
209 |
+
</span><span id="60" class="l"> <span class="php-keyword1">if</span>(<span class="php-var">$override</span>)
|
210 |
+
</span><span id="61" class="l"> <span class="php-keyword1">return</span> <span class="php-var">$override</span>;
|
211 |
+
</span><span id="62" class="l">
|
212 |
+
</span><span id="63" class="l"> <span class="php-var">$reflect</span> = <span class="php-keyword1">new</span> \ReflectionClass(<span class="php-var">$class</span>);
|
213 |
+
</span><span id="64" class="l"> <span class="php-var">$instance</span> = <span class="php-var">$reflect</span>->newInstanceArgs(<span class="php-var">$args</span>);
|
214 |
+
</span><span id="65" class="l">
|
215 |
+
</span><span id="66" class="l"> <span class="php-keyword1">return</span> <span class="php-var">$instance</span>;
|
216 |
+
</span><span id="67" class="l"> }
|
217 |
+
</span><span id="68" class="l">
|
218 |
+
</span><span id="69" class="l"> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> getDefaults()
|
219 |
+
</span><span id="70" class="l"> {
|
220 |
+
</span><span id="71" class="l"> <span class="php-var">$settings</span> = apply_filters(<span class="php-quote">'wpgmza_plugin_get_default_settings'</span>, <span class="php-keyword1">array</span>(
|
221 |
+
</span><span id="72" class="l"> <span class="php-quote">'engine'</span> => <span class="php-quote">'google-maps'</span>,
|
222 |
+
</span><span id="73" class="l"> <span class="php-quote">'google_maps_api_key'</span> => get_option(<span class="php-quote">'wpgmza_google_maps_api_key'</span>),
|
223 |
+
</span><span id="74" class="l"> <span class="php-quote">'default_marker_icon'</span> => Marker::DEFAULT_ICON,
|
224 |
+
</span><span id="75" class="l"> <span class="php-quote">'developer_mode'</span> => <span class="php-keyword1">false</span>
|
225 |
+
</span><span id="76" class="l"> ));
|
226 |
+
</span><span id="77" class="l">
|
227 |
+
</span><span id="78" class="l"> <span class="php-keyword1">return</span> <span class="php-var">$settings</span>;
|
228 |
+
</span><span id="79" class="l"> }
|
229 |
+
</span><span id="80" class="l">
|
230 |
+
</span><span id="81" class="l"> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> onPreUpdateLegacySettings(<span class="php-var">$new_value</span>, <span class="php-var">$old_value</span>)
|
231 |
+
</span><span id="82" class="l"> {
|
232 |
+
</span><span id="83" class="l"> <span class="php-comment">// Merge legacy settings into this settings</span>
|
233 |
+
</span><span id="84" class="l"> <span class="php-keyword1">if</span>(!<span class="php-var">$this</span>->updatingLegacySettings)
|
234 |
+
</span><span id="85" class="l"> <span class="php-var">$this</span>->set(<span class="php-var">$new_value</span>);
|
235 |
+
</span><span id="86" class="l">
|
236 |
+
</span><span id="87" class="l"> <span class="php-keyword1">return</span> <span class="php-var">$new_value</span>;
|
237 |
+
</span><span id="88" class="l"> }
|
238 |
+
</span><span id="89" class="l">
|
239 |
+
</span><span id="90" class="l"> <span class="php-keyword1">protected</span> <span class="php-keyword1">function</span> update()
|
240 |
+
</span><span id="91" class="l"> {
|
241 |
+
</span><span id="92" class="l"> <span class="php-comment">/*echo "<pre>";
|
242 |
+
</span></span><span id="93" class="l"><span class="php-comment"> debug_print_backtrace();
|
243 |
+
</span></span><span id="94" class="l"><span class="php-comment"> echo "</pre>";*/</span>
|
244 |
+
</span><span id="95" class="l">
|
245 |
+
</span><span id="96" class="l"> \codecabin\Settings::update();
|
246 |
+
</span><span id="97" class="l">
|
247 |
+
</span><span id="98" class="l"> <span class="php-comment">// Legacy Pro support</span>
|
248 |
+
</span><span id="99" class="l"> <span class="php-var">$this</span>->updatingLegacySettings = <span class="php-keyword1">true</span>;
|
249 |
+
</span><span id="100" class="l">
|
250 |
+
</span><span id="101" class="l"> <span class="php-comment">//var_dump($this->wpgmza_settings_map_full_screen_control);</span>
|
251 |
+
</span><span id="102" class="l">
|
252 |
+
</span><span id="103" class="l"> <span class="php-comment">//if(empty($this->wpgmza_settings_map_full_screen_control))</span>
|
253 |
+
</span><span id="104" class="l"> <span class="php-comment">//throw new \Exception('why');</span>
|
254 |
+
</span><span id="105" class="l">
|
255 |
+
</span><span id="106" class="l"> <span class="php-var">$legacy</span> = <span class="php-var">$this</span>->toArray();
|
256 |
+
</span><span id="107" class="l">
|
257 |
+
</span><span id="108" class="l"> <span class="php-comment">//var_dump($legacy['wpgmza_settings_map_full_screen_control']);</span>
|
258 |
+
</span><span id="109" class="l">
|
259 |
+
</span><span id="110" class="l"> <span class="php-comment">//var_dump("Updating " . GlobalSettings::LEGACY_TABLE_NAME, $legacy);</span>
|
260 |
+
</span><span id="111" class="l">
|
261 |
+
</span><span id="112" class="l"> <span class="php-comment">//if(empty($legacy['wpgmza_settings_map_full_screen_control']))</span>
|
262 |
+
</span><span id="113" class="l"> <span class="php-comment">//throw new \Exception('Can you not');</span>
|
263 |
+
</span><span id="114" class="l">
|
264 |
+
</span><span id="115" class="l"> update_option(GlobalSettings::LEGACY_TABLE_NAME, <span class="php-var">$legacy</span>);
|
265 |
+
</span><span id="116" class="l">
|
266 |
+
</span><span id="117" class="l"> <span class="php-comment">//var_dump("Read back ", get_option(GlobalSettings::LEGACY_TABLE_NAME));</span>
|
267 |
+
</span><span id="118" class="l">
|
268 |
+
</span><span id="119" class="l"> <span class="php-var">$this</span>->updatingLegacySettings = <span class="php-keyword1">false</span>;
|
269 |
+
</span><span id="120" class="l"> }
|
270 |
+
</span><span id="121" class="l">
|
271 |
+
</span><span id="122" class="l"> <span class="php-keyword1">protected</span> <span class="php-keyword1">function</span> install()
|
272 |
+
</span><span id="123" class="l"> {
|
273 |
+
</span><span id="124" class="l"> <span class="php-var">$this</span>->set( <span class="php-var">$this</span>->getDefaults() );
|
274 |
+
</span><span id="125" class="l"> }
|
275 |
+
</span><span id="126" class="l">
|
276 |
+
</span><span id="127" class="l"> <span class="php-keyword1">protected</span> <span class="php-keyword1">function</span> migrate()
|
277 |
+
</span><span id="128" class="l"> {
|
278 |
+
</span><span id="129" class="l"> <span class="php-var">$legacy</span> = get_option(GlobalSettings::LEGACY_TABLE_NAME);
|
279 |
+
</span><span id="130" class="l">
|
280 |
+
</span><span id="131" class="l"> <span class="php-var">$json</span> = <span class="php-keyword2">json_encode</span>(<span class="php-var">$legacy</span>);
|
281 |
+
</span><span id="132" class="l">
|
282 |
+
</span><span id="133" class="l"> update_option(GlobalSettings::TABLE_NAME, <span class="php-var">$json</span>);
|
283 |
+
</span><span id="134" class="l"> }
|
284 |
+
</span><span id="135" class="l">
|
285 |
+
</span><span id="136" class="l"> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> jsonSerialize()
|
286 |
+
</span><span id="137" class="l"> {
|
287 |
+
</span><span id="138" class="l"> <span class="php-var">$src</span> = \codecabin\Settings::jsonSerialize();
|
288 |
+
</span><span id="139" class="l"> <span class="php-var">$data</span> = <span class="php-keyword1">clone</span> <span class="php-var">$src</span>;
|
289 |
+
</span><span id="140" class="l">
|
290 |
+
</span><span id="141" class="l"> <span class="php-keyword1">if</span>(<span class="php-keyword1">isset</span>(<span class="php-var">$data</span>->wpgmza_settings_ugm_email_address))
|
291 |
+
</span><span id="142" class="l"> <span class="php-keyword1">unset</span>(<span class="php-var">$data</span>->wpgmza_settings_ugm_email_address);
|
292 |
+
</span><span id="143" class="l">
|
293 |
+
</span><span id="144" class="l"> <span class="php-keyword1">return</span> <span class="php-var">$data</span>;
|
294 |
+
</span><span id="145" class="l"> }
|
295 |
+
</span><span id="146" class="l">
|
296 |
+
</span><span id="147" class="l"> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> toArray()
|
297 |
+
</span><span id="148" class="l"> {
|
298 |
+
</span><span id="149" class="l"> <span class="php-var">$src</span> = \codecabin\Settings::toArray();
|
299 |
+
</span><span id="150" class="l"> <span class="php-var">$data</span> = (<span class="php-keyword1">array</span>)<span class="php-var">$src</span>;
|
300 |
+
</span><span id="151" class="l">
|
301 |
+
</span><span id="152" class="l"> <span class="php-keyword1">if</span>(<span class="php-keyword1">isset</span>(<span class="php-var">$data</span>[<span class="php-quote">'wpgmza_settings_ugm_email_address'</span>]))
|
302 |
+
</span><span id="153" class="l"> <span class="php-keyword1">unset</span>(<span class="php-var">$data</span>[<span class="php-quote">'wpgmza_settings_ugm_email_address'</span>]);
|
303 |
+
</span><span id="154" class="l">
|
304 |
+
</span><span id="155" class="l"> <span class="php-keyword1">return</span> <span class="php-var">$data</span>;
|
305 |
+
</span><span id="156" class="l"> }
|
306 |
+
</span><span id="157" class="l">}
|
307 |
+
</span><span id="158" class="l"></span></code></pre>
|
308 |
+
|
309 |
+
<div id="footer">
|
310 |
+
API documentation generated by <a href="http://apigen.org">ApiGen</a>
|
311 |
+
</div>
|
312 |
+
</div>
|
313 |
+
</div>
|
314 |
+
<script src="resources/combined.js?bdf41a0492319853d610bde7b68b95e93d08fae3"></script>
|
315 |
+
<script src="elementlist.js?ce6e64dd6d2e258467153e0fbb3257ea07b69a7b"></script>
|
316 |
+
</body>
|
317 |
+
</html>
|
@@ -50,12 +50,18 @@
|
|
50 |
<div id="elements">
|
51 |
<h3>Classes</h3>
|
52 |
<ul>
|
|
|
|
|
53 |
<li><a href="class-WPGMZA.AutoLoader.html">WPGMZA\AutoLoader</a></li>
|
54 |
<li><a href="class-WPGMZA.Crud.html">WPGMZA\Crud</a></li>
|
|
|
|
|
|
|
55 |
<li><a href="class-WPGMZA.DOMDocument.html">WPGMZA\DOMDocument</a></li>
|
56 |
<li><a href="class-WPGMZA.DOMElement.html">WPGMZA\DOMElement</a></li>
|
57 |
<li><a href="class-WPGMZA.Factory.html">WPGMZA\Factory</a></li>
|
58 |
<li><a href="class-WPGMZA.GDPRCompliance.html">WPGMZA\GDPRCompliance</a></li>
|
|
|
59 |
<li><a href="class-WPGMZA.GoogleGeocoder.html">WPGMZA\GoogleGeocoder</a></li>
|
60 |
<li><a href="class-WPGMZA.GoogleMap.html">WPGMZA\GoogleMap</a></li>
|
61 |
<li><a href="class-WPGMZA.GoogleMapsAPILoader.html" class="deprecated">WPGMZA\GoogleMapsAPILoader</a></li>
|
@@ -66,10 +72,14 @@
|
|
66 |
<li><a href="class-WPGMZA.Map.html">WPGMZA\Map</a></li>
|
67 |
<li><a href="class-WPGMZA.MapsEngineDialog.html">WPGMZA\MapsEngineDialog</a></li>
|
68 |
<li><a href="class-WPGMZA.Marker.html">WPGMZA\Marker</a></li>
|
|
|
|
|
69 |
<li><a href="class-WPGMZA.ModalDialog.html">WPGMZA\ModalDialog</a></li>
|
70 |
<li><a href="class-WPGMZA.NominatimGeocodeCache.html">WPGMZA\NominatimGeocodeCache</a></li>
|
71 |
<li><a href="class-WPGMZA.OLLoader.html">WPGMZA\OLLoader</a></li>
|
72 |
<li><a href="class-WPGMZA.Plugin.html">WPGMZA\Plugin</a></li>
|
|
|
|
|
73 |
<li><a href="class-WPGMZA.RestAPI.html">WPGMZA\RestAPI</a></li>
|
74 |
<li><a href="class-WPGMZA.ScriptLoader.html">WPGMZA\ScriptLoader</a></li>
|
75 |
<li><a href="class-WPGMZA.Selector.AttributeSelector.html">WPGMZA\Selector\AttributeSelector</a></li>
|
@@ -81,6 +91,7 @@
|
|
81 |
<li><a href="class-WPGMZA.Selector.TokenStream.html">WPGMZA\Selector\TokenStream</a></li>
|
82 |
<li><a href="class-WPGMZA.Selector.XPathConverter.html">WPGMZA\Selector\XPathConverter</a></li>
|
83 |
<li><a href="class-WPGMZA.Strings.html">WPGMZA\Strings</a></li>
|
|
|
84 |
</ul>
|
85 |
|
86 |
|
@@ -95,7 +106,6 @@
|
|
95 |
<h3>Functions</h3>
|
96 |
<ul>
|
97 |
<li><a href="function-WPGMZA.create_marker_instance_delegate.html">WPGMZA\create_marker_instance_delegate</a></li>
|
98 |
-
<li><a href="function-WPGMZA.create_plugin_instance.html" class="deprecated">WPGMZA\create_plugin_instance</a></li>
|
99 |
<li><a href="function-WPGMZA.query_nominatim_cache.html" class="deprecated">WPGMZA\query_nominatim_cache</a></li>
|
100 |
<li><a href="function-WPGMZA.Selector.trace.html">WPGMZA\Selector\trace</a></li>
|
101 |
<li><a href="function-WPGMZA.store_nominatim_cache.html" class="deprecated">WPGMZA\store_nominatim_cache</a></li>
|
@@ -221,7 +231,7 @@
|
|
221 |
</div>
|
222 |
</div>
|
223 |
</div>
|
224 |
-
<script src="resources/combined.js?
|
225 |
-
<script src="elementlist.js?
|
226 |
</body>
|
227 |
</html>
|
50 |
<div id="elements">
|
51 |
<h3>Classes</h3>
|
52 |
<ul>
|
53 |
+
<li><a href="class-WPGMZA.AdminMarkerDataTable.html">WPGMZA\AdminMarkerDataTable</a></li>
|
54 |
+
<li><a href="class-WPGMZA.AjaxTable.html">WPGMZA\AjaxTable</a></li>
|
55 |
<li><a href="class-WPGMZA.AutoLoader.html">WPGMZA\AutoLoader</a></li>
|
56 |
<li><a href="class-WPGMZA.Crud.html">WPGMZA\Crud</a></li>
|
57 |
+
<li><a href="class-WPGMZA.Database.html">WPGMZA\Database</a></li>
|
58 |
+
<li><a href="class-WPGMZA.DataTable.html">WPGMZA\DataTable</a></li>
|
59 |
+
<li><a href="class-WPGMZA.Distance.html">WPGMZA\Distance</a></li>
|
60 |
<li><a href="class-WPGMZA.DOMDocument.html">WPGMZA\DOMDocument</a></li>
|
61 |
<li><a href="class-WPGMZA.DOMElement.html">WPGMZA\DOMElement</a></li>
|
62 |
<li><a href="class-WPGMZA.Factory.html">WPGMZA\Factory</a></li>
|
63 |
<li><a href="class-WPGMZA.GDPRCompliance.html">WPGMZA\GDPRCompliance</a></li>
|
64 |
+
<li><a href="class-WPGMZA.GlobalSettings.html">WPGMZA\GlobalSettings</a></li>
|
65 |
<li><a href="class-WPGMZA.GoogleGeocoder.html">WPGMZA\GoogleGeocoder</a></li>
|
66 |
<li><a href="class-WPGMZA.GoogleMap.html">WPGMZA\GoogleMap</a></li>
|
67 |
<li><a href="class-WPGMZA.GoogleMapsAPILoader.html" class="deprecated">WPGMZA\GoogleMapsAPILoader</a></li>
|
72 |
<li><a href="class-WPGMZA.Map.html">WPGMZA\Map</a></li>
|
73 |
<li><a href="class-WPGMZA.MapsEngineDialog.html">WPGMZA\MapsEngineDialog</a></li>
|
74 |
<li><a href="class-WPGMZA.Marker.html">WPGMZA\Marker</a></li>
|
75 |
+
<li><a href="class-WPGMZA.MarkerDataTable.html">WPGMZA\MarkerDataTable</a></li>
|
76 |
+
<li><a href="class-WPGMZA.MarkerFilter.html">WPGMZA\MarkerFilter</a></li>
|
77 |
<li><a href="class-WPGMZA.ModalDialog.html">WPGMZA\ModalDialog</a></li>
|
78 |
<li><a href="class-WPGMZA.NominatimGeocodeCache.html">WPGMZA\NominatimGeocodeCache</a></li>
|
79 |
<li><a href="class-WPGMZA.OLLoader.html">WPGMZA\OLLoader</a></li>
|
80 |
<li><a href="class-WPGMZA.Plugin.html">WPGMZA\Plugin</a></li>
|
81 |
+
<li><a href="class-WPGMZA.Query.html">WPGMZA\Query</a></li>
|
82 |
+
<li><a href="class-WPGMZA.QueryFragment.html">WPGMZA\QueryFragment</a></li>
|
83 |
<li><a href="class-WPGMZA.RestAPI.html">WPGMZA\RestAPI</a></li>
|
84 |
<li><a href="class-WPGMZA.ScriptLoader.html">WPGMZA\ScriptLoader</a></li>
|
85 |
<li><a href="class-WPGMZA.Selector.AttributeSelector.html">WPGMZA\Selector\AttributeSelector</a></li>
|
91 |
<li><a href="class-WPGMZA.Selector.TokenStream.html">WPGMZA\Selector\TokenStream</a></li>
|
92 |
<li><a href="class-WPGMZA.Selector.XPathConverter.html">WPGMZA\Selector\XPathConverter</a></li>
|
93 |
<li><a href="class-WPGMZA.Strings.html">WPGMZA\Strings</a></li>
|
94 |
+
<li><a href="class-WPGMZA.Table.html">WPGMZA\Table</a></li>
|
95 |
</ul>
|
96 |
|
97 |
|
106 |
<h3>Functions</h3>
|
107 |
<ul>
|
108 |
<li><a href="function-WPGMZA.create_marker_instance_delegate.html">WPGMZA\create_marker_instance_delegate</a></li>
|
|
|
109 |
<li><a href="function-WPGMZA.query_nominatim_cache.html" class="deprecated">WPGMZA\query_nominatim_cache</a></li>
|
110 |
<li><a href="function-WPGMZA.Selector.trace.html">WPGMZA\Selector\trace</a></li>
|
111 |
<li><a href="function-WPGMZA.store_nominatim_cache.html" class="deprecated">WPGMZA\store_nominatim_cache</a></li>
|
231 |
</div>
|
232 |
</div>
|
233 |
</div>
|
234 |
+
<script src="resources/combined.js?bdf41a0492319853d610bde7b68b95e93d08fae3"></script>
|
235 |
+
<script src="elementlist.js?ce6e64dd6d2e258467153e0fbb3257ea07b69a7b"></script>
|
236 |
</body>
|
237 |
</html>
|
@@ -50,12 +50,18 @@
|
|
50 |
<div id="elements">
|
51 |
<h3>Classes</h3>
|
52 |
<ul>
|
|
|
|
|
53 |
<li><a href="class-WPGMZA.AutoLoader.html">WPGMZA\AutoLoader</a></li>
|
54 |
<li><a href="class-WPGMZA.Crud.html">WPGMZA\Crud</a></li>
|
|
|
|
|
|
|
55 |
<li><a href="class-WPGMZA.DOMDocument.html">WPGMZA\DOMDocument</a></li>
|
56 |
<li><a href="class-WPGMZA.DOMElement.html">WPGMZA\DOMElement</a></li>
|
57 |
<li><a href="class-WPGMZA.Factory.html">WPGMZA\Factory</a></li>
|
58 |
<li><a href="class-WPGMZA.GDPRCompliance.html">WPGMZA\GDPRCompliance</a></li>
|
|
|
59 |
<li><a href="class-WPGMZA.GoogleGeocoder.html">WPGMZA\GoogleGeocoder</a></li>
|
60 |
<li><a href="class-WPGMZA.GoogleMap.html">WPGMZA\GoogleMap</a></li>
|
61 |
<li><a href="class-WPGMZA.GoogleMapsAPILoader.html" class="deprecated">WPGMZA\GoogleMapsAPILoader</a></li>
|
@@ -66,10 +72,14 @@
|
|
66 |
<li><a href="class-WPGMZA.Map.html">WPGMZA\Map</a></li>
|
67 |
<li><a href="class-WPGMZA.MapsEngineDialog.html">WPGMZA\MapsEngineDialog</a></li>
|
68 |
<li><a href="class-WPGMZA.Marker.html">WPGMZA\Marker</a></li>
|
|
|
|
|
69 |
<li><a href="class-WPGMZA.ModalDialog.html">WPGMZA\ModalDialog</a></li>
|
70 |
<li><a href="class-WPGMZA.NominatimGeocodeCache.html">WPGMZA\NominatimGeocodeCache</a></li>
|
71 |
<li><a href="class-WPGMZA.OLLoader.html">WPGMZA\OLLoader</a></li>
|
72 |
<li><a href="class-WPGMZA.Plugin.html">WPGMZA\Plugin</a></li>
|
|
|
|
|
73 |
<li><a href="class-WPGMZA.RestAPI.html">WPGMZA\RestAPI</a></li>
|
74 |
<li><a href="class-WPGMZA.ScriptLoader.html">WPGMZA\ScriptLoader</a></li>
|
75 |
<li><a href="class-WPGMZA.Selector.AttributeSelector.html">WPGMZA\Selector\AttributeSelector</a></li>
|
@@ -81,6 +91,7 @@
|
|
81 |
<li><a href="class-WPGMZA.Selector.TokenStream.html">WPGMZA\Selector\TokenStream</a></li>
|
82 |
<li><a href="class-WPGMZA.Selector.XPathConverter.html">WPGMZA\Selector\XPathConverter</a></li>
|
83 |
<li><a href="class-WPGMZA.Strings.html">WPGMZA\Strings</a></li>
|
|
|
84 |
</ul>
|
85 |
|
86 |
|
@@ -95,7 +106,6 @@
|
|
95 |
<h3>Functions</h3>
|
96 |
<ul>
|
97 |
<li><a href="function-WPGMZA.create_marker_instance_delegate.html">WPGMZA\create_marker_instance_delegate</a></li>
|
98 |
-
<li><a href="function-WPGMZA.create_plugin_instance.html" class="deprecated">WPGMZA\create_plugin_instance</a></li>
|
99 |
<li><a href="function-WPGMZA.query_nominatim_cache.html" class="deprecated">WPGMZA\query_nominatim_cache</a></li>
|
100 |
<li><a href="function-WPGMZA.Selector.trace.html">WPGMZA\Selector\trace</a></li>
|
101 |
<li><a href="function-WPGMZA.store_nominatim_cache.html" class="deprecated">WPGMZA\store_nominatim_cache</a></li>
|
@@ -168,7 +178,7 @@
|
|
168 |
</div>
|
169 |
</div>
|
170 |
</div>
|
171 |
-
<script src="resources/combined.js?
|
172 |
-
<script src="elementlist.js?
|
173 |
</body>
|
174 |
</html>
|
50 |
<div id="elements">
|
51 |
<h3>Classes</h3>
|
52 |
<ul>
|
53 |
+
<li><a href="class-WPGMZA.AdminMarkerDataTable.html">WPGMZA\AdminMarkerDataTable</a></li>
|
54 |
+
<li><a href="class-WPGMZA.AjaxTable.html">WPGMZA\AjaxTable</a></li>
|
55 |
<li><a href="class-WPGMZA.AutoLoader.html">WPGMZA\AutoLoader</a></li>
|
56 |
<li><a href="class-WPGMZA.Crud.html">WPGMZA\Crud</a></li>
|
57 |
+
<li><a href="class-WPGMZA.Database.html">WPGMZA\Database</a></li>
|
58 |
+
<li><a href="class-WPGMZA.DataTable.html">WPGMZA\DataTable</a></li>
|
59 |
+
<li><a href="class-WPGMZA.Distance.html">WPGMZA\Distance</a></li>
|
60 |
<li><a href="class-WPGMZA.DOMDocument.html">WPGMZA\DOMDocument</a></li>
|
61 |
<li><a href="class-WPGMZA.DOMElement.html">WPGMZA\DOMElement</a></li>
|
62 |
<li><a href="class-WPGMZA.Factory.html">WPGMZA\Factory</a></li>
|
63 |
<li><a href="class-WPGMZA.GDPRCompliance.html">WPGMZA\GDPRCompliance</a></li>
|
64 |
+
<li><a href="class-WPGMZA.GlobalSettings.html">WPGMZA\GlobalSettings</a></li>
|
65 |
<li><a href="class-WPGMZA.GoogleGeocoder.html">WPGMZA\GoogleGeocoder</a></li>
|
66 |
<li><a href="class-WPGMZA.GoogleMap.html">WPGMZA\GoogleMap</a></li>
|
67 |
<li><a href="class-WPGMZA.GoogleMapsAPILoader.html" class="deprecated">WPGMZA\GoogleMapsAPILoader</a></li>
|
72 |
<li><a href="class-WPGMZA.Map.html">WPGMZA\Map</a></li>
|
73 |
<li><a href="class-WPGMZA.MapsEngineDialog.html">WPGMZA\MapsEngineDialog</a></li>
|
74 |
<li><a href="class-WPGMZA.Marker.html">WPGMZA\Marker</a></li>
|
75 |
+
<li><a href="class-WPGMZA.MarkerDataTable.html">WPGMZA\MarkerDataTable</a></li>
|
76 |
+
<li><a href="class-WPGMZA.MarkerFilter.html">WPGMZA\MarkerFilter</a></li>
|
77 |
<li><a href="class-WPGMZA.ModalDialog.html">WPGMZA\ModalDialog</a></li>
|
78 |
<li><a href="class-WPGMZA.NominatimGeocodeCache.html">WPGMZA\NominatimGeocodeCache</a></li>
|
79 |
<li><a href="class-WPGMZA.OLLoader.html">WPGMZA\OLLoader</a></li>
|
80 |
<li><a href="class-WPGMZA.Plugin.html">WPGMZA\Plugin</a></li>
|
81 |
+
<li><a href="class-WPGMZA.Query.html">WPGMZA\Query</a></li>
|
82 |
+
<li><a href="class-WPGMZA.QueryFragment.html">WPGMZA\QueryFragment</a></li>
|
83 |
<li><a href="class-WPGMZA.RestAPI.html">WPGMZA\RestAPI</a></li>
|
84 |
<li><a href="class-WPGMZA.ScriptLoader.html">WPGMZA\ScriptLoader</a></li>
|
85 |
<li><a href="class-WPGMZA.Selector.AttributeSelector.html">WPGMZA\Selector\AttributeSelector</a></li>
|
91 |
<li><a href="class-WPGMZA.Selector.TokenStream.html">WPGMZA\Selector\TokenStream</a></li>
|
92 |
<li><a href="class-WPGMZA.Selector.XPathConverter.html">WPGMZA\Selector\XPathConverter</a></li>
|
93 |
<li><a href="class-WPGMZA.Strings.html">WPGMZA\Strings</a></li>
|
94 |
+
<li><a href="class-WPGMZA.Table.html">WPGMZA\Table</a></li>
|
95 |
</ul>
|
96 |
|
97 |
|
106 |
<h3>Functions</h3>
|
107 |
<ul>
|
108 |
<li><a href="function-WPGMZA.create_marker_instance_delegate.html">WPGMZA\create_marker_instance_delegate</a></li>
|
|
|
109 |
<li><a href="function-WPGMZA.query_nominatim_cache.html" class="deprecated">WPGMZA\query_nominatim_cache</a></li>
|
110 |
<li><a href="function-WPGMZA.Selector.trace.html">WPGMZA\Selector\trace</a></li>
|
111 |
<li><a href="function-WPGMZA.store_nominatim_cache.html" class="deprecated">WPGMZA\store_nominatim_cache</a></li>
|
178 |
</div>
|
179 |
</div>
|
180 |
</div>
|
181 |
+
<script src="resources/combined.js?bdf41a0492319853d610bde7b68b95e93d08fae3"></script>
|
182 |
+
<script src="elementlist.js?ce6e64dd6d2e258467153e0fbb3257ea07b69a7b"></script>
|
183 |
</body>
|
184 |
</html>
|
@@ -50,12 +50,18 @@
|
|
50 |
<div id="elements">
|
51 |
<h3>Classes</h3>
|
52 |
<ul>
|
|
|
|
|
53 |
<li><a href="class-WPGMZA.AutoLoader.html">WPGMZA\AutoLoader</a></li>
|
54 |
<li><a href="class-WPGMZA.Crud.html">WPGMZA\Crud</a></li>
|
|
|
|
|
|
|
55 |
<li><a href="class-WPGMZA.DOMDocument.html">WPGMZA\DOMDocument</a></li>
|
56 |
<li><a href="class-WPGMZA.DOMElement.html">WPGMZA\DOMElement</a></li>
|
57 |
<li><a href="class-WPGMZA.Factory.html">WPGMZA\Factory</a></li>
|
58 |
<li><a href="class-WPGMZA.GDPRCompliance.html">WPGMZA\GDPRCompliance</a></li>
|
|
|
59 |
<li><a href="class-WPGMZA.GoogleGeocoder.html">WPGMZA\GoogleGeocoder</a></li>
|
60 |
<li><a href="class-WPGMZA.GoogleMap.html">WPGMZA\GoogleMap</a></li>
|
61 |
<li><a href="class-WPGMZA.GoogleMapsAPILoader.html" class="deprecated">WPGMZA\GoogleMapsAPILoader</a></li>
|
@@ -66,10 +72,14 @@
|
|
66 |
<li><a href="class-WPGMZA.Map.html">WPGMZA\Map</a></li>
|
67 |
<li><a href="class-WPGMZA.MapsEngineDialog.html">WPGMZA\MapsEngineDialog</a></li>
|
68 |
<li><a href="class-WPGMZA.Marker.html">WPGMZA\Marker</a></li>
|
|
|
|
|
69 |
<li><a href="class-WPGMZA.ModalDialog.html">WPGMZA\ModalDialog</a></li>
|
70 |
<li><a href="class-WPGMZA.NominatimGeocodeCache.html">WPGMZA\NominatimGeocodeCache</a></li>
|
71 |
<li><a href="class-WPGMZA.OLLoader.html">WPGMZA\OLLoader</a></li>
|
72 |
<li><a href="class-WPGMZA.Plugin.html">WPGMZA\Plugin</a></li>
|
|
|
|
|
73 |
<li><a href="class-WPGMZA.RestAPI.html">WPGMZA\RestAPI</a></li>
|
74 |
<li><a href="class-WPGMZA.ScriptLoader.html">WPGMZA\ScriptLoader</a></li>
|
75 |
<li><a href="class-WPGMZA.Selector.AttributeSelector.html">WPGMZA\Selector\AttributeSelector</a></li>
|
@@ -81,6 +91,7 @@
|
|
81 |
<li><a href="class-WPGMZA.Selector.TokenStream.html">WPGMZA\Selector\TokenStream</a></li>
|
82 |
<li><a href="class-WPGMZA.Selector.XPathConverter.html">WPGMZA\Selector\XPathConverter</a></li>
|
83 |
<li><a href="class-WPGMZA.Strings.html">WPGMZA\Strings</a></li>
|
|
|
84 |
</ul>
|
85 |
|
86 |
|
@@ -95,7 +106,6 @@
|
|
95 |
<h3>Functions</h3>
|
96 |
<ul>
|
97 |
<li><a href="function-WPGMZA.create_marker_instance_delegate.html">WPGMZA\create_marker_instance_delegate</a></li>
|
98 |
-
<li><a href="function-WPGMZA.create_plugin_instance.html" class="deprecated">WPGMZA\create_plugin_instance</a></li>
|
99 |
<li><a href="function-WPGMZA.query_nominatim_cache.html" class="deprecated">WPGMZA\query_nominatim_cache</a></li>
|
100 |
<li><a href="function-WPGMZA.Selector.trace.html">WPGMZA\Selector\trace</a></li>
|
101 |
<li><a href="function-WPGMZA.store_nominatim_cache.html" class="deprecated">WPGMZA\store_nominatim_cache</a></li>
|
@@ -136,7 +146,7 @@
|
|
136 |
</ul>
|
137 |
</div>
|
138 |
|
139 |
-
<pre class="numbers"><code><span class="l"><a href="#1"> 1: </a></span><span class="l"><a href="#2"> 2: </a></span><span class="l"><a href="#3"> 3: </a></span><span class="l"><a href="#4"> 4: </a></span><span class="l"><a href="#5"> 5: </a></span><span class="l"><a href="#6"> 6: </a></span><span class="l"><a href="#7"> 7: </a></span><span class="l"><a href="#8"> 8: </a></span></span><span class="l"><a href="#9"> 9: </a></span></span><span class="l"><a href="#10"> 10: </a></span></span><span class="l"><a href="#11"> 11: </a></span><span class="l"><a href="#12"> 12: </a></span><span class="l"><a href="#13"> 13: </a></span><span class="l"><a href="#14"> 14: </a></span><span class="l"><a href="#15"> 15: </a></span><span class="l"><a href="#16"> 16: </a></span><span class="l"><a href="#17"> 17: </a></span></span><span class="l"><a href="#18"> 18: </a></span></span><span class="l"><a href="#19"> 19: </a></span><span class="l"><a href="#20"> 20: </a></span><span class="l"><a href="#21"> 21: </a></span><span class="l"><a href="#22"> 22: </a></span></span><span class="l"><a href="#23"> 23: </a></span></span><span class="l"><a href="#24"> 24: </a></span><span class="l"><a href="#25"> 25: </a></span><span class="l"><a href="#26"> 26: </a></span><span class="l"><a href="#27"> 27: </a></span></span><span class="l"><a href="#28"> 28: </a></span></span><span class="l"><a href="#29"> 29: </a></span><span class="l"><a href="#30"> 30: </a></span><span class="l"><a href="#31"> 31: </a></span><span class="l"><a href="#32"> 32: </a></span></span><span class="l"><a href="#33"> 33: </a></span></span><span class="l"><a href="#34"> 34: </a></span><span class="l"><a href="#35"> 35: </a></span><span class="l"><a href="#36"> 36: </a></span><span class="l"><a href="#37"> 37: </a></span></span><span class="l"><a href="#38"> 38: </a></span></span><span class="l"><a href="#39"> 39: </a></span><span class="l"><a href="#40"> 40: </a></span><span class="l"><a href="#41"> 41: </a></span><span class="l"><a href="#42"> 42: </a></span></span><span class="l"><a href="#43"> 43: </a></span></span><span class="l"><a href="#44"> 44: </a></span><span class="l"><a href="#45"> 45: </a></span><span class="l"><a href="#46"> 46: </a></span><span class="l"><a href="#47"> 47: </a></span></span><span class="l"><a href="#48"> 48: </a></span></span><span class="l"><a href="#49"> 49: </a></span><span class="l"><a href="#50"> 50: </a></span><span class="l"><a href="#51"> 51: </a></span><span class="l"><a href="#52"> 52: </a></span></span><span class="l"><a href="#53"> 53: </a></span></span><span class="l"><a href="#54"> 54: </a></span><span class="l"><a href="#55"> 55: </a></span><span class="l"><a href="#56"> 56: </a></span><span class="l"><a href="#57"> 57: </a></span></span><span class="l"><a href="#58"> 58: </a></span></span><span class="l"><a href="#59"> 59: </a></span><span class="l"><a href="#60"> 60: </a></span><span class="l"><a href="#61"> 61: </a></span><span class="l"><a href="#62"> 62: </a></span></span><span class="l"><a href="#63"> 63: </a></span></span><span class="l"><a href="#64"> 64: </a></span><span class="l"><a href="#65"> 65: </a></span><span class="l"><a href="#66"> 66: </a></span><span class="l"><a href="#67"> 67: </a></span><span class="l"><a href="#68"> 68: </a></span><span class="l"><a href="#69"> 69: </a></span><span class="l"><a href="#70"> 70: </a></span><span class="l"><a href="#71"> 71: </a></span><span class="l"><a href="#72"> 72: </a></span><span class="l"><a href="#73"> 73: </a></span><span class="l"><a href="#74"> 74: </a></span><span class="l"><a href="#75"> 75: </a></span><span class="l"><a href="#76"> 76: </a></span><span class="l"><a href="#77"> 77: </a></span><span class="l"><a href="#78"> 78: </a></span><span class="l"><a href="#79"> 79: </a></span><span class="l"><a href="#80"> 80: </a></span></span><span class="l"><a href="#81"> 81: </a></span></span><span class="l"><a href="#82"> 82: </a></span></span><span class="l"><a href="#83"> 83: </a></span><span class="l"><a href="#84"> 84: </a></span><span class="l"><a href="#85"> 85: </a></span><span class="l"><a href="#86"> 86: </a></span><span class="l"><a href="#87"> 87: </a></span><span class="l"><a href="#88"> 88: </a></span><span class="l"><a href="#89"> 89: </a></span><span class="l"><a href="#90"> 90: </a></span><span class="l"><a href="#91"> 91: </a></span><span class="l"><a href="#92"> 92: </a></span><span class="l"><a href="#93"> 93: </a></span><span class="l"><a href="#94"> 94: </a></span><span class="l"><a href="#95"> 95: </a></span><span class="l"><a href="#96"> 96: </a></span><span class="l"><a href="#97"> 97: </a></span><span class="l"><a href="#98"> 98: </a></span><span class="l"><a href="#99"> 99: </a></span><span class="l"><a href="#100">100: </a></span><span class="l"><a href="#101">101: </a></span><span class="l"><a href="#102">102: </a></span><span class="l"><a href="#103">103: </a></span><span class="l"><a href="#104">104: </a></span><span class="l"><a href="#105">105: </a></span><span class="l"><a href="#106">106: </a></span><span class="l"><a href="#107">107: </a></span><span class="l"><a href="#108">108: </a></span><span class="l"><a href="#109">109: </a></span><span class="l"><a href="#110">110: </a></span><span class="l"><a href="#111">111: </a></span><span class="l"><a href="#112">112: </a></span><span class="l"><a href="#113">113: </a></span><span class="l"><a href="#114">114: </a></span><span class="l"><a href="#115">115: </a></span><span class="l"><a href="#116">116: </a></span><span class="l"><a href="#117">117: </a></span><span class="l"><a href="#118">118: </a></span><span class="l"><a href="#119">119: </a></span><span class="l"><a href="#120">120: </a></span><span class="l"><a href="#121">121: </a></span><span class="l"><a href="#122">122: </a></span><span class="l"><a href="#123">123: </a></span><span class="l"><a href="#124">124: </a></span><span class="l"><a href="#125">125: </a></span><span class="l"><a href="#126">126: </a></span><span class="l"><a href="#127">127: </a></span><span class="l"><a href="#128">128: </a></span><span class="l"><a href="#129">129: </a></span><span class="l"><a href="#130">130: </a></span><span class="l"><a href="#131">131: </a></span><span class="l"><a href="#132">132: </a></span></span><span class="l"><a href="#133">133: </a></span></span><span class="l"><a href="#134">134: </a></span></span><span class="l"><a href="#135">135: </a></span><span class="l"><a href="#136">136: </a></span><span class="l"><a href="#137">137: </a></span><span class="l"><a href="#138">138: </a></span><span class="l"><a href="#139">139: </a></span><span class="l"><a href="#140">140: </a></span><span class="l"><a href="#141">141: </a></span><span class="l"><a href="#142">142: </a></span><span class="l"><a href="#143">143: </a></span><span class="l"><a href="#144">144: </a></span><span class="l"><a href="#145">145: </a></span><span class="l"><a href="#146">146: </a></span><span class="l"><a href="#147">147: </a></span><span class="l"><a href="#148">148: </a></span><span class="l"><a href="#149">149: </a></span><span class="l"><a href="#150">150: </a></span><span class="l"><a href="#151">151: </a></span><span class="l"><a href="#152">152: </a></span><span class="l"><a href="#153">153: </a></span><span class="l"><a href="#154">154: </a></span><span class="l"><a href="#155">155: </a></span><span class="l"><a href="#156">156: </a></span><span class="l"><a href="#157">157: </a></span><span class="l"><a href="#158">158: </a></span><span class="l"><a href="#159">159: </a></span><span class="l"><a href="#160">160: </a></span><span class="l"><a href="#161">161: </a></span><span class="l"><a href="#162">162: </a></span><span class="l"><a href="#163">163: </a></span><span class="l"><a href="#164">164: </a></span><span class="l"><a href="#165">165: </a></span><span class="l"><a href="#166">166: </a></span><span class="l"><a href="#167">167: </a></span><span class="l"><a href="#168">168: </a></span><span class="l"><a href="#169">169: </a></span><span class="l"><a href="#170">170: </a></span><span class="l"><a href="#171">171: </a></span><span class="l"><a href="#172">172: </a></span></span><span class="l"><a href="#173">173: </a></span></span><span class="l"><a href="#174">174: </a></span></span><span class="l"><a href="#175">175: </a></span><span class="l"><a href="#176">176: </a></span><span class="l"><a href="#177">177: </a></span><span class="l"><a href="#178">178: </a></span><span class="l"><a href="#179">179: </a></span><span class="l"><a href="#180">180: </a></span><span class="l"><a href="#181">181: </a></span><span class="l"><a href="#182">182: </a></span><span class="l"><a href="#183">183: </a></span><span class="l"><a href="#184">184: </a></span></span><span class="l"><a href="#185">185: </a></span></span><span class="l"><a href="#186">186: </a></span></span><span class="l"><a href="#187">187: </a></span></span><span class="l"><a href="#188">188: </a></span><span class="l"><a href="#189">189: </a></span><span class="l"><a href="#190">190: </a></span><span class="l"><a href="#191">191: </a></span><span class="l"><a href="#192">192: </a></span><span class="l"><a href="#193">193: </a></span><span class="l"><a href="#194">194: </a></span><span class="l"><a href="#195">195: </a></span><span class="l"><a href="#196">196: </a></span><span class="l"><a href="#197">197: </a></span><span class="l"><a href="#198">198: </a></span><span class="l"><a href="#199">199: </a></span><span class="l"><a href="#200">200: </a></span><span class="l"><a href="#201">201: </a></span><span class="l"><a href="#202">202: </a></span><span class="l"><a href="#203">203: </a></span><span class="l"><a href="#204">204: </a></span><span class="l"><a href="#205">205: </a></span><span class="l"><a href="#206">206: </a></span><span class="l"><a href="#207">207: </a></span><span class="l"><a href="#208">208: </a></span><span class="l"><a href="#209">209: </a></span></span><span class="l"><a href="#210">210: </a></span></span><span class="l"><a href="#211">211: </a></span></span><span class="l"><a href="#212">212: </a></span></span><span class="l"><a href="#213">213: </a></span><span class="l"><a href="#214">214: </a></span><span class="l"><a href="#215">215: </a></span><span class="l"><a href="#216">216: </a></span><span class="l"><a href="#217">217: </a></span><span class="l"><a href="#218">218: </a></span><span class="l"><a href="#219">219: </a></span><span class="l"><a href="#220">220: </a></span><span class="l"><a href="#221">221: </a></span><span class="l"><a href="#222">222: </a></span><span class="l"><a href="#223">223: </a></span><span class="l"><a href="#224">224: </a></span><span class="l"><a href="#225">225: </a></span><span class="l"><a href="#226">226: </a></span><span class="l"><a href="#227">227: </a></span><span class="l"><a href="#228">228: </a></span><span class="l"><a href="#229">229: </a></span><span class="l"><a href="#230">230: </a></span><span class="l"><a href="#231">231: </a></span><span class="l"><a href="#232">232: </a></span></span><span class="l"><a href="#233">233: </a></span></span><span class="l"><a href="#234">234: </a></span></span><span class="l"><a href="#235">235: </a></span></span><span class="l"><a href="#236">236: </a></span><span class="l"><a href="#237">237: </a></span><span class="l"><a href="#238">238: </a></span><span class="l"><a href="#239">239: </a></span><span class="l"><a href="#240">240: </a></span><span class="l"><a href="#241">241: </a></span><span class="l"><a href="#242">242: </a></span><span class="l"><a href="#243">243: </a></span><span class="l"><a href="#244">244: </a></span><span class="l"><a href="#245">245: </a></span><span class="l"><a href="#246">246: </a></span><span class="l"><a href="#247">247: </a></span><span class="l"><a href="#248">248: </a></span><span class="l"><a href="#249">249: </a></span><span class="l"><a href="#250">250: </a></span><span class="l"><a href="#251">251: </a></span><span class="l"><a href="#252">252: </a></span><span class="l"><a href="#253">253: </a></span><span class="l"><a href="#254">254: </a></span><span class="l"><a href="#255">255: </a></span><span class="l"><a href="#256">256: </a></span><span class="l"><a href="#257">257: </a></span><span class="l"><a href="#258">258: </a></span><span class="l"><a href="#259">259: </a></span><span class="l"><a href="#260">260: </a></span><span class="l"><a href="#261">261: </a></span><span class="l"><a href="#262">262: </a></span><span class="l"><a href="#263">263: </a></span><span class="l"><a href="#264">264: </a></span><span class="l"><a href="#265">265: </a></span><span class="l"><a href="#266">266: </a></span><span class="l"><a href="#267">267: </a></span><span class="l"><a href="#268">268: </a></span><span class="l"><a href="#269">269: </a></span><span class="l"><a href="#270">270: </a></span><span class="l"><a href="#271">271: </a></span><span class="l"><a href="#272">272: </a></span><span class="l"><a href="#273">273: </a></span><span class="l"><a href="#274">274: </a></span><span class="l"><a href="#275">275: </a></span><span class="l"><a href="#276">276: </a></span><span class="l"><a href="#277">277: </a></span><span class="l"><a href="#278">278: </a></span><span class="l"><a href="#279">279: </a></span><span class="l"><a href="#280">280: </a></span><span class="l"><a href="#281">281: </a></span><span class="l"><a href="#282">282: </a></span><span class="l"><a href="#283">283: </a></span><span class="l"><a href="#284">284: </a></span><span class="l"><a href="#285">285: </a></span><span class="l"><a href="#286">286: </a></span><span class="l"><a href="#287">287: </a></span><span class="l"><a href="#288">288: </a></span><span class="l"><a href="#289">289: </a></span><span class="l"><a href="#290">290: </a></span><span class="l"><a href="#291">291: </a></span><span class="l"><a href="#292">292: </a></span><span class="l"><a href="#293">293: </a></span><span class="l"><a href="#294">294: </a></span><span class="l"><a href="#295">295: </a></span><span class="l"><a href="#296">296: </a></span><span class="l"><a href="#297">297: </a></span><span class="l"><a href="#298">298: </a></span><span class="l"><a href="#299">299: </a></span><span class="l"><a href="#300">300: </a></span><span class="l"><a href="#301">301: </a></span><span class="l"><a href="#302">302: </a></span><span class="l"><a href="#303">303: </a></span><span class="l"><a href="#304">304: </a></span><span class="l"><a href="#305">305: </a></span><span class="l"><a href="#306">306: </a></span><span class="l"><a href="#307">307: </a></span><span class="l"><a href="#308">308: </a></span><span class="l"><a href="#309">309: </a></span><span class="l"><a href="#310">310: </a></span><span class="l"><a href="#311">311: </a></span><span class="l"><a href="#312">312: </a></span><span class="l"><a href="#313">313: </a></span><span class="l"><a href="#314">314: </a></span><span class="l"><a href="#315">315: </a></span><span class="l"><a href="#316">316: </a></span><span class="l"><a href="#317">317: </a></span><span class="l"><a href="#318">318: </a></span><span class="l"><a href="#319">319: </a></span><span class="l"><a href="#320">320: </a></span><span class="l"><a href="#321">321: </a></span><span class="l"><a href="#322">322: </a></span><span class="l"><a href="#323">323: </a></span><span class="l"><a href="#324">324: </a></span><span class="l"><a href="#325">325: </a></span><span class="l"><a href="#326">326: </a></span><span class="l"><a href="#327">327: </a></span><span class="l"><a href="#328">328: </a></span><span class="l"><a href="#329">329: </a></span><span class="l"><a href="#330">330: </a></span><span class="l"><a href="#331">331: </a></span><span class="l"><a href="#332">332: </a></span></span><span class="l"><a href="#333">333: </a></span></span><span class="l"><a href="#334">334: </a></span></span><span class="l"><a href="#335">335: </a></span></span><span class="l"><a href="#336">336: </a></span></span><span class="l"><a href="#337">337: </a></span></span><span class="l"><a href="#338">338: </a></span><span class="l"><a href="#339">339: </a></span><span class="l"><a href="#340">340: </a></span><span class="l"><a href="#341">341: </a></span><span class="l"><a href="#342">342: </a></span><span class="l"><a href="#343">343: </a></span><span class="l"><a href="#344">344: </a></span><span class="l"><a href="#345">345: </a></span><span class="l"><a href="#346">346: </a></span><span class="l"><a href="#347">347: </a></span><span class="l"><a href="#348">348: </a></span><span class="l"><a href="#349">349: </a></span><span class="l"><a href="#350">350: </a></span><span class="l"><a href="#351">351: </a></span><span class="l"><a href="#352">352: </a></span><span class="l"><a href="#353">353: </a></span><span class="l"><a href="#354">354: </a></span><span class="l"><a href="#355">355: </a></span><span class="l"><a href="#356">356: </a></span></span><span class="l"><a href="#357">357: </a></span></span><span class="l"><a href="#358">358: </a></span></span><span class="l"><a href="#359">359: </a></span><span class="l"><a href="#360">360: </a></span><span class="l"><a href="#361">361: </a></span><span class="l"><a href="#362">362: </a></span><span class="l"><a href="#363">363: </a></span><span class="l"><a href="#364">364: </a></span><span class="l"><a href="#365">365: </a></span><span class="l"><a href="#366">366: </a></span><span class="l"><a href="#367">367: </a></span><span class="l"><a href="#368">368: </a></span><span class="l"><a href="#369">369: </a></span><span class="l"><a href="#370">370: </a></span><span class="l"><a href="#371">371: </a></span><span class="l"><a href="#372">372: </a></span><span class="l"><a href="#373">373: </a></span><span class="l"><a href="#374">374: </a></span><span class="l"><a href="#375">375: </a></span><span class="l"><a href="#376">376: </a></span></code></pre>
|
140 |
<pre class="code"><code><span id="1" class="l"><span class="xlang"><?php</span>
|
141 |
</span><span id="2" class="l">
|
142 |
</span><span id="3" class="l"><span class="php-keyword1">namespace</span> WPGMZA;
|
@@ -151,375 +161,399 @@
|
|
151 |
</span><span id="12" class="l"><span class="php-keyword1">class</span> GoogleMapsAPILoader
|
152 |
</span><span id="13" class="l">{
|
153 |
</span><span id="14" class="l"> <span class="php-keyword1">private</span> <span class="php-keyword1">static</span> <span class="php-var">$googleAPILoadCalled</span> = <span class="php-keyword1">false</span>;
|
154 |
-
</span><span id="15" class="l">
|
155 |
-
</span><span id="16" class="l">
|
156 |
-
</span><span id="17" class="l"
|
157 |
-
</span></span><span id="18" class="l"><span class="php-comment">
|
158 |
-
</span
|
159 |
-
</span><span id="20" class="l">
|
160 |
-
</span><span id="21" class="l">
|
161 |
-
</span><span id="22" class="l"
|
162 |
-
</span></span><span id="23" class="l"><span class="php-comment">
|
163 |
-
</span
|
164 |
-
</span><span id="25" class="l">
|
165 |
-
</span><span id="26" class="l">
|
166 |
-
</span><span id="27" class="l"
|
167 |
-
</span></span><span id="28" class="l"><span class="php-comment">
|
168 |
-
</span
|
169 |
-
</span><span id="30" class="l">
|
170 |
-
</span><span id="31" class="l">
|
171 |
-
</span><span id="32" class="l"
|
172 |
-
</span></span><span id="33" class="l"><span class="php-comment">
|
173 |
-
</span
|
174 |
-
</span><span id="35" class="l">
|
175 |
-
</span><span id="36" class="l">
|
176 |
-
</span><span id="37" class="l"
|
177 |
-
</span></span><span id="38" class="l"><span class="php-comment">
|
178 |
-
</span
|
179 |
-
</span><span id="40" class="l">
|
180 |
-
</span><span id="41" class="l">
|
181 |
-
</span><span id="42" class="l"
|
182 |
-
</span></span><span id="43" class="l"><span class="php-comment">
|
183 |
-
</span
|
184 |
-
</span><span id="45" class="l">
|
185 |
-
</span><span id="46" class="l">
|
186 |
-
</span><span id="47" class="l"
|
187 |
-
</span></span><span id="48" class="l"><span class="php-comment">
|
188 |
-
</span
|
189 |
-
</span><span id="50" class="l">
|
190 |
-
</span><span id="51" class="l">
|
191 |
-
</span><span id="52" class="l"
|
192 |
-
</span></span><span id="53" class="l"><span class="php-comment">
|
193 |
-
</span
|
194 |
-
</span><span id="55" class="l">
|
195 |
-
</span><span id="56" class="l">
|
196 |
-
</span><span id="57" class="l"
|
197 |
-
</span></span><span id="58" class="l"><span class="php-comment">
|
198 |
-
</span
|
199 |
-
</span><span id="60" class="l">
|
200 |
-
</span><span id="61" class="l">
|
201 |
-
</span><span id="62" class="l">
|
202 |
-
</span
|
203 |
-
</span></span><span id="64" class="l"><span class="php-comment">
|
204 |
-
</span><span id="65" class="l"
|
205 |
-
</span><span id="66" class="l">
|
206 |
-
</span><span id="67" class="l">
|
207 |
-
</span><span id="68" class="l">
|
208 |
-
</span><span id="69" class="l">
|
209 |
-
</span><span id="70" class="l">
|
210 |
-
</span><span id="71" class="l">
|
211 |
</span><span id="72" class="l">
|
212 |
-
</span><span id="73" class="l"> <span class="php-
|
213 |
-
</span><span id="74" class="l"> <span class="php-
|
214 |
</span><span id="75" class="l">
|
215 |
-
</span><span id="76" class="l">
|
216 |
-
</span><span id="77" class="l">
|
217 |
-
</span><span id="78" class="l">
|
218 |
-
</span><span id="79" class="l">
|
219 |
-
</span><span id="80" class="l">
|
220 |
-
</span
|
221 |
-
</span
|
222 |
-
</span
|
223 |
-
</span><span id="84" class="l">
|
224 |
-
</span><span id="85" class="l">
|
225 |
-
</span><span id="86" class="l">
|
226 |
-
</span><span id="87" class="l">
|
227 |
-
</span><span id="88" class="l">
|
228 |
-
</span><span id="89" class="l">
|
229 |
-
</span><span id="90" class="l">
|
230 |
-
</span><span id="91" class="l">
|
231 |
-
</span><span id="92" class="l">
|
232 |
-
</span><span id="93" class="l">
|
233 |
-
</span><span id="94" class="l">
|
234 |
-
</span><span id="95" class="l">
|
235 |
-
</span><span id="96" class="l">
|
236 |
-
</span><span id="97" class="l">
|
237 |
-
</span><span id="98" class="l">
|
238 |
-
</span><span id="99" class="l"
|
239 |
-
</span><span id="100" class="l"
|
240 |
-
</span><span id="101" class="l"
|
241 |
-
</span><span id="102" class="l">
|
242 |
-
</span><span id="103" class="l">
|
243 |
-
</span><span id="104" class="l">
|
244 |
</span><span id="105" class="l">
|
245 |
-
</span><span id="106" class="l"> <span class="php-
|
246 |
-
</span><span id="107" class="l">
|
247 |
-
</span><span id="108" class="l"> <span class="php-
|
248 |
-
</span><span id="109" class="l">
|
249 |
-
</span><span id="110" class="l">
|
250 |
-
</span><span id="111" class="l">
|
251 |
-
</span><span id="112" class="l"> <span class="php-
|
252 |
-
</span><span id="113" class="l">
|
253 |
-
</span><span id="114" class="l">
|
254 |
-
</span><span id="115" class="l">
|
255 |
-
</span><span id="116" class="l">
|
256 |
-
</span><span id="117" class="l">
|
257 |
-
</span><span id="118" class="l">
|
258 |
-
</span><span id="119" class="l">
|
259 |
-
</span><span id="120" class="l">
|
260 |
-
</span><span id="121" class="l">
|
261 |
-
</span><span id="122" class="l">
|
262 |
-
</span><span id="123" class="l">
|
263 |
-
</span><span id="124" class="l"> <span class="php-var">$
|
264 |
-
</span><span id="125" class="l">
|
265 |
-
</span><span id="126" class="l">
|
266 |
-
</span><span id="127" class="l"> <span class="php-var">$params</span> =
|
267 |
-
</span><span id="128" class="l">
|
268 |
-
</span><span id="129" class="l">
|
269 |
-
</span><span id="130" class="l">
|
270 |
-
</span><span id="131" class="l">
|
271 |
-
</span><span id="132" class="l">
|
272 |
-
</span
|
273 |
-
</span
|
274 |
-
</span
|
275 |
-
</span><span id="136" class="l">
|
276 |
-
</span><span id="137" class="l">
|
277 |
-
</span><span id="138" class="l"> <span class="php-keyword1">
|
278 |
-
</span><span id="139" class="l">
|
279 |
-
</span><span id="140" class="l">
|
280 |
-
</span><span id="141" class="l">
|
281 |
-
</span><span id="142" class="l"> <span class="php-keyword1">
|
282 |
-
</span><span id="143" class="l">
|
283 |
</span><span id="144" class="l">
|
284 |
-
</span><span id="145" class="l"> <span class="php-
|
285 |
-
</span><span id="146" class="l">
|
286 |
-
</span><span id="147" class="l">
|
287 |
-
</span><span id="148" class="l">
|
288 |
-
</span><span id="149" class="l">
|
289 |
-
</span><span id="150" class="l">
|
290 |
-
</span><span id="151" class="l"
|
291 |
-
</span><span id="152" class="l">
|
292 |
-
</span><span id="153" class="l"
|
293 |
-
</span><span id="154" class="l">
|
294 |
-
</span><span id="155" class="l">
|
295 |
-
</span><span id="156" class="l">
|
296 |
-
</span><span id="157" class="l"> <span class="php-
|
297 |
-
</span><span id="158" class="l">
|
298 |
-
</span><span id="159" class="l">
|
299 |
</span><span id="160" class="l">
|
300 |
-
</span><span id="161" class="l"> <span class="php-
|
301 |
-
</span><span id="162" class="l">
|
302 |
-
</span><span id="163" class="l">
|
303 |
-
</span><span id="164" class="l">
|
304 |
-
</span><span id="165" class="l">
|
305 |
</span><span id="166" class="l">
|
306 |
-
</span><span id="167" class="l"> <span class="php-
|
307 |
-
</span><span id="168" class="l">
|
308 |
-
</span><span id="169" class="l">
|
309 |
-
</span><span id="170" class="l">
|
310 |
-
</span><span id="171" class="l">
|
311 |
-
</span><span id="172" class="l">
|
312 |
-
</span
|
313 |
-
</span
|
314 |
-
</span
|
315 |
-
</span><span id="176" class="l">
|
316 |
-
</span><span id="177" class="l">
|
317 |
-
</span><span id="178" class="l">
|
318 |
-
</span><span id="179" class="l">
|
319 |
-
</span><span id="180" class="l">
|
320 |
-
</span><span id="181" class="l">
|
321 |
-
</span><span id="182" class="l">
|
322 |
-
</span><span id="183" class="l">
|
323 |
-
</span><span id="184" class="l">
|
324 |
-
</span
|
325 |
-
</span
|
326 |
-
</span
|
327 |
-
</span
|
328 |
-
</span><span id="189" class="l">
|
329 |
-
</span><span id="190" class="l">
|
330 |
-
</span><span id="191" class="l">
|
331 |
-
</span><span id="192" class="l"
|
332 |
-
</span><span id="193" class="l"
|
333 |
-
</span><span id="194" class="l">
|
334 |
-
</span><span id="195" class="l">
|
335 |
-
</span><span id="196" class="l">
|
336 |
-
</span><span id="197" class="l">
|
337 |
-
</span><span id="198" class="l">
|
338 |
-
</span><span id="199" class="l">
|
339 |
-
</span><span id="200" class="l">
|
340 |
-
</span><span id="201" class="l">
|
341 |
-
</span><span id="202" class="l">
|
342 |
-
</span><span id="203" class="l">
|
343 |
-
</span><span id="204" class="l"
|
344 |
-
</span><span id="205" class="l">
|
345 |
-
</span><span id="206" class="l"
|
346 |
-
</span><span id="207" class="l">
|
347 |
-
</span><span id="208" class="l">
|
348 |
-
</span><span id="209" class="l">
|
349 |
-
</span
|
350 |
-
</span
|
351 |
-
</span
|
352 |
-
</span
|
353 |
-
</span><span id="214" class="l">
|
354 |
-
</span><span id="215" class="l">
|
355 |
-
</span><span id="216" class="l">
|
356 |
</span><span id="217" class="l">
|
357 |
-
</span><span id="218" class="l"> <span class="php-keyword1">if</span>(
|
358 |
</span><span id="219" class="l"> <span class="php-keyword1">return</span> <span class="php-keyword1">false</span>;
|
359 |
</span><span id="220" class="l">
|
360 |
-
</span><span id="221" class="l"> <span class="php-keyword1">if</span>(
|
361 |
</span><span id="222" class="l"> <span class="php-keyword1">return</span> <span class="php-keyword1">false</span>;
|
362 |
-
</span><span id="223" class="l">
|
363 |
-
</span><span id="224" class="l"> <span class="php-
|
364 |
-
</span><span id="225" class="l">
|
365 |
-
</span><span id="226" class="l">
|
366 |
-
</span><span id="227" class="l">
|
367 |
-
</span><span id="228" class="l">
|
368 |
-
</span><span id="229" class="l">
|
369 |
-
</span><span id="230" class="l">
|
370 |
-
</span><span id="231" class="l">
|
371 |
-
</span><span id="232" class="l"
|
372 |
-
</span></span><span id="233" class="l"><span class="php-comment">
|
373 |
-
</span
|
374 |
-
</span
|
375 |
-
</span
|
376 |
-
</span><span id="237" class="l">
|
377 |
-
</span><span id="238" class="l">
|
378 |
-
</span><span id="239" class="l">
|
379 |
-
</span><span id="240" class="l"> <span class="php-keyword1">
|
380 |
-
</span><span id="241" class="l">
|
381 |
-
</span><span id="242" class="l">
|
382 |
-
</span><span id="243" class="l">
|
383 |
-
</span><span id="244" class="l"> <span class="php-
|
384 |
-
</span><span id="245" class="l">
|
385 |
-
</span><span id="246" class="l">
|
386 |
-
</span><span id="247" class="l">
|
387 |
</span><span id="248" class="l">
|
388 |
-
</span><span id="249" class="l"> <span class="php-
|
389 |
-
</span><span id="250" class="l">
|
390 |
-
</span><span id="251" class="l">
|
391 |
-
</span><span id="252" class="l">
|
392 |
-
</span><span id="253" class="l">
|
393 |
-
</span><span id="254" class="l">
|
394 |
-
</span><span id="255" class="l"
|
395 |
-
</span><span id="256" class="l"
|
396 |
-
</span><span id="257" class="l">
|
397 |
-
</span><span id="258" class="l"
|
398 |
-
</span><span id="259" class="l">
|
399 |
-
</span><span id="260" class="l">
|
400 |
-
</span><span id="261" class="l"> <span class="php-keyword1">
|
401 |
-
</span><span id="262" class="l">
|
402 |
-
</span><span id="263" class="l">
|
403 |
-
</span><span id="264" class="l">
|
404 |
-
</span><span id="265" class="l">
|
405 |
-
</span><span id="266" class="l">
|
406 |
-
</span><span id="267" class="l">
|
407 |
-
</span><span id="268" class="l"> <span class="php-
|
408 |
-
</span><span id="269" class="l">
|
409 |
-
</span><span id="270" class="l">
|
410 |
-
</span><span id="271" class="l"> <span class="php-
|
411 |
-
</span><span id="272" class="l">
|
412 |
-
</span><span id="273" class="l"> <span class="php-var">$
|
413 |
-
</span><span id="274" class="l">
|
414 |
-
</span><span id="275" class="l">
|
415 |
-
</span><span id="276" class="l">
|
416 |
-
</span><span id="277" class="l">
|
417 |
-
</span><span id="278" class="l">
|
418 |
-
</span><span id="279" class="l">
|
419 |
-
</span><span id="280" class="l">
|
420 |
-
</span><span id="281" class="l">
|
421 |
-
</span><span id="282" class="l">
|
422 |
-
</span><span id="283" class="l">
|
423 |
-
</span><span id="284" class="l">
|
424 |
-
</span><span id="285" class="l">
|
425 |
-
</span><span id="286" class="l">
|
426 |
-
</span><span id="287" class="l">
|
427 |
-
</span><span id="288" class="l">
|
428 |
-
</span><span id="289" class="l">
|
429 |
-
</span><span id="290" class="l">
|
430 |
-
</span><span id="291" class="l">
|
431 |
-
</span><span id="292" class="l">
|
432 |
-
</span><span id="293" class="l">
|
433 |
-
</span><span id="294" class="l">
|
434 |
-
</span><span id="295" class="l">
|
435 |
-
</span><span id="296" class="l">
|
436 |
</span><span id="297" class="l">
|
437 |
-
</span><span id="298" class="l">
|
438 |
-
</span><span id="299" class="l">
|
439 |
-
</span><span id="300" class="l">
|
440 |
-
</span><span id="301" class="l">
|
441 |
-
</span><span id="302" class="l">
|
442 |
-
</span><span id="303" class="l">
|
443 |
-
</span><span id="304" class="l">
|
444 |
-
</span><span id="305" class="l">
|
445 |
-
</span><span id="306" class="l">
|
446 |
-
</span><span id="307" class="l">
|
447 |
-
</span><span id="308" class="l"> <span class="php-keyword1">
|
448 |
-
</span><span id="309" class="l">
|
449 |
-
</span><span id="310" class="l">
|
450 |
-
</span><span id="311" class="l">
|
451 |
-
</span><span id="312" class="l">
|
452 |
-
</span><span id="313" class="l">
|
453 |
-
</span><span id="314" class="l">
|
454 |
-
</span><span id="315" class="l">
|
455 |
-
</span><span id="316" class="l">
|
456 |
-
</span><span id="317" class="l">
|
457 |
-
</span><span id="318" class="l">
|
458 |
-
</span><span id="319" class="l">
|
459 |
-
</span><span id="320" class="l">
|
460 |
-
</span><span id="321" class="l">
|
461 |
-
</span><span id="322" class="l">
|
462 |
-
</span><span id="323" class="l">
|
463 |
-
</span><span id="324" class="l">
|
464 |
-
</span><span id="325" class="l">
|
465 |
-
</span><span id="326" class="l">
|
466 |
-
</span><span id="327" class="l">
|
467 |
-
</span><span id="328" class="l">
|
468 |
-
</span><span id="329" class="l">
|
469 |
-
</span><span id="330" class="l">
|
470 |
-
</span><span id="331" class="l">
|
471 |
-
</span><span id="332" class="l">
|
472 |
-
</span
|
473 |
-
</span
|
474 |
-
</span
|
475 |
-
</span
|
476 |
-
</span
|
477 |
-
</span
|
478 |
-
</span><span id="339" class="l">
|
479 |
-
</span><span id="340" class="l">
|
480 |
-
</span><span id="341" class="l">
|
481 |
-
</span><span id="342" class="l">
|
482 |
-
</span><span id="343" class="l">
|
483 |
-
</span><span id="344" class="l"> <span class="php-keyword1">
|
484 |
-
</span><span id="345" class="l">
|
485 |
-
</span><span id="346" class="l">
|
486 |
-
</span><span id="347" class="l">
|
487 |
-
</span><span id="348" class="l">
|
488 |
-
</span><span id="349" class="l">
|
489 |
-
</span><span id="350" class="l">
|
490 |
-
</span><span id="351" class="l">
|
491 |
-
</span><span id="352" class="l">
|
492 |
-
</span><span id="353" class="l">
|
493 |
-
</span><span id="354" class="l">
|
494 |
-
</span><span id="355" class="l">
|
495 |
-
</span><span id="356" class="l"
|
496 |
-
</span></span><span id="357" class="l"><span class="php-comment"> *
|
497 |
-
</span></span><span id="358" class="l"><span class="php-comment"> * @
|
498 |
-
</span></span><span id="359" class="l"><span class="php-comment">
|
499 |
-
</span><span id="360" class="l"
|
500 |
-
</span><span id="361" class="l">
|
501 |
-
</span><span id="362" class="l">
|
502 |
-
</span><span id="363" class="l"> <span class="php-keyword1">
|
503 |
-
</span><span id="364" class="l">
|
504 |
-
</span><span id="365" class="l">
|
505 |
-
</span><span id="366" class="l">
|
506 |
-
</span><span id="367" class="l">
|
507 |
-
</span><span id="368" class="l">
|
508 |
-
</span><span id="369" class="l">
|
509 |
-
</span><span id="370" class="l">
|
510 |
-
</span><span id="371" class="l">
|
511 |
-
</span><span id="372" class="l">
|
512 |
-
</span><span id="373" class="l">
|
513 |
-
</span><span id="374" class="l">
|
514 |
-
</span><span id="375" class="l">
|
515 |
-
</span><span id="376" class="l"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
516 |
|
517 |
<div id="footer">
|
518 |
API documentation generated by <a href="http://apigen.org">ApiGen</a>
|
519 |
</div>
|
520 |
</div>
|
521 |
</div>
|
522 |
-
<script src="resources/combined.js?
|
523 |
-
<script src="elementlist.js?
|
524 |
</body>
|
525 |
</html>
|
50 |
<div id="elements">
|
51 |
<h3>Classes</h3>
|
52 |
<ul>
|
53 |
+
<li><a href="class-WPGMZA.AdminMarkerDataTable.html">WPGMZA\AdminMarkerDataTable</a></li>
|
54 |
+
<li><a href="class-WPGMZA.AjaxTable.html">WPGMZA\AjaxTable</a></li>
|
55 |
<li><a href="class-WPGMZA.AutoLoader.html">WPGMZA\AutoLoader</a></li>
|
56 |
<li><a href="class-WPGMZA.Crud.html">WPGMZA\Crud</a></li>
|
57 |
+
<li><a href="class-WPGMZA.Database.html">WPGMZA\Database</a></li>
|
58 |
+
<li><a href="class-WPGMZA.DataTable.html">WPGMZA\DataTable</a></li>
|
59 |
+
<li><a href="class-WPGMZA.Distance.html">WPGMZA\Distance</a></li>
|
60 |
<li><a href="class-WPGMZA.DOMDocument.html">WPGMZA\DOMDocument</a></li>
|
61 |
<li><a href="class-WPGMZA.DOMElement.html">WPGMZA\DOMElement</a></li>
|
62 |
<li><a href="class-WPGMZA.Factory.html">WPGMZA\Factory</a></li>
|
63 |
<li><a href="class-WPGMZA.GDPRCompliance.html">WPGMZA\GDPRCompliance</a></li>
|
64 |
+
<li><a href="class-WPGMZA.GlobalSettings.html">WPGMZA\GlobalSettings</a></li>
|
65 |
<li><a href="class-WPGMZA.GoogleGeocoder.html">WPGMZA\GoogleGeocoder</a></li>
|
66 |
<li><a href="class-WPGMZA.GoogleMap.html">WPGMZA\GoogleMap</a></li>
|
67 |
<li><a href="class-WPGMZA.GoogleMapsAPILoader.html" class="deprecated">WPGMZA\GoogleMapsAPILoader</a></li>
|
72 |
<li><a href="class-WPGMZA.Map.html">WPGMZA\Map</a></li>
|
73 |
<li><a href="class-WPGMZA.MapsEngineDialog.html">WPGMZA\MapsEngineDialog</a></li>
|
74 |
<li><a href="class-WPGMZA.Marker.html">WPGMZA\Marker</a></li>
|
75 |
+
<li><a href="class-WPGMZA.MarkerDataTable.html">WPGMZA\MarkerDataTable</a></li>
|
76 |
+
<li><a href="class-WPGMZA.MarkerFilter.html">WPGMZA\MarkerFilter</a></li>
|
77 |
<li><a href="class-WPGMZA.ModalDialog.html">WPGMZA\ModalDialog</a></li>
|
78 |
<li><a href="class-WPGMZA.NominatimGeocodeCache.html">WPGMZA\NominatimGeocodeCache</a></li>
|
79 |
<li><a href="class-WPGMZA.OLLoader.html">WPGMZA\OLLoader</a></li>
|
80 |
<li><a href="class-WPGMZA.Plugin.html">WPGMZA\Plugin</a></li>
|
81 |
+
<li><a href="class-WPGMZA.Query.html">WPGMZA\Query</a></li>
|
82 |
+
<li><a href="class-WPGMZA.QueryFragment.html">WPGMZA\QueryFragment</a></li>
|
83 |
<li><a href="class-WPGMZA.RestAPI.html">WPGMZA\RestAPI</a></li>
|
84 |
<li><a href="class-WPGMZA.ScriptLoader.html">WPGMZA\ScriptLoader</a></li>
|
85 |
<li><a href="class-WPGMZA.Selector.AttributeSelector.html">WPGMZA\Selector\AttributeSelector</a></li>
|
91 |
<li><a href="class-WPGMZA.Selector.TokenStream.html">WPGMZA\Selector\TokenStream</a></li>
|
92 |
<li><a href="class-WPGMZA.Selector.XPathConverter.html">WPGMZA\Selector\XPathConverter</a></li>
|
93 |
<li><a href="class-WPGMZA.Strings.html">WPGMZA\Strings</a></li>
|
94 |
+
<li><a href="class-WPGMZA.Table.html">WPGMZA\Table</a></li>
|
95 |
</ul>
|
96 |
|
97 |
|
106 |
<h3>Functions</h3>
|
107 |
<ul>
|
108 |
<li><a href="function-WPGMZA.create_marker_instance_delegate.html">WPGMZA\create_marker_instance_delegate</a></li>
|
|
|
109 |
<li><a href="function-WPGMZA.query_nominatim_cache.html" class="deprecated">WPGMZA\query_nominatim_cache</a></li>
|
110 |
<li><a href="function-WPGMZA.Selector.trace.html">WPGMZA\Selector\trace</a></li>
|
111 |
<li><a href="function-WPGMZA.store_nominatim_cache.html" class="deprecated">WPGMZA\store_nominatim_cache</a></li>
|
146 |
</ul>
|
147 |
</div>
|
148 |
|
149 |
+
<pre class="numbers"><code><span class="l"><a href="#1"> 1: </a></span><span class="l"><a href="#2"> 2: </a></span><span class="l"><a href="#3"> 3: </a></span><span class="l"><a href="#4"> 4: </a></span><span class="l"><a href="#5"> 5: </a></span><span class="l"><a href="#6"> 6: </a></span><span class="l"><a href="#7"> 7: </a></span><span class="l"><a href="#8"> 8: </a></span></span><span class="l"><a href="#9"> 9: </a></span></span><span class="l"><a href="#10"> 10: </a></span></span><span class="l"><a href="#11"> 11: </a></span><span class="l"><a href="#12"> 12: </a></span><span class="l"><a href="#13"> 13: </a></span><span class="l"><a href="#14"> 14: </a></span><span class="l"><a href="#15"> 15: </a></span><span class="l"><a href="#16"> 16: </a></span></span><span class="l"><a href="#17"> 17: </a></span></span><span class="l"><a href="#18"> 18: </a></span><span class="l"><a href="#19"> 19: </a></span><span class="l"><a href="#20"> 20: </a></span><span class="l"><a href="#21"> 21: </a></span></span><span class="l"><a href="#22"> 22: </a></span></span><span class="l"><a href="#23"> 23: </a></span><span class="l"><a href="#24"> 24: </a></span><span class="l"><a href="#25"> 25: </a></span><span class="l"><a href="#26"> 26: </a></span></span><span class="l"><a href="#27"> 27: </a></span></span><span class="l"><a href="#28"> 28: </a></span><span class="l"><a href="#29"> 29: </a></span><span class="l"><a href="#30"> 30: </a></span><span class="l"><a href="#31"> 31: </a></span></span><span class="l"><a href="#32"> 32: </a></span></span><span class="l"><a href="#33"> 33: </a></span><span class="l"><a href="#34"> 34: </a></span><span class="l"><a href="#35"> 35: </a></span><span class="l"><a href="#36"> 36: </a></span></span><span class="l"><a href="#37"> 37: </a></span></span><span class="l"><a href="#38"> 38: </a></span><span class="l"><a href="#39"> 39: </a></span><span class="l"><a href="#40"> 40: </a></span><span class="l"><a href="#41"> 41: </a></span></span><span class="l"><a href="#42"> 42: </a></span></span><span class="l"><a href="#43"> 43: </a></span><span class="l"><a href="#44"> 44: </a></span><span class="l"><a href="#45"> 45: </a></span><span class="l"><a href="#46"> 46: </a></span></span><span class="l"><a href="#47"> 47: </a></span></span><span class="l"><a href="#48"> 48: </a></span><span class="l"><a href="#49"> 49: </a></span><span class="l"><a href="#50"> 50: </a></span><span class="l"><a href="#51"> 51: </a></span></span><span class="l"><a href="#52"> 52: </a></span></span><span class="l"><a href="#53"> 53: </a></span><span class="l"><a href="#54"> 54: </a></span><span class="l"><a href="#55"> 55: </a></span><span class="l"><a href="#56"> 56: </a></span></span><span class="l"><a href="#57"> 57: </a></span></span><span class="l"><a href="#58"> 58: </a></span><span class="l"><a href="#59"> 59: </a></span><span class="l"><a href="#60"> 60: </a></span><span class="l"><a href="#61"> 61: </a></span><span class="l"><a href="#62"> 62: </a></span><span class="l"><a href="#63"> 63: </a></span></span><span class="l"><a href="#64"> 64: </a></span></span><span class="l"><a href="#65"> 65: </a></span><span class="l"><a href="#66"> 66: </a></span><span class="l"><a href="#67"> 67: </a></span><span class="l"><a href="#68"> 68: </a></span><span class="l"><a href="#69"> 69: </a></span><span class="l"><a href="#70"> 70: </a></span><span class="l"><a href="#71"> 71: </a></span><span class="l"><a href="#72"> 72: </a></span><span class="l"><a href="#73"> 73: </a></span><span class="l"><a href="#74"> 74: </a></span><span class="l"><a href="#75"> 75: </a></span><span class="l"><a href="#76"> 76: </a></span><span class="l"><a href="#77"> 77: </a></span><span class="l"><a href="#78"> 78: </a></span><span class="l"><a href="#79"> 79: </a></span><span class="l"><a href="#80"> 80: </a></span><span class="l"><a href="#81"> 81: </a></span><span class="l"><a href="#82"> 82: </a></span><span class="l"><a href="#83"> 83: </a></span><span class="l"><a href="#84"> 84: </a></span><span class="l"><a href="#85"> 85: </a></span><span class="l"><a href="#86"> 86: </a></span><span class="l"><a href="#87"> 87: </a></span><span class="l"><a href="#88"> 88: </a></span><span class="l"><a href="#89"> 89: </a></span><span class="l"><a href="#90"> 90: </a></span><span class="l"><a href="#91"> 91: </a></span><span class="l"><a href="#92"> 92: </a></span><span class="l"><a href="#93"> 93: </a></span><span class="l"><a href="#94"> 94: </a></span><span class="l"><a href="#95"> 95: </a></span><span class="l"><a href="#96"> 96: </a></span><span class="l"><a href="#97"> 97: </a></span><span class="l"><a href="#98"> 98: </a></span></span><span class="l"><a href="#99"> 99: </a></span></span><span class="l"><a href="#100">100: </a></span></span><span class="l"><a href="#101">101: </a></span><span class="l"><a href="#102">102: </a></span><span class="l"><a href="#103">103: </a></span><span class="l"><a href="#104">104: </a></span><span class="l"><a href="#105">105: </a></span><span class="l"><a href="#106">106: </a></span><span class="l"><a href="#107">107: </a></span><span class="l"><a href="#108">108: </a></span><span class="l"><a href="#109">109: </a></span><span class="l"><a href="#110">110: </a></span><span class="l"><a href="#111">111: </a></span><span class="l"><a href="#112">112: </a></span><span class="l"><a href="#113">113: </a></span><span class="l"><a href="#114">114: </a></span><span class="l"><a href="#115">115: </a></span><span class="l"><a href="#116">116: </a></span><span class="l"><a href="#117">117: </a></span><span class="l"><a href="#118">118: </a></span><span class="l"><a href="#119">119: </a></span><span class="l"><a href="#120">120: </a></span><span class="l"><a href="#121">121: </a></span><span class="l"><a href="#122">122: </a></span><span class="l"><a href="#123">123: </a></span><span class="l"><a href="#124">124: </a></span><span class="l"><a href="#125">125: </a></span><span class="l"><a href="#126">126: </a></span><span class="l"><a href="#127">127: </a></span><span class="l"><a href="#128">128: </a></span><span class="l"><a href="#129">129: </a></span><span class="l"><a href="#130">130: </a></span><span class="l"><a href="#131">131: </a></span><span class="l"><a href="#132">132: </a></span><span class="l"><a href="#133">133: </a></span><span class="l"><a href="#134">134: </a></span><span class="l"><a href="#135">135: </a></span><span class="l"><a href="#136">136: </a></span><span class="l"><a href="#137">137: </a></span><span class="l"><a href="#138">138: </a></span><span class="l"><a href="#139">139: </a></span><span class="l"><a href="#140">140: </a></span><span class="l"><a href="#141">141: </a></span><span class="l"><a href="#142">142: </a></span><span class="l"><a href="#143">143: </a></span><span class="l"><a href="#144">144: </a></span><span class="l"><a href="#145">145: </a></span><span class="l"><a href="#146">146: </a></span><span class="l"><a href="#147">147: </a></span><span class="l"><a href="#148">148: </a></span><span class="l"><a href="#149">149: </a></span><span class="l"><a href="#150">150: </a></span></span><span class="l"><a href="#151">151: </a></span></span><span class="l"><a href="#152">152: </a></span></span><span class="l"><a href="#153">153: </a></span><span class="l"><a href="#154">154: </a></span><span class="l"><a href="#155">155: </a></span><span class="l"><a href="#156">156: </a></span><span class="l"><a href="#157">157: </a></span><span class="l"><a href="#158">158: </a></span><span class="l"><a href="#159">159: </a></span><span class="l"><a href="#160">160: </a></span><span class="l"><a href="#161">161: </a></span><span class="l"><a href="#162">162: </a></span><span class="l"><a href="#163">163: </a></span><span class="l"><a href="#164">164: </a></span><span class="l"><a href="#165">165: </a></span><span class="l"><a href="#166">166: </a></span><span class="l"><a href="#167">167: </a></span><span class="l"><a href="#168">168: </a></span><span class="l"><a href="#169">169: </a></span><span class="l"><a href="#170">170: </a></span><span class="l"><a href="#171">171: </a></span><span class="l"><a href="#172">172: </a></span><span class="l"><a href="#173">173: </a></span><span class="l"><a href="#174">174: </a></span><span class="l"><a href="#175">175: </a></span><span class="l"><a href="#176">176: </a></span><span class="l"><a href="#177">177: </a></span><span class="l"><a href="#178">178: </a></span><span class="l"><a href="#179">179: </a></span><span class="l"><a href="#180">180: </a></span><span class="l"><a href="#181">181: </a></span><span class="l"><a href="#182">182: </a></span><span class="l"><a href="#183">183: </a></span><span class="l"><a href="#184">184: </a></span><span class="l"><a href="#185">185: </a></span><span class="l"><a href="#186">186: </a></span><span class="l"><a href="#187">187: </a></span><span class="l"><a href="#188">188: </a></span><span class="l"><a href="#189">189: </a></span><span class="l"><a href="#190">190: </a></span><span class="l"><a href="#191">191: </a></span></span><span class="l"><a href="#192">192: </a></span></span><span class="l"><a href="#193">193: </a></span></span><span class="l"><a href="#194">194: </a></span><span class="l"><a href="#195">195: </a></span><span class="l"><a href="#196">196: </a></span><span class="l"><a href="#197">197: </a></span><span class="l"><a href="#198">198: </a></span><span class="l"><a href="#199">199: </a></span><span class="l"><a href="#200">200: </a></span><span class="l"><a href="#201">201: </a></span><span class="l"><a href="#202">202: </a></span><span class="l"><a href="#203">203: </a></span></span><span class="l"><a href="#204">204: </a></span></span><span class="l"><a href="#205">205: </a></span></span><span class="l"><a href="#206">206: </a></span></span><span class="l"><a href="#207">207: </a></span><span class="l"><a href="#208">208: </a></span><span class="l"><a href="#209">209: </a></span><span class="l"><a href="#210">210: </a></span><span class="l"><a href="#211">211: </a></span><span class="l"><a href="#212">212: </a></span><span class="l"><a href="#213">213: </a></span><span class="l"><a href="#214">214: </a></span><span class="l"><a href="#215">215: </a></span><span class="l"><a href="#216">216: </a></span><span class="l"><a href="#217">217: </a></span><span class="l"><a href="#218">218: </a></span><span class="l"><a href="#219">219: </a></span><span class="l"><a href="#220">220: </a></span><span class="l"><a href="#221">221: </a></span><span class="l"><a href="#222">222: </a></span><span class="l"><a href="#223">223: </a></span><span class="l"><a href="#224">224: </a></span><span class="l"><a href="#225">225: </a></span><span class="l"><a href="#226">226: </a></span><span class="l"><a href="#227">227: </a></span><span class="l"><a href="#228">228: </a></span><span class="l"><a href="#229">229: </a></span></span><span class="l"><a href="#230">230: </a></span></span><span class="l"><a href="#231">231: </a></span></span><span class="l"><a href="#232">232: </a></span></span><span class="l"><a href="#233">233: </a></span><span class="l"><a href="#234">234: </a></span><span class="l"><a href="#235">235: </a></span><span class="l"><a href="#236">236: </a></span><span class="l"><a href="#237">237: </a></span><span class="l"><a href="#238">238: </a></span><span class="l"><a href="#239">239: </a></span><span class="l"><a href="#240">240: </a></span><span class="l"><a href="#241">241: </a></span><span class="l"><a href="#242">242: </a></span><span class="l"><a href="#243">243: </a></span><span class="l"><a href="#244">244: </a></span><span class="l"><a href="#245">245: </a></span><span class="l"><a href="#246">246: </a></span><span class="l"><a href="#247">247: </a></span><span class="l"><a href="#248">248: </a></span><span class="l"><a href="#249">249: </a></span><span class="l"><a href="#250">250: </a></span><span class="l"><a href="#251">251: </a></span><span class="l"><a href="#252">252: </a></span><span class="l"><a href="#253">253: </a></span><span class="l"><a href="#254">254: </a></span></span><span class="l"><a href="#255">255: </a></span></span><span class="l"><a href="#256">256: </a></span></span><span class="l"><a href="#257">257: </a></span></span><span class="l"><a href="#258">258: </a></span><span class="l"><a href="#259">259: </a></span><span class="l"><a href="#260">260: </a></span><span class="l"><a href="#261">261: </a></span><span class="l"><a href="#262">262: </a></span><span class="l"><a href="#263">263: </a></span><span class="l"><a href="#264">264: </a></span><span class="l"><a href="#265">265: </a></span><span class="l"><a href="#266">266: </a></span><span class="l"><a href="#267">267: </a></span><span class="l"><a href="#268">268: </a></span><span class="l"><a href="#269">269: </a></span><span class="l"><a href="#270">270: </a></span><span class="l"><a href="#271">271: </a></span><span class="l"><a href="#272">272: </a></span><span class="l"><a href="#273">273: </a></span><span class="l"><a href="#274">274: </a></span><span class="l"><a href="#275">275: </a></span><span class="l"><a href="#276">276: </a></span><span class="l"><a href="#277">277: </a></span><span class="l"><a href="#278">278: </a></span><span class="l"><a href="#279">279: </a></span><span class="l"><a href="#280">280: </a></span><span class="l"><a href="#281">281: </a></span><span class="l"><a href="#282">282: </a></span><span class="l"><a href="#283">283: </a></span><span class="l"><a href="#284">284: </a></span><span class="l"><a href="#285">285: </a></span><span class="l"><a href="#286">286: </a></span><span class="l"><a href="#287">287: </a></span><span class="l"><a href="#288">288: </a></span><span class="l"><a href="#289">289: </a></span><span class="l"><a href="#290">290: </a></span><span class="l"><a href="#291">291: </a></span><span class="l"><a href="#292">292: </a></span><span class="l"><a href="#293">293: </a></span><span class="l"><a href="#294">294: </a></span><span class="l"><a href="#295">295: </a></span><span class="l"><a href="#296">296: </a></span><span class="l"><a href="#297">297: </a></span><span class="l"><a href="#298">298: </a></span><span class="l"><a href="#299">299: </a></span><span class="l"><a href="#300">300: </a></span><span class="l"><a href="#301">301: </a></span><span class="l"><a href="#302">302: </a></span><span class="l"><a href="#303">303: </a></span><span class="l"><a href="#304">304: </a></span><span class="l"><a href="#305">305: </a></span><span class="l"><a href="#306">306: </a></span><span class="l"><a href="#307">307: </a></span><span class="l"><a href="#308">308: </a></span><span class="l"><a href="#309">309: </a></span><span class="l"><a href="#310">310: </a></span><span class="l"><a href="#311">311: </a></span><span class="l"><a href="#312">312: </a></span><span class="l"><a href="#313">313: </a></span><span class="l"><a href="#314">314: </a></span><span class="l"><a href="#315">315: </a></span><span class="l"><a href="#316">316: </a></span><span class="l"><a href="#317">317: </a></span><span class="l"><a href="#318">318: </a></span><span class="l"><a href="#319">319: </a></span><span class="l"><a href="#320">320: </a></span><span class="l"><a href="#321">321: </a></span><span class="l"><a href="#322">322: </a></span><span class="l"><a href="#323">323: </a></span><span class="l"><a href="#324">324: </a></span><span class="l"><a href="#325">325: </a></span><span class="l"><a href="#326">326: </a></span><span class="l"><a href="#327">327: </a></span><span class="l"><a href="#328">328: </a></span><span class="l"><a href="#329">329: </a></span><span class="l"><a href="#330">330: </a></span><span class="l"><a href="#331">331: </a></span><span class="l"><a href="#332">332: </a></span><span class="l"><a href="#333">333: </a></span><span class="l"><a href="#334">334: </a></span><span class="l"><a href="#335">335: </a></span><span class="l"><a href="#336">336: </a></span><span class="l"><a href="#337">337: </a></span><span class="l"><a href="#338">338: </a></span><span class="l"><a href="#339">339: </a></span><span class="l"><a href="#340">340: </a></span><span class="l"><a href="#341">341: </a></span><span class="l"><a href="#342">342: </a></span><span class="l"><a href="#343">343: </a></span><span class="l"><a href="#344">344: </a></span><span class="l"><a href="#345">345: </a></span><span class="l"><a href="#346">346: </a></span><span class="l"><a href="#347">347: </a></span><span class="l"><a href="#348">348: </a></span><span class="l"><a href="#349">349: </a></span><span class="l"><a href="#350">350: </a></span><span class="l"><a href="#351">351: </a></span><span class="l"><a href="#352">352: </a></span><span class="l"><a href="#353">353: </a></span><span class="l"><a href="#354">354: </a></span></span><span class="l"><a href="#355">355: </a></span></span><span class="l"><a href="#356">356: </a></span></span><span class="l"><a href="#357">357: </a></span></span><span class="l"><a href="#358">358: </a></span></span><span class="l"><a href="#359">359: </a></span></span><span class="l"><a href="#360">360: </a></span><span class="l"><a href="#361">361: </a></span><span class="l"><a href="#362">362: </a></span><span class="l"><a href="#363">363: </a></span><span class="l"><a href="#364">364: </a></span><span class="l"><a href="#365">365: </a></span><span class="l"><a href="#366">366: </a></span><span class="l"><a href="#367">367: </a></span><span class="l"><a href="#368">368: </a></span><span class="l"><a href="#369">369: </a></span><span class="l"><a href="#370">370: </a></span><span class="l"><a href="#371">371: </a></span><span class="l"><a href="#372">372: </a></span><span class="l"><a href="#373">373: </a></span><span class="l"><a href="#374">374: </a></span><span class="l"><a href="#375">375: </a></span><span class="l"><a href="#376">376: </a></span><span class="l"><a href="#377">377: </a></span><span class="l"><a href="#378">378: </a></span></span><span class="l"><a href="#379">379: </a></span></span><span class="l"><a href="#380">380: </a></span></span><span class="l"><a href="#381">381: </a></span><span class="l"><a href="#382">382: </a></span><span class="l"><a href="#383">383: </a></span><span class="l"><a href="#384">384: </a></span><span class="l"><a href="#385">385: </a></span><span class="l"><a href="#386">386: </a></span><span class="l"><a href="#387">387: </a></span><span class="l"><a href="#388">388: </a></span><span class="l"><a href="#389">389: </a></span><span class="l"><a href="#390">390: </a></span><span class="l"><a href="#391">391: </a></span><span class="l"><a href="#392">392: </a></span><span class="l"><a href="#393">393: </a></span><span class="l"><a href="#394">394: </a></span><span class="l"><a href="#395">395: </a></span><span class="l"><a href="#396">396: </a></span><span class="l"><a href="#397">397: </a></span><span class="l"><a href="#398">398: </a></span><span class="l"><a href="#399">399: </a></span><span class="l"><a href="#400">400: </a></span></code></pre>
|
150 |
<pre class="code"><code><span id="1" class="l"><span class="xlang"><?php</span>
|
151 |
</span><span id="2" class="l">
|
152 |
</span><span id="3" class="l"><span class="php-keyword1">namespace</span> WPGMZA;
|
161 |
</span><span id="12" class="l"><span class="php-keyword1">class</span> GoogleMapsAPILoader
|
162 |
</span><span id="13" class="l">{
|
163 |
</span><span id="14" class="l"> <span class="php-keyword1">private</span> <span class="php-keyword1">static</span> <span class="php-var">$googleAPILoadCalled</span> = <span class="php-keyword1">false</span>;
|
164 |
+
</span><span id="15" class="l">
|
165 |
+
</span><span id="16" class="l"> <span class="php-comment">/**
|
166 |
+
</span></span><span id="17" class="l"><span class="php-comment"> * @const Status code when the user has selected "Do not load Google Maps API"
|
167 |
+
</span></span><span id="18" class="l"><span class="php-comment"> */</span>
|
168 |
+
</span><span id="19" class="l"> <span class="php-keyword1">const</span> REMOVE_API_CHECKED = <span class="php-quote">'REMOVE_API_CHECKED'</span>;
|
169 |
+
</span><span id="20" class="l">
|
170 |
+
</span><span id="21" class="l"> <span class="php-comment">/**
|
171 |
+
</span></span><span id="22" class="l"><span class="php-comment"> * @const Status code when the user has not given GDPR consent, where it is required
|
172 |
+
</span></span><span id="23" class="l"><span class="php-comment"> */</span>
|
173 |
+
</span><span id="24" class="l"> <span class="php-keyword1">const</span> USER_CONSENT_NOT_GIVEN = <span class="php-quote">'USER_CONSENT_NOT_GIVEN'</span>;
|
174 |
+
</span><span id="25" class="l">
|
175 |
+
</span><span id="26" class="l"> <span class="php-comment">/**
|
176 |
+
</span></span><span id="27" class="l"><span class="php-comment"> * @const Status code when the selected maps engine is not Google Maps
|
177 |
+
</span></span><span id="28" class="l"><span class="php-comment"> */</span>
|
178 |
+
</span><span id="29" class="l"> <span class="php-keyword1">const</span> ENGINE_NOT_GOOGLE_MAPS = <span class="php-quote">'ENGINE_NOT_GOOGLE_MAPS'</span>;
|
179 |
+
</span><span id="30" class="l">
|
180 |
+
</span><span id="31" class="l"> <span class="php-comment">/**
|
181 |
+
</span></span><span id="32" class="l"><span class="php-comment"> * @const Status code when the current page ID has been explicitly included in the load settings
|
182 |
+
</span></span><span id="33" class="l"><span class="php-comment"> */</span>
|
183 |
+
</span><span id="34" class="l"> <span class="php-keyword1">const</span> PAGE_EXPLICITLY_INCLUDED = <span class="php-quote">'PAGE_EXPLICITLY_INCLUDED'</span>;
|
184 |
+
</span><span id="35" class="l">
|
185 |
+
</span><span id="36" class="l"> <span class="php-comment">/**
|
186 |
+
</span></span><span id="37" class="l"><span class="php-comment"> * @const Status code when the current page ID has been explicitly excluded in the load settings
|
187 |
+
</span></span><span id="38" class="l"><span class="php-comment"> */</span>
|
188 |
+
</span><span id="39" class="l"> <span class="php-keyword1">const</span> PAGE_EXPLICITLY_EXCLUDED = <span class="php-quote">'PAGE_EXPLICITLY_EXCLUDED'</span>;
|
189 |
+
</span><span id="40" class="l">
|
190 |
+
</span><span id="41" class="l"> <span class="php-comment">/**
|
191 |
+
</span></span><span id="42" class="l"><span class="php-comment"> * @const Status code when the "Never" option has been selected in the load API condition setting
|
192 |
+
</span></span><span id="43" class="l"><span class="php-comment"> */</span>
|
193 |
+
</span><span id="44" class="l"> <span class="php-keyword1">const</span> NEVER_LOAD_API_SELECTED = <span class="php-quote">'NEVER_LOAD_API_SELECTED'</span>;
|
194 |
+
</span><span id="45" class="l">
|
195 |
+
</span><span id="46" class="l"> <span class="php-comment">/**
|
196 |
+
</span></span><span id="47" class="l"><span class="php-comment"> * @const Status code when the "Front End Only" option has been selected in the load API condition setting
|
197 |
+
</span></span><span id="48" class="l"><span class="php-comment"> */</span>
|
198 |
+
</span><span id="49" class="l"> <span class="php-keyword1">const</span> ONLY_LOAD_FRONT_END_SELECTED = <span class="php-quote">'ONLY_LOAD_FRONT_END_SELECTED'</span>;
|
199 |
+
</span><span id="50" class="l">
|
200 |
+
</span><span id="51" class="l"> <span class="php-comment">/**
|
201 |
+
</span></span><span id="52" class="l"><span class="php-comment"> * @const Status code when the "Back End Only" option has been selected in the load API condition setting
|
202 |
+
</span></span><span id="53" class="l"><span class="php-comment"> */</span>
|
203 |
+
</span><span id="54" class="l"> <span class="php-keyword1">const</span> ONLY_LOAD_BACK_END_SELECTED = <span class="php-quote">'ONLY_LOAD_BACK_END_SELECTED'</span>;
|
204 |
+
</span><span id="55" class="l">
|
205 |
+
</span><span id="56" class="l"> <span class="php-comment">/**
|
206 |
+
</span></span><span id="57" class="l"><span class="php-comment"> * @const Status code when class has attempted to enqueue the API. Please note that this does not necessarily guarantee it was successful in doing so, just that the conditions to enqueue were met.
|
207 |
+
</span></span><span id="58" class="l"><span class="php-comment"> */</span>
|
208 |
+
</span><span id="59" class="l"> <span class="php-keyword1">const</span> ENQUEUED = <span class="php-quote">'ENQUEUED'</span>;
|
209 |
+
</span><span id="60" class="l">
|
210 |
+
</span><span id="61" class="l"> <span class="php-keyword1">private</span> <span class="php-keyword1">static</span> <span class="php-var">$apiWillNotLoadWarningDisplayed</span> = <span class="php-keyword1">false</span>;
|
211 |
+
</span><span id="62" class="l">
|
212 |
+
</span><span id="63" class="l"> <span class="php-comment">/**
|
213 |
+
</span></span><span id="64" class="l"><span class="php-comment"> * Constructor
|
214 |
+
</span></span><span id="65" class="l"><span class="php-comment"> */</span>
|
215 |
+
</span><span id="66" class="l"> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> __construct()
|
216 |
+
</span><span id="67" class="l"> {
|
217 |
+
</span><span id="68" class="l"> <span class="php-keyword1">global</span> <span class="php-var">$wpgmza</span>;
|
218 |
+
</span><span id="69" class="l">
|
219 |
+
</span><span id="70" class="l"> <span class="php-var">$include_allowed</span> = <span class="php-var">$this</span>->isIncludeAllowed(<span class="php-var">$status</span>);
|
220 |
+
</span><span id="71" class="l"> <span class="php-var">$isAllowed</span> = <span class="php-var">$this</span>->isIncludeAllowed(<span class="php-var">$status</span>);
|
221 |
</span><span id="72" class="l">
|
222 |
+
</span><span id="73" class="l"> wp_enqueue_script(<span class="php-quote">'wpgmza_data'</span>, plugin_dir_url(__DIR__) . <span class="php-quote">'wpgmza_data.js'</span>);
|
223 |
+
</span><span id="74" class="l"> wp_localize_script(<span class="php-quote">'wpgmza_data'</span>, <span class="php-quote">'wpgmza_google_api_status'</span>, (<span class="php-keyword1">array</span>)<span class="php-var">$status</span>);
|
224 |
</span><span id="75" class="l">
|
225 |
+
</span><span id="76" class="l"> <span class="php-keyword1">if</span>(<span class="php-var">$wpgmza</span>->settings->engine == <span class="php-quote">"google-maps"</span> && !<span class="php-var">$isAllowed</span> && !GoogleMapsAPILoader::<span class="php-var">$apiWillNotLoadWarningDisplayed</span>)
|
226 |
+
</span><span id="77" class="l"> {
|
227 |
+
</span><span id="78" class="l"> GoogleMapsAPILoader::<span class="php-var">$apiWillNotLoadWarningDisplayed</span> = <span class="php-keyword1">true</span>;
|
228 |
+
</span><span id="79" class="l">
|
229 |
+
</span><span id="80" class="l"> add_action(<span class="php-quote">'admin_notices'</span>, <span class="php-keyword1">function</span>() <span class="php-keyword1">use</span> (<span class="php-var">$status</span>) {
|
230 |
+
</span><span id="81" class="l"> <span class="xlang">?></span>
|
231 |
+
</span><span id="82" class="l"> <div <span class="php-keyword1">class</span>=<span class="php-quote">"notice notice-warning is-dismissable"</span>>
|
232 |
+
</span><span id="83" class="l"> <p>
|
233 |
+
</span><span id="84" class="l"> <span class="xlang"><?php</span>
|
234 |
+
</span><span id="85" class="l"> _e( <span class="php-keyword2">sprintf</span>(
|
235 |
+
</span><span id="86" class="l"> <span class="php-quote">'WP Google Maps: You have selected the Google Maps engine, but the Google Maps API is not being loaded for the following reason: %s.<br/>We recommend you uncheck "Do not load Google Maps API" and set "Load Maps Engine API" to "Where Required" in your <a href="%s">maps settings page</a>'</span>,
|
236 |
+
</span><span id="87" class="l"> <span class="php-var">$status</span>->message,
|
237 |
+
</span><span id="88" class="l"> admin_url(<span class="php-quote">'admin.php?page=wp-google-maps-menu-settings'</span>)
|
238 |
+
</span><span id="89" class="l"> ));
|
239 |
+
</span><span id="90" class="l"> <span class="xlang">?></span>
|
240 |
+
</span><span id="91" class="l"> </p>
|
241 |
+
</span><span id="92" class="l"> </div>
|
242 |
+
</span><span id="93" class="l"> <span class="xlang"><?php</span>
|
243 |
+
</span><span id="94" class="l"> });
|
244 |
+
</span><span id="95" class="l"> }
|
245 |
+
</span><span id="96" class="l"> }
|
246 |
+
</span><span id="97" class="l">
|
247 |
+
</span><span id="98" class="l"> <span class="php-comment">/**
|
248 |
+
</span></span><span id="99" class="l"><span class="php-comment"> * Gets the parameters to be sent to the Google Maps API load call
|
249 |
+
</span></span><span id="100" class="l"><span class="php-comment"> * @return array Key value parameters to be passed to the Google API URL
|
250 |
+
</span></span><span id="101" class="l"><span class="php-comment"> */</span>
|
251 |
+
</span><span id="102" class="l"> <span class="php-keyword1">protected</span> <span class="php-keyword1">function</span> getGoogleMapsAPIParams()
|
252 |
+
</span><span id="103" class="l"> {
|
253 |
+
</span><span id="104" class="l"> <span class="php-keyword1">global</span> <span class="php-var">$wpgmza</span>;
|
254 |
</span><span id="105" class="l">
|
255 |
+
</span><span id="106" class="l"> <span class="php-comment">// Locale</span>
|
256 |
+
</span><span id="107" class="l"> <span class="php-var">$locale</span> = get_locale();
|
257 |
+
</span><span id="108" class="l"> <span class="php-var">$suffix</span> = <span class="php-quote">'.com'</span>;
|
258 |
+
</span><span id="109" class="l">
|
259 |
+
</span><span id="110" class="l"> <span class="php-keyword1">switch</span>(<span class="php-var">$locale</span>)
|
260 |
+
</span><span id="111" class="l"> {
|
261 |
+
</span><span id="112" class="l"> <span class="php-keyword1">case</span> <span class="php-quote">'he_IL'</span>:
|
262 |
+
</span><span id="113" class="l"> <span class="php-comment">// Hebrew correction</span>
|
263 |
+
</span><span id="114" class="l"> <span class="php-var">$locale</span> = <span class="php-quote">'iw'</span>;
|
264 |
+
</span><span id="115" class="l"> <span class="php-keyword1">break</span>;
|
265 |
+
</span><span id="116" class="l">
|
266 |
+
</span><span id="117" class="l"> <span class="php-keyword1">case</span> <span class="php-quote">'zh_CN'</span>:
|
267 |
+
</span><span id="118" class="l"> <span class="php-comment">// Chinese integration</span>
|
268 |
+
</span><span id="119" class="l"> <span class="php-var">$suffix</span> = <span class="php-quote">'.cn'</span>;
|
269 |
+
</span><span id="120" class="l"> <span class="php-keyword1">break</span>;
|
270 |
+
</span><span id="121" class="l"> }
|
271 |
+
</span><span id="122" class="l">
|
272 |
+
</span><span id="123" class="l">
|
273 |
+
</span><span id="124" class="l"> <span class="php-var">$locale</span> = <span class="php-keyword2">substr</span>(<span class="php-var">$locale</span>, <span class="php-num">0</span>, <span class="php-num">2</span>);
|
274 |
+
</span><span id="125" class="l">
|
275 |
+
</span><span id="126" class="l"> <span class="php-comment">// Default params for google maps</span>
|
276 |
+
</span><span id="127" class="l"> <span class="php-var">$params</span> = <span class="php-keyword1">array</span>(
|
277 |
+
</span><span id="128" class="l"> <span class="php-quote">'v'</span> => <span class="php-quote">'quarterly'</span>,
|
278 |
+
</span><span id="129" class="l"> <span class="php-quote">'language'</span> => <span class="php-var">$locale</span>,
|
279 |
+
</span><span id="130" class="l"> <span class="php-quote">'suffix'</span> => <span class="php-var">$suffix</span>
|
280 |
+
</span><span id="131" class="l"> );
|
281 |
+
</span><span id="132" class="l">
|
282 |
+
</span><span id="133" class="l"> <span class="php-comment">// API Key</span>
|
283 |
+
</span><span id="134" class="l"> <span class="php-var">$key</span> = get_option(<span class="php-quote">'wpgmza_google_maps_api_key'</span>);
|
284 |
+
</span><span id="135" class="l">
|
285 |
+
</span><span id="136" class="l"> <span class="php-keyword1">if</span>(<span class="php-var">$key</span>)
|
286 |
+
</span><span id="137" class="l"> <span class="php-var">$params</span>[<span class="php-quote">'key'</span>] = <span class="php-var">$key</span>;
|
287 |
+
</span><span id="138" class="l"> <span class="php-keyword1">else</span> <span class="php-keyword1">if</span>(is_admin())
|
288 |
+
</span><span id="139" class="l"> <span class="php-var">$params</span>[<span class="php-quote">'key'</span>] = get_option(<span class="php-quote">'wpgmza_temp_api'</span>);
|
289 |
+
</span><span id="140" class="l">
|
290 |
+
</span><span id="141" class="l"> <span class="php-comment">// Libraries</span>
|
291 |
+
</span><span id="142" class="l"> <span class="php-var">$libraries</span> = <span class="php-keyword1">array</span>(<span class="php-quote">'geometry'</span>, <span class="php-quote">'places'</span>, <span class="php-quote">'visualization'</span>);
|
292 |
+
</span><span id="143" class="l"> <span class="php-var">$params</span>[<span class="php-quote">'libraries'</span>] = <span class="php-keyword2">implode</span>(<span class="php-quote">','</span>, <span class="php-var">$libraries</span>);
|
293 |
</span><span id="144" class="l">
|
294 |
+
</span><span id="145" class="l"> <span class="php-var">$params</span> = apply_filters( <span class="php-quote">'wpgmza_google_maps_api_params'</span>, <span class="php-var">$params</span> );
|
295 |
+
</span><span id="146" class="l">
|
296 |
+
</span><span id="147" class="l"> <span class="php-keyword1">return</span> <span class="php-var">$params</span>;
|
297 |
+
</span><span id="148" class="l"> }
|
298 |
+
</span><span id="149" class="l">
|
299 |
+
</span><span id="150" class="l"> <span class="php-comment">/**
|
300 |
+
</span></span><span id="151" class="l"><span class="php-comment"> * This function loads the Google API if it hasn't been called already
|
301 |
+
</span></span><span id="152" class="l"><span class="php-comment"> * @return void
|
302 |
+
</span></span><span id="153" class="l"><span class="php-comment"> */</span>
|
303 |
+
</span><span id="154" class="l"> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> registerGoogleMaps()
|
304 |
+
</span><span id="155" class="l"> {
|
305 |
+
</span><span id="156" class="l"> <span class="php-keyword1">global</span> <span class="php-var">$wpgmza</span>;
|
306 |
+
</span><span id="157" class="l"> <span class="php-keyword1">global</span> <span class="php-var">$post</span>;
|
307 |
+
</span><span id="158" class="l">
|
308 |
+
</span><span id="159" class="l"> <span class="php-var">$settings</span> = (<span class="php-keyword1">array</span>)<span class="php-var">$wpgmza</span>->settings;
|
309 |
</span><span id="160" class="l">
|
310 |
+
</span><span id="161" class="l"> <span class="php-keyword1">if</span>(GoogleMapsAPILoader::<span class="php-var">$googleAPILoadCalled</span>)
|
311 |
+
</span><span id="162" class="l"> <span class="php-keyword1">return</span>;
|
312 |
+
</span><span id="163" class="l">
|
313 |
+
</span><span id="164" class="l"> <span class="php-keyword1">if</span>(!<span class="php-var">$this</span>->isIncludeAllowed())
|
314 |
+
</span><span id="165" class="l"> <span class="php-keyword1">return</span>;
|
315 |
</span><span id="166" class="l">
|
316 |
+
</span><span id="167" class="l"> <span class="php-var">$params</span> = <span class="php-var">$this</span>->getGoogleMapsAPIParams();
|
317 |
+
</span><span id="168" class="l">
|
318 |
+
</span><span id="169" class="l"> <span class="php-var">$suffix</span> = <span class="php-var">$params</span>[<span class="php-quote">'suffix'</span>];
|
319 |
+
</span><span id="170" class="l"> <span class="php-keyword1">unset</span>(<span class="php-var">$params</span>[<span class="php-quote">'suffix'</span>]);
|
320 |
+
</span><span id="171" class="l">
|
321 |
+
</span><span id="172" class="l"> <span class="php-var">$url</span> = <span class="php-quote">'//maps.google'</span> . <span class="php-var">$suffix</span> . <span class="php-quote">'/maps/api/js?'</span> . <span class="php-keyword2">http_build_query</span>(<span class="php-var">$params</span>);
|
322 |
+
</span><span id="173" class="l">
|
323 |
+
</span><span id="174" class="l"> wp_register_script(<span class="php-quote">'wpgmza_api_call'</span>, <span class="php-var">$url</span>);
|
324 |
+
</span><span id="175" class="l">
|
325 |
+
</span><span id="176" class="l"> <span class="php-comment">// Are we always enqueuing?</span>
|
326 |
+
</span><span id="177" class="l"> <span class="php-keyword1">if</span>(!<span class="php-keyword1">empty</span>(<span class="php-var">$settings</span>[<span class="php-quote">'wpgmza_load_engine_api_condition'</span>]) && <span class="php-var">$settings</span>[<span class="php-quote">'wpgmza_load_engine_api_condition'</span>] == <span class="php-quote">'always'</span>)
|
327 |
+
</span><span id="178" class="l"> <span class="php-var">$this</span>->enqueueGoogleMaps();
|
328 |
+
</span><span id="179" class="l">
|
329 |
+
</span><span id="180" class="l"> <span class="php-comment">// Are we always enqueuing on this page?</span>
|
330 |
+
</span><span id="181" class="l"> <span class="php-keyword1">if</span>(<span class="php-var">$post</span> && <span class="php-var">$this</span>->isPageIncluded(<span class="php-var">$post</span>->ID))
|
331 |
+
</span><span id="182" class="l"> <span class="php-var">$this</span>->enqueueGoogleMaps();
|
332 |
+
</span><span id="183" class="l">
|
333 |
+
</span><span id="184" class="l"> GoogleMapsAPILoader::<span class="php-var">$googleAPILoadCalled</span> = <span class="php-keyword1">true</span>;
|
334 |
+
</span><span id="185" class="l">
|
335 |
+
</span><span id="186" class="l"> <span class="php-comment">// Block other plugins from including the API</span>
|
336 |
+
</span><span id="187" class="l"> <span class="php-keyword1">if</span>(!<span class="php-keyword1">empty</span>(<span class="php-var">$settings</span>[<span class="php-quote">'wpgmza_prevent_other_plugins_and_theme_loading_api'</span>]))
|
337 |
+
</span><span id="188" class="l"> add_filter(<span class="php-quote">'script_loader_tag'</span>, <span class="php-keyword1">array</span>(<span class="php-var">$this</span>, <span class="php-quote">'preventOtherGoogleMapsTag'</span>), <span class="php-num">9999999</span>, <span class="php-num">3</span>);
|
338 |
+
</span><span id="189" class="l"> }
|
339 |
+
</span><span id="190" class="l">
|
340 |
+
</span><span id="191" class="l"> <span class="php-comment">/**
|
341 |
+
</span></span><span id="192" class="l"><span class="php-comment"> * This function will enqueue the Google Maps API, if the conditions to include it are met. Otherwise, this function will do nothing.
|
342 |
+
</span></span><span id="193" class="l"><span class="php-comment"> * @return void
|
343 |
+
</span></span><span id="194" class="l"><span class="php-comment"> */</span>
|
344 |
+
</span><span id="195" class="l"> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> enqueueGoogleMaps()
|
345 |
+
</span><span id="196" class="l"> {
|
346 |
+
</span><span id="197" class="l"> <span class="php-keyword1">if</span>(!<span class="php-var">$this</span>->isIncludeAllowed())
|
347 |
+
</span><span id="198" class="l"> <span class="php-keyword1">return</span>;
|
348 |
+
</span><span id="199" class="l">
|
349 |
+
</span><span id="200" class="l"> wp_enqueue_script(<span class="php-quote">'wpgmza_api_call'</span>);
|
350 |
+
</span><span id="201" class="l"> }
|
351 |
+
</span><span id="202" class="l">
|
352 |
+
</span><span id="203" class="l"> <span class="php-comment">/**
|
353 |
+
</span></span><span id="204" class="l"><span class="php-comment"> * Checks whether the specified page ID has been explicitly included in the plugin settings
|
354 |
+
</span></span><span id="205" class="l"><span class="php-comment"> * @param int $page_id The page / post ID.
|
355 |
+
</span></span><span id="206" class="l"><span class="php-comment"> * @return bool Whether or not the user has explicitly stated to include the API on this page.
|
356 |
+
</span></span><span id="207" class="l"><span class="php-comment"> */</span>
|
357 |
+
</span><span id="208" class="l"> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> isPageIncluded(<span class="php-var">$page_id</span>)
|
358 |
+
</span><span id="209" class="l"> {
|
359 |
+
</span><span id="210" class="l"> <span class="php-keyword1">global</span> <span class="php-var">$wpgmza</span>;
|
360 |
+
</span><span id="211" class="l"> <span class="php-keyword1">global</span> <span class="php-var">$post</span>;
|
361 |
+
</span><span id="212" class="l">
|
362 |
+
</span><span id="213" class="l"> <span class="php-var">$settings</span> = <span class="php-var">$wpgmza</span>->settings;
|
363 |
+
</span><span id="214" class="l">
|
364 |
+
</span><span id="215" class="l"> <span class="php-keyword1">if</span>(<span class="php-keyword1">empty</span>(<span class="php-var">$settings</span>[<span class="php-quote">'wpgmza_always_include_engine_api_on_pages'</span>]))
|
365 |
+
</span><span id="216" class="l"> <span class="php-keyword1">return</span> <span class="php-keyword1">false</span>;
|
366 |
</span><span id="217" class="l">
|
367 |
+
</span><span id="218" class="l"> <span class="php-keyword1">if</span>(!<span class="php-keyword2">preg_match_all</span>(<span class="php-quote">'/\d+/'</span>, <span class="php-var">$settings</span>[<span class="php-quote">'wpgmza_always_include_engine_api_on_pages'</span>], <span class="php-var">$m</span>))
|
368 |
</span><span id="219" class="l"> <span class="php-keyword1">return</span> <span class="php-keyword1">false</span>;
|
369 |
</span><span id="220" class="l">
|
370 |
+
</span><span id="221" class="l"> <span class="php-keyword1">if</span>(<span class="php-keyword1">empty</span>(<span class="php-var">$m</span>[<span class="php-num">0</span>]))
|
371 |
</span><span id="222" class="l"> <span class="php-keyword1">return</span> <span class="php-keyword1">false</span>;
|
372 |
+
</span><span id="223" class="l">
|
373 |
+
</span><span id="224" class="l"> <span class="php-var">$page_ids</span> = <span class="php-var">$m</span>[<span class="php-num">0</span>];
|
374 |
+
</span><span id="225" class="l">
|
375 |
+
</span><span id="226" class="l"> <span class="php-keyword1">return</span> (<span class="php-keyword2">array_search</span>(<span class="php-var">$page_id</span>, <span class="php-var">$page_ids</span>) !== <span class="php-keyword1">false</span>);
|
376 |
+
</span><span id="227" class="l"> }
|
377 |
+
</span><span id="228" class="l">
|
378 |
+
</span><span id="229" class="l"> <span class="php-comment">/**
|
379 |
+
</span></span><span id="230" class="l"><span class="php-comment"> * Checks whether the specified page ID has been explicitly excluded in the plugin settings
|
380 |
+
</span></span><span id="231" class="l"><span class="php-comment"> * @param int $page_id The page / post ID.
|
381 |
+
</span></span><span id="232" class="l"><span class="php-comment"> * @return bool Whether or not the user has explicitly stated to exclude the API on this page.
|
382 |
+
</span></span><span id="233" class="l"><span class="php-comment"> */</span>
|
383 |
+
</span><span id="234" class="l"> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> isPageExcluded(<span class="php-var">$page_id</span>)
|
384 |
+
</span><span id="235" class="l"> {
|
385 |
+
</span><span id="236" class="l"> <span class="php-keyword1">global</span> <span class="php-var">$wpgmza</span>;
|
386 |
+
</span><span id="237" class="l">
|
387 |
+
</span><span id="238" class="l"> <span class="php-var">$settings</span> = <span class="php-var">$wpgmza</span>->settings;
|
388 |
+
</span><span id="239" class="l">
|
389 |
+
</span><span id="240" class="l"> <span class="php-keyword1">if</span>(<span class="php-keyword1">empty</span>(<span class="php-var">$settings</span>[<span class="php-quote">'wpgmza_always_exclude_engine_api_on_pages'</span>]))
|
390 |
+
</span><span id="241" class="l"> <span class="php-keyword1">return</span> <span class="php-keyword1">false</span>;
|
391 |
+
</span><span id="242" class="l">
|
392 |
+
</span><span id="243" class="l"> <span class="php-keyword1">if</span>(!<span class="php-keyword2">preg_match_all</span>(<span class="php-quote">'/\d+/'</span>, <span class="php-var">$settings</span>[<span class="php-quote">'wpgmza_always_exclude_engine_api_on_pages'</span>], <span class="php-var">$m</span>))
|
393 |
+
</span><span id="244" class="l"> <span class="php-keyword1">return</span> <span class="php-keyword1">false</span>;
|
394 |
+
</span><span id="245" class="l">
|
395 |
+
</span><span id="246" class="l"> <span class="php-keyword1">if</span>(<span class="php-keyword1">empty</span>(<span class="php-var">$m</span>[<span class="php-num">0</span>]))
|
396 |
+
</span><span id="247" class="l"> <span class="php-keyword1">return</span> <span class="php-keyword1">false</span>;
|
397 |
</span><span id="248" class="l">
|
398 |
+
</span><span id="249" class="l"> <span class="php-var">$page_ids</span> = <span class="php-var">$m</span>[<span class="php-num">0</span>];
|
399 |
+
</span><span id="250" class="l">
|
400 |
+
</span><span id="251" class="l"> <span class="php-keyword1">return</span> (<span class="php-keyword2">array_search</span>(<span class="php-var">$page_id</span>, <span class="php-var">$page_ids</span>) !== <span class="php-keyword1">false</span>);
|
401 |
+
</span><span id="252" class="l"> }
|
402 |
+
</span><span id="253" class="l">
|
403 |
+
</span><span id="254" class="l"> <span class="php-comment">/**
|
404 |
+
</span></span><span id="255" class="l"><span class="php-comment"> * Checks if including the Google API is allowed, based on all the relevant settings.
|
405 |
+
</span></span><span id="256" class="l"><span class="php-comment"> * @param string &$status Reference to a string to store the resulting status in.
|
406 |
+
</span></span><span id="257" class="l"><span class="php-comment"> * @return bool Whether or not it is permitted to include the API on this page, based on the current settings.
|
407 |
+
</span></span><span id="258" class="l"><span class="php-comment"> */</span>
|
408 |
+
</span><span id="259" class="l"> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> isIncludeAllowed(&<span class="php-var">$status</span>=<span class="php-keyword1">null</span>)
|
409 |
+
</span><span id="260" class="l"> {
|
410 |
+
</span><span id="261" class="l"> <span class="php-keyword1">global</span> <span class="php-var">$wpgmza</span>;
|
411 |
+
</span><span id="262" class="l"> <span class="php-keyword1">global</span> <span class="php-var">$post</span>;
|
412 |
+
</span><span id="263" class="l">
|
413 |
+
</span><span id="264" class="l"> <span class="php-var">$settings</span> = <span class="php-var">$wpgmza</span>->settings;
|
414 |
+
</span><span id="265" class="l">
|
415 |
+
</span><span id="266" class="l"> <span class="php-var">$status</span> = (object)<span class="php-keyword1">array</span>(
|
416 |
+
</span><span id="267" class="l"> <span class="php-quote">'message'</span> => <span class="php-keyword1">null</span>,
|
417 |
+
</span><span id="268" class="l"> <span class="php-quote">'code'</span> => <span class="php-keyword1">null</span>
|
418 |
+
</span><span id="269" class="l"> );
|
419 |
+
</span><span id="270" class="l">
|
420 |
+
</span><span id="271" class="l"> <span class="php-comment">// Correction for Pro <= 7.10.04</span>
|
421 |
+
</span><span id="272" class="l"> <span class="php-keyword1">if</span>(<span class="php-keyword1">isset</span>(<span class="php-var">$wpgmza</span>->settings->wpgmza_maps_engine) && <span class="php-var">$wpgmza</span>->settings->wpgmza_maps_engine == <span class="php-quote">'open-street-map'</span>)
|
422 |
+
</span><span id="273" class="l"> <span class="php-var">$wpgmza</span>->settings->wpgmza_maps_engine = <span class="php-quote">'open-layers'</span>;
|
423 |
+
</span><span id="274" class="l">
|
424 |
+
</span><span id="275" class="l"> <span class="php-keyword1">if</span>(!<span class="php-keyword1">empty</span>(<span class="php-var">$settings</span>[<span class="php-quote">'wpgmza_settings_remove_api'</span>]))
|
425 |
+
</span><span id="276" class="l"> {
|
426 |
+
</span><span id="277" class="l"> <span class="php-var">$status</span>->message = <span class="php-quote">'Remove API checked in settings'</span>;
|
427 |
+
</span><span id="278" class="l"> <span class="php-var">$status</span>->code = GoogleMapsAPILoader::REMOVE_API_CHECKED;
|
428 |
+
</span><span id="279" class="l">
|
429 |
+
</span><span id="280" class="l"> <span class="php-keyword1">return</span> <span class="php-keyword1">false</span>;
|
430 |
+
</span><span id="281" class="l"> }
|
431 |
+
</span><span id="282" class="l">
|
432 |
+
</span><span id="283" class="l"> <span class="php-keyword1">if</span>(!is_admin() &&
|
433 |
+
</span><span id="284" class="l"> !<span class="php-keyword1">empty</span>(<span class="php-var">$settings</span>[<span class="php-quote">'wpgmza_gdpr_require_consent_before_load'</span>]) &&
|
434 |
+
</span><span id="285" class="l"> !<span class="php-keyword1">isset</span>(<span class="php-var">$_COOKIE</span>[<span class="php-quote">'wpgmza-api-consent-given'</span>]))
|
435 |
+
</span><span id="286" class="l"> {
|
436 |
+
</span><span id="287" class="l"> <span class="php-var">$status</span>->message = <span class="php-quote">'User consent not given'</span>;
|
437 |
+
</span><span id="288" class="l"> <span class="php-var">$status</span>->code = GoogleMapsAPILoader::USER_CONSENT_NOT_GIVEN;
|
438 |
+
</span><span id="289" class="l">
|
439 |
+
</span><span id="290" class="l"> <span class="php-keyword1">return</span> <span class="php-keyword1">false</span>;
|
440 |
+
</span><span id="291" class="l"> }
|
441 |
+
</span><span id="292" class="l">
|
442 |
+
</span><span id="293" class="l"> <span class="php-keyword1">if</span>(!<span class="php-keyword1">empty</span>(<span class="php-var">$settings</span>[<span class="php-quote">'wpgmza_maps_engine'</span>]) && <span class="php-var">$settings</span>[<span class="php-quote">'wpgmza_maps_engine'</span>] == <span class="php-quote">'open-layers'</span>)
|
443 |
+
</span><span id="294" class="l"> {
|
444 |
+
</span><span id="295" class="l"> <span class="php-var">$status</span>->message = <span class="php-quote">'Engine is not google-maps'</span>;
|
445 |
+
</span><span id="296" class="l"> <span class="php-var">$status</span>->code = GoogleMapsAPILoader::ENGINE_NOT_GOOGLE_MAPS;
|
446 |
</span><span id="297" class="l">
|
447 |
+
</span><span id="298" class="l"> <span class="php-keyword1">return</span> <span class="php-keyword1">false</span>;
|
448 |
+
</span><span id="299" class="l"> }
|
449 |
+
</span><span id="300" class="l">
|
450 |
+
</span><span id="301" class="l"> <span class="php-keyword1">if</span>(<span class="php-var">$post</span>)
|
451 |
+
</span><span id="302" class="l"> {
|
452 |
+
</span><span id="303" class="l"> <span class="php-keyword1">if</span>(<span class="php-var">$this</span>->isPageIncluded(<span class="php-var">$post</span>->ID))
|
453 |
+
</span><span id="304" class="l"> {
|
454 |
+
</span><span id="305" class="l"> <span class="php-var">$status</span>->message = <span class="php-quote">'Page is explicitly included in settings'</span>;
|
455 |
+
</span><span id="306" class="l"> <span class="php-var">$status</span>->code = GoogleMapsAPILoader::PAGE_EXPLICITLY_INCLUDED;
|
456 |
+
</span><span id="307" class="l">
|
457 |
+
</span><span id="308" class="l"> <span class="php-keyword1">return</span> <span class="php-keyword1">true</span>;
|
458 |
+
</span><span id="309" class="l"> }
|
459 |
+
</span><span id="310" class="l">
|
460 |
+
</span><span id="311" class="l"> <span class="php-keyword1">if</span>(<span class="php-var">$this</span>->isPageExcluded(<span class="php-var">$post</span>->ID))
|
461 |
+
</span><span id="312" class="l"> {
|
462 |
+
</span><span id="313" class="l"> <span class="php-var">$status</span>->message = <span class="php-quote">'Page is explicitly excluded in settings'</span>;
|
463 |
+
</span><span id="314" class="l"> <span class="php-var">$status</span>->code = GoogleMapsAPILoader::PAGE_EXPLICITLY_EXCLUDED;
|
464 |
+
</span><span id="315" class="l">
|
465 |
+
</span><span id="316" class="l"> <span class="php-keyword1">return</span> <span class="php-keyword1">false</span>;
|
466 |
+
</span><span id="317" class="l"> }
|
467 |
+
</span><span id="318" class="l"> }
|
468 |
+
</span><span id="319" class="l">
|
469 |
+
</span><span id="320" class="l"> <span class="php-keyword1">if</span>(!<span class="php-keyword1">empty</span>(<span class="php-var">$settings</span>[<span class="php-quote">'wpgmza_load_engine_api_condition'</span>]))
|
470 |
+
</span><span id="321" class="l"> <span class="php-keyword1">switch</span>(<span class="php-var">$settings</span>[<span class="php-quote">'wpgmza_load_engine_api_condition'</span>])
|
471 |
+
</span><span id="322" class="l"> {
|
472 |
+
</span><span id="323" class="l"> <span class="php-keyword1">case</span> <span class="php-quote">'never'</span>:
|
473 |
+
</span><span id="324" class="l"> <span class="php-var">$status</span>->message = <span class="php-quote">'Never load API chosen in settings'</span>;
|
474 |
+
</span><span id="325" class="l"> <span class="php-var">$status</span>->code = GoogleMapsAPILoader::NEVER_LOAD_API_SELECTED;
|
475 |
+
</span><span id="326" class="l">
|
476 |
+
</span><span id="327" class="l"> <span class="php-keyword1">return</span> <span class="php-keyword1">false</span>;
|
477 |
+
</span><span id="328" class="l"> <span class="php-keyword1">break</span>;
|
478 |
+
</span><span id="329" class="l">
|
479 |
+
</span><span id="330" class="l"> <span class="php-keyword1">case</span> <span class="php-quote">'only-front-end'</span>:
|
480 |
+
</span><span id="331" class="l"> <span class="php-var">$status</span>->message = <span class="php-quote">'Load API front end only chosen in settings'</span>;
|
481 |
+
</span><span id="332" class="l"> <span class="php-var">$status</span>->code = GoogleMapsAPILoader::ONLY_LOAD_FRONT_END_SELECTED;
|
482 |
+
</span><span id="333" class="l">
|
483 |
+
</span><span id="334" class="l"> <span class="php-keyword1">return</span> !is_admin();
|
484 |
+
</span><span id="335" class="l"> <span class="php-keyword1">break</span>;
|
485 |
+
</span><span id="336" class="l">
|
486 |
+
</span><span id="337" class="l"> <span class="php-keyword1">case</span> <span class="php-quote">'only-back-end'</span>:
|
487 |
+
</span><span id="338" class="l"> <span class="php-var">$status</span>->message = <span class="php-quote">'Load API back end only chosen in settings'</span>;
|
488 |
+
</span><span id="339" class="l"> <span class="php-var">$status</span>->code = GoogleMapsAPILoader::ONLY_LOAD_BACK_END_SELECTED;
|
489 |
+
</span><span id="340" class="l">
|
490 |
+
</span><span id="341" class="l"> <span class="php-keyword1">return</span> is_admin();
|
491 |
+
</span><span id="342" class="l"> <span class="php-keyword1">break</span>;
|
492 |
+
</span><span id="343" class="l">
|
493 |
+
</span><span id="344" class="l"> <span class="php-keyword1">default</span>:
|
494 |
+
</span><span id="345" class="l"> <span class="php-keyword1">break</span>;
|
495 |
+
</span><span id="346" class="l"> }
|
496 |
+
</span><span id="347" class="l">
|
497 |
+
</span><span id="348" class="l"> <span class="php-var">$status</span>->message = <span class="php-quote">'Enqueued'</span>;
|
498 |
+
</span><span id="349" class="l"> <span class="php-var">$status</span>->code = GoogleMapsAPILoader::ENQUEUED;
|
499 |
+
</span><span id="350" class="l">
|
500 |
+
</span><span id="351" class="l"> <span class="php-keyword1">return</span> <span class="php-keyword1">true</span>;
|
501 |
+
</span><span id="352" class="l"> }
|
502 |
+
</span><span id="353" class="l">
|
503 |
+
</span><span id="354" class="l"> <span class="php-comment">/**
|
504 |
+
</span></span><span id="355" class="l"><span class="php-comment"> * This function hooks into script_loader_tag. If any other plugin or the theme has enqueued a script containing "maps.google", an empty string will be returned, preventing that script loader tag from being rendered. Only the script with the handle wpgmza_api_call will be allowed through. This can be bound using the "prevent other plugins and theme loading maps API" setting.
|
505 |
+
</span></span><span id="356" class="l"><span class="php-comment"> * @param string $tag The full script tag
|
506 |
+
</span></span><span id="357" class="l"><span class="php-comment"> * @param string $handle The handle the script was enqueued with
|
507 |
+
</span></span><span id="358" class="l"><span class="php-comment"> * @param string $src The URL to the script file
|
508 |
+
</span></span><span id="359" class="l"><span class="php-comment"> * @return string Either $tag where permitted, or an empty string if this function should block
|
509 |
+
</span></span><span id="360" class="l"><span class="php-comment"> */</span>
|
510 |
+
</span><span id="361" class="l"> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> preventOtherGoogleMapsTag(<span class="php-var">$tag</span>, <span class="php-var">$handle</span>, <span class="php-var">$src</span>)
|
511 |
+
</span><span id="362" class="l"> {
|
512 |
+
</span><span id="363" class="l"> <span class="php-keyword1">if</span>(<span class="php-keyword2">preg_match</span>(<span class="php-quote">'/maps\.google/i'</span>, <span class="php-var">$src</span>))
|
513 |
+
</span><span id="364" class="l"> {
|
514 |
+
</span><span id="365" class="l"> <span class="php-keyword1">if</span>(!<span class="php-var">$this</span>->isIncludeAllowed(<span class="php-var">$status</span>))
|
515 |
+
</span><span id="366" class="l"> <span class="php-keyword1">return</span> <span class="php-quote">''</span>;
|
516 |
+
</span><span id="367" class="l">
|
517 |
+
</span><span id="368" class="l"> <span class="php-keyword1">if</span>(<span class="php-var">$handle</span> != <span class="php-quote">'wpgmza_api_call'</span>)
|
518 |
+
</span><span id="369" class="l"> <span class="php-keyword1">return</span> <span class="php-quote">''</span>;
|
519 |
+
</span><span id="370" class="l">
|
520 |
+
</span><span id="371" class="l"> <span class="php-keyword1">if</span>(!<span class="php-keyword2">preg_match</span>(<span class="php-quote">'/\?.+$/'</span>, <span class="php-var">$src</span>))
|
521 |
+
</span><span id="372" class="l"> <span class="php-keyword1">return</span> <span class="php-keyword2">str_replace</span>(<span class="php-var">$src</span>, <span class="php-var">$src</span> . <span class="php-quote">'?'</span> . <span class="php-keyword2">http_build_query</span>(<span class="php-var">$this</span>->getGoogleMapsAPIParams()), <span class="php-var">$tag</span>);
|
522 |
+
</span><span id="373" class="l"> }
|
523 |
+
</span><span id="374" class="l">
|
524 |
+
</span><span id="375" class="l"> <span class="php-keyword1">return</span> <span class="php-var">$tag</span>;
|
525 |
+
</span><span id="376" class="l"> }
|
526 |
+
</span><span id="377" class="l">
|
527 |
+
</span><span id="378" class="l"> <span class="php-comment">/**
|
528 |
+
</span></span><span id="379" class="l"><span class="php-comment"> * Gets the HTML for the settings panel for this module, which appears in the general settings tab.
|
529 |
+
</span></span><span id="380" class="l"><span class="php-comment"> * @return string The HTML string for the settings panel
|
530 |
+
</span></span><span id="381" class="l"><span class="php-comment"> */</span>
|
531 |
+
</span><span id="382" class="l"> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> getSettingsHTML()
|
532 |
+
</span><span id="383" class="l"> {
|
533 |
+
</span><span id="384" class="l"> <span class="php-keyword1">global</span> <span class="php-var">$wpgmza</span>;
|
534 |
+
</span><span id="385" class="l">
|
535 |
+
</span><span id="386" class="l"> <span class="php-comment">// Load our subclass of PHPs DOMDocument, for the populate function</span>
|
536 |
+
</span><span id="387" class="l"> <span class="php-keyword1">require_once</span>(plugin_dir_path(__FILE__) . <span class="php-quote">'class.dom-document.php'</span>);
|
537 |
+
</span><span id="388" class="l">
|
538 |
+
</span><span id="389" class="l"> <span class="php-comment">// Load HTML</span>
|
539 |
+
</span><span id="390" class="l"> <span class="php-var">$document</span> = <span class="php-keyword1">new</span> DOMDocument();
|
540 |
+
</span><span id="391" class="l"> <span class="php-var">$document</span>->loadPHPFile(plugin_dir_path(__DIR__) . <span class="php-quote">'html/google-maps-api-settings.html.php'</span>);
|
541 |
+
</span><span id="392" class="l">
|
542 |
+
</span><span id="393" class="l"> <span class="php-comment">// Populate options. This is a quick way to put key => value array/object values into elements with "name" matching "key"</span>
|
543 |
+
</span><span id="394" class="l"> <span class="php-var">$document</span>->populate(<span class="php-var">$wpgmza</span>->settings);
|
544 |
+
</span><span id="395" class="l">
|
545 |
+
</span><span id="396" class="l"> <span class="php-keyword1">return</span> <span class="php-var">$document</span>->saveInnerBody();
|
546 |
+
</span><span id="397" class="l"> }
|
547 |
+
</span><span id="398" class="l">
|
548 |
+
</span><span id="399" class="l">}
|
549 |
+
</span><span id="400" class="l"></span></code></pre>
|
550 |
|
551 |
<div id="footer">
|
552 |
API documentation generated by <a href="http://apigen.org">ApiGen</a>
|
553 |
</div>
|
554 |
</div>
|
555 |
</div>
|
556 |
+
<script src="resources/combined.js?bdf41a0492319853d610bde7b68b95e93d08fae3"></script>
|
557 |
+
<script src="elementlist.js?ce6e64dd6d2e258467153e0fbb3257ea07b69a7b"></script>
|
558 |
</body>
|
559 |
</html>
|
@@ -50,12 +50,18 @@
|
|
50 |
<div id="elements">
|
51 |
<h3>Classes</h3>
|
52 |
<ul>
|
|
|
|
|
53 |
<li><a href="class-WPGMZA.AutoLoader.html">WPGMZA\AutoLoader</a></li>
|
54 |
<li><a href="class-WPGMZA.Crud.html">WPGMZA\Crud</a></li>
|
|
|
|
|
|
|
55 |
<li><a href="class-WPGMZA.DOMDocument.html">WPGMZA\DOMDocument</a></li>
|
56 |
<li><a href="class-WPGMZA.DOMElement.html">WPGMZA\DOMElement</a></li>
|
57 |
<li><a href="class-WPGMZA.Factory.html">WPGMZA\Factory</a></li>
|
58 |
<li><a href="class-WPGMZA.GDPRCompliance.html">WPGMZA\GDPRCompliance</a></li>
|
|
|
59 |
<li><a href="class-WPGMZA.GoogleGeocoder.html">WPGMZA\GoogleGeocoder</a></li>
|
60 |
<li><a href="class-WPGMZA.GoogleMap.html">WPGMZA\GoogleMap</a></li>
|
61 |
<li><a href="class-WPGMZA.GoogleMapsAPILoader.html" class="deprecated">WPGMZA\GoogleMapsAPILoader</a></li>
|
@@ -66,10 +72,14 @@
|
|
66 |
<li><a href="class-WPGMZA.Map.html">WPGMZA\Map</a></li>
|
67 |
<li><a href="class-WPGMZA.MapsEngineDialog.html">WPGMZA\MapsEngineDialog</a></li>
|
68 |
<li><a href="class-WPGMZA.Marker.html">WPGMZA\Marker</a></li>
|
|
|
|
|
69 |
<li><a href="class-WPGMZA.ModalDialog.html">WPGMZA\ModalDialog</a></li>
|
70 |
<li><a href="class-WPGMZA.NominatimGeocodeCache.html">WPGMZA\NominatimGeocodeCache</a></li>
|
71 |
<li><a href="class-WPGMZA.OLLoader.html">WPGMZA\OLLoader</a></li>
|
72 |
<li><a href="class-WPGMZA.Plugin.html">WPGMZA\Plugin</a></li>
|
|
|
|
|
73 |
<li><a href="class-WPGMZA.RestAPI.html">WPGMZA\RestAPI</a></li>
|
74 |
<li><a href="class-WPGMZA.ScriptLoader.html">WPGMZA\ScriptLoader</a></li>
|
75 |
<li><a href="class-WPGMZA.Selector.AttributeSelector.html">WPGMZA\Selector\AttributeSelector</a></li>
|
@@ -81,6 +91,7 @@
|
|
81 |
<li><a href="class-WPGMZA.Selector.TokenStream.html">WPGMZA\Selector\TokenStream</a></li>
|
82 |
<li><a href="class-WPGMZA.Selector.XPathConverter.html">WPGMZA\Selector\XPathConverter</a></li>
|
83 |
<li><a href="class-WPGMZA.Strings.html">WPGMZA\Strings</a></li>
|
|
|
84 |
</ul>
|
85 |
|
86 |
|
@@ -95,7 +106,6 @@
|
|
95 |
<h3>Functions</h3>
|
96 |
<ul>
|
97 |
<li><a href="function-WPGMZA.create_marker_instance_delegate.html">WPGMZA\create_marker_instance_delegate</a></li>
|
98 |
-
<li><a href="function-WPGMZA.create_plugin_instance.html" class="deprecated">WPGMZA\create_plugin_instance</a></li>
|
99 |
<li><a href="function-WPGMZA.query_nominatim_cache.html" class="deprecated">WPGMZA\query_nominatim_cache</a></li>
|
100 |
<li><a href="function-WPGMZA.Selector.trace.html">WPGMZA\Selector\trace</a></li>
|
101 |
<li><a href="function-WPGMZA.store_nominatim_cache.html" class="deprecated">WPGMZA\store_nominatim_cache</a></li>
|
@@ -298,7 +308,7 @@
|
|
298 |
</div>
|
299 |
</div>
|
300 |
</div>
|
301 |
-
<script src="resources/combined.js?
|
302 |
-
<script src="elementlist.js?
|
303 |
</body>
|
304 |
</html>
|
50 |
<div id="elements">
|
51 |
<h3>Classes</h3>
|
52 |
<ul>
|
53 |
+
<li><a href="class-WPGMZA.AdminMarkerDataTable.html">WPGMZA\AdminMarkerDataTable</a></li>
|
54 |
+
<li><a href="class-WPGMZA.AjaxTable.html">WPGMZA\AjaxTable</a></li>
|
55 |
<li><a href="class-WPGMZA.AutoLoader.html">WPGMZA\AutoLoader</a></li>
|
56 |
<li><a href="class-WPGMZA.Crud.html">WPGMZA\Crud</a></li>
|
57 |
+
<li><a href="class-WPGMZA.Database.html">WPGMZA\Database</a></li>
|
58 |
+
<li><a href="class-WPGMZA.DataTable.html">WPGMZA\DataTable</a></li>
|
59 |
+
<li><a href="class-WPGMZA.Distance.html">WPGMZA\Distance</a></li>
|
60 |
<li><a href="class-WPGMZA.DOMDocument.html">WPGMZA\DOMDocument</a></li>
|
61 |
<li><a href="class-WPGMZA.DOMElement.html">WPGMZA\DOMElement</a></li>
|
62 |
<li><a href="class-WPGMZA.Factory.html">WPGMZA\Factory</a></li>
|
63 |
<li><a href="class-WPGMZA.GDPRCompliance.html">WPGMZA\GDPRCompliance</a></li>
|
64 |
+
<li><a href="class-WPGMZA.GlobalSettings.html">WPGMZA\GlobalSettings</a></li>
|
65 |
<li><a href="class-WPGMZA.GoogleGeocoder.html">WPGMZA\GoogleGeocoder</a></li>
|
66 |
<li><a href="class-WPGMZA.GoogleMap.html">WPGMZA\GoogleMap</a></li>
|
67 |
<li><a href="class-WPGMZA.GoogleMapsAPILoader.html" class="deprecated">WPGMZA\GoogleMapsAPILoader</a></li>
|
72 |
<li><a href="class-WPGMZA.Map.html">WPGMZA\Map</a></li>
|
73 |
<li><a href="class-WPGMZA.MapsEngineDialog.html">WPGMZA\MapsEngineDialog</a></li>
|
74 |
<li><a href="class-WPGMZA.Marker.html">WPGMZA\Marker</a></li>
|
75 |
+
<li><a href="class-WPGMZA.MarkerDataTable.html">WPGMZA\MarkerDataTable</a></li>
|
76 |
+
<li><a href="class-WPGMZA.MarkerFilter.html">WPGMZA\MarkerFilter</a></li>
|
77 |
<li><a href="class-WPGMZA.ModalDialog.html">WPGMZA\ModalDialog</a></li>
|
78 |
<li><a href="class-WPGMZA.NominatimGeocodeCache.html">WPGMZA\NominatimGeocodeCache</a></li>
|
79 |
<li><a href="class-WPGMZA.OLLoader.html">WPGMZA\OLLoader</a></li>
|
80 |
<li><a href="class-WPGMZA.Plugin.html">WPGMZA\Plugin</a></li>
|
81 |
+
<li><a href="class-WPGMZA.Query.html">WPGMZA\Query</a></li>
|
82 |
+
<li><a href="class-WPGMZA.QueryFragment.html">WPGMZA\QueryFragment</a></li>
|
83 |
<li><a href="class-WPGMZA.RestAPI.html">WPGMZA\RestAPI</a></li>
|
84 |
<li><a href="class-WPGMZA.ScriptLoader.html">WPGMZA\ScriptLoader</a></li>
|
85 |
<li><a href="class-WPGMZA.Selector.AttributeSelector.html">WPGMZA\Selector\AttributeSelector</a></li>
|
91 |
<li><a href="class-WPGMZA.Selector.TokenStream.html">WPGMZA\Selector\TokenStream</a></li>
|
92 |
<li><a href="class-WPGMZA.Selector.XPathConverter.html">WPGMZA\Selector\XPathConverter</a></li>
|
93 |
<li><a href="class-WPGMZA.Strings.html">WPGMZA\Strings</a></li>
|
94 |
+
<li><a href="class-WPGMZA.Table.html">WPGMZA\Table</a></li>
|
95 |
</ul>
|
96 |
|
97 |
|
106 |
<h3>Functions</h3>
|
107 |
<ul>
|
108 |
<li><a href="function-WPGMZA.create_marker_instance_delegate.html">WPGMZA\create_marker_instance_delegate</a></li>
|
|
|
109 |
<li><a href="function-WPGMZA.query_nominatim_cache.html" class="deprecated">WPGMZA\query_nominatim_cache</a></li>
|
110 |
<li><a href="function-WPGMZA.Selector.trace.html">WPGMZA\Selector\trace</a></li>
|
111 |
<li><a href="function-WPGMZA.store_nominatim_cache.html" class="deprecated">WPGMZA\store_nominatim_cache</a></li>
|
308 |
</div>
|
309 |
</div>
|
310 |
</div>
|
311 |
+
<script src="resources/combined.js?bdf41a0492319853d610bde7b68b95e93d08fae3"></script>
|
312 |
+
<script src="elementlist.js?ce6e64dd6d2e258467153e0fbb3257ea07b69a7b"></script>
|
313 |
</body>
|
314 |
</html>
|
@@ -50,12 +50,18 @@
|
|
50 |
<div id="elements">
|
51 |
<h3>Classes</h3>
|
52 |
<ul>
|
|
|
|
|
53 |
<li><a href="class-WPGMZA.AutoLoader.html">WPGMZA\AutoLoader</a></li>
|
54 |
<li><a href="class-WPGMZA.Crud.html">WPGMZA\Crud</a></li>
|
|
|
|
|
|
|
55 |
<li><a href="class-WPGMZA.DOMDocument.html">WPGMZA\DOMDocument</a></li>
|
56 |
<li><a href="class-WPGMZA.DOMElement.html">WPGMZA\DOMElement</a></li>
|
57 |
<li><a href="class-WPGMZA.Factory.html">WPGMZA\Factory</a></li>
|
58 |
<li><a href="class-WPGMZA.GDPRCompliance.html">WPGMZA\GDPRCompliance</a></li>
|
|
|
59 |
<li><a href="class-WPGMZA.GoogleGeocoder.html">WPGMZA\GoogleGeocoder</a></li>
|
60 |
<li><a href="class-WPGMZA.GoogleMap.html">WPGMZA\GoogleMap</a></li>
|
61 |
<li><a href="class-WPGMZA.GoogleMapsAPILoader.html" class="deprecated">WPGMZA\GoogleMapsAPILoader</a></li>
|
@@ -66,10 +72,14 @@
|
|
66 |
<li><a href="class-WPGMZA.Map.html">WPGMZA\Map</a></li>
|
67 |
<li><a href="class-WPGMZA.MapsEngineDialog.html">WPGMZA\MapsEngineDialog</a></li>
|
68 |
<li><a href="class-WPGMZA.Marker.html">WPGMZA\Marker</a></li>
|
|
|
|
|
69 |
<li><a href="class-WPGMZA.ModalDialog.html">WPGMZA\ModalDialog</a></li>
|
70 |
<li><a href="class-WPGMZA.NominatimGeocodeCache.html">WPGMZA\NominatimGeocodeCache</a></li>
|
71 |
<li><a href="class-WPGMZA.OLLoader.html">WPGMZA\OLLoader</a></li>
|
72 |
<li><a href="class-WPGMZA.Plugin.html">WPGMZA\Plugin</a></li>
|
|
|
|
|
73 |
<li><a href="class-WPGMZA.RestAPI.html">WPGMZA\RestAPI</a></li>
|
74 |
<li><a href="class-WPGMZA.ScriptLoader.html">WPGMZA\ScriptLoader</a></li>
|
75 |
<li><a href="class-WPGMZA.Selector.AttributeSelector.html">WPGMZA\Selector\AttributeSelector</a></li>
|
@@ -81,6 +91,7 @@
|
|
81 |
<li><a href="class-WPGMZA.Selector.TokenStream.html">WPGMZA\Selector\TokenStream</a></li>
|
82 |
<li><a href="class-WPGMZA.Selector.XPathConverter.html">WPGMZA\Selector\XPathConverter</a></li>
|
83 |
<li><a href="class-WPGMZA.Strings.html">WPGMZA\Strings</a></li>
|
|
|
84 |
</ul>
|
85 |
|
86 |
|
@@ -95,7 +106,6 @@
|
|
95 |
<h3>Functions</h3>
|
96 |
<ul>
|
97 |
<li><a href="function-WPGMZA.create_marker_instance_delegate.html">WPGMZA\create_marker_instance_delegate</a></li>
|
98 |
-
<li><a href="function-WPGMZA.create_plugin_instance.html" class="deprecated">WPGMZA\create_plugin_instance</a></li>
|
99 |
<li><a href="function-WPGMZA.query_nominatim_cache.html" class="deprecated">WPGMZA\query_nominatim_cache</a></li>
|
100 |
<li><a href="function-WPGMZA.Selector.trace.html">WPGMZA\Selector\trace</a></li>
|
101 |
<li><a href="function-WPGMZA.store_nominatim_cache.html" class="deprecated">WPGMZA\store_nominatim_cache</a></li>
|
@@ -136,7 +146,7 @@
|
|
136 |
</ul>
|
137 |
</div>
|
138 |
|
139 |
-
<pre class="numbers"><code><span class="l"><a href="#1">
|
140 |
<pre class="code"><code><span id="1" class="l"><span class="xlang"><?php</span>
|
141 |
</span><span id="2" class="l">
|
142 |
</span><span id="3" class="l"><span class="php-keyword1">namespace</span> WPGMZA\Integration;
|
@@ -164,80 +174,91 @@
|
|
164 |
</span><span id="25" class="l"> ));
|
165 |
</span><span id="26" class="l">
|
166 |
</span><span id="27" class="l"> <span class="php-keyword1">if</span>(<span class="php-keyword2">function_exists</span>(<span class="php-quote">'register_block_type'</span>))
|
167 |
-
</span><span id="28" class="l">
|
168 |
-
</span><span id="29" class="l">
|
169 |
-
</span><span id="30" class="l">
|
170 |
-
</span><span id="31" class="l"> <span class="php-
|
171 |
-
</span><span id="32" class="l">
|
172 |
-
</span><span id="33" class="l">
|
173 |
-
</span><span id="34" class="l">
|
174 |
-
</span><span id="35" class="l">
|
175 |
-
</span><span id="36" class="l">
|
176 |
-
</span
|
177 |
-
</span
|
178 |
-
</span><span id="39" class="l"
|
179 |
-
</span><span id="40" class="l">
|
180 |
-
</span><span id="41" class="l">
|
181 |
-
</span><span id="42" class="l">
|
182 |
-
</span><span id="43" class="l"> <span class="php-keyword1">
|
183 |
-
</span><span id="44" class="l">
|
184 |
-
</span><span id="45" class="l">
|
185 |
-
</span><span id="46" class="l">
|
186 |
</span><span id="47" class="l">
|
187 |
-
</span><span id="48" class="l">
|
188 |
-
</span><span id="49" class="l">
|
189 |
-
</span><span id="50" class="l">
|
190 |
-
</span><span id="51" class="l"> <span class="php-quote">''</span>,
|
191 |
-
</span><span id="52" class="l">
|
192 |
-
</span><span id="53" class="l">
|
193 |
-
</span><span id="54" class="l">
|
194 |
-
</span><span id="55" class="l">
|
195 |
-
</span><span id="56" class="l">
|
196 |
-
</span
|
197 |
-
</span
|
198 |
-
</span><span id="59" class="l"
|
199 |
-
</span><span id="60" class="l">
|
200 |
-
</span><span id="61" class="l">
|
201 |
-
</span><span id="62" class="l">
|
202 |
-
</span><span id="63" class="l"> <span class="php-keyword1">
|
203 |
-
</span><span id="64" class="l">
|
204 |
-
</span><span id="65" class="l">
|
205 |
-
</span><span id="66" class="l">
|
206 |
</span><span id="67" class="l">
|
207 |
-
</span><span id="68" class="l"> <span class="php-comment">//
|
208 |
-
</span><span id="69" class="l">
|
209 |
-
</span
|
210 |
-
</span
|
211 |
</span></span><span id="72" class="l"><span class="php-comment">
|
212 |
-
</span></span><span id="73" class="l"><span class="php-comment"> $contents =
|
213 |
</span></span><span id="74" class="l"><span class="php-comment">
|
214 |
-
</span></span><span id="75" class="l"><span class="php-comment"> $contents = preg_replace('/exports
|
215 |
</span></span><span id="76" class="l"><span class="php-comment">
|
216 |
-
</span></span><span id="77" class="l"><span class="php-comment">
|
217 |
-
</span></span><span id="78" class="l"><span class="php-comment">
|
218 |
-
</span></span><span id="79" class="l"><span class="php-comment">
|
219 |
-
</span></span><span id="80" class="l"><span class="php-comment">
|
220 |
-
</span><span id="81" class="l">
|
221 |
-
</span><span id="82" class="l">
|
222 |
-
</span><span id="83" class="l">
|
223 |
-
</span
|
224 |
-
</span
|
225 |
-
</span></span><span id="86" class="l"><span class="php-comment">
|
226 |
-
</span><span id="87" class="l"
|
227 |
-
</span><span id="88" class="l">
|
228 |
-
</span><span id="89" class="l">
|
229 |
-
</span><span id="90" class="l">
|
230 |
-
</span><span id="91" class="l"> <span class="php-
|
231 |
-
</span><span id="92" class="l">
|
232 |
-
</span><span id="93" class="l">
|
233 |
-
</span><span id="94" class="l"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
234 |
|
235 |
<div id="footer">
|
236 |
API documentation generated by <a href="http://apigen.org">ApiGen</a>
|
237 |
</div>
|
238 |
</div>
|
239 |
</div>
|
240 |
-
<script src="resources/combined.js?
|
241 |
-
<script src="elementlist.js?
|
242 |
</body>
|
243 |
</html>
|
50 |
<div id="elements">
|
51 |
<h3>Classes</h3>
|
52 |
<ul>
|
53 |
+
<li><a href="class-WPGMZA.AdminMarkerDataTable.html">WPGMZA\AdminMarkerDataTable</a></li>
|
54 |
+
<li><a href="class-WPGMZA.AjaxTable.html">WPGMZA\AjaxTable</a></li>
|
55 |
<li><a href="class-WPGMZA.AutoLoader.html">WPGMZA\AutoLoader</a></li>
|
56 |
<li><a href="class-WPGMZA.Crud.html">WPGMZA\Crud</a></li>
|
57 |
+
<li><a href="class-WPGMZA.Database.html">WPGMZA\Database</a></li>
|
58 |
+
<li><a href="class-WPGMZA.DataTable.html">WPGMZA\DataTable</a></li>
|
59 |
+
<li><a href="class-WPGMZA.Distance.html">WPGMZA\Distance</a></li>
|
60 |
<li><a href="class-WPGMZA.DOMDocument.html">WPGMZA\DOMDocument</a></li>
|
61 |
<li><a href="class-WPGMZA.DOMElement.html">WPGMZA\DOMElement</a></li>
|
62 |
<li><a href="class-WPGMZA.Factory.html">WPGMZA\Factory</a></li>
|
63 |
<li><a href="class-WPGMZA.GDPRCompliance.html">WPGMZA\GDPRCompliance</a></li>
|
64 |
+
<li><a href="class-WPGMZA.GlobalSettings.html">WPGMZA\GlobalSettings</a></li>
|
65 |
<li><a href="class-WPGMZA.GoogleGeocoder.html">WPGMZA\GoogleGeocoder</a></li>
|
66 |
<li><a href="class-WPGMZA.GoogleMap.html">WPGMZA\GoogleMap</a></li>
|
67 |
<li><a href="class-WPGMZA.GoogleMapsAPILoader.html" class="deprecated">WPGMZA\GoogleMapsAPILoader</a></li>
|
72 |
<li><a href="class-WPGMZA.Map.html">WPGMZA\Map</a></li>
|
73 |
<li><a href="class-WPGMZA.MapsEngineDialog.html">WPGMZA\MapsEngineDialog</a></li>
|
74 |
<li><a href="class-WPGMZA.Marker.html">WPGMZA\Marker</a></li>
|
75 |
+
<li><a href="class-WPGMZA.MarkerDataTable.html">WPGMZA\MarkerDataTable</a></li>
|
76 |
+
<li><a href="class-WPGMZA.MarkerFilter.html">WPGMZA\MarkerFilter</a></li>
|
77 |
<li><a href="class-WPGMZA.ModalDialog.html">WPGMZA\ModalDialog</a></li>
|
78 |
<li><a href="class-WPGMZA.NominatimGeocodeCache.html">WPGMZA\NominatimGeocodeCache</a></li>
|
79 |
<li><a href="class-WPGMZA.OLLoader.html">WPGMZA\OLLoader</a></li>
|
80 |
<li><a href="class-WPGMZA.Plugin.html">WPGMZA\Plugin</a></li>
|
81 |
+
<li><a href="class-WPGMZA.Query.html">WPGMZA\Query</a></li>
|
82 |
+
<li><a href="class-WPGMZA.QueryFragment.html">WPGMZA\QueryFragment</a></li>
|
83 |
<li><a href="class-WPGMZA.RestAPI.html">WPGMZA\RestAPI</a></li>
|
84 |
<li><a href="class-WPGMZA.ScriptLoader.html">WPGMZA\ScriptLoader</a></li>
|
85 |
<li><a href="class-WPGMZA.Selector.AttributeSelector.html">WPGMZA\Selector\AttributeSelector</a></li>
|
91 |
<li><a href="class-WPGMZA.Selector.TokenStream.html">WPGMZA\Selector\TokenStream</a></li>
|
92 |
<li><a href="class-WPGMZA.Selector.XPathConverter.html">WPGMZA\Selector\XPathConverter</a></li>
|
93 |
<li><a href="class-WPGMZA.Strings.html">WPGMZA\Strings</a></li>
|
94 |
+
<li><a href="class-WPGMZA.Table.html">WPGMZA\Table</a></li>
|
95 |
</ul>
|
96 |
|
97 |
|
106 |
<h3>Functions</h3>
|
107 |
<ul>
|
108 |
<li><a href="function-WPGMZA.create_marker_instance_delegate.html">WPGMZA\create_marker_instance_delegate</a></li>
|
|
|
109 |
<li><a href="function-WPGMZA.query_nominatim_cache.html" class="deprecated">WPGMZA\query_nominatim_cache</a></li>
|
110 |
<li><a href="function-WPGMZA.Selector.trace.html">WPGMZA\Selector\trace</a></li>
|
111 |
<li><a href="function-WPGMZA.store_nominatim_cache.html" class="deprecated">WPGMZA\store_nominatim_cache</a></li>
|
146 |
</ul>
|
147 |
</div>
|
148 |
|
149 |
+
<pre class="numbers"><code><span class="l"><a href="#1"> 1: </a></span><span class="l"><a href="#2"> 2: </a></span><span class="l"><a href="#3"> 3: </a></span><span class="l"><a href="#4"> 4: </a></span><span class="l"><a href="#5"> 5: </a></span></span><span class="l"><a href="#6"> 6: </a></span></span><span class="l"><a href="#7"> 7: </a></span><span class="l"><a href="#8"> 8: </a></span><span class="l"><a href="#9"> 9: </a></span><span class="l"><a href="#10"> 10: </a></span></span><span class="l"><a href="#11"> 11: </a></span></span><span class="l"><a href="#12"> 12: </a></span><span class="l"><a href="#13"> 13: </a></span><span class="l"><a href="#14"> 14: </a></span><span class="l"><a href="#15"> 15: </a></span><span class="l"><a href="#16"> 16: </a></span><span class="l"><a href="#17"> 17: </a></span><span class="l"><a href="#18"> 18: </a></span><span class="l"><a href="#19"> 19: </a></span><span class="l"><a href="#20"> 20: </a></span><span class="l"><a href="#21"> 21: </a></span><span class="l"><a href="#22"> 22: </a></span><span class="l"><a href="#23"> 23: </a></span><span class="l"><a href="#24"> 24: </a></span><span class="l"><a href="#25"> 25: </a></span><span class="l"><a href="#26"> 26: </a></span><span class="l"><a href="#27"> 27: </a></span><span class="l"><a href="#28"> 28: </a></span><span class="l"><a href="#29"> 29: </a></span><span class="l"><a href="#30"> 30: </a></span><span class="l"><a href="#31"> 31: </a></span><span class="l"><a href="#32"> 32: </a></span><span class="l"><a href="#33"> 33: </a></span><span class="l"><a href="#34"> 34: </a></span><span class="l"><a href="#35"> 35: </a></span><span class="l"><a href="#36"> 36: </a></span><span class="l"><a href="#37"> 37: </a></span><span class="l"><a href="#38"> 38: </a></span></span><span class="l"><a href="#39"> 39: </a></span></span><span class="l"><a href="#40"> 40: </a></span><span class="l"><a href="#41"> 41: </a></span><span class="l"><a href="#42"> 42: </a></span><span class="l"><a href="#43"> 43: </a></span><span class="l"><a href="#44"> 44: </a></span><span class="l"><a href="#45"> 45: </a></span><span class="l"><a href="#46"> 46: </a></span><span class="l"><a href="#47"> 47: </a></span><span class="l"><a href="#48"> 48: </a></span><span class="l"><a href="#49"> 49: </a></span><span class="l"><a href="#50"> 50: </a></span><span class="l"><a href="#51"> 51: </a></span><span class="l"><a href="#52"> 52: </a></span><span class="l"><a href="#53"> 53: </a></span><span class="l"><a href="#54"> 54: </a></span><span class="l"><a href="#55"> 55: </a></span><span class="l"><a href="#56"> 56: </a></span><span class="l"><a href="#57"> 57: </a></span><span class="l"><a href="#58"> 58: </a></span></span><span class="l"><a href="#59"> 59: </a></span></span><span class="l"><a href="#60"> 60: </a></span><span class="l"><a href="#61"> 61: </a></span><span class="l"><a href="#62"> 62: </a></span><span class="l"><a href="#63"> 63: </a></span><span class="l"><a href="#64"> 64: </a></span><span class="l"><a href="#65"> 65: </a></span><span class="l"><a href="#66"> 66: </a></span><span class="l"><a href="#67"> 67: </a></span><span class="l"><a href="#68"> 68: </a></span><span class="l"><a href="#69"> 69: </a></span><span class="l"><a href="#70"> 70: </a></span><span class="l"><a href="#71"> 71: </a></span></span><span class="l"><a href="#72"> 72: </a></span></span><span class="l"><a href="#73"> 73: </a></span></span><span class="l"><a href="#74"> 74: </a></span></span><span class="l"><a href="#75"> 75: </a></span></span><span class="l"><a href="#76"> 76: </a></span></span><span class="l"><a href="#77"> 77: </a></span></span><span class="l"><a href="#78"> 78: </a></span></span><span class="l"><a href="#79"> 79: </a></span></span><span class="l"><a href="#80"> 80: </a></span></span><span class="l"><a href="#81"> 81: </a></span></span><span class="l"><a href="#82"> 82: </a></span><span class="l"><a href="#83"> 83: </a></span><span class="l"><a href="#84"> 84: </a></span><span class="l"><a href="#85"> 85: </a></span></span><span class="l"><a href="#86"> 86: </a></span></span><span class="l"><a href="#87"> 87: </a></span></span><span class="l"><a href="#88"> 88: </a></span><span class="l"><a href="#89"> 89: </a></span><span class="l"><a href="#90"> 90: </a></span><span class="l"><a href="#91"> 91: </a></span><span class="l"><a href="#92"> 92: </a></span><span class="l"><a href="#93"> 93: </a></span><span class="l"><a href="#94"> 94: </a></span><span class="l"><a href="#95"> 95: </a></span><span class="l"><a href="#96"> 96: </a></span><span class="l"><a href="#97"> 97: </a></span><span class="l"><a href="#98"> 98: </a></span><span class="l"><a href="#99"> 99: </a></span><span class="l"><a href="#100">100: </a></span><span class="l"><a href="#101">101: </a></span><span class="l"><a href="#102">102: </a></span><span class="l"><a href="#103">103: </a></span><span class="l"><a href="#104">104: </a></span><span class="l"><a href="#105">105: </a></span></code></pre>
|
150 |
<pre class="code"><code><span id="1" class="l"><span class="xlang"><?php</span>
|
151 |
</span><span id="2" class="l">
|
152 |
</span><span id="3" class="l"><span class="php-keyword1">namespace</span> WPGMZA\Integration;
|
174 |
</span><span id="25" class="l"> ));
|
175 |
</span><span id="26" class="l">
|
176 |
</span><span id="27" class="l"> <span class="php-keyword1">if</span>(<span class="php-keyword2">function_exists</span>(<span class="php-quote">'register_block_type'</span>))
|
177 |
+
</span><span id="28" class="l"> {
|
178 |
+
</span><span id="29" class="l"> register_block_type(<span class="php-quote">'gutenberg-wpgmza/block'</span>, <span class="php-keyword1">array</span>(
|
179 |
+
</span><span id="30" class="l"> <span class="php-quote">'render_callback'</span> => <span class="php-keyword1">array</span>(
|
180 |
+
</span><span id="31" class="l"> <span class="php-var">$this</span>,
|
181 |
+
</span><span id="32" class="l"> <span class="php-quote">'onRender'</span>
|
182 |
+
</span><span id="33" class="l"> )
|
183 |
+
</span><span id="34" class="l"> ));
|
184 |
+
</span><span id="35" class="l"> }
|
185 |
+
</span><span id="36" class="l"> }
|
186 |
+
</span><span id="37" class="l">
|
187 |
+
</span><span id="38" class="l"> <span class="php-comment">/**
|
188 |
+
</span></span><span id="39" class="l"><span class="php-comment"> * Enqueues assets to be used with the Gutenberg editor
|
189 |
+
</span></span><span id="40" class="l"><span class="php-comment"> */</span>
|
190 |
+
</span><span id="41" class="l"> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> onEnqueueBlockAssets()
|
191 |
+
</span><span id="42" class="l"> {
|
192 |
+
</span><span id="43" class="l"> <span class="php-keyword1">global</span> <span class="php-var">$wpgmza</span>;
|
193 |
+
</span><span id="44" class="l">
|
194 |
+
</span><span id="45" class="l"> <span class="php-keyword1">if</span>(!is_admin())
|
195 |
+
</span><span id="46" class="l"> <span class="php-keyword1">return</span>;
|
196 |
</span><span id="47" class="l">
|
197 |
+
</span><span id="48" class="l"> <span class="php-var">$wpgmza</span>->loadScripts();
|
198 |
+
</span><span id="49" class="l">
|
199 |
+
</span><span id="50" class="l"> wp_enqueue_style(
|
200 |
+
</span><span id="51" class="l"> <span class="php-quote">'wpgmza-gutenberg-integration'</span>,
|
201 |
+
</span><span id="52" class="l"> plugin_dir_url(WPGMZA_FILE) . <span class="php-quote">'css/gutenberg.css'</span>,
|
202 |
+
</span><span id="53" class="l"> <span class="php-quote">''</span>,
|
203 |
+
</span><span id="54" class="l"> WPGMZA_VERSION
|
204 |
+
</span><span id="55" class="l"> );
|
205 |
+
</span><span id="56" class="l"> }
|
206 |
+
</span><span id="57" class="l">
|
207 |
+
</span><span id="58" class="l"> <span class="php-comment">/**
|
208 |
+
</span></span><span id="59" class="l"><span class="php-comment"> * Called on the WordPress init action. This function strips out JS module generated by the babel compiler, for browser compatibility.
|
209 |
+
</span></span><span id="60" class="l"><span class="php-comment"> */</span>
|
210 |
+
</span><span id="61" class="l"> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> onInit()
|
211 |
+
</span><span id="62" class="l"> {
|
212 |
+
</span><span id="63" class="l"> <span class="php-keyword1">global</span> <span class="php-var">$wpgmza</span>;
|
213 |
+
</span><span id="64" class="l">
|
214 |
+
</span><span id="65" class="l"> <span class="php-keyword1">if</span>(!<span class="php-var">$wpgmza</span>->isInDeveloperMode())
|
215 |
+
</span><span id="66" class="l"> <span class="php-keyword1">return</span>;
|
216 |
</span><span id="67" class="l">
|
217 |
+
</span><span id="68" class="l"> <span class="php-comment">// NB: Commented out, false positives were causing this file to be wiped</span>
|
218 |
+
</span><span id="69" class="l">
|
219 |
+
</span><span id="70" class="l"> <span class="php-comment">// Strip out JS module code for browser compatibility</span>
|
220 |
+
</span><span id="71" class="l"> <span class="php-comment">/*$filename = plugin_dir_path(WPGMZA_FILE) . 'js/v8/3rd-party-integration/gutenberg/dist/gutenberg.js';
|
221 |
</span></span><span id="72" class="l"><span class="php-comment">
|
222 |
+
</span></span><span id="73" class="l"><span class="php-comment"> $contents = file_get_contents($filename);
|
223 |
</span></span><span id="74" class="l"><span class="php-comment">
|
224 |
+
</span></span><span id="75" class="l"><span class="php-comment"> $contents = preg_replace('/Object\.defineProperty\(exports.+?;/s', '', $contents);
|
225 |
</span></span><span id="76" class="l"><span class="php-comment">
|
226 |
+
</span></span><span id="77" class="l"><span class="php-comment"> $contents = preg_replace('/exports\.default = /', '', $contents);
|
227 |
+
</span></span><span id="78" class="l"><span class="php-comment">
|
228 |
+
</span></span><span id="79" class="l"><span class="php-comment"> if(empty($contents))
|
229 |
+
</span></span><span id="80" class="l"><span class="php-comment"> throw new \Exception('Gutenberg module would be blank');
|
230 |
+
</span></span><span id="81" class="l"><span class="php-comment">
|
231 |
+
</span></span><span id="82" class="l"><span class="php-comment"> file_put_contents($filename, $contents);*/</span>
|
232 |
+
</span><span id="83" class="l"> }
|
233 |
+
</span><span id="84" class="l">
|
234 |
+
</span><span id="85" class="l"> <span class="php-comment">/**
|
235 |
+
</span></span><span id="86" class="l"><span class="php-comment"> * Called to render the plugins Gutenberg block front end.
|
236 |
+
</span></span><span id="87" class="l"><span class="php-comment"> * @param mixed[] $atts An array of attributes passed in from the editor.
|
237 |
+
</span></span><span id="88" class="l"><span class="php-comment"> */</span>
|
238 |
+
</span><span id="89" class="l"> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> onRender(<span class="php-var">$attr</span>)
|
239 |
+
</span><span id="90" class="l"> {
|
240 |
+
</span><span id="91" class="l"> <span class="php-keyword2">extract</span>(<span class="php-var">$attr</span>);
|
241 |
+
</span><span id="92" class="l">
|
242 |
+
</span><span id="93" class="l"> <span class="php-var">$attributes</span> = <span class="php-keyword2">array_merge</span>(<span class="php-keyword1">array</span>(<span class="php-quote">'id'</span> => <span class="php-num">1</span>), <span class="php-var">$attr</span>);
|
243 |
+
</span><span id="94" class="l">
|
244 |
+
</span><span id="95" class="l"> <span class="php-var">$str</span> = <span class="php-quote">"[wpgmza"</span>;
|
245 |
+
</span><span id="96" class="l">
|
246 |
+
</span><span id="97" class="l"> <span class="php-keyword1">foreach</span>(<span class="php-var">$attributes</span> <span class="php-keyword1">as</span> <span class="php-var">$name</span> => <span class="php-var">$value</span>)
|
247 |
+
</span><span id="98" class="l"> <span class="php-var">$str</span> .= <span class="php-quote">" </span><span class="php-var">$name</span><span class="php-quote">=\""</span> . <span class="php-keyword2">addslashes</span>(<span class="php-var">$value</span>) . <span class="php-quote">"\""</span>;
|
248 |
+
</span><span id="99" class="l">
|
249 |
+
</span><span id="100" class="l"> <span class="php-var">$str</span> .= <span class="php-quote">"]"</span>;
|
250 |
+
</span><span id="101" class="l">
|
251 |
+
</span><span id="102" class="l"> <span class="php-keyword1">return</span> <span class="php-var">$str</span>;
|
252 |
+
</span><span id="103" class="l"> }
|
253 |
+
</span><span id="104" class="l">}
|
254 |
+
</span><span id="105" class="l"></span></code></pre>
|
255 |
|
256 |
<div id="footer">
|
257 |
API documentation generated by <a href="http://apigen.org">ApiGen</a>
|
258 |
</div>
|
259 |
</div>
|
260 |
</div>
|
261 |
+
<script src="resources/combined.js?bdf41a0492319853d610bde7b68b95e93d08fae3"></script>
|
262 |
+
<script src="elementlist.js?ce6e64dd6d2e258467153e0fbb3257ea07b69a7b"></script>
|
263 |
</body>
|
264 |
</html>
|
@@ -50,12 +50,18 @@
|
|
50 |
<div id="elements">
|
51 |
<h3>Classes</h3>
|
52 |
<ul>
|
|
|
|
|
53 |
<li><a href="class-WPGMZA.AutoLoader.html">WPGMZA\AutoLoader</a></li>
|
54 |
<li><a href="class-WPGMZA.Crud.html">WPGMZA\Crud</a></li>
|
|
|
|
|
|
|
55 |
<li><a href="class-WPGMZA.DOMDocument.html">WPGMZA\DOMDocument</a></li>
|
56 |
<li><a href="class-WPGMZA.DOMElement.html">WPGMZA\DOMElement</a></li>
|
57 |
<li><a href="class-WPGMZA.Factory.html">WPGMZA\Factory</a></li>
|
58 |
<li><a href="class-WPGMZA.GDPRCompliance.html">WPGMZA\GDPRCompliance</a></li>
|
|
|
59 |
<li><a href="class-WPGMZA.GoogleGeocoder.html">WPGMZA\GoogleGeocoder</a></li>
|
60 |
<li><a href="class-WPGMZA.GoogleMap.html">WPGMZA\GoogleMap</a></li>
|
61 |
<li><a href="class-WPGMZA.GoogleMapsAPILoader.html" class="deprecated">WPGMZA\GoogleMapsAPILoader</a></li>
|
@@ -66,10 +72,14 @@
|
|
66 |
<li><a href="class-WPGMZA.Map.html">WPGMZA\Map</a></li>
|
67 |
<li><a href="class-WPGMZA.MapsEngineDialog.html">WPGMZA\MapsEngineDialog</a></li>
|
68 |
<li><a href="class-WPGMZA.Marker.html">WPGMZA\Marker</a></li>
|
|
|
|
|
69 |
<li><a href="class-WPGMZA.ModalDialog.html">WPGMZA\ModalDialog</a></li>
|
70 |
<li><a href="class-WPGMZA.NominatimGeocodeCache.html">WPGMZA\NominatimGeocodeCache</a></li>
|
71 |
<li><a href="class-WPGMZA.OLLoader.html">WPGMZA\OLLoader</a></li>
|
72 |
<li><a href="class-WPGMZA.Plugin.html">WPGMZA\Plugin</a></li>
|
|
|
|
|
73 |
<li><a href="class-WPGMZA.RestAPI.html">WPGMZA\RestAPI</a></li>
|
74 |
<li><a href="class-WPGMZA.ScriptLoader.html">WPGMZA\ScriptLoader</a></li>
|
75 |
<li><a href="class-WPGMZA.Selector.AttributeSelector.html">WPGMZA\Selector\AttributeSelector</a></li>
|
@@ -81,6 +91,7 @@
|
|
81 |
<li><a href="class-WPGMZA.Selector.TokenStream.html">WPGMZA\Selector\TokenStream</a></li>
|
82 |
<li><a href="class-WPGMZA.Selector.XPathConverter.html">WPGMZA\Selector\XPathConverter</a></li>
|
83 |
<li><a href="class-WPGMZA.Strings.html">WPGMZA\Strings</a></li>
|
|
|
84 |
</ul>
|
85 |
|
86 |
|
@@ -95,7 +106,6 @@
|
|
95 |
<h3>Functions</h3>
|
96 |
<ul>
|
97 |
<li><a href="function-WPGMZA.create_marker_instance_delegate.html">WPGMZA\create_marker_instance_delegate</a></li>
|
98 |
-
<li><a href="function-WPGMZA.create_plugin_instance.html" class="deprecated">WPGMZA\create_plugin_instance</a></li>
|
99 |
<li><a href="function-WPGMZA.query_nominatim_cache.html" class="deprecated">WPGMZA\query_nominatim_cache</a></li>
|
100 |
<li><a href="function-WPGMZA.Selector.trace.html">WPGMZA\Selector\trace</a></li>
|
101 |
<li><a href="function-WPGMZA.store_nominatim_cache.html" class="deprecated">WPGMZA\store_nominatim_cache</a></li>
|
@@ -136,7 +146,7 @@
|
|
136 |
</ul>
|
137 |
</div>
|
138 |
|
139 |
-
<pre class="numbers"><code><span class="l"><a href="#1"> 1: </a></span><span class="l"><a href="#2"> 2: </a></span><span class="l"><a href="#3"> 3: </a></span><span class="l"><a href="#4"> 4: </a></span><span class="l"><a href="#5"> 5: </a></span><span class="l"><a href="#6"> 6: </a></span><span class="l"><a href="#7"> 7: </a></span></span><span class="l"><a href="#8"> 8: </a></span></span><span class="l"><a href="#9"> 9: </a></span><span class="l"><a href="#10">10: </a></span><span class="l"><a href="#11">11: </a></span><span class="l"><a href="#12">12: </a></span></span><span class="l"><a href="#13">13: </a></span></span><span class="l"><a href="#14">14: </a></span><span class="l"><a href="#15">15: </a></span><span class="l"><a href="#16">16: </a></span><span class="l"><a href="#17">17: </a></span><span class="l"><a href="#18">18: </a></span><span class="l"><a href="#19">19: </a></span><span class="l"><a href="#20">20: </a></span
|
140 |
<pre class="code"><code><span id="1" class="l"><span class="xlang"><?php</span>
|
141 |
</span><span id="2" class="l">
|
142 |
</span><span id="3" class="l"><span class="php-keyword1">namespace</span> WPGMZA\Integration;
|
@@ -153,31 +163,39 @@
|
|
153 |
</span></span><span id="14" class="l"><span class="php-comment"> */</span>
|
154 |
</span><span id="15" class="l"> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> __construct()
|
155 |
</span><span id="16" class="l"> {
|
156 |
-
</span><span id="17" class="l"> add_filter(<span class="php-quote">'
|
157 |
-
</span><span id="18" class="l">
|
158 |
-
</span><span id="19" class="l">
|
159 |
-
</span><span id="20" class="l">
|
160 |
-
</span
|
161 |
-
</span
|
162 |
-
</span
|
163 |
-
</span><span id="24" class="l">
|
164 |
-
</span><span id="25" class="l">
|
165 |
-
</span><span id="26" class="l">
|
166 |
-
</span><span id="27" class="l">
|
167 |
-
</span><span id="28" class="l">
|
168 |
-
</span><span id="29" class="l"
|
169 |
-
</span><span id="30" class="l">
|
170 |
-
</span><span id="31" class="l">
|
171 |
-
</span><span id="32" class="l">
|
172 |
-
</span><span id="33" class="l">
|
173 |
-
</span><span id="34" class="l"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
174 |
|
175 |
<div id="footer">
|
176 |
API documentation generated by <a href="http://apigen.org">ApiGen</a>
|
177 |
</div>
|
178 |
</div>
|
179 |
</div>
|
180 |
-
<script src="resources/combined.js?
|
181 |
-
<script src="elementlist.js?
|
182 |
</body>
|
183 |
</html>
|
50 |
<div id="elements">
|
51 |
<h3>Classes</h3>
|
52 |
<ul>
|
53 |
+
<li><a href="class-WPGMZA.AdminMarkerDataTable.html">WPGMZA\AdminMarkerDataTable</a></li>
|
54 |
+
<li><a href="class-WPGMZA.AjaxTable.html">WPGMZA\AjaxTable</a></li>
|
55 |
<li><a href="class-WPGMZA.AutoLoader.html">WPGMZA\AutoLoader</a></li>
|
56 |
<li><a href="class-WPGMZA.Crud.html">WPGMZA\Crud</a></li>
|
57 |
+
<li><a href="class-WPGMZA.Database.html">WPGMZA\Database</a></li>
|
58 |
+
<li><a href="class-WPGMZA.DataTable.html">WPGMZA\DataTable</a></li>
|
59 |
+
<li><a href="class-WPGMZA.Distance.html">WPGMZA\Distance</a></li>
|
60 |
<li><a href="class-WPGMZA.DOMDocument.html">WPGMZA\DOMDocument</a></li>
|
61 |
<li><a href="class-WPGMZA.DOMElement.html">WPGMZA\DOMElement</a></li>
|
62 |
<li><a href="class-WPGMZA.Factory.html">WPGMZA\Factory</a></li>
|
63 |
<li><a href="class-WPGMZA.GDPRCompliance.html">WPGMZA\GDPRCompliance</a></li>
|
64 |
+
<li><a href="class-WPGMZA.GlobalSettings.html">WPGMZA\GlobalSettings</a></li>
|
65 |
<li><a href="class-WPGMZA.GoogleGeocoder.html">WPGMZA\GoogleGeocoder</a></li>
|
66 |
<li><a href="class-WPGMZA.GoogleMap.html">WPGMZA\GoogleMap</a></li>
|
67 |
<li><a href="class-WPGMZA.GoogleMapsAPILoader.html" class="deprecated">WPGMZA\GoogleMapsAPILoader</a></li>
|
72 |
<li><a href="class-WPGMZA.Map.html">WPGMZA\Map</a></li>
|
73 |
<li><a href="class-WPGMZA.MapsEngineDialog.html">WPGMZA\MapsEngineDialog</a></li>
|
74 |
<li><a href="class-WPGMZA.Marker.html">WPGMZA\Marker</a></li>
|
75 |
+
<li><a href="class-WPGMZA.MarkerDataTable.html">WPGMZA\MarkerDataTable</a></li>
|
76 |
+
<li><a href="class-WPGMZA.MarkerFilter.html">WPGMZA\MarkerFilter</a></li>
|
77 |
<li><a href="class-WPGMZA.ModalDialog.html">WPGMZA\ModalDialog</a></li>
|
78 |
<li><a href="class-WPGMZA.NominatimGeocodeCache.html">WPGMZA\NominatimGeocodeCache</a></li>
|
79 |
<li><a href="class-WPGMZA.OLLoader.html">WPGMZA\OLLoader</a></li>
|
80 |
<li><a href="class-WPGMZA.Plugin.html">WPGMZA\Plugin</a></li>
|
81 |
+
<li><a href="class-WPGMZA.Query.html">WPGMZA\Query</a></li>
|
82 |
+
<li><a href="class-WPGMZA.QueryFragment.html">WPGMZA\QueryFragment</a></li>
|
83 |
<li><a href="class-WPGMZA.RestAPI.html">WPGMZA\RestAPI</a></li>
|
84 |
<li><a href="class-WPGMZA.ScriptLoader.html">WPGMZA\ScriptLoader</a></li>
|
85 |
<li><a href="class-WPGMZA.Selector.AttributeSelector.html">WPGMZA\Selector\AttributeSelector</a></li>
|
91 |
<li><a href="class-WPGMZA.Selector.TokenStream.html">WPGMZA\Selector\TokenStream</a></li>
|
92 |
<li><a href="class-WPGMZA.Selector.XPathConverter.html">WPGMZA\Selector\XPathConverter</a></li>
|
93 |
<li><a href="class-WPGMZA.Strings.html">WPGMZA\Strings</a></li>
|
94 |
+
<li><a href="class-WPGMZA.Table.html">WPGMZA\Table</a></li>
|
95 |
</ul>
|
96 |
|
97 |
|
106 |
<h3>Functions</h3>
|
107 |
<ul>
|
108 |
<li><a href="function-WPGMZA.create_marker_instance_delegate.html">WPGMZA\create_marker_instance_delegate</a></li>
|
|
|
109 |
<li><a href="function-WPGMZA.query_nominatim_cache.html" class="deprecated">WPGMZA\query_nominatim_cache</a></li>
|
110 |
<li><a href="function-WPGMZA.Selector.trace.html">WPGMZA\Selector\trace</a></li>
|
111 |
<li><a href="function-WPGMZA.store_nominatim_cache.html" class="deprecated">WPGMZA\store_nominatim_cache</a></li>
|
146 |
</ul>
|
147 |
</div>
|
148 |
|
149 |
+
<pre class="numbers"><code><span class="l"><a href="#1"> 1: </a></span><span class="l"><a href="#2"> 2: </a></span><span class="l"><a href="#3"> 3: </a></span><span class="l"><a href="#4"> 4: </a></span><span class="l"><a href="#5"> 5: </a></span><span class="l"><a href="#6"> 6: </a></span><span class="l"><a href="#7"> 7: </a></span></span><span class="l"><a href="#8"> 8: </a></span></span><span class="l"><a href="#9"> 9: </a></span><span class="l"><a href="#10">10: </a></span><span class="l"><a href="#11">11: </a></span><span class="l"><a href="#12">12: </a></span></span><span class="l"><a href="#13">13: </a></span></span><span class="l"><a href="#14">14: </a></span><span class="l"><a href="#15">15: </a></span><span class="l"><a href="#16">16: </a></span><span class="l"><a href="#17">17: </a></span><span class="l"><a href="#18">18: </a></span><span class="l"><a href="#19">19: </a></span><span class="l"><a href="#20">20: </a></span><span class="l"><a href="#21">21: </a></span><span class="l"><a href="#22">22: </a></span><span class="l"><a href="#23">23: </a></span><span class="l"><a href="#24">24: </a></span><span class="l"><a href="#25">25: </a></span><span class="l"><a href="#26">26: </a></span><span class="l"><a href="#27">27: </a></span><span class="l"><a href="#28">28: </a></span></span><span class="l"><a href="#29">29: </a></span></span><span class="l"><a href="#30">30: </a></span></span><span class="l"><a href="#31">31: </a></span><span class="l"><a href="#32">32: </a></span><span class="l"><a href="#33">33: </a></span><span class="l"><a href="#34">34: </a></span><span class="l"><a href="#35">35: </a></span><span class="l"><a href="#36">36: </a></span><span class="l"><a href="#37">37: </a></span><span class="l"><a href="#38">38: </a></span><span class="l"><a href="#39">39: </a></span><span class="l"><a href="#40">40: </a></span><span class="l"><a href="#41">41: </a></span><span class="l"><a href="#42">42: </a></span></code></pre>
|
150 |
<pre class="code"><code><span id="1" class="l"><span class="xlang"><?php</span>
|
151 |
</span><span id="2" class="l">
|
152 |
</span><span id="3" class="l"><span class="php-keyword1">namespace</span> WPGMZA\Integration;
|
163 |
</span></span><span id="14" class="l"><span class="php-comment"> */</span>
|
164 |
</span><span id="15" class="l"> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> __construct()
|
165 |
</span><span id="16" class="l"> {
|
166 |
+
</span><span id="17" class="l"> add_filter(<span class="php-quote">'wpmdb_compatibility_plugin_whitelist'</span>, <span class="php-keyword1">array</span>(<span class="php-var">$this</span>, <span class="php-quote">'onCompatibilityPluginWhitelist'</span>));
|
167 |
+
</span><span id="18" class="l"> add_filter(<span class="php-quote">'wpmdb_process_column_as_binary'</span>, <span class="php-keyword1">array</span>(<span class="php-var">$this</span>, <span class="php-quote">'onProcessColumnAsBinary'</span>), <span class="php-num">10</span>, <span class="php-num">2</span>);
|
168 |
+
</span><span id="19" class="l"> }
|
169 |
+
</span><span id="20" class="l">
|
170 |
+
</span><span id="21" class="l"> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> onCompatibilityPluginWhitelist(<span class="php-var">$plugins</span>)
|
171 |
+
</span><span id="22" class="l"> {
|
172 |
+
</span><span id="23" class="l"> <span class="php-var">$plugins</span>[] = <span class="php-quote">'wp-google-maps'</span>;
|
173 |
+
</span><span id="24" class="l"> <span class="php-var">$plugins</span>[] = <span class="php-quote">'wp-google-maps-pro'</span>;
|
174 |
+
</span><span id="25" class="l"> <span class="php-keyword1">return</span> <span class="php-var">$plugins</span>;
|
175 |
+
</span><span id="26" class="l"> }
|
176 |
+
</span><span id="27" class="l">
|
177 |
+
</span><span id="28" class="l"> <span class="php-comment">/**
|
178 |
+
</span></span><span id="29" class="l"><span class="php-comment"> * Called by WP Migrate DBs wpmdb_process_column_as_binary filter. If the specified column is a spatial column, indicate that this is binary data. WP Migrate DB will convert it to hex and wrap it with an UNHEX call in their exported data.
|
179 |
+
</span></span><span id="30" class="l"><span class="php-comment"> * @return bool TRUE for binary data, FALSE for everything else.
|
180 |
+
</span></span><span id="31" class="l"><span class="php-comment"> */</span>
|
181 |
+
</span><span id="32" class="l"> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> onProcessColumnAsBinary(<span class="php-var">$processAsBinary</span>, <span class="php-var">$struct</span>)
|
182 |
+
</span><span id="33" class="l"> {
|
183 |
+
</span><span id="34" class="l"> <span class="php-keyword1">if</span>(<span class="php-keyword2">preg_match</span>(<span class="php-quote">'/^GEOMETRY|POINT|POLYGON|LINESTRING|MULTIPOINT|MULTILINESTRING|MULTIPOLYGON|GEOMETRYCOLLECTION$/i'</span>, <span class="php-var">$struct</span>->Type))
|
184 |
+
</span><span id="35" class="l"> <span class="php-keyword1">return</span> <span class="php-keyword1">true</span>;
|
185 |
+
</span><span id="36" class="l">
|
186 |
+
</span><span id="37" class="l"> <span class="php-keyword1">return</span> <span class="php-var">$processAsBinary</span>;
|
187 |
+
</span><span id="38" class="l"> }
|
188 |
+
</span><span id="39" class="l"> }
|
189 |
+
</span><span id="40" class="l">}
|
190 |
+
</span><span id="41" class="l">
|
191 |
+
</span><span id="42" class="l"><span class="php-var">$wpgmza_wp_migration_db_module</span> = <span class="php-keyword1">new</span> WPMigrateDB();</span></code></pre>
|
192 |
|
193 |
<div id="footer">
|
194 |
API documentation generated by <a href="http://apigen.org">ApiGen</a>
|
195 |
</div>
|
196 |
</div>
|
197 |
</div>
|
198 |
+
<script src="resources/combined.js?bdf41a0492319853d610bde7b68b95e93d08fae3"></script>
|
199 |
+
<script src="elementlist.js?ce6e64dd6d2e258467153e0fbb3257ea07b69a7b"></script>
|
200 |
</body>
|
201 |
</html>
|
@@ -50,12 +50,18 @@
|
|
50 |
<div id="elements">
|
51 |
<h3>Classes</h3>
|
52 |
<ul>
|
|
|
|
|
53 |
<li><a href="class-WPGMZA.AutoLoader.html">WPGMZA\AutoLoader</a></li>
|
54 |
<li><a href="class-WPGMZA.Crud.html">WPGMZA\Crud</a></li>
|
|
|
|
|
|
|
55 |
<li><a href="class-WPGMZA.DOMDocument.html">WPGMZA\DOMDocument</a></li>
|
56 |
<li><a href="class-WPGMZA.DOMElement.html">WPGMZA\DOMElement</a></li>
|
57 |
<li><a href="class-WPGMZA.Factory.html">WPGMZA\Factory</a></li>
|
58 |
<li><a href="class-WPGMZA.GDPRCompliance.html">WPGMZA\GDPRCompliance</a></li>
|
|
|
59 |
<li><a href="class-WPGMZA.GoogleGeocoder.html">WPGMZA\GoogleGeocoder</a></li>
|
60 |
<li><a href="class-WPGMZA.GoogleMap.html">WPGMZA\GoogleMap</a></li>
|
61 |
<li><a href="class-WPGMZA.GoogleMapsAPILoader.html" class="deprecated">WPGMZA\GoogleMapsAPILoader</a></li>
|
@@ -66,10 +72,14 @@
|
|
66 |
<li><a href="class-WPGMZA.Map.html">WPGMZA\Map</a></li>
|
67 |
<li><a href="class-WPGMZA.MapsEngineDialog.html">WPGMZA\MapsEngineDialog</a></li>
|
68 |
<li><a href="class-WPGMZA.Marker.html">WPGMZA\Marker</a></li>
|
|
|
|
|
69 |
<li><a href="class-WPGMZA.ModalDialog.html">WPGMZA\ModalDialog</a></li>
|
70 |
<li><a href="class-WPGMZA.NominatimGeocodeCache.html">WPGMZA\NominatimGeocodeCache</a></li>
|
71 |
<li><a href="class-WPGMZA.OLLoader.html">WPGMZA\OLLoader</a></li>
|
72 |
<li><a href="class-WPGMZA.Plugin.html">WPGMZA\Plugin</a></li>
|
|
|
|
|
73 |
<li><a href="class-WPGMZA.RestAPI.html">WPGMZA\RestAPI</a></li>
|
74 |
<li><a href="class-WPGMZA.ScriptLoader.html">WPGMZA\ScriptLoader</a></li>
|
75 |
<li><a href="class-WPGMZA.Selector.AttributeSelector.html">WPGMZA\Selector\AttributeSelector</a></li>
|
@@ -81,6 +91,7 @@
|
|
81 |
<li><a href="class-WPGMZA.Selector.TokenStream.html">WPGMZA\Selector\TokenStream</a></li>
|
82 |
<li><a href="class-WPGMZA.Selector.XPathConverter.html">WPGMZA\Selector\XPathConverter</a></li>
|
83 |
<li><a href="class-WPGMZA.Strings.html">WPGMZA\Strings</a></li>
|
|
|
84 |
</ul>
|
85 |
|
86 |
|
@@ -95,7 +106,6 @@
|
|
95 |
<h3>Functions</h3>
|
96 |
<ul>
|
97 |
<li><a href="function-WPGMZA.create_marker_instance_delegate.html">WPGMZA\create_marker_instance_delegate</a></li>
|
98 |
-
<li><a href="function-WPGMZA.create_plugin_instance.html" class="deprecated">WPGMZA\create_plugin_instance</a></li>
|
99 |
<li><a href="function-WPGMZA.query_nominatim_cache.html" class="deprecated">WPGMZA\query_nominatim_cache</a></li>
|
100 |
<li><a href="function-WPGMZA.Selector.trace.html">WPGMZA\Selector\trace</a></li>
|
101 |
<li><a href="function-WPGMZA.store_nominatim_cache.html" class="deprecated">WPGMZA\store_nominatim_cache</a></li>
|
@@ -259,7 +269,7 @@
|
|
259 |
</div>
|
260 |
</div>
|
261 |
</div>
|
262 |
-
<script src="resources/combined.js?
|
263 |
-
<script src="elementlist.js?
|
264 |
</body>
|
265 |
</html>
|
50 |
<div id="elements">
|
51 |
<h3>Classes</h3>
|
52 |
<ul>
|
53 |
+
<li><a href="class-WPGMZA.AdminMarkerDataTable.html">WPGMZA\AdminMarkerDataTable</a></li>
|
54 |
+
<li><a href="class-WPGMZA.AjaxTable.html">WPGMZA\AjaxTable</a></li>
|
55 |
<li><a href="class-WPGMZA.AutoLoader.html">WPGMZA\AutoLoader</a></li>
|
56 |
<li><a href="class-WPGMZA.Crud.html">WPGMZA\Crud</a></li>
|
57 |
+
<li><a href="class-WPGMZA.Database.html">WPGMZA\Database</a></li>
|
58 |
+
<li><a href="class-WPGMZA.DataTable.html">WPGMZA\DataTable</a></li>
|
59 |
+
<li><a href="class-WPGMZA.Distance.html">WPGMZA\Distance</a></li>
|
60 |
<li><a href="class-WPGMZA.DOMDocument.html">WPGMZA\DOMDocument</a></li>
|
61 |
<li><a href="class-WPGMZA.DOMElement.html">WPGMZA\DOMElement</a></li>
|
62 |
<li><a href="class-WPGMZA.Factory.html">WPGMZA\Factory</a></li>
|
63 |
<li><a href="class-WPGMZA.GDPRCompliance.html">WPGMZA\GDPRCompliance</a></li>
|
64 |
+
<li><a href="class-WPGMZA.GlobalSettings.html">WPGMZA\GlobalSettings</a></li>
|
65 |
<li><a href="class-WPGMZA.GoogleGeocoder.html">WPGMZA\GoogleGeocoder</a></li>
|
66 |
<li><a href="class-WPGMZA.GoogleMap.html">WPGMZA\GoogleMap</a></li>
|
67 |
<li><a href="class-WPGMZA.GoogleMapsAPILoader.html" class="deprecated">WPGMZA\GoogleMapsAPILoader</a></li>
|
72 |
<li><a href="class-WPGMZA.Map.html">WPGMZA\Map</a></li>
|
73 |
<li><a href="class-WPGMZA.MapsEngineDialog.html">WPGMZA\MapsEngineDialog</a></li>
|
74 |
<li><a href="class-WPGMZA.Marker.html">WPGMZA\Marker</a></li>
|
75 |
+
<li><a href="class-WPGMZA.MarkerDataTable.html">WPGMZA\MarkerDataTable</a></li>
|
76 |
+
<li><a href="class-WPGMZA.MarkerFilter.html">WPGMZA\MarkerFilter</a></li>
|
77 |
<li><a href="class-WPGMZA.ModalDialog.html">WPGMZA\ModalDialog</a></li>
|
78 |
<li><a href="class-WPGMZA.NominatimGeocodeCache.html">WPGMZA\NominatimGeocodeCache</a></li>
|
79 |
<li><a href="class-WPGMZA.OLLoader.html">WPGMZA\OLLoader</a></li>
|
80 |
<li><a href="class-WPGMZA.Plugin.html">WPGMZA\Plugin</a></li>
|
81 |
+
<li><a href="class-WPGMZA.Query.html">WPGMZA\Query</a></li>
|
82 |
+
<li><a href="class-WPGMZA.QueryFragment.html">WPGMZA\QueryFragment</a></li>
|
83 |
<li><a href="class-WPGMZA.RestAPI.html">WPGMZA\RestAPI</a></li>
|
84 |
<li><a href="class-WPGMZA.ScriptLoader.html">WPGMZA\ScriptLoader</a></li>
|
85 |
<li><a href="class-WPGMZA.Selector.AttributeSelector.html">WPGMZA\Selector\AttributeSelector</a></li>
|
91 |
<li><a href="class-WPGMZA.Selector.TokenStream.html">WPGMZA\Selector\TokenStream</a></li>
|
92 |
<li><a href="class-WPGMZA.Selector.XPathConverter.html">WPGMZA\Selector\XPathConverter</a></li>
|
93 |
<li><a href="class-WPGMZA.Strings.html">WPGMZA\Strings</a></li>
|
94 |
+
<li><a href="class-WPGMZA.Table.html">WPGMZA\Table</a></li>
|
95 |
</ul>
|
96 |
|
97 |
|
106 |
<h3>Functions</h3>
|
107 |
<ul>
|
108 |
<li><a href="function-WPGMZA.create_marker_instance_delegate.html">WPGMZA\create_marker_instance_delegate</a></li>
|
|
|
109 |
<li><a href="function-WPGMZA.query_nominatim_cache.html" class="deprecated">WPGMZA\query_nominatim_cache</a></li>
|
110 |
<li><a href="function-WPGMZA.Selector.trace.html">WPGMZA\Selector\trace</a></li>
|
111 |
<li><a href="function-WPGMZA.store_nominatim_cache.html" class="deprecated">WPGMZA\store_nominatim_cache</a></li>
|
269 |
</div>
|
270 |
</div>
|
271 |
</div>
|
272 |
+
<script src="resources/combined.js?bdf41a0492319853d610bde7b68b95e93d08fae3"></script>
|
273 |
+
<script src="elementlist.js?ce6e64dd6d2e258467153e0fbb3257ea07b69a7b"></script>
|
274 |
</body>
|
275 |
</html>
|
@@ -50,12 +50,18 @@
|
|
50 |
<div id="elements">
|
51 |
<h3>Classes</h3>
|
52 |
<ul>
|
|
|
|
|
53 |
<li><a href="class-WPGMZA.AutoLoader.html">WPGMZA\AutoLoader</a></li>
|
54 |
<li><a href="class-WPGMZA.Crud.html">WPGMZA\Crud</a></li>
|
|
|
|
|
|
|
55 |
<li><a href="class-WPGMZA.DOMDocument.html">WPGMZA\DOMDocument</a></li>
|
56 |
<li><a href="class-WPGMZA.DOMElement.html">WPGMZA\DOMElement</a></li>
|
57 |
<li><a href="class-WPGMZA.Factory.html">WPGMZA\Factory</a></li>
|
58 |
<li><a href="class-WPGMZA.GDPRCompliance.html">WPGMZA\GDPRCompliance</a></li>
|
|
|
59 |
<li><a href="class-WPGMZA.GoogleGeocoder.html">WPGMZA\GoogleGeocoder</a></li>
|
60 |
<li><a href="class-WPGMZA.GoogleMap.html">WPGMZA\GoogleMap</a></li>
|
61 |
<li><a href="class-WPGMZA.GoogleMapsAPILoader.html" class="deprecated">WPGMZA\GoogleMapsAPILoader</a></li>
|
@@ -66,10 +72,14 @@
|
|
66 |
<li><a href="class-WPGMZA.Map.html">WPGMZA\Map</a></li>
|
67 |
<li><a href="class-WPGMZA.MapsEngineDialog.html">WPGMZA\MapsEngineDialog</a></li>
|
68 |
<li><a href="class-WPGMZA.Marker.html">WPGMZA\Marker</a></li>
|
|
|
|
|
69 |
<li><a href="class-WPGMZA.ModalDialog.html">WPGMZA\ModalDialog</a></li>
|
70 |
<li><a href="class-WPGMZA.NominatimGeocodeCache.html">WPGMZA\NominatimGeocodeCache</a></li>
|
71 |
<li><a href="class-WPGMZA.OLLoader.html">WPGMZA\OLLoader</a></li>
|
72 |
<li><a href="class-WPGMZA.Plugin.html">WPGMZA\Plugin</a></li>
|
|
|
|
|
73 |
<li><a href="class-WPGMZA.RestAPI.html">WPGMZA\RestAPI</a></li>
|
74 |
<li><a href="class-WPGMZA.ScriptLoader.html">WPGMZA\ScriptLoader</a></li>
|
75 |
<li><a href="class-WPGMZA.Selector.AttributeSelector.html">WPGMZA\Selector\AttributeSelector</a></li>
|
@@ -81,6 +91,7 @@
|
|
81 |
<li><a href="class-WPGMZA.Selector.TokenStream.html">WPGMZA\Selector\TokenStream</a></li>
|
82 |
<li><a href="class-WPGMZA.Selector.XPathConverter.html">WPGMZA\Selector\XPathConverter</a></li>
|
83 |
<li><a href="class-WPGMZA.Strings.html">WPGMZA\Strings</a></li>
|
|
|
84 |
</ul>
|
85 |
|
86 |
|
@@ -95,7 +106,6 @@
|
|
95 |
<h3>Functions</h3>
|
96 |
<ul>
|
97 |
<li><a href="function-WPGMZA.create_marker_instance_delegate.html">WPGMZA\create_marker_instance_delegate</a></li>
|
98 |
-
<li><a href="function-WPGMZA.create_plugin_instance.html" class="deprecated">WPGMZA\create_plugin_instance</a></li>
|
99 |
<li><a href="function-WPGMZA.query_nominatim_cache.html" class="deprecated">WPGMZA\query_nominatim_cache</a></li>
|
100 |
<li><a href="function-WPGMZA.Selector.trace.html">WPGMZA\Selector\trace</a></li>
|
101 |
<li><a href="function-WPGMZA.store_nominatim_cache.html" class="deprecated">WPGMZA\store_nominatim_cache</a></li>
|
@@ -136,7 +146,7 @@
|
|
136 |
</ul>
|
137 |
</div>
|
138 |
|
139 |
-
<pre class="numbers"><code><span class="l"><a href="#1"> 1: </a></span><span class="l"><a href="#2"> 2: </a></span><span class="l"><a href="#3"> 3: </a></span><span class="l"><a href="#4"> 4: </a></span><span class="l"><a href="#5"> 5: </a></span><span class="l"><a href="#6"> 6: </a></span><span class="l"><a href="#7"> 7: </a></span></span><span class="l"><a href="#8"> 8: </a></span></span><span class="l"><a href="#9"> 9: </a></span><span class="l"><a href="#10">10: </a></span><span class="l"><a href="#11">11: </a></span><span class="l"><a href="#12">12: </a></span></span><span class="l"><a href="#13">13: </a></span></span><span class="l"><a href="#14">14: </a></span></span><span class="l"><a href="#15">15: </a></span><span class="l"><a href="#16">16: </a></span><span class="l"><a href="#17">17: </a></span><span class="l"><a href="#18">18: </a></span><span class="l"><a href="#19">19: </a></span><span class="l"><a href="#20">20: </a></span><span class="l"><a href="#21">21: </a></span><span class="l"><a href="#22">22: </a></span><span class="l"><a href="#23">23: </a></span
|
140 |
<pre class="code"><code><span id="1" class="l"><span class="xlang"><?php</span>
|
141 |
</span><span id="2" class="l">
|
142 |
</span><span id="3" class="l"><span class="php-keyword1">namespace</span> WPGMZA;
|
@@ -159,32 +169,47 @@
|
|
159 |
</span><span id="20" class="l"> Crud::__construct(<span class="php-quote">"</span><span class="php-var">{$wpdb->prefix}</span><span class="php-quote">wpgmza_maps"</span>, <span class="php-var">$id_or_fields</span>);
|
160 |
</span><span id="21" class="l"> }
|
161 |
</span><span id="22" class="l">
|
162 |
-
</span><span id="23" class="l"> <span class="php-
|
163 |
-
</span
|
164 |
-
</span
|
165 |
-
</span
|
166 |
-
</span><span id="27" class="l">
|
167 |
-
</span><span id="28" class="l">
|
168 |
-
</span><span id="29" class="l">
|
169 |
-
</span><span id="30" class="l">
|
170 |
-
</span><span id="31" class="l">
|
171 |
-
</span
|
172 |
-
</span></span><span id="33" class="l"><span class="php-comment"> * Returns the name of the column used to store arbitrary data, which is "other_settings" on the map table.
|
173 |
-
</span></span><span id="34" class="l"><span class="php-comment"> * @return string The column name.
|
174 |
-
</span></span><span id="35" class="l"><span class="php-comment"> */</span>
|
175 |
-
</span><span id="36" class="l"> <span class="php-keyword1">protected</span> <span class="php-keyword1">function</span> get_arbitrary_data_column_name()
|
176 |
-
</span><span id="37" class="l"> {
|
177 |
-
</span><span id="38" class="l"> <span class="php-keyword1">return</span> <span class="php-quote">"other_settings"</span>;
|
178 |
-
</span><span id="39" class="l"> }
|
179 |
-
</span><span id="40" class="l">}
|
180 |
-
</span><span id="41" class="l"></span></code></pre>
|
50 |
<div id="elements">
|
51 |
<h3>Classes</h3>
|
52 |
<ul>
|
53 |
+
<li><a href="class-WPGMZA.AdminMarkerDataTable.html">WPGMZA\AdminMarkerDataTable</a></li>
|
54 |
+
<li><a href="class-WPGMZA.AjaxTable.html">WPGMZA\AjaxTable</a></li>
|
55 |
<li><a href="class-WPGMZA.AutoLoader.html">WPGMZA\AutoLoader</a></li>
|
56 |
<li><a href="class-WPGMZA.Crud.html">WPGMZA\Crud</a></li>
|
57 |
+
<li><a href="class-WPGMZA.Database.html">WPGMZA\Database</a></li>
|
58 |
+
<li><a href="class-WPGMZA.DataTable.html">WPGMZA\DataTable</a></li>
|
59 |
+
<li><a href="class-WPGMZA.Distance.html">WPGMZA\Distance</a></li>
|
60 |
<li><a href="class-WPGMZA.DOMDocument.html">WPGMZA\DOMDocument</a></li>
|
61 |
<li><a href="class-WPGMZA.DOMElement.html">WPGMZA\DOMElement</a></li>
|
62 |
<li><a href="class-WPGMZA.Factory.html">WPGMZA\Factory</a></li>
|
63 |
<li><a href="class-WPGMZA.GDPRCompliance.html">WPGMZA\GDPRCompliance</a></li>
|
64 |
+
<li><a href="class-WPGMZA.GlobalSettings.html">WPGMZA\GlobalSettings</a></li>
|
65 |
<li><a href="class-WPGMZA.GoogleGeocoder.html">WPGMZA\GoogleGeocoder</a></li>
|
66 |
<li><a href="class-WPGMZA.GoogleMap.html">WPGMZA\GoogleMap</a></li>
|
67 |
<li><a href="class-WPGMZA.GoogleMapsAPILoader.html" class="deprecated">WPGMZA\GoogleMapsAPILoader</a></li>
|
72 |
<li><a href="class-WPGMZA.Map.html">WPGMZA\Map</a></li>
|
73 |
<li><a href="class-WPGMZA.MapsEngineDialog.html">WPGMZA\MapsEngineDialog</a></li>
|
74 |
<li><a href="class-WPGMZA.Marker.html">WPGMZA\Marker</a></li>
|
75 |
+
<li><a href="class-WPGMZA.MarkerDataTable.html">WPGMZA\MarkerDataTable</a></li>
|
76 |
+
<li><a href="class-WPGMZA.MarkerFilter.html">WPGMZA\MarkerFilter</a></li>
|
77 |
<li><a href="class-WPGMZA.ModalDialog.html">WPGMZA\ModalDialog</a></li>
|
78 |
<li><a href="class-WPGMZA.NominatimGeocodeCache.html">WPGMZA\NominatimGeocodeCache</a></li>
|
79 |
<li><a href="class-WPGMZA.OLLoader.html">WPGMZA\OLLoader</a></li>
|
80 |
<li><a href="class-WPGMZA.Plugin.html">WPGMZA\Plugin</a></li>
|
81 |
+
<li><a href="class-WPGMZA.Query.html">WPGMZA\Query</a></li>
|
82 |
+
<li><a href="class-WPGMZA.QueryFragment.html">WPGMZA\QueryFragment</a></li>
|
83 |
<li><a href="class-WPGMZA.RestAPI.html">WPGMZA\RestAPI</a></li>
|
84 |
<li><a href="class-WPGMZA.ScriptLoader.html">WPGMZA\ScriptLoader</a></li>
|
85 |
<li><a href="class-WPGMZA.Selector.AttributeSelector.html">WPGMZA\Selector\AttributeSelector</a></li>
|
91 |
<li><a href="class-WPGMZA.Selector.TokenStream.html">WPGMZA\Selector\TokenStream</a></li>
|
92 |
<li><a href="class-WPGMZA.Selector.XPathConverter.html">WPGMZA\Selector\XPathConverter</a></li>
|
93 |
<li><a href="class-WPGMZA.Strings.html">WPGMZA\Strings</a></li>
|
94 |
+
<li><a href="class-WPGMZA.Table.html">WPGMZA\Table</a></li>
|
95 |
</ul>
|
96 |
|
97 |
|
106 |
<h3>Functions</h3>
|
107 |
<ul>
|
108 |
<li><a href="function-WPGMZA.create_marker_instance_delegate.html">WPGMZA\create_marker_instance_delegate</a></li>
|
|
|
109 |
<li><a href="function-WPGMZA.query_nominatim_cache.html" class="deprecated">WPGMZA\query_nominatim_cache</a></li>
|
110 |
<li><a href="function-WPGMZA.Selector.trace.html">WPGMZA\Selector\trace</a></li>
|
111 |
<li><a href="function-WPGMZA.store_nominatim_cache.html" class="deprecated">WPGMZA\store_nominatim_cache</a></li>
|
146 |
</ul>
|
147 |
</div>
|
148 |
|
149 |
+
<pre class="numbers"><code><span class="l"><a href="#1"> 1: </a></span><span class="l"><a href="#2"> 2: </a></span><span class="l"><a href="#3"> 3: </a></span><span class="l"><a href="#4"> 4: </a></span><span class="l"><a href="#5"> 5: </a></span><span class="l"><a href="#6"> 6: </a></span><span class="l"><a href="#7"> 7: </a></span></span><span class="l"><a href="#8"> 8: </a></span></span><span class="l"><a href="#9"> 9: </a></span><span class="l"><a href="#10">10: </a></span><span class="l"><a href="#11">11: </a></span><span class="l"><a href="#12">12: </a></span></span><span class="l"><a href="#13">13: </a></span></span><span class="l"><a href="#14">14: </a></span></span><span class="l"><a href="#15">15: </a></span><span class="l"><a href="#16">16: </a></span><span class="l"><a href="#17">17: </a></span><span class="l"><a href="#18">18: </a></span><span class="l"><a href="#19">19: </a></span><span class="l"><a href="#20">20: </a></span><span class="l"><a href="#21">21: </a></span><span class="l"><a href="#22">22: </a></span><span class="l"><a href="#23">23: </a></span><span class="l"><a href="#24">24: </a></span><span class="l"><a href="#25">25: </a></span><span class="l"><a href="#26">26: </a></span><span class="l"><a href="#27">27: </a></span><span class="l"><a href="#28">28: </a></span><span class="l"><a href="#29">29: </a></span><span class="l"><a href="#30">30: </a></span><span class="l"><a href="#31">31: </a></span><span class="l"><a href="#32">32: </a></span><span class="l"><a href="#33">33: </a></span><span class="l"><a href="#34">34: </a></span><span class="l"><a href="#35">35: </a></span><span class="l"><a href="#36">36: </a></span><span class="l"><a href="#37">37: </a></span><span class="l"><a href="#38">38: </a></span></span><span class="l"><a href="#39">39: </a></span></span><span class="l"><a href="#40">40: </a></span></span><span class="l"><a href="#41">41: </a></span><span class="l"><a href="#42">42: </a></span><span class="l"><a href="#43">43: </a></span><span class="l"><a href="#44">44: </a></span><span class="l"><a href="#45">45: </a></span><span class="l"><a href="#46">46: </a></span><span class="l"><a href="#47">47: </a></span></span><span class="l"><a href="#48">48: </a></span></span><span class="l"><a href="#49">49: </a></span></span><span class="l"><a href="#50">50: </a></span><span class="l"><a href="#51">51: </a></span><span class="l"><a href="#52">52: </a></span><span class="l"><a href="#53">53: </a></span><span class="l"><a href="#54">54: </a></span><span class="l"><a href="#55">55: </a></span><span class="l"><a href="#56">56: </a></span></code></pre>
|
150 |
<pre class="code"><code><span id="1" class="l"><span class="xlang"><?php</span>
|
151 |
</span><span id="2" class="l">
|
152 |
</span><span id="3" class="l"><span class="php-keyword1">namespace</span> WPGMZA;
|
169 |
</span><span id="20" class="l"> Crud::__construct(<span class="php-quote">"</span><span class="php-var">{$wpdb->prefix}</span><span class="php-quote">wpgmza_maps"</span>, <span class="php-var">$id_or_fields</span>);
|
170 |
</span><span id="21" class="l"> }
|
171 |
</span><span id="22" class="l">
|
172 |
+
</span><span id="23" class="l"> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> __get(<span class="php-var">$name</span>)
|
173 |
+
</span><span id="24" class="l"> {
|
174 |
+
</span><span id="25" class="l"> <span class="php-keyword1">switch</span>(<span class="php-var">$name</span>)
|
175 |
+
</span><span id="26" class="l"> {
|
176 |
+
</span><span id="27" class="l"> <span class="php-keyword1">case</span> <span class="php-quote">"storeLocatorDistanceUnits"</span>:
|
177 |
+
</span><span id="28" class="l"> <span class="php-keyword1">if</span>(!<span class="php-keyword1">empty</span>(<span class="php-var">$this</span>->store_locator_distance) && <span class="php-var">$this</span>->store_locator_distance == <span class="php-num">1</span>)
|
178 |
+
</span><span id="29" class="l"> <span class="php-keyword1">return</span> Distance::UNITS_MI;
|
179 |
+
</span><span id="30" class="l"> <span class="php-keyword1">else</span>
|
180 |
+
</span><span id="31" class="l"> <span class="php-keyword1">return</span> Distance::UNITS_KM;
|
181 |
+
</span>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|