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 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_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 60]

void addMember( )

addMember



Tags:

todo:  add member to relation
access:  public


[ Top ]

method getMembers [line 37]

void getMembers( )

Return all members of the relation.



Tags:

access:  public


[ Top ]

method getType [line 48]

void getType( )

type



Tags:

access:  public


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

[ Top ]

method removeMember [line 71]

void removeMember( )

remove a member from the relation.



Tags:

todo:  remove member from relation
access:  public


[ Top ]

method setXml [line 82]

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, 11 Jan 2012 00:37:10 +0000 by phpDocumentor 1.4.4