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

Class: Services_OpenStreetMap_Comment

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

Class Overview

Services_OpenStreetMap_Object
   |
   --Services_OpenStreetMap_Comment

Services_OpenStreetMap_Comment


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_Comment


[ Top ]


Class Variables

$type =  'comment'

[line 34]

What type of object this is.
  • Access: protected

Type:   string
Overrides:   Array


[ Top ]



Method Detail

getAction   [line 41]

string getAction( )

Retrieve the action of the note ('opened' etc)
  • Access: public

[ Top ]

getDate   [line 55]

int getDate( )

Retrieve time-stamp of when note was created.
  • Access: public

[ Top ]

getHtml   [line 79]

string getHtml( )

Html entry for this comment.
  • Access: public

[ Top ]

getText   [line 69]

string getText( )

Text entry for this comment.
  • Access: public

[ Top ]

setXml   [line 91]

Services_OpenStreetMap_Comment setXml( SimpleXMLElement $xml)

Set 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:07 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.