\GeoMashupCommentUIManager

A manager for comment location user interfaces.

Singleton instantiated immediately.

Summary

Methods
Properties
Constants
get_instance()
__construct()
init()
print_form()
wp_footer()
save_comment()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$add_form_script
N/A

Properties

$add_form_script

$add_form_script : 

Whether to put the comment form script in the footer.

Type

Methods

get_instance()

get_instance() : \GeoMashupPostUIManager

Get the single instance of this class.

Returns

\GeoMashupPostUIManager

The instance.

__construct()

__construct()

PHP5 Constructor

init()

init()

Initialize for use in relevant requests.

init action called by WordPress.

print_form()

print_form()

Print the comment location editor form.

wp_footer()

wp_footer()

Print the form script in the footer if it's needed.

save_comment()

save_comment( $comment_id,  $approval)

When a comment is saved, save any posted location with it.

save_comment filter called by WordPress.

Parameters

$comment_id
$approval