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

Class: Services_OpenStreetMap_Relation

Source Location: /Services_OpenStreetMap-1.0.0RC2/Services/OpenStreetMap/Relation.php

Class Overview

Services_OpenStreetMap_Object
   |
   --Services_OpenStreetMap_Relation

Services_OpenStreetMap_Relation


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 OsmChange 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()
Get XML.
Services_OpenStreetMap_Object::history()
Get each distinct version of an object.
Services_OpenStreetMap_Object::isDirty()
Indicate whether object has had a tag added, edited or removed.
Services_OpenStreetMap_Object::osmChangeXml()
Amend changeXML with specific updates as appropriate.
Services_OpenStreetMap_Object::removeTag()
Remove a tag.
Services_OpenStreetMap_Object::removeTags()
Remove tags.
Services_OpenStreetMap_Object::setAllTags()
Set all tags.
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()
Set tag to [new] key/value pair.
Services_OpenStreetMap_Object::setTags()
Set tags.
Services_OpenStreetMap_Object::setTransport()
Set the Transport instance.
Services_OpenStreetMap_Object::setVal()
Store a specified value.
Services_OpenStreetMap_Object::setXml()
Set XML.
Services_OpenStreetMap_Object::__toString()
If modified, return the osmChangeXML for the object, otherwise the defining XML.

Class Details

[line 27]
Services_OpenStreetMap_Relation


[ Top ]


Class Variables

$members =  []

[line 42]

Array containing members of this relation.
  • Access: protected

Type:   array


[ Top ]

$type =  'relation'

[line 34]

What type of object this is.
  • Access: protected

Type:   string
Overrides:   Array


[ Top ]



Method Detail

addMember   [line 70]

void addMember( )

Add Member to the relation.
  • Todo: add member to relation
  • Access: public

[ Top ]

getMembers   [line 49]

array getMembers( )

Return all members of the relation.
  • Access: public

[ Top ]

getType   [line 59]

string getType( )

Type
  • Access: public

Overrides Services_OpenStreetMap_Object::getType() (Return which type of object this is.)
[ Top ]

removeMember   [line 80]

void removeMember( )

Remove a member from the relation.
  • Todo: remove member from relation
  • Access: public

[ Top ]

setXml   [line 91]

Services_OpenStreetMap_Relation setXml( SimpleXMLElement $xml)

Set the Xml
  • Access: public

Overrides Services_OpenStreetMap_Object::setXml() (Set XML.)

Parameters:

SimpleXMLElement   $xml   —  OSM XML

[ Top ]


Documentation generated on Tue, 28 May 2019 19:19:08 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.