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

Class: GeoMashupUIManager

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

Class Overview


A base class for managing user interfaces for collecting and storing location.


Author(s):

Methods


Child classes:

GeoMashupUserUIManager
A manager for user location user interfaces.
GeoMashupPostUIManager
A manager for post/page location user interfaces.

Class Details

[line 19]
A base class for managing user interfaces for collecting and storing location.

This could be extended to make the existing editor work for new objects in a separate plugin.




Tags:

since:  1.3
access:  public


[ Top ]


Class Methods


static method get_instance [line 28]

static GeoMashupUIManager &get_instance( string $name)

Retrieve a single instaniated subclass by name.



Tags:

return:  The singleton object.
since:  1.3
access:  public
usedby:  GeoMashupPostUIManager::get_instance()
usedby:  GeoMashupUserUIManager::get_instance()


Overridden in child classes as:

GeoMashupUserUIManager::get_instance()
Get the single instance of this class.
GeoMashupPostUIManager::get_instance()
Get the single instance of this class.

Parameters:

string   $name   The class name of the manager.

[ Top ]

method enqueue_form_client_items [line 52]

void enqueue_form_client_items( )

Queue styles and scripts for the location editor form.



Tags:

since:  1.3
access:  public


[ Top ]

method enqueue_jquery_styles [line 42]

void enqueue_jquery_styles( )

Queue UI styles to match the jQuery version.



Tags:

since:  1.3
access:  public


[ Top ]

method save_posted_object_location [line 152]

bool|WP_Error save_posted_object_location( string $object_name, string $object_id)

Save an object location from data posted by the location editor.



Tags:

return:  True or a WordPress error.
since:  1.3
access:  public
usedby:  GeoMashupPostUIManager::save_posted_object_location()
usedby:  GeoMashupUserUIManager::save_posted_object_location()
uses:  GeoMashupDB::set_object_location()
uses:  GeoMashupDB::delete_location()


Overridden in child classes as:

GeoMashupUserUIManager::save_posted_object_location()
Save a posted user location.
GeoMashupPostUIManager::save_posted_object_location()
Save a posted post or page location.

Parameters:

string   $object_name   The name of the object being edited.
string   $object_id   The ID of the object being edited.

[ Top ]


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