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

Class: Services_Openstreetmap_Changeset

Source Location: /Openstreetmap/Changeset.php

Class Overview

Services_Openstreetmap_Object
   |
   --Services_Openstreetmap_Changeset

Services_Openstreetmap_Changeset


Author(s):

Variables

Methods


Inherited Variables

Inherited Methods

Class: Services_Openstreetmap_Object

Services_Openstreetmap_Object::delete()
Mark the object as deleted.
Services_Openstreetmap_Object::getAttributes()
Return the attributes set for this object in question.
Services_Openstreetmap_Object::getConfig()
Get current Config object
Services_Openstreetmap_Object::getId()
Retrieve the id of the object in question.
Services_Openstreetmap_Object::getOsmChangeXML()
Generate and return the OSM Change XML required to record the changes made to the object in question.
Services_Openstreetmap_Object::getRelations()
Get all relations referring to the object in question.
Services_Openstreetmap_Object::getTag()
Return value of specified tag as set against this object.
Services_Openstreetmap_Object::getTags()
Return the tags set for this object in question.
Services_Openstreetmap_Object::getTransport()
Retrieve the current Transport instance.
Services_Openstreetmap_Object::getType()
Return which type of object this is.
Services_Openstreetmap_Object::getUid()
Retrieve the uid of the object in question.
Services_Openstreetmap_Object::getUser()
Retrieve the user (creator/editor) of the object in question.
Services_Openstreetmap_Object::getVersion()
Retrieve the version of the object in question
Services_Openstreetmap_Object::getXml()
getXml
Services_Openstreetmap_Object::history()
Get each distinct version of an object.
Services_Openstreetmap_Object::osmChangeXML()
Amend changeXML with specific updates as appropriate.
Services_Openstreetmap_Object::setChangesetId()
Set the Changeset Id for this object.
Services_Openstreetmap_Object::setConfig()
Set Config object
Services_Openstreetmap_Object::setId()
Set the id value of the object in question.
Services_Openstreetmap_Object::setTag()
setTag
Services_Openstreetmap_Object::setTransport()
Set the Transport instance.
Services_Openstreetmap_Object::setVal()
Store a specified value.
Services_Openstreetmap_Object::setXml()
setXml
Services_Openstreetmap_Object::__toString()
If modified, return the changeXML for the object, otherwise the defining XML.

Class Details

[line 25]
Services_Openstreetmap_Changeset



Tags:

author:  Ken Guest <kguest@php.net>
link:  Changeset.php
license:  BSD


[ Top ]


Class Variables

$id =  null

[line 31]



Tags:

access:  protected

Type:   mixed
Overrides:   Array


[ Top ]

$members = array()

[line 28]



Tags:

access:  protected

Type:   mixed


[ Top ]

$members_ids = array()

[line 29]



Tags:

access:  protected

Type:   mixed


[ Top ]

$open =  false

[line 30]



Tags:

access:  protected

Type:   mixed


[ Top ]

$type =  'changeset'

[line 27]



Tags:

access:  protected

Type:   mixed
Overrides:   Array


[ Top ]



Class Methods


constructor __construct [line 38]

Services_Openstreetmap_Changeset __construct( )

__construct



Tags:

access:  public


[ Top ]

method add [line 98]

void add( Services_Openstreetmap_Object $object)

add object to the changeset so changes can be transmitted to the server



Tags:

access:  public


Parameters:

Services_Openstreetmap_Object   $object   OSM object

[ Top ]

method begin [line 49]

void begin( string $message)

begin



Tags:

access:  public


Parameters:

string   $message   The changeset log message.

[ Top ]

method commit [line 122]

void commit( )

commit



Tags:

access:  public


[ Top ]

method getClosedAt [line 218]

string getClosedAt( )

getClosedAt



Tags:

access:  public


[ Top ]

method getCreatedAt [line 208]

string getCreatedAt( )

getCreatedAt



Tags:

access:  public


[ Top ]

method getId [line 285]

numeric getId( )

getId



Tags:

return:  value or null if none set
access:  public


Overrides Services_Openstreetmap_Object::getId() (Retrieve the id of the object in question.)

[ Top ]

method getMaxLat [line 274]

float getMaxLat( )

getMaxLat



Tags:

access:  public


[ Top ]

method getMaxLon [line 264]

float getMaxLon( )

getMaxLon



Tags:

access:  public


[ Top ]

method getMinLat [line 253]

float getMinLat( )

getMinLat



Tags:

access:  public


[ Top ]

method getMinLon [line 243]

float getMinLon( )

getMinLon



Tags:

access:  public


[ Top ]

method isOpen [line 228]

boolean isOpen( )

isOpen



Tags:

access:  public


[ Top ]

method updateObjectId [line 326]

void updateObjectId( string $type, integer $old_id, integer $new_id)

Update id of some type of object



Tags:

access:  public


Parameters:

string   $type   Object type
integer   $old_id   Old id
integer   $new_id   New id

[ Top ]

method updateObjectIds [line 303]

void updateObjectIds( string $body)

Given diffResult xml, update Ids of objects that are members of the current changeset.



Tags:

access:  public


Parameters:

string   $body   diffResult xml

[ Top ]


Documentation generated on Wed, 11 Jan 2012 00:36:56 +0000 by phpDocumentor 1.4.4