API docs     >     General     >     Comments

Comments->setComment

Description

setComment ( $commentId = 0, $commentText )
Changes the content of a specific Comment

Parameters

$commentId
int
$commentText
string
Text of the comment

Returns

int
ERROR_NONE on success or ERROR_COMMENTS_NO_MOD_RIGHTS