Class: Comment

Comment

new Comment(cid_or_comment)

Given a comment id or JSON object, this Creates a new jDrupal Comment object.
Parameters:
Name Type Description
cid_or_comment Number | Object
Source:

Members

constructor :jDrupal.Comment|*

Set the constructor.
Type:
Source:

Methods

getSubject() → {*}

Returns the comment's subject.
Source:
Returns:
Type
*

preSave()

OVERRIDES
Source:

setSubject() → {*}

Set's the comment's subject.
Source:
Returns:
Type
*

stringify()

Source: