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

Class: Services_OpenStreetMap_Relation

Source Location: /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()
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::setTags()
Set a number of tags at once, using an associative array.
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 osmChangeXML for the object, otherwise the defining XML.

Class Details

[line 25]
Services_OpenStreetMap_Relation



Tags:

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


[ Top ]


Class Variables

$members = array()

[line 29]



Tags:

access:  protected

Type:   mixed


[ Top ]

$type =  'relation'

[line 27]



Tags:

access:  protected

Type:   mixed
Overrides:   Array


[ Top ]



Class Methods


method addMember [line 57]

void addMember( )

addMember



Tags:

todo:  add member to relation
access:  public


[ Top ]

method getMembers [line 36]

void getMembers( )

Return all members of the relation.



Tags:

access:  public


[ Top ]

method getType [line 46]

string getType( )

type



Tags:

access:  public


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

[ Top ]

method removeMember [line 67]

void removeMember( )

remove a member from the relation.



Tags:

todo:  remove member from relation
access:  public


[ Top ]

method setXml [line 78]

Services_OpenStreetMap_Relation setXml( SimpleXMLElement $xml)

setXml



Tags:

access:  public


Overrides Services_OpenStreetMap_Object::setXml() (setXml)

Parameters:

SimpleXMLElement   $xml   OSM XML

[ Top ]


Documentation generated on Wed, 26 Sep 2012 01:24:54 +0100 by phpDocumentor 1.4.4