dmBridge PHP API
DMComment Class Reference

Represents a user comment on an object. More...

Inheritance diagram for DMComment:

Public Member Functions


Detailed Description

Represents a user comment on an object.

A DMComment object must be attached to a DMObject in order to be saved to the data store; this is done with DMObject::addComment().

Author:
Alex Dolski <alex.dolski@unlv.edu> http://www.opensource.org/licenses/mit-license.php

Definition at line 17 of file DMComment.php.


Member Function Documentation

DMComment::getEmail ( )
DMComment::getURI ( )
Returns:
DMInternalURI The URI of the comment in the HTTP API.

Implements DMURIAddressable.

Definition at line 73 of file DMComment.php.

DMComment::setEmail ( email)
Parameters:
stringemail
Exceptions:
DMInvalidEmailException

Definition at line 37 of file DMComment.php.

DMComment::setName ( str)
Parameters:
stringstr
Exceptions:
DMIllegalArgumentException

Definition at line 55 of file DMComment.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables