\GeoMashupUserUIManager

A manager for user location user interfaces.

Singleton instantiated immediately.

Summary

Methods
Properties
Constants
get_instance()
enqueue_jquery_styles()
enqueue_form_client_items()
save_posted_object_location()
__construct()
init()
print_form()
save_user()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
get_submit_action()
No private properties found
N/A

Methods

get_instance()

get_instance(string $name) : \GeoMashupPostUIManager

Get the single instance of this class.

Parameters

string $name

The class name, this class by default.

Returns

\GeoMashupPostUIManager

The instance.

enqueue_jquery_styles()

enqueue_jquery_styles()

Queue UI styles to match the jQuery version.

enqueue_form_client_items()

enqueue_form_client_items()

Queue styles and scripts for the location editor form.

save_posted_object_location()

save_posted_object_location(string $object_name, null|integer $object_id) : boolean|\WP_Error

Handle old non-strict method calls with only one argument.

Parameters

string $object_name
null|integer $object_id

Returns

boolean|\WP_Error

__construct()

__construct()

PHP5 Constructor

init()

init()

Initialize for use in relevant requests.

init action called by WordPress.

print_form()

print_form()

Print the user location editor form.

save_user()

save_user() : boolean|\WP_Error

When a user is saved, also save any posted location.

save_user action called by WordPress.

Returns

boolean|\WP_Error

get_submit_action()

get_submit_action()

Determine the appropriate action from posted data.