GeoMashup
[ class tree: GeoMashup ] [ index: GeoMashup ] [ all elements ]

Class: GeoMashupCommentUIManager

Source Location: /geo-mashup-ui-managers.php

Class Overview


A manager for comment location user interfaces.


Author(s):

Methods



Class Details

[line 703]
A manager for comment location user interfaces.

Singleton instantiated immediately.




Tags:

since:  1.3
access:  public


[ Top ]


Class Methods


static method get_instance [line 718]

static GeoMashupPostUIManager get_instance( )

Get the single instance of this class.



Tags:

return:  The instance.
since:  1.3
access:  public


[ Top ]

constructor __construct [line 731]

GeoMashupCommentUIManager __construct( )

PHP5 Constructor



Tags:

since:  1.3
access:  public


[ Top ]

method init [line 747]

void init( )



Tags:

access:  public


[ Top ]

method print_form [line 775]

void print_form( )

Print the comment location editor form.



Tags:

since:  1.3
access:  public


[ Top ]

method save_comment [line 820]

void save_comment( [ $comment_id = 0], [ $approval = ''])

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

save_comment filter called by WordPress.




Tags:

since:  1.3
access:  public
uses:  GeoMashupDB::set_object_location()


Parameters:

   $comment_id  
   $approval  

[ Top ]

method wp_footer [line 802]

void wp_footer( )

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



Tags:

since:  1.4
access:  public


[ Top ]


Documentation generated on Sat, 09 Jul 2011 21:54:47 -0700 by phpDocumentor 1.4.3